- <jvmArgs>
- <jvmArg>-Xmx128m</jvmArg>
- <!--
- <jvmArg>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8001</jvmArg>
- -->
- </jvmArgs>
+ <systemPropertiesFile>agent.properties</systemPropertiesFile>
+ <systemProperties>
+ <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>