]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - demo/pom.xml
Use latest plugin versions
[gpl/argeo-slc.git] / demo / pom.xml
index 00feace89f40406ef119dd39bcbcc1c0e507e064..b0c9b2f6d44f3d508464fd591ae924887fb3d59c 100644 (file)
        <build>
                <plugins>
                        <plugin>
-                               <artifactId>maven-dependency-plugin</artifactId>
-                               <executions>
-                                       <execution>
-                                               <goals>
-                                                       <goal>copy-dependencies</goal>
-                                               </goals>
-                                               <phase>initialize</phase>
-                                               <configuration>
-                                                       <outputDirectory>lib</outputDirectory>
-                                                       <includeTypes>jar</includeTypes>
-                                               </configuration>
-                                       </execution>
-                               </executions>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.codehaus.mojo</groupId>
-                               <artifactId>exec-maven-plugin</artifactId>
-                               <version>1.1</version>
+                               <groupId>org.argeo.slc.maven</groupId>
+                               <artifactId>maven-argeo-osgi-plugin</artifactId>
+                               <version>0.1.6</version>
                                <configuration>
-                                       <executable>java</executable>
-                                       <workingDirectory>exec/server</workingDirectory>
-                                       <arguments>
-                                               <argument>-Dmyproperty=myvalue</argument>
-                                               <argument>-jar</argument>
-                                               <argument>../../lib/org.eclipse.osgi-3.4.2.R34x_v20080826-1230.jar</argument>
-                                               <argument>-clean</argument>
-                                               <argument>-console</argument>
-                                               <argument>-configuration</argument>
-                                               <argument>conf</argument>
-                                       </arguments>
+                                       <execDir>exec/server</execDir>
+                                       <jvmArgs>
+                                               <jvmArg>-Xmx256m</jvmArg>
+                                               <!-- <jvmArg>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000</jvmArg> -->
+                                       </jvmArgs>
+                                       <systemProperties>
+                                               <slc.osgi.bundles>../../site;in=*</slc.osgi.bundles>
+                                               <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,
+                                                       org.argeo.slc.support.equinox,
+                                                       org.argeo.slc.demo.basic,
+                                                       org.argeo.slc.demo.manager
+                                               </slc.osgi.start>
+                                       </systemProperties>
                                </configuration>
                        </plugin>
+                       <!--
+                               <plugin> <artifactId>maven-dependency-plugin</artifactId>
+                               <executions> <execution> <goals> <goal>copy-dependencies</goal>
+                               </goals> <phase>initialize</phase> <configuration>
+                               <outputDirectory>lib</outputDirectory>
+                               <includeTypes>jar</includeTypes> </configuration> </execution>
+                               </executions> </plugin> <plugin>
+                               <groupId>org.codehaus.mojo</groupId>
+                               <artifactId>exec-maven-plugin</artifactId> <version>1.1</version>
+                               <configuration> <executable>java</executable>
+                               <workingDirectory>exec/server</workingDirectory> <arguments>
+                               <argument>-Dmyproperty=myvalue</argument> <argument>-jar</argument>
+                               <argument>../../lib/org.eclipse.osgi-3.4.2.R34x_v20080826-1230.jar</argument>
+                               <argument>-clean</argument> <argument>-console</argument>
+                               <argument>-configuration</argument> <argument>conf</argument>
+                               </arguments> </configuration> </plugin>
+                       -->
 
                </plugins>
        </build>
@@ -62,7 +77,7 @@
                <!--  Server -->
                <dependency>
                        <groupId>org.argeo.slc.server</groupId>
-                       <artifactId>deploy</artifactId>
+                       <artifactId>bundles</artifactId>
                        <version>${project.version}</version>
                        <type>pom</type>
                </dependency>