Security RIA project
[lgpl/argeo-commons.git] / security / runtime / org.argeo.security.ria / pom.xml
diff --git a/security/runtime/org.argeo.security.ria/pom.xml b/security/runtime/org.argeo.security.ria/pom.xml
new file mode 100644 (file)
index 0000000..e76d3c5
--- /dev/null
@@ -0,0 +1,181 @@
+<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.security</groupId>
+               <artifactId>runtime</artifactId>
+               <version>0.1.1-SNAPSHOT</version>
+               <relativePath>..</relativePath>
+       </parent>
+       <groupId>org.argeo.commons.security</groupId>
+       <artifactId>org.argeo.security.ria</artifactId>
+       <packaging>jar</packaging>
+       <name>Argeo Security Management</name>
+       <build>
+               <resources>
+                       <resource>
+                               <directory>src</directory>
+                               <!--
+                               <includes>
+                                       <include>index.jsp</include>
+                                       <include>WEB-INF/*</include>
+                               </includes>
+                               -->
+                       </resource>
+               </resources>
+               <plugins>
+                       <plugin>
+                               <groupId>org.argeo.maven.plugins</groupId>
+                               <artifactId>maven-argeo-qooxdoo-plugin</artifactId>
+                               <version>${version.maven-argeo-qooxdoo}</version>
+                               <configuration>
+                                       <sdkVersion>0.8.2.argeo.1</sdkVersion>
+                               </configuration>
+                               <executions>
+                                       <execution>
+                                               <id>env</id>
+                                               <phase>initialize</phase>
+                                               <goals>
+                                                       <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>
+                                               <goals>
+                                                       <goal>generate</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <job>slc-source</job>
+                                               </configuration>
+                                       </execution>
+                                       <execution>
+                                               <id>slc-build</id>
+                                               <phase>test</phase>
+                                               <goals>
+                                                       <goal>generate</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <job>slc-build</job>
+                                               </configuration>
+                                       </execution>
+                                       <execution>
+                                               <id>slc-test</id>
+                                               <phase>site</phase>
+                                               <goals>
+                                                       <goal>generate</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <job>slc-test</job>
+                                               </configuration>
+                                       </execution>
+                                       <execution>
+                                               <id>slc-api</id>
+                                               <phase>site</phase>
+                                               <goals>
+                                                       <goal>generate</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <job>slc-api</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,
+                                                       org.springframework.security.ui.webapp,
+                                                       org.springframework.security.userdetails.memory,
+                                                       org.springframework.web.context,
+                                                       org.springframework.osgi.web.context.support,
+                                                       org.springframework.web.filter,
+                                                       org.springframework.security.context
+                                               </Import-Package>
+                                               <Web-ContextPath>org.argeo.slc.ria</Web-ContextPath>
+                                       </instructions>
+                               </configuration>
+                               <executions>
+                                       <execution>
+                                               <id>bundle-manifest</id>
+                                               <phase>process-classes</phase>
+                                               <goals>
+                                                       <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>
+                                                       <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>
+                                                       </artifactItems>
+                                                       <overWriteReleases>false</overWriteReleases>
+                                                       <overWriteSnapshots>true</overWriteSnapshots>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-assembly-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>assembly-ria-slc</id>
+                                               <phase>package</phase>
+                                               <goals>
+                                                       <goal>single</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <descriptors>
+                                                               <descriptor>assembly/ria-slc.xml</descriptor>
+                                                       </descriptors>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
+               </plugins>
+       </build>
+</project>
\ No newline at end of file