]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - examples/org.argeo.slc.example01/pom.xml
NEW - bug 105: Pass parameters to XsltReportGenerator
[gpl/argeo-slc.git] / examples / org.argeo.slc.example01 / pom.xml
index f74d3da979523e92c55f12e2d4e5755048969e35..2bbd3e32f9d677732b7c10174e827424fd7cb37f 100644 (file)
@@ -4,20 +4,16 @@
        <parent>
                <groupId>org.argeo.slc</groupId>
                <artifactId>argeo-slc</artifactId>
-               <version>0.11.2-SNAPSHOT</version>
-               <relativePath>../org.argeo.slc</relativePath>
+               <version>0.11.3-SNAPSHOT</version>
+               <relativePath>../../org.argeo.slc</relativePath>
        </parent>
-       <artifactId>org.argeo.slc.example</artifactId>
-       <name>Argeo SLC Demo Example 1</name>
+       <groupId>org.argeo.slc.examples</groupId>
+       <artifactId>org.argeo.slc.example01</artifactId>
+       <name>Argeo SLC Example 01</name>
        <packaging>jar</packaging>
        <description>An Example SLC application</description>
-       <scm>
-               <connection>scm:svn:https://www.argeo.org/svn/slc/trunk/org.argeo.slc.example</connection>
-               <url>https://www.argeo.org/svn/slc/trunk/org.argeo.slc.example</url>
-       </scm>
        <build>
                <plugins>
-                       <!-- Look to parent pom for inheritances -->
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
@@ -51,7 +47,7 @@
                                        <systemProperties>
                                                <property>
                                                        <name>slc.rootDir</name>
-                                                       <value>${basedir}/src/main/slc/root</value>
+                                                       <value>${basedir}/src/slc/root</value>
                                                </property>
                                        </systemProperties>
                                </configuration>
                        <plugin>
                                <groupId>org.apache.felix</groupId>
                                <artifactId>maven-bundle-plugin</artifactId>
+                               <version>${version.maven-bundle-plugin}</version>
                                <configuration>
                                        <instructions>
                                                <Export-Package>
                                                        org.argeo.slc.example.*
                                                </Export-Package>
-                                               <Import-Package>*,org.argeo.slc.core.test.spring,org.springframework.oxm.castor,org.argeo.slc.msg.test.tree,org.apache.tools.ant,org.apache.tools.ant.taskdefs,org.apache.tools.ant.types</Import-Package>
-                                               <Bundle-Activator>org.argeo.slc.example.Activator</Bundle-Activator>
-                                               <Require-Bundle>org.argeo.slc.core,org.argeo.slc.agent</Require-Bundle>
+                                               <Import-Package>*,
+                                                       org.argeo.slc.core.test.spring,
+                                                       org.argeo.slc.xml.test.tree,
+                                                       org.argeo.slc.castor.spring,
+                                                       org.argeo.slc.castor.msg,
+                                                       org.argeo.slc.castor.process,
+                                                       org.argeo.slc.castor.structure,
+                                                       org.argeo.slc.castor.test,
+                                                       org.springframework.oxm.castor,
+                                                       org.argeo.slc.core.test.tree,
+                                                       org.argeo.slc.msg.test.tree,
+                                                       org.apache.tools.ant,
+                                                       org.apache.tools.ant.taskdefs,
+                                                       org.apache.tools.ant.types
+                                               </Import-Package>
+                                               <!--
+                                                       <Import-Package>*,org.argeo.slc.core.test.spring,org.springframework.oxm.castor,org.argeo.slc.msg.test.tree,org.apache.tools.ant,org.apache.tools.ant.taskdefs,org.apache.tools.ant.types</Import-Package>
+                                                       <Bundle-Activator>org.argeo.slc.example.Activator</Bundle-Activator>
+                                                       <Require-Bundle>org.argeo.slc.core,org.argeo.slc.agent</Require-Bundle>
+                                               -->
                                        </instructions>
                                </configuration>
                        </plugin>
+                       <plugin>
+                               <groupId>org.codehaus.mojo</groupId>
+                               <artifactId>exec-maven-plugin</artifactId>
+                               <version>1.1-beta-1</version>
+                               <configuration>
+                                       <mainClass>org.argeo.slc.cli.SlcMain</mainClass>
+                                       <systemProperties>
+                                               <systemProperty>
+                                                       <key>slc.runtime</key>
+                                                       <value>ws</value>
+                                               </systemProperty>
+                                               <systemProperty>
+                                                       <key>slc.rootFile</key>
+                                                       <value>file:${basedir}/src/slc/root/slcRoot.properties</value>
+                                               </systemProperty>
+                                       </systemProperties>
+                                       <arguments>
+                                               <argument>--mode</argument>
+                                               <argument>agent</argument>
+                                       </arguments>
+                               </configuration>
+                       </plugin>
                </plugins>
        </build>
        <dependencies>
                <dependency>
                        <groupId>org.argeo.slc.runtime</groupId>
                        <artifactId>org.argeo.slc.support.simple</artifactId>
-                       <version>${project.version}</version>
                </dependency>
                <dependency>
                        <groupId>org.argeo.slc.runtime</groupId>
-                       <artifactId>org.argeo.slc.ant</artifactId>
-                       <version>${project.version}</version>
+                       <artifactId>org.argeo.slc.support.ant</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.support.castor</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.support.ws.client</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.launcher</artifactId>
+                       <scope>provided</scope>
+               </dependency>
+               <dependency>
+                       <groupId>javax.activation</groupId>
+                       <artifactId>com.springsource.javax.activation</artifactId>
+                       <version>1.1.1</version>
+                       <scope>testing</scope>
+               </dependency>
+
+               <!-- TESTING -->
+               <dependency>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.launcher</artifactId>
+                       <scope>testing</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.support.activemq</artifactId>
+                       <scope>testing</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.support.ant</artifactId>
+                       <scope>testing</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.support.castor</artifactId>
+                       <scope>testing</scope>
                </dependency>
+
        </dependencies>
-</project>
\ No newline at end of file
+</project>