<parent>
<groupId>org.argeo.slc</groupId>
<artifactId>argeo-slc</artifactId>
- <version>0.11.4-SNAPSHOT</version>
- <relativePath>../org.argeo.slc</relativePath>
+ <version>0.13.0</version>
+ <relativePath>..</relativePath>
</parent>
- <groupId>org.argeo.slc.demo</groupId>
- <artifactId>deploy</artifactId>
+ <groupId>org.argeo.slc</groupId>
+ <artifactId>demo</artifactId>
<packaging>pom</packaging>
- <name>Argeo SLC Demo Deploy</name>
+ <name>SLC Demo</name>
<modules>
<module>site</module>
</modules>
<build>
<plugins>
<plugin>
- <groupId>org.argeo.slc.maven</groupId>
+ <groupId>org.argeo.maven.plugins</groupId>
<artifactId>maven-argeo-osgi-plugin</artifactId>
<version>${version.maven-argeo-osgi}</version>
<configuration>
<argsToAppend>
<arg>-clean</arg>
- <arg>-noExit</arg>
</argsToAppend>
- <systemProperties>
- <slc.osgi.bundles>${basedir}/site;in=*;ex=**/.svn/**,${basedir}/../server/org.argeo.slc.siteserver/bundles;in=*;ex=**/.svn/**</slc.osgi.bundles>
- </systemProperties>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-dependencies</id>
- <phase>pre-integration-test</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <includeScope>compile</includeScope>
- <includeTypes>jar</includeTypes>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <skipTests>true</skipTests>
- </configuration>
- <executions>
- <execution>
- <id>surefire-it</id>
- <phase>integration-test</phase>
- <goals>
- <goal>test</goal>
- </goals>
- <configuration>
- <skipTests>false</skipTests>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</build>
- <dependencies>
- <dependency>
- <groupId>org.argeo.slc.runtime</groupId>
- <artifactId>org.argeo.slc.support.equinox</artifactId>
- </dependency>
- <dependency>
- <groupId>org.argeo.slc.runtime</groupId>
- <artifactId>org.argeo.slc.osgiboot</artifactId>
- </dependency>
-
- <!-- TESTS -->
- <dependency>
- <groupId>org.argeo.slc.runtime</groupId>
- <artifactId>org.argeo.slc.support.equinox</artifactId>
- </dependency>
- <dependency>
- <groupId>org.argeo.slc.runtime</groupId>
- <artifactId>org.argeo.slc.osgiboot</artifactId>
- </dependency>
- </dependencies>
-
<profiles>
<profile>
<id>server</id>
<build>
<plugins>
<plugin>
- <groupId>org.argeo.slc.maven</groupId>
+ <groupId>org.argeo.maven.plugins</groupId>
<artifactId>maven-argeo-osgi-plugin</artifactId>
<configuration>
<execDir>target/exec/server</execDir>
- <jvmArgs>
- <jvmArg>-Xmx256m</jvmArg>
- </jvmArgs>
- <debug>0</debug>
+ <systemPropertiesFile>server.properties</systemPropertiesFile>
<systemProperties>
- <slc.osgi.start>
- org.argeo.dep.osgi.catalina.start,
- org.springframework.osgi.extender,
- org.springframework.osgi.web.extender,
- org.springframework.osgi.samples.simplewebapp,
- org.argeo.slc.server.activemq,
- org.argeo.slc.server.hsqldb,
- org.argeo.slc.server.hibernate,
- org.argeo.slc.server.services,
- org.argeo.slc.server.jms,
- org.argeo.slc.webapp,
- org.argeo.slc.ria
- </slc.osgi.start>
- <!-- <slc.osgiboot.debug>true</slc.osgiboot.debug>-->
+ <log4j.configuration>file:${basedir}/log4j.properties</log4j.configuration>
+ <argeo.osgi.bundles>
+ ${basedir}/../modules/server;in=*;ex=pom.xml;ex=target;ex=.*,
+ </argeo.osgi.bundles>
</systemProperties>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
- <!-- Server -->
+ <dependency>
+ <groupId>org.argeo.slc.dep</groupId>
+ <artifactId>org.argeo.slc.dep.server</artifactId>
+ <version>${project.version}</version>
+ </dependency>
<dependency>
<groupId>org.argeo.slc.server</groupId>
- <artifactId>deploy</artifactId>
- <type>pom</type>
+ <artifactId>org.argeo.slc.ria</artifactId>
</dependency>
+
+ </dependencies>
+ </profile>
+ <profile>
+ <id>server_jcr</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.argeo.maven.plugins</groupId>
+ <artifactId>maven-argeo-osgi-plugin</artifactId>
+ <configuration>
+ <execDir>target/exec/server</execDir>
+ <systemPropertiesFile>server_jcr.properties</systemPropertiesFile>
+ <systemProperties>
+ <log4j.configuration>file:${basedir}/log4j.properties</log4j.configuration>
+ <argeo.osgi.bundles>
+ ${basedir}/../modules/server;in=*;ex=pom.xml;ex=target;ex=.*,
+ </argeo.osgi.bundles>
+ </systemProperties>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>org.argeo.slc.dep</groupId>
+ <artifactId>org.argeo.slc.dep.server</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.argeo.slc.server</groupId>
+ <artifactId>org.argeo.slc.ria</artifactId>
+ </dependency>
+
</dependencies>
</profile>
<profile>
<build>
<plugins>
<plugin>
- <groupId>org.argeo.slc.maven</groupId>
+ <groupId>org.argeo.maven.plugins</groupId>
<artifactId>maven-argeo-osgi-plugin</artifactId>
<configuration>
<execDir>target/exec/agent</execDir>
- <jvmArgs>
- <jvmArg>-Xmx128m</jvmArg>
- <!--
- <jvmArg>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8001</jvmArg>
- -->
- </jvmArgs>
+ <systemPropertiesFile>agent.properties</systemPropertiesFile>
<systemProperties>
- <slc.osgi.start>
+ <argeo.osgi.bundles>
+ ${basedir}/site;in=*;ex=pom.xml;ex=target,
+ ${basedir}/../modules/agent;in=*;ex=pom.xml;ex=target
+ </argeo.osgi.bundles>
+ </systemProperties>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>org.argeo.slc.dep</groupId>
+ <artifactId>org.argeo.slc.dep.agent</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.argeo.slc.dep</groupId>
+ <artifactId>org.argeo.slc.dep.agent.extras</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ </profile>
+ <profile>
+ <id>slc_gis_position</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.argeo.maven.plugins</groupId>
+ <artifactId>maven-argeo-osgi-plugin</artifactId>
+ <configuration>
+ <execDir>target/exec/agent</execDir>
+ <systemPropertiesFile>slc_gis_position.properties</systemPropertiesFile>
+ <systemProperties>
+ <argeo.osgi.bundles>
+ ${basedir}/../modules/gis;in=*;ex=pom.xml;ex=target
+ </argeo.osgi.bundles>
+ </systemProperties>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>org.argeo.slc.dep</groupId>
+ <artifactId>org.argeo.slc.dep.gis</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+ </profile>
+ <profile>
+ <id>detached</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.argeo.maven.plugins</groupId>
+ <artifactId>maven-argeo-osgi-plugin</artifactId>
+ <configuration>
+ <execDir>target/exec/detached</execDir>
+ <fork>true</fork>
+ <systemProperties>
+ <argeo.osgi.start>
org.springframework.osgi.extender,
- org.argeo.slc.support.equinox,
- org.argeo.slc.agent,
- org.argeo.slc.demo.basic
- </slc.osgi.start>
+ org.argeo.slc.detached,
+ org.argeo.slc.demo.det
+ </argeo.osgi.start>
+ <argeo.osgi.bundles>
+ ${basedir}/site;in=org.argeo.slc.demo.det;ex=pom.xml;ex=target,
+ ${basedir}/site;in=org.argeo.slc.demo.log4j;ex=pom.xml;ex=target,
+ </argeo.osgi.bundles>
+ <javax.xml.parsers.DocumentBuilderFactory>org.apache.xerces.jaxp.DocumentBuilderFactoryImpl</javax.xml.parsers.DocumentBuilderFactory>
</systemProperties>
</configuration>
</plugin>
</plugins>
</build>
+ <dependencies>
+ <dependency>
+ <groupId>org.argeo.slc.dep</groupId>
+ <artifactId>org.argeo.slc.dep.detached</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.mx4j</groupId>
+ <artifactId>com.springsource.mx4j</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.osgi</groupId>
+ <artifactId>org.eclipse.osgi</artifactId>
+ </dependency>
+ </dependencies>
</profile>
<profile>
<id>server_mysql</id>
<build>
<plugins>
<plugin>
- <groupId>org.argeo.slc.maven</groupId>
+ <groupId>org.argeo.maven.plugins</groupId>
<artifactId>maven-argeo-osgi-plugin</artifactId>
<configuration>
<execDir>target/exec/server</execDir>
-->
</jvmArgs>
<systemProperties>
- <slc.osgi.start>
+ <argeo.osgi.start>
org.argeo.dep.osgi.catalina.start,
org.springframework.osgi.extender,
org.springframework.osgi.web.extender,
org.argeo.slc.server.jms,
org.argeo.slc.webapp,
org.argeo.slc.ria
- </slc.osgi.start>
+ </argeo.osgi.start>
</systemProperties>
</configuration>
</plugin>
</plugins>
</build>
+ <dependencies>
+ <dependency>
+ <groupId>org.argeo.slc.dep</groupId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.argeo.slc.server</groupId>
+ <artifactId>org.argeo.slc.ria</artifactId>
+ </dependency>
+ </dependencies>
</profile>
</profiles>
</project>