]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - dep/org.argeo.slc.dep.backend/pom.xml
Improve RPM packaging
[gpl/argeo-slc.git] / dep / org.argeo.slc.dep.backend / pom.xml
index 64490a13dcac990cbaf634bac4a4397ddf2fdf6a..fcc1a504abdb5668e94067ec3099fc327f1fc5bc 100644 (file)
                        <plugin>
                                <groupId>org.argeo.maven.plugins</groupId>
                                <artifactId>maven-argeo-osgi-plugin</artifactId>
+                               <executions>
+                                       <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>