Improve Commons structure
authorMathieu Baudier <mbaudier@argeo.org>
Sun, 27 Feb 2011 13:30:28 +0000 (13:30 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Sun, 27 Feb 2011 13:30:28 +0000 (13:30 +0000)
git-svn-id: https://svn.argeo.org/commons/trunk@4229 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

26 files changed:
eclipse/pom.xml
gis/plugins/org.argeo.gis.ui.rap.openlayers/pom.xml [new file with mode: 0644]
gis/plugins/org.argeo.gis.ui/pom.xml [new file with mode: 0644]
gis/plugins/pom.xml
gis/pom.xml
gis/runtime/org.argeo.gis.geotools/.classpath [new file with mode: 0644]
gis/runtime/org.argeo.gis.geotools/.project [new file with mode: 0644]
gis/runtime/org.argeo.gis.geotools/.settings/org.eclipse.jdt.core.prefs [new file with mode: 0644]
gis/runtime/org.argeo.gis.geotools/.settings/org.eclipse.pde.core.prefs [new file with mode: 0644]
gis/runtime/org.argeo.gis.geotools/build.properties [new file with mode: 0644]
gis/runtime/org.argeo.gis.geotools/pom.xml [new file with mode: 0644]
gis/runtime/pom.xml [new file with mode: 0644]
osgi/dep/org.argeo.osgi.dep.stdruntime/pom.xml
pom.xml
security/dep/org.argeo.security.dep.node/pom.xml [new file with mode: 0644]
security/dep/pom.xml
security/eclipse/pom.xml [deleted file]
security/plugins/org.argeo.security.ui.application/pom.xml
security/plugins/org.argeo.security.ui.rap/pom.xml
security/plugins/pom.xml
security/pom.xml
security/runtime/pom.xml
server/plugins/org.argeo.jcr.ui.explorer/pom.xml
server/plugins/pom.xml
server/runtime/org.argeo.server.jcr/pom.xml
server/runtime/pom.xml

index 286eb65c649af46ff0a0d0d89a1fd096d6184b18..3d2291c3968d204fa2743df8ed5a85eb8de2cb36 100644 (file)
@@ -13,7 +13,6 @@
        <packaging>pom</packaging>
        <modules>
                <module>features</module>
-               <module>plugins</module>
                <module>runtime</module>
        </modules>
 </project>
\ No newline at end of file
diff --git a/gis/plugins/org.argeo.gis.ui.rap.openlayers/pom.xml b/gis/plugins/org.argeo.gis.ui.rap.openlayers/pom.xml
new file mode 100644 (file)
index 0000000..a388d4f
--- /dev/null
@@ -0,0 +1,55 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+       <modelVersion>4.0.0</modelVersion>
+       <parent>
+               <groupId>org.argeo.commons.gis</groupId>
+               <version>0.2.3-SNAPSHOT</version>
+               <artifactId>plugins</artifactId>
+               <relativePath>..</relativePath>
+       </parent>
+       <artifactId>org.argeo.gis.ui.rap.openlayers</artifactId>
+       <name>Commons GIS RAP OpenLayers</name>
+       <packaging>jar</packaging>
+       <build>
+               <plugins>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-compiler-plugin</artifactId>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-source-plugin</artifactId>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-jar-plugin</artifactId>
+                       </plugin>
+               </plugins>
+       </build>
+       <dependencies>
+               <!-- Commons -->
+               <dependency>
+                       <groupId>org.argeo.commons.basic</groupId>
+                       <artifactId>org.argeo.basic.nodeps</artifactId>
+                       <version>0.2.3-SNAPSHOT</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.commons.gis</groupId>
+                       <artifactId>org.argeo.gis.ui</artifactId>
+                       <version>0.2.3-SNAPSHOT</version>
+               </dependency>
+
+               <!-- OpenLayers RAP widget -->
+               <dependency>
+                       <groupId>org.argeo.dep.osgi</groupId>
+                       <artifactId>org.polymap.openlayers.rap.widget</artifactId>
+               </dependency>
+
+               <!-- RCP only dependency, needed at compile time -->
+               <dependency>
+                       <groupId>org.argeo.commons.eclipse</groupId>
+                       <artifactId>org.argeo.eclipse.dep.rap</artifactId>
+                       <version>0.2.3-SNAPSHOT</version>
+               </dependency>
+       </dependencies>
+</project>
diff --git a/gis/plugins/org.argeo.gis.ui/pom.xml b/gis/plugins/org.argeo.gis.ui/pom.xml
new file mode 100644 (file)
index 0000000..b2d9182
--- /dev/null
@@ -0,0 +1,63 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+       <modelVersion>4.0.0</modelVersion>
+       <parent>
+               <groupId>org.argeo.commons.gis</groupId>
+               <version>0.2.3-SNAPSHOT</version>
+               <artifactId>plugins</artifactId>
+               <relativePath>..</relativePath>
+       </parent>
+       <artifactId>org.argeo.gis.ui</artifactId>
+       <name>Commons GIS UI</name>
+       <packaging>jar</packaging>
+       <build>
+               <plugins>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-compiler-plugin</artifactId>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-source-plugin</artifactId>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-jar-plugin</artifactId>
+                       </plugin>
+               </plugins>
+       </build>
+       <dependencies>
+               <dependency>
+                       <groupId>org.argeo.commons.gis</groupId>
+                       <artifactId>org.argeo.gis.geotools</artifactId>
+                       <version>0.2.3-SNAPSHOT</version>
+               </dependency>
+
+               <!-- Commons -->
+               <dependency>
+                       <groupId>org.argeo.commons.basic</groupId>
+                       <artifactId>org.argeo.basic.nodeps</artifactId>
+                       <version>0.2.3-SNAPSHOT</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.commons.eclipse</groupId>
+                       <artifactId>org.argeo.eclipse.ui</artifactId>
+                       <version>0.2.3-SNAPSHOT</version>
+               </dependency>
+
+               <!-- RCP only dependency, needed at compile time -->
+               <dependency>
+                       <groupId>org.argeo.commons.eclipse</groupId>
+                       <artifactId>org.argeo.eclipse.dep.rcp</artifactId>
+                       <version>0.2.3-SNAPSHOT</version>
+                       <scope>provided</scope>
+               </dependency>
+
+               <!-- Logging -->
+               <dependency>
+                       <groupId>org.slf4j</groupId>
+                       <artifactId>com.springsource.slf4j.org.apache.commons.logging
+                       </artifactId>
+               </dependency>
+       </dependencies>
+</project>
index b8c4c7b950b5390047ff22b0c49c9e87282181ec..92a10f5b88a8d294879f17b8cbee5fbef44fa322 100644 (file)
@@ -13,6 +13,7 @@
        <packaging>pom</packaging>
        <modules>
                <module>org.argeo.gis.ui</module>
+               <module>org.argeo.gis.ui.rap.openlayers</module>
        </modules>
        <build>
                <resources>
index 15b200c7c5c06f4b890d82a074e47665be3a1414..30ec9b11a14d8568a307619320d7e39e0ea4deaa 100644 (file)
@@ -11,6 +11,7 @@
        <name>Commons GIS</name>
        <packaging>pom</packaging>
        <modules>
+               <module>runtime</module>
                <module>plugins</module>
        </modules>
 </project>
\ No newline at end of file
diff --git a/gis/runtime/org.argeo.gis.geotools/.classpath b/gis/runtime/org.argeo.gis.geotools/.classpath
new file mode 100644 (file)
index 0000000..92f19d2
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+       <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+       <classpathentry kind="src" path="src/main/java"/>
+       <classpathentry kind="output" path="target/classes"/>
+</classpath>
diff --git a/gis/runtime/org.argeo.gis.geotools/.project b/gis/runtime/org.argeo.gis.geotools/.project
new file mode 100644 (file)
index 0000000..cda2132
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>org.argeo.gis.geotools</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.pde.ManifestBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.pde.SchemaBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.pde.PluginNature</nature>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+       </natures>
+</projectDescription>
diff --git a/gis/runtime/org.argeo.gis.geotools/.settings/org.eclipse.jdt.core.prefs b/gis/runtime/org.argeo.gis.geotools/.settings/org.eclipse.jdt.core.prefs
new file mode 100644 (file)
index 0000000..eae9003
--- /dev/null
@@ -0,0 +1,8 @@
+#Sun Feb 27 13:54:27 CET 2011
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
diff --git a/gis/runtime/org.argeo.gis.geotools/.settings/org.eclipse.pde.core.prefs b/gis/runtime/org.argeo.gis.geotools/.settings/org.eclipse.pde.core.prefs
new file mode 100644 (file)
index 0000000..e1d9a78
--- /dev/null
@@ -0,0 +1,4 @@
+#Sun Feb 27 13:54:27 CET 2011
+eclipse.preferences.version=1
+pluginProject.extensions=false
+resolve.requirebundle=false
diff --git a/gis/runtime/org.argeo.gis.geotools/build.properties b/gis/runtime/org.argeo.gis.geotools/build.properties
new file mode 100644 (file)
index 0000000..5fc538b
--- /dev/null
@@ -0,0 +1,4 @@
+source.. = src/main/java/
+output.. = target/classes/
+bin.includes = META-INF/,\
+               .
diff --git a/gis/runtime/org.argeo.gis.geotools/pom.xml b/gis/runtime/org.argeo.gis.geotools/pom.xml
new file mode 100644 (file)
index 0000000..46168eb
--- /dev/null
@@ -0,0 +1,134 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+       <modelVersion>4.0.0</modelVersion>
+       <parent>
+               <groupId>org.argeo.commons.gis</groupId>
+               <artifactId>runtime</artifactId>
+               <version>0.2.3-SNAPSHOT</version>
+               <relativePath>..</relativePath>
+       </parent>
+       <artifactId>org.argeo.gis.geotools</artifactId>
+       <name>Commons GIS Geotools</name>
+       <build>
+               <plugins>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-compiler-plugin</artifactId>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-source-plugin</artifactId>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-jar-plugin</artifactId>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.felix</groupId>
+                               <artifactId>maven-bundle-plugin</artifactId>
+                               <version>${version.maven-bundle-plugin}</version>
+                               <configuration>
+                                       <instructions>
+                                               <Export-Package>org.argeo.geotools.*</Export-Package>
+                                       </instructions>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.argeo.maven.plugins</groupId>
+                               <artifactId>maven-argeo-osgi-plugin</artifactId>
+                               <version>${version.maven-argeo-osgi}</version>
+                               <executions>
+                                       <execution>
+                                               <id>check-osgi</id>
+                                               <phase>test</phase>
+                                               <goals>
+                                                       <goal>equinox</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <onlyCheck>true</onlyCheck>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
+               </plugins>
+       </build>
+       <dependencies>
+               <!-- Geotools -->
+               <dependency>
+                       <groupId>org.argeo.dep.osgi</groupId>
+                       <artifactId>org.argeo.dep.osgi.geotools</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.dep.osgi</groupId>
+                       <artifactId>org.argeo.dep.osgi.jts</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.dep.osgi</groupId>
+                       <artifactId>org.argeo.dep.osgi.geoapi</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.jdom</groupId>
+                       <artifactId>com.springsource.org.jdom</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.jaxen</groupId>
+                       <artifactId>com.springsource.org.jaxen</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.dep.osgi</groupId>
+                       <artifactId>org.argeo.dep.osgi.jsr275</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.dep.osgi</groupId>
+                       <artifactId>org.argeo.dep.osgi.java3d</artifactId>
+               </dependency>
+               <!-- Apache Commons -->
+               <dependency>
+                       <groupId>org.apache.commons</groupId>
+                       <artifactId>com.springsource.org.apache.commons.beanutils</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.commons</groupId>
+                       <artifactId>com.springsource.org.apache.commons.dbcp</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.commons</groupId>
+                       <artifactId>com.springsource.org.apache.commons.lang</artifactId>
+               </dependency>
+               <!-- JAI -->
+               <dependency>
+                       <groupId>javax.media.jai</groupId>
+                       <artifactId>com.springsource.javax.media.jai.core</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>javax.media.jai</groupId>
+                       <artifactId>com.springsource.javax.media.jai.codec</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.dep.osgi</groupId>
+                       <artifactId>org.argeo.dep.osgi.jai.imageio</artifactId>
+               </dependency>
+
+               <!-- Logging -->
+               <dependency>
+                       <groupId>org.slf4j</groupId>
+                       <artifactId>com.springsource.slf4j.org.apache.commons.logging
+                       </artifactId>
+               </dependency>
+
+               <!-- OSGi test -->
+               <dependency>
+                       <groupId>org.argeo.commons.osgi</groupId>
+                       <artifactId>org.argeo.osgi.boot</artifactId>
+                       <version>${version.argeo-commons}</version>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.commons.basic</groupId>
+                       <artifactId>org.argeo.basic.dep.log4j</artifactId>
+                       <version>${version.argeo-commons}</version>
+                       <type>pom</type>
+                       <scope>test</scope>
+               </dependency>
+       </dependencies>
+</project>
diff --git a/gis/runtime/pom.xml b/gis/runtime/pom.xml
new file mode 100644 (file)
index 0000000..3cd51e1
--- /dev/null
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+       <modelVersion>4.0.0</modelVersion>
+       <parent>
+               <groupId>org.argeo.commons</groupId>
+               <version>0.2.3-SNAPSHOT</version>
+               <artifactId>gis</artifactId>
+               <relativePath>..</relativePath>
+       </parent>
+       <groupId>org.argeo.commons.gis</groupId>
+       <artifactId>runtime</artifactId>
+       <name>Commons GIS Runtime</name>
+       <packaging>pom</packaging>
+       <modules>
+               <module>org.argeo.gis.geotools</module>
+       </modules>
+       <build>
+               <resources>
+                       <resource>
+                               <directory>src/main/resources</directory>
+                       </resource>
+                       <resource>
+                               <directory>.</directory>
+                               <includes>
+                                       <include>META-INF/**</include>
+                               </includes>
+                       </resource>
+               </resources>
+               <plugins>
+                       <plugin>
+                               <artifactId>maven-clean-plugin</artifactId>
+                               <configuration>
+                                       <filesets>
+                                               <fileset>
+                                                       <directory>META-INF</directory>
+                                                       <includes>
+                                                               <include>MANIFEST.MF</include>
+                                                       </includes>
+                                               </fileset>
+                                       </filesets>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-jar-plugin</artifactId>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-source-plugin</artifactId>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-surefire-plugin</artifactId>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.felix</groupId>
+                               <artifactId>maven-bundle-plugin</artifactId>
+                               <extensions>true</extensions>
+                       </plugin>
+               </plugins>
+       </build>
+</project>
\ No newline at end of file
index a54fbe40ff0002746a6f360569b8edc4b882f978..0ee4efc274eb16a2775706cd292b4a4e78510555 100644 (file)
                <dependency>
                        <groupId>org.argeo.commons.osgi</groupId>
                        <artifactId>org.argeo.osgi.boot</artifactId>
-                       <version>${project.version}</version>
+                       <version>${version.argeo-commons}</version>
                </dependency>
                <!--  Logging -->
                <dependency>
                        <groupId>org.argeo.commons.basic</groupId>
                        <artifactId>org.argeo.basic.dep.log4j</artifactId>
-                       <version>${project.version}</version>
+                       <version>${version.argeo-commons}</version>
                        <type>pom</type>
                </dependency>
                <!-- Spring OSGi -->
diff --git a/pom.xml b/pom.xml
index fa06f052903942c837b9243c5545a52f28221694..2cf560d380346364a3d7100c2f7012ea0bfc2217 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -73,8 +73,9 @@ limitations under the License.
                <module>basic</module>
                <module>osgi</module>
                <module>server</module>
-               <module>security</module>
                <module>eclipse</module>
+               <module>security</module>
+               <module>gis</module>
                <module>sandbox</module>
        </modules>
        <build>
diff --git a/security/dep/org.argeo.security.dep.node/pom.xml b/security/dep/org.argeo.security.dep.node/pom.xml
new file mode 100644 (file)
index 0000000..fa40e25
--- /dev/null
@@ -0,0 +1,129 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+       <modelVersion>4.0.0</modelVersion>
+       <parent>
+               <groupId>org.argeo.commons.security</groupId>
+               <version>0.2.3-SNAPSHOT</version>
+               <artifactId>dep</artifactId>
+               <relativePath>..</relativePath>
+       </parent>
+       <artifactId>org.argeo.security.dep.node</artifactId>
+       <name>Commons Argeo Node Dependencies</name>
+       <packaging>pom</packaging>
+       <build>
+               <plugins>
+                       <plugin>
+                               <groupId>org.argeo.maven.plugins</groupId>
+                               <artifactId>maven-argeo-osgi-plugin</artifactId>
+                               <version>${version.maven-argeo-osgi}</version>
+                               <executions>
+                                       <execution>
+                                               <id>check-osgi</id>
+                                               <phase>test</phase>
+                                               <goals>
+                                                       <goal>equinox</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <onlyCheck>true</onlyCheck>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
+               </plugins>
+       </build>
+       <dependencies>
+               <!-- Base runtime -->
+               <dependency>
+                       <groupId>org.argeo.commons.osgi</groupId>
+                       <artifactId>org.argeo.osgi.dep.stdruntime</artifactId>
+                       <version>${version.argeo-commons}</version>
+                       <type>pom</type>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.commons.server</groupId>
+                       <artifactId>org.argeo.server.dep.javax</artifactId>
+                       <version>${version.argeo-commons}</version>
+                       <type>pom</type>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.xmlcommons</groupId>
+                       <artifactId>com.springsource.org.apache.xmlcommons</artifactId>
+               </dependency>
+               <!-- LDAP server and security services -->
+               <dependency>
+                       <groupId>org.argeo.commons.security</groupId>
+                       <artifactId>org.argeo.security.dep.ads</artifactId>
+                       <version>${version.argeo-commons}</version>
+                       <type>pom</type>
+               </dependency>
+               <!-- Tomcat -->
+               <dependency>
+                       <groupId>org.argeo.commons.server</groupId>
+                       <artifactId>org.argeo.server.dep.tomcat</artifactId>
+                       <version>${version.argeo-commons}</version>
+                       <type>pom</type>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework.osgi</groupId>
+                       <artifactId>org.springframework.osgi.web.extender</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.springframework.osgi</groupId>
+                       <artifactId>org.springframework.osgi.web</artifactId>
+               </dependency>
+               <!-- Active MQ -->
+               <dependency>
+                       <groupId>org.argeo.commons.server</groupId>
+                       <artifactId>org.argeo.server.dep.activemq</artifactId>
+                       <version>${version.argeo-commons}</version>
+                       <type>pom</type>
+               </dependency>
+               <!-- Jackrabbit -->
+               <dependency>
+                       <groupId>org.argeo.commons.server</groupId>
+                       <artifactId>org.argeo.server.jackrabbit</artifactId>
+                       <version>${version.argeo-commons}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.commons.server</groupId>
+                       <artifactId>org.argeo.server.jcr.mvc</artifactId>
+                       <version>${version.argeo-commons}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.commons.server</groupId>
+                       <artifactId>org.argeo.server.dep.jackrabbit.server</artifactId>
+                       <version>${version.argeo-commons}</version>
+                       <type>pom</type>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.commons.server</groupId>
+                       <artifactId>org.argeo.jackrabbit.webapp</artifactId>
+                       <version>${version.argeo-commons}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.commons.server</groupId>
+                       <artifactId>org.argeo.node.repo.jackrabbit</artifactId>
+                       <version>${version.argeo-commons}</version>
+               </dependency>
+               <!-- Hibernate -->
+               <dependency>
+                       <groupId>org.argeo.commons.server</groupId>
+                       <artifactId>org.argeo.server.dep.hibernate</artifactId>
+                       <version>${version.argeo-commons}</version>
+                       <type>pom</type>
+               </dependency>
+               <!-- DB drivers -->
+               <dependency>
+                       <groupId>com.h2database</groupId>
+                       <artifactId>com.springsource.org.h2</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>com.mysql.jdbc</groupId>
+                       <artifactId>com.springsource.com.mysql.jdbc</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.postgresql</groupId>
+                       <artifactId>com.springsource.org.postgresql.jdbc3</artifactId>
+               </dependency>
+       </dependencies>
+</project>
index f35a007f0f97d140a3524debcc4de580bd9038fa..c60a6b2f148aea1c2c4029e436ce56e733cd3245 100644 (file)
@@ -14,5 +14,6 @@
        <modules>
                <module>org.argeo.security.dep.ldap</module>
                <module>org.argeo.security.dep.ads</module>
+               <module>org.argeo.security.dep.node</module>
        </modules>
 </project>
\ No newline at end of file
diff --git a/security/eclipse/pom.xml b/security/eclipse/pom.xml
deleted file mode 100644 (file)
index 31fb045..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-       <modelVersion>4.0.0</modelVersion>
-       <parent>
-               <groupId>org.argeo.commons</groupId>
-               <version>0.2.3-SNAPSHOT</version>
-               <artifactId>security</artifactId>
-               <relativePath>..</relativePath>
-       </parent>
-       <groupId>org.argeo.commons.security</groupId>
-       <artifactId>eclipse</artifactId>
-       <name>Commons Security Eclipse</name>
-       <packaging>pom</packaging>
-       <modules>
-               <!-- <module>features</module> -->
-               <module>plugins</module>
-       </modules>
-</project>
\ No newline at end of file
index e66484841dc736e1eb4bf45ef7ea310807d86a32..1f55666c11053604ea8d98c1e161da1c898a5bd7 100644 (file)
                <dependency>
                        <groupId>org.argeo.commons.security</groupId>
                        <artifactId>org.argeo.security.ui</artifactId>
-                       <version>0.2.3-SNAPSHOT</version>
+                       <version>${version.argeo-commons}</version>
                </dependency>
                <dependency>
                        <groupId>org.argeo.commons.security</groupId>
                        <artifactId>org.argeo.security.equinox</artifactId>
-                       <version>0.2.3-SNAPSHOT</version>
+                       <version>${version.argeo-commons}</version>
                </dependency>
 
                <!-- Argeo Eclipse distribution (common dependencies for both RAP and RCP) -->
                <dependency>
                        <groupId>org.argeo.commons.eclipse</groupId>
                        <artifactId>org.argeo.eclipse.dep.rcp</artifactId>
-                       <version>0.2.3-SNAPSHOT</version>
+                       <version>${version.argeo-commons}</version>
                        <scope>provided</scope>
                </dependency>
 
@@ -97,7 +97,7 @@
                <dependency>
                        <groupId>org.argeo.commons.basic</groupId>
                        <artifactId>org.argeo.basic.nodeps</artifactId>
-                       <version>0.2.3-SNAPSHOT</version>
+                       <version>${version.argeo-commons}</version>
                </dependency>
 
 
                        <groupId>org.slf4j</groupId>
                        <artifactId>com.springsource.slf4j.org.apache.commons.logging</artifactId>
                </dependency>
-
-               <!-- For testing and target platform generation -->
-               <!--  LDAP server and security services -->
+               
+               <!-- Target platform generation -->
                <dependency>
                        <groupId>org.argeo.commons.security</groupId>
-                       <artifactId>org.argeo.security.dep.ads</artifactId>
+                       <artifactId>org.argeo.security.dep.node</artifactId>
                        <version>${version.argeo-commons}</version>
                        <type>pom</type>
                        <scope>test</scope>
index 764c63f1cc9ad3b99dc7f2656e0687e567ee4736..067e16e15dd400d1f250463fbc37a819a49fd1a6 100644 (file)
@@ -63,7 +63,7 @@
                <dependency>
                        <groupId>org.argeo.commons.security</groupId>
                        <artifactId>org.argeo.security.ui.application</artifactId>
-                       <version>0.2.3-SNAPSHOT</version>
+                       <version>${version.argeo-commons}</version>
                        <exclusions>
                                <exclusion>
                                        <groupId>org.argeo.commons.eclipse</groupId>
                <dependency>
                        <groupId>org.argeo.commons.eclipse</groupId>
                        <artifactId>org.argeo.eclipse.dep.rap</artifactId>
-                       <version>0.2.3-SNAPSHOT</version>
-               </dependency>
-
-
-               <!-- TODO: factorize with application.ui -->
-               <!-- For testing and target platform generation -->
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.ads.server</artifactId>
                        <version>${version.argeo-commons}</version>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.security</groupId>
-                       <artifactId>org.argeo.security.services</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.security</groupId>
-                       <artifactId>org.argeo.security.ldap</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <scope>test</scope>
                </dependency>
+
+               <!-- Target platform generation -->
                <dependency>
                        <groupId>org.argeo.commons.security</groupId>
-                       <artifactId>org.argeo.security.manager.ldap</artifactId>
+                       <artifactId>org.argeo.security.dep.node</artifactId>
                        <version>${version.argeo-commons}</version>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.ads</artifactId>
-                       <version>0.2.3-SNAPSHOT</version>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.dep.osgi</groupId>
-                       <artifactId>org.argeo.dep.osgi.springframework.ldap</artifactId>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.basic</groupId>
-                       <artifactId>org.argeo.basic.dep.log4j</artifactId>
-                       <version>0.2.3-SNAPSHOT</version>
                        <type>pom</type>
                        <scope>test</scope>
                </dependency>
-               <dependency>
-                       <groupId>net.sourceforge.jdbm</groupId>
-                       <artifactId>com.springsource.jdbm</artifactId>
-                       <scope>test</scope>
-               </dependency>
        </dependencies>
 </project>
index ab837feb5d6251fd6a43d0da49786245d3ee754f..71a536b463e74ad90586a5b41d45474ac178d931 100644 (file)
@@ -1,13 +1,15 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <parent>
-               <groupId>org.argeo.commons.security</groupId>
+       <groupId>org.argeo.commons</groupId>
                <version>0.2.3-SNAPSHOT</version>
-               <artifactId>eclipse</artifactId>
+               <artifactId>security</artifactId>
                <relativePath>..</relativePath>
        </parent>
+       <groupId>org.argeo.commons.security</groupId>
        <artifactId>plugins</artifactId>
-       <name>Commons Security Eclipse plugins</name>
+       <name>Commons Security Eclipse Plugins</name>
        <packaging>pom</packaging>
        <modules>
                <module>org.argeo.security.equinox</module>
index c06486aee5e46862923d4cc566b93ca3f09341d8..bc3859e0707b8ace5d827f0032b4ee252f03c3be 100644 (file)
@@ -13,7 +13,7 @@
        <modules>
                <module>runtime</module>
                <module>modules</module>
-               <module>eclipse</module>
+               <module>plugins</module>
                <module>dep</module>
                <module>demo</module>
        </modules>
index 23e8ddd4f8f9acda409dcb2e825fe0a4db0dc8ca..c04649e6f5e71b2306cfdbf3ea1b1d98f5e7c224 100644 (file)
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-jar-plugin</artifactId>
-                               <configuration>
-                                       <archive>
-                                               <manifestFile>META-INF/MANIFEST.MF</manifestFile>
-                                       </archive>
-                               </configuration>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-bundle-plugin</artifactId>
                                <version>${version.maven-bundle-plugin}</version>
                                <extensions>true</extensions>
-                               <configuration>
-                                       <manifestLocation>META-INF</manifestLocation>
-                                       <instructions>
-                                               <Bundle-Version>${project.version}-r${buildNumber}</Bundle-Version>
-                                               <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
-                                               <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
-                                               <_removeheaders>Bnd-LastModified</_removeheaders>
-                                       </instructions>
-                               </configuration>
-                               <executions>
-                                       <execution>
-                                               <id>bundle-manifest</id>
-                                               <phase>process-classes</phase>
-                                               <goals>
-                                                       <goal>manifest</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
                        </plugin>
                </plugins>
        </build>
index d63fd3c9f63436295c4d6d7d9475526581ab7951..16aabfad722ec9981d2119c627063d9741afba53 100644 (file)
@@ -2,7 +2,7 @@
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <parent>
-               <groupId>org.argeo.commons.eclipse</groupId>
+               <groupId>org.argeo.commons.server</groupId>
                <version>0.2.3-SNAPSHOT</version>
                <artifactId>plugins</artifactId>
                <relativePath>..</relativePath>
                        <scope>provided</scope>
                </dependency>
 
-
                <!-- Testing and target platform -->
-               <dependency>
-                       <groupId>org.argeo.commons.osgi</groupId>
-                       <artifactId>org.argeo.osgi.boot</artifactId>
-                       <version>0.2.3-SNAPSHOT</version>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.dep.javax</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <type>pom</type>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.apache.xmlcommons</groupId>
-                       <artifactId>com.springsource.org.apache.xmlcommons</artifactId>
-                       <scope>test</scope>
-               </dependency>
-               <!-- LDAP server and security services -->
-               <dependency>
-                       <groupId>org.argeo.commons.security</groupId>
-                       <artifactId>org.argeo.security.dep.ads</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <type>pom</type>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.security</groupId>
-                       <artifactId>org.argeo.security.ui.application</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <scope>test</scope>
-               </dependency>
-               <!-- Tomcat -->
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.dep.tomcat</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <type>pom</type>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.springframework.osgi</groupId>
-                       <artifactId>org.springframework.osgi.web.extender</artifactId>
-               </dependency>
-               <dependency>
-                       <groupId>org.springframework.osgi</groupId>
-                       <artifactId>org.springframework.osgi.web</artifactId>
-               </dependency>
-               <!-- Jackrabbit -->
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.jackrabbit</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.jcr.mvc</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <scope>test</scope>
-               </dependency>
                <dependency>
                        <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.server.dep.jackrabbit.server</artifactId>
+                       <artifactId>org.argeo.server.dep.node</artifactId>
                        <version>${version.argeo-commons}</version>
                        <type>pom</type>
                        <scope>test</scope>
                </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.jackrabbit.webapp</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.argeo.commons.server</groupId>
-                       <artifactId>org.argeo.node.repo.jackrabbit</artifactId>
-                       <version>${version.argeo-commons}</version>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>com.h2database</groupId>
-                       <artifactId>com.springsource.org.h2</artifactId>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>com.mysql.jdbc</groupId>
-                       <artifactId>com.springsource.com.mysql.jdbc</artifactId>
-                       <scope>test</scope>
-               </dependency>
-               <dependency>
-                       <groupId>org.postgresql</groupId>
-                       <artifactId>com.springsource.org.postgresql.jdbc3</artifactId>
-                       <scope>test</scope>
-               </dependency>
        </dependencies>
 </project>
index 3b7006a5d1029b2a4d702b0c2e7f16ec23c97f08..4c0f91fd9ea00e43d77ed7c747cae6d17cfc7d1a 100644 (file)
@@ -1,13 +1,15 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <parent>
-               <groupId>org.argeo.commons.eclipse</groupId>
+               <groupId>org.argeo.commons</groupId>
                <version>0.2.3-SNAPSHOT</version>
-               <artifactId>eclipse</artifactId>
+               <artifactId>server</artifactId>
                <relativePath>..</relativePath>
        </parent>
+       <groupId>org.argeo.commons.server</groupId>
        <artifactId>plugins</artifactId>
-       <name>Commons Eclipse plugins</name>
+       <name>Commons Server Eclipse Plugins</name>
        <packaging>pom</packaging>
        <modules>
                <module>org.argeo.jcr.ui.explorer</module>
index 3137dfd6c74fad553ec88df3d6521989ac54de58..415c4fd0513817bf4fa0b019bfd4d0aad21aab55 100644 (file)
                                <version>${version.maven-bundle-plugin}</version>
                                <configuration>
                                        <instructions>
-                                               <Export-Package>
-                                                       org.argeo.jcr.*,
-                                                       org.argeo.server.jcr.*
-                                               </Export-Package>
+                                               <Export-Package>org.argeo.jcr.*</Export-Package>
                                        </instructions>
                                </configuration>
                        </plugin>
index 0a954944be97d01b6a8bf94080372a583ab3bf41..d37ce76d37e13a15488d1379f29ef3a2efb16337 100644 (file)
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-jar-plugin</artifactId>
-                               <configuration>
-                                       <archive>
-                                               <manifestFile>META-INF/MANIFEST.MF</manifestFile>
-                                       </archive>
-                               </configuration>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                        <plugin>
                                <groupId>org.apache.felix</groupId>
                                <artifactId>maven-bundle-plugin</artifactId>
-                               <version>${version.maven-bundle-plugin}</version>
                                <extensions>true</extensions>
-                               <configuration>
-                                       <manifestLocation>META-INF</manifestLocation>
-                                       <instructions>
-                                               <Bundle-Version>${project.version}-r${buildNumber}</Bundle-Version>
-                                               <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
-                                               <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
-                                               <_removeheaders>Bnd-LastModified</_removeheaders>
-                                       </instructions>
-                               </configuration>
-                               <executions>
-                                       <execution>
-                                               <id>bundle-manifest</id>
-                                               <phase>process-classes</phase>
-                                               <goals>
-                                                       <goal>manifest</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
                        </plugin>
                </plugins>
        </build>