Run demo from mvn
authorMathieu Baudier <mbaudier@argeo.org>
Thu, 29 Mar 2018 22:16:18 +0000 (00:16 +0200)
committerMathieu Baudier <mbaudier@argeo.org>
Thu, 29 Mar 2018 22:16:18 +0000 (00:16 +0200)
demo/cms-e4-rap.properties
demo/pom.xml [new file with mode: 0644]
pom.xml

index 0e01b5dcf049abd167a28a508fe9fc24f8e24251..e910b7a70891aa5a972348e7adcd1902b11e9963 100644 (file)
@@ -3,6 +3,7 @@ org.eclipse.equinox.http.servlet,\
 org.eclipse.equinox.http.jetty,\
 org.eclipse.equinox.metatype,\
 org.eclipse.equinox.cm,\
+org.eclipse.equinox.ds,\
 org.eclipse.rap.rwt.osgi
 
 argeo.osgi.start.3.node=\
@@ -17,7 +18,8 @@ org.osgi.service.http.port=7070
 #org.osgi.service.http.port.secure=7073
 
 # Logging
-log4j.configuration=file:../../log4j.properties
+#log4j.configuration=file:../../log4j.properties
+log4j.configuration=file:log4j.properties
 
 # DON'T CHANGE BELOW
 org.eclipse.equinox.http.jetty.autostart=false
diff --git a/demo/pom.xml b/demo/pom.xml
new file mode 100644 (file)
index 0000000..5f71e64
--- /dev/null
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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.commons</groupId>
+               <artifactId>argeo-commons</artifactId>
+               <version>2.1.73-SNAPSHOT</version>
+               <relativePath>..</relativePath>
+       </parent>
+       <artifactId>demo</artifactId>
+       <name>Commons Demo</name>
+       <packaging>pom</packaging>
+       <build>
+       </build>
+       <dependencies>
+               <dependency>
+                       <groupId>org.argeo.tp.equinox</groupId>
+                       <artifactId>org.eclipse.osgi</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.commons</groupId>
+                       <artifactId>org.argeo.osgi.boot</artifactId>
+                       <version>2.1.73-SNAPSHOT</version>
+               </dependency>
+       </dependencies>
+       <profiles>
+               <profile>
+                       <id>argeo_node_rap</id>
+                       <build>
+                               <plugins>
+                                       <plugin>
+                                               <groupId>org.argeo.maven.plugins</groupId>
+                                               <artifactId>maven-argeo-osgi-plugin</artifactId>
+                                               <configuration>
+                                                       <systemPropertiesFile>argeo_node_rap.properties</systemPropertiesFile>
+                                                       <execDir>exec/argeo_node_rap</execDir>
+                                               </configuration>
+                                       </plugin>
+                               </plugins>
+                       </build>
+                       <dependencies>
+                               <dependency>
+                                       <groupId>org.argeo.commons</groupId>
+                                       <artifactId>org.argeo.dep.cms.sdk</artifactId>
+                                       <version>2.1.73-SNAPSHOT</version>
+                               </dependency>
+                       </dependencies>
+               </profile>
+               <profile>
+                       <id>cms-e4-rap</id>
+                       <build>
+                               <plugins>
+                                       <plugin>
+                                               <groupId>org.argeo.maven.plugins</groupId>
+                                               <artifactId>maven-argeo-osgi-plugin</artifactId>
+                                               <configuration>
+                                                       <systemPropertiesFile>cms-e4-rap.properties</systemPropertiesFile>
+                                                       <execDir>exec/cms-e4-rap</execDir>
+                                               </configuration>
+                                       </plugin>
+                               </plugins>
+                       </build>
+                       <dependencies>
+                               <dependency>
+                                       <groupId>org.argeo.commons</groupId>
+                                       <artifactId>org.argeo.dep.cms.e4.rap</artifactId>
+                                       <version>2.1.73-SNAPSHOT</version>
+                               </dependency>
+                       </dependencies>
+               </profile>
+       </profiles>
+</project>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index cfecfad436384744cadf82590ca66b6a95cb3b52..3212f3c63e3f980e0aeb1633a5c2238f5be2d6d0 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -45,6 +45,7 @@
                <module>org.argeo.ext.rap.ui.workbench</module>
                <!-- Distribution -->
                <module>dep</module>
+               <module>demo</module>
                <module>doc</module>
                <module>dist</module>
        </modules>