]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - server/org.argeo.slc.ria/pom.xml
[maven-release-plugin] copy for tag argeo-slc-0.13.0
[gpl/argeo-slc.git] / server / org.argeo.slc.ria / pom.xml
index 1a3ac903127d78f0b2d02d4913f8ff6eb99f063d..ce4b4dbf8030a4c49c0b30ca8b1ab2d72497d3f9 100644 (file)
@@ -1,40 +1,33 @@
-<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">
+<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.server</groupId>
-               <artifactId>argeo-slc-server</artifactId>
-               <version>0.11.3-SNAPSHOT</version>
+               <groupId>org.argeo.slc</groupId>
+               <artifactId>server</artifactId>
+               <version>0.13.0</version>
                <relativePath>..</relativePath>
        </parent>
+       <groupId>org.argeo.slc.server</groupId>
        <artifactId>org.argeo.slc.ria</artifactId>
        <packaging>jar</packaging>
-       <name>Argeo SLC Web UI</name>
+       <name>SLC RIA</name>
        <build>
+               <resources>
+                       <resource>
+                               <directory>src</directory>
+                               <includes>
+                                       <include>index.jsp</include>
+                                       <include>WEB-INF/*</include>
+                               </includes>
+                       </resource>
+               </resources>
                <plugins>
                        <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-compiler-plugin</artifactId>
-                       </plugin>
-                       <plugin>
-                               <artifactId>maven-jar-plugin</artifactId>
+                               <groupId>org.argeo.maven.plugins</groupId>
+                               <artifactId>maven-argeo-qooxdoo-plugin</artifactId>
+                               <version>${version.maven-argeo-qooxdoo}</version>
                                <configuration>
-                                       <archive>
-                                               <compress>false</compress>
-                                               <manifestFile>src/META-INF/MANIFEST.MF</manifestFile>
-                                       </archive>
-                                       <classesDirectory>src/</classesDirectory>
-                                       <includes>
-                                               <include>index.jsp</include>
-                                               <include>argeo-ria/**</include>
-                                               <include>WEB-INF/*</include>
-                                       </includes>
+                                       <sdkVersion>1.1.0</sdkVersion>
                                </configuration>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.argeo.slc.maven</groupId>
-                               <artifactId>maven-argeo-qooxdoo-plugin</artifactId>
-                               <version>0.8.1.3</version>
                                <executions>
                                        <execution>
                                                <id>env</id>
                                                        <goal>env</goal>
                                                </goals>
                                        </execution>
+                                       <execution>
+                                               <id>env-site</id>
+                                               <phase>pre-site</phase>
+                                               <goals>
+                                                       <goal>env</goal>
+                                               </goals>
+                                       </execution>
                                        <execution>
                                                <id>slc-source</id>
-                                               <phase>process-sources</phase>
+                                               <phase>test</phase>
                                                <goals>
                                                        <goal>generate</goal>
                                                </goals>
@@ -55,7 +55,7 @@
                                        </execution>
                                        <execution>
                                                <id>slc-build</id>
-                                               <phase>compile</phase>
+                                               <phase>test</phase>
                                                <goals>
                                                        <goal>generate</goal>
                                                </goals>
                                                        <job>slc-build</job>
                                                </configuration>
                                        </execution>
-                                       <!--
-                                               <execution> <id>slc-test</id> <phase>integration-test</phase>
-                                               <goals> <goal>generate</goal> </goals> <configuration>
-                                               <job>slc-test</job> </configuration> </execution>
-                                       -->
+                               </executions>
+                       </plugin>
+                       <plugin>
+                               <artifactId>maven-jar-plugin</artifactId>
+                               <configuration>
+                                       <archive>
+                                               <manifestFile>target/classes/META-INF/MANIFEST.MF</manifestFile>
+                                       </archive>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.felix</groupId>
+                               <artifactId>maven-bundle-plugin</artifactId>
+                               <version>${version.maven-bundle-plugin}</version>
+                               <configuration>
+                                       <instructions>
+                                               <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
+                                               <Bundle-Version>${project.version}-r${buildNumber}</Bundle-Version>
+                                               <Export-Package />
+                                               <Import-Package>
+                                                       javax.servlet,
+                                                       javax.servlet.http,
+                                                       javax.servlet.jsp,
+                                                       javax.servlet.jsp.jstl.core,
+                                                       javax.servlet.jsp.jstl.fmt,
+                                                       javax.servlet.jsp.jstl.tlv,
+                                                       javax.servlet.resources
+                                               </Import-Package>
+                                               <Web-ContextPath>org.argeo.slc.ria</Web-ContextPath>
+                                       </instructions>
+                               </configuration>
+                               <executions>
                                        <execution>
-                                               <id>slc-api</id>
-                                               <phase>site</phase>
+                                               <id>bundle-manifest</id>
+                                               <phase>process-classes</phase>
                                                <goals>
-                                                       <goal>generate</goal>
+                                                       <goal>manifest</goal>
+                                               </goals>
+                                       </execution>
+                               </executions>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-dependency-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>unpack-argeo-ria-sdk</id>
+                                               <phase>initialize</phase>
+                                               <goals>
+                                                       <goal>unpack</goal>
                                                </goals>
                                                <configuration>
-                                                       <job>slc-api</job>
+                                                       <artifactItems>
+                                                               <artifactItem>
+                                                                       <groupId>org.argeo.ria</groupId>
+                                                                       <artifactId>org.argeo.ria.core</artifactId>
+                                                                       <classifier>ria</classifier>
+                                                                       <type>zip</type>
+                                                                       <outputDirectory>src/argeo-ria-src</outputDirectory>
+                                                               </artifactItem>
+                                                               <artifactItem>
+                                                                       <groupId>org.argeo.commons.security</groupId>
+                                                                       <artifactId>org.argeo.security.ria</artifactId>
+                                                                       <classifier>ria-security</classifier>
+                                                                       <type>zip</type>
+                                                                       <outputDirectory>src/argeo-ria-lib/security</outputDirectory>
+                                                               </artifactItem>                                                         
+                                                       </artifactItems>                                                        
+                                                       <overWriteReleases>true</overWriteReleases>
+                                                       <overWriteSnapshots>true</overWriteSnapshots>
                                                </configuration>
                                        </execution>
                                </executions>
                                <artifactId>maven-assembly-plugin</artifactId>
                                <executions>
                                        <execution>
-                                               <id>assembly-ria</id>
+                                               <id>assembly-ria-slc</id>
                                                <phase>package</phase>
                                                <goals>
                                                        <goal>single</goal>
                                                </goals>
                                                <configuration>
                                                        <descriptors>
-                                                               <descriptor>assembly/ria.xml</descriptor>
+                                                               <descriptor>assembly/ria-slc.xml</descriptor>
                                                        </descriptors>
                                                </configuration>
                                        </execution>
                                        <execution>
-                                               <id>assembly-ria-slc</id>
+                                               <id>assembly-ria-slc-web</id>
                                                <phase>package</phase>
                                                <goals>
                                                        <goal>single</goal>
                                                </goals>
                                                <configuration>
                                                        <descriptors>
-                                                               <descriptor>assembly/ria-slc.xml</descriptor>
+                                                               <descriptor>assembly/ria-slc-web.xml</descriptor>
                                                        </descriptors>
                                                </configuration>
-                                       </execution>
+                                       </execution>                            
+                                       <execution>
+                                               <id>assembly-ria-jcr</id>
+                                               <phase>package</phase>
+                                               <goals>
+                                                       <goal>single</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <descriptors>
+                                                               <descriptor>assembly/ria-jcr.xml</descriptor>
+                                                       </descriptors>
+                                               </configuration>
+                                       </execution>                            
                                </executions>
                        </plugin>
                </plugins>
        </build>
+       <dependencyManagement>
+               <dependencies>
+                       <dependency>
+                               <groupId>org.argeo.commons.security</groupId>
+                               <artifactId>org.argeo.security.ria</artifactId>
+                               <version>${version.argeo-commons}</version>
+                       </dependency>
+               </dependencies>
+       </dependencyManagement> 
 </project>
\ No newline at end of file