<parent>
<groupId>org.argeo.slc</groupId>
<artifactId>server</artifactId>
- <version>0.11.4-SNAPSHOT</version>
+ <version>0.13.1-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>
<groupId>org.argeo.slc.server</groupId>
<artifactId>org.argeo.slc.ria</artifactId>
<packaging>jar</packaging>
- <name>Argeo SLC RIA</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>
- <groupId>org.argeo.slc.maven</groupId>
+ <groupId>org.argeo.maven.plugins</groupId>
<artifactId>maven-argeo-qooxdoo-plugin</artifactId>
- <version>0.8.1.6</version>
+ <version>${version.maven-argeo-qooxdoo}</version>
+ <configuration>
+ <sdkVersion>1.1.0</sdkVersion>
+ </configuration>
<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>test</phase>
<job>slc-build</job>
</configuration>
</execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>${version.maven-bundle-plugin}</version>
+ <configuration>
+ <instructions>
+ <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-test</id>
- <phase>site</phase>
+ <id>bundle-manifest</id>
+ <phase>process-classes</phase>
<goals>
- <goal>generate</goal>
+ <goal>manifest</goal>
</goals>
- <configuration>
- <job>slc-test</job>
- </configuration>
</execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
<execution>
- <id>slc-api</id>
- <phase>site</phase>
+ <id>unpack-argeo-ria-sdk</id>
+ <phase>initialize</phase>
<goals>
- <goal>generate</goal>
+ <goal>unpack</goal>
</goals>
<configuration>
- <job>slc-api</job>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.argeo.ria</groupId>
+ <artifactId>org.argeo.ria.core</artifactId>
+ <version>${version.argeo-ria}</version>
+ <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>
</plugin>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <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>
- </configuration>
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<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-slc.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
+ <execution>
+ <id>assembly-ria-slc-web</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
- <descriptor>assembly/ria.xml</descriptor>
+ <descriptor>assembly/ria-slc-web.xml</descriptor>
</descriptors>
</configuration>
</execution>
<execution>
- <id>assembly-ria-slc</id>
+ <id>assembly-ria-jcr</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
- <descriptor>assembly/ria-slc.xml</descriptor>
+ <descriptor>assembly/ria-jcr.xml</descriptor>
</descriptors>
</configuration>
</execution>
</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