]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - dep/org.argeo.slc.dep.sdk.rap/pom.xml
Improve RPM packaging
[gpl/argeo-slc.git] / dep / org.argeo.slc.dep.sdk.rap / pom.xml
index 563ad457a7705bef732d0e5024b27bed0afc5494..71bc738576de7742fc6d7a3fe9bf0a24cb9ee70b 100644 (file)
                        <plugin>
                                <groupId>org.argeo.maven.plugins</groupId>
                                <artifactId>maven-argeo-osgi-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>resolve-pde-sources</id>
+                                               <goals>
+                                                       <goal>pde-sources</goal>
+                                               </goals>
+                                               <phase>generate-resources</phase>
+                                               <configuration>
+                                                       <copyArtifacts>false</copyArtifacts>
+                                               </configuration>
+                                       </execution>
+                                       <execution>
+                                               <id>generate-descriptors</id>
+                                               <goals>
+                                                       <goal>descriptors</goal>
+                                               </goals>
+                                               <phase>generate-resources</phase>
+                                       </execution>
+                                       <execution>
+                                               <id>check-osgi</id>
+                                               <phase>test</phase>
+                                               <goals>
+                                                       <goal>equinox</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <onlyCheck>true</onlyCheck>
+                                                       <argsToAppend>
+                                                               <arg>-clean</arg>
+                                                       </argsToAppend>
+                                               </configuration>
+                                       </execution>
+                               </executions>
                        </plugin>
                </plugins>
        </build>
                        <version>0.13.1-SNAPSHOT</version>
                </dependency>
 
-               <!-- Back-end Dependencies -->
-               <dependency>
-                       <groupId>org.argeo.slc.dep</groupId>
-                       <artifactId>org.argeo.slc.dep.backend</artifactId>
-                       <version>0.13.1-SNAPSHOT</version>
-               </dependency>
-
                <!-- Secure Application -->
                <dependency>
                        <groupId>org.argeo.commons.security</groupId>
                        <artifactId>org.argeo.security.dep.node.rap</artifactId>
                        <version>${version.argeo-commons}</version>
-                       <!-- <exclusions> -->
-                       <!-- <exclusion> -->
-                       <!-- <groupId>org.mortbay.jetty</groupId> -->
-                       <!-- <artifactId>org.mortbay.jetty.server</artifactId> -->
-                       <!-- </exclusion> -->
-                       <!-- <exclusion> -->
-                       <!-- <groupId>org.mortbay.jetty</groupId> -->
-                       <!-- <artifactId>org.mortbay.jetty.server.util</artifactId> -->
-                       <!-- </exclusion> -->
-                       <!-- <exclusion> -->
-                       <!-- <groupId>org.eclipse.equinox</groupId> -->
-                       <!-- <artifactId>org.eclipse.equinox.http.jetty</artifactId> -->
-                       <!-- </exclusion> -->
-
-                       <!-- <exclusion> -->
-                       <!-- <groupId>org.argeo.slc.runtime</groupId> -->
-                       <!-- <artifactId>org.argeo.slc.support.castor</artifactId> -->
-                       <!-- </exclusion> -->
-
-                       <!-- </exclusions> -->
-               </dependency>
-
-               <!-- For target platform generation -->
-               <dependency>
-                       <groupId>org.argeo.slc.runtime</groupId>
-                       <artifactId>org.argeo.slc.unit</artifactId>
-                       <version>0.13.1-SNAPSHOT</version>
-                       <scope>test</scope>
                </dependency>
        </dependencies>
        <profiles>
                                                                        </mappings>
                                                                        <requires>
                                                                                <require>slc-eclipse</require>
-                                                                               <require>slc-libs</require>
                                                                                <require>argeo-node-rap</require>
                                                                        </requires>
                                                                </configuration>