]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - trash/examples/org.argeo.slc.example01/pom.xml
Move to trash
[gpl/argeo-slc.git] / trash / examples / org.argeo.slc.example01 / pom.xml
diff --git a/trash/examples/org.argeo.slc.example01/pom.xml b/trash/examples/org.argeo.slc.example01/pom.xml
new file mode 100644 (file)
index 0000000..866daed
--- /dev/null
@@ -0,0 +1,160 @@
+<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.slc</groupId>
+               <artifactId>argeo-slc</artifactId>
+               <version>0.11.3-SNAPSHOT</version>
+               <relativePath>../../org.argeo.slc</relativePath>
+       </parent>
+       <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>
+       <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-assembly-plugin</artifactId>
+                               <configuration>
+                                       <descriptors>
+                                               <descriptor>src/assembly/slc.xml</descriptor>
+                                       </descriptors>
+                               </configuration>
+                               <executions>
+                                       <execution>
+                                               <id>assembly-exampleSlcAppli</id>
+                                               <phase>package</phase>
+                                               <goals>
+                                                       <goal>single</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-surefire-plugin</artifactId>
+                               <configuration>
+                                       <systemProperties>
+                                               <property>
+                                                       <name>slc.rootDir</name>
+                                                       <value>${basedir}/src/slc/root</value>
+                                               </property>
+                                       </systemProperties>
+                               </configuration>
+                       </plugin>
+                       <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.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>
+               </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.support.ant</artifactId>
+                       <version>${project.version}</version>
+               </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>test</scope>
+               </dependency>
+
+               <!-- TESTING -->
+               <dependency>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.launcher</artifactId>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.support.activemq</artifactId>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.slc.runtime</groupId>
+                       <artifactId>org.argeo.slc.support.castor</artifactId>
+                       <scope>test</scope>
+               </dependency>
+
+       </dependencies>
+</project>