]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - dep/pom.xml
[maven-release-plugin] prepare release v2.1.18
[gpl/argeo-slc.git] / dep / pom.xml
index bda6433f0c1f02ad0efb4f0df48427bb66f1019f..57d48f6cc3e6b25c6b734fb027aaa6d87eb73f7d 100644 (file)
        <parent>
                <groupId>org.argeo.slc</groupId>
                <artifactId>argeo-slc</artifactId>
-               <version>2.1.0</version>
+               <version>2.1.18</version>
                <relativePath>..</relativePath>
        </parent>
        <artifactId>dep</artifactId>
        <name>SLC Dependencies</name>
        <packaging>pom</packaging>
        <modules>
-               <module>org.argeo.slc.dep.detached</module>
                <module>org.argeo.slc.dep.minimal</module>
-               <module>org.argeo.slc.dep.backend</module>
-               <module>org.argeo.slc.dep.eclipse</module>
-               <module>org.argeo.slc.dep.rcp</module>
-               <module>org.argeo.slc.dep.rap</module>
+               <module>org.argeo.slc.dep.e4.rap</module>
        </modules>
        <build>
                <plugins>
                        <plugin>
                                <groupId>org.apache.felix</groupId>
                                <artifactId>maven-bundle-plugin</artifactId>
+                               <configuration>
+                                       <instructions>
+                                               <SLC-ModularDistribution>default</SLC-ModularDistribution>
+                                       </instructions>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.codehaus.mojo</groupId>
+                               <artifactId>properties-maven-plugin</artifactId>
+                               <configuration>
+                                       <quiet>true</quiet>
+                                       <files>
+                                               <file>../../cnf/${version.context}.bnd</file>
+                                       </files>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.argeo.maven.plugins</groupId>
+                               <artifactId>argeo-osgi-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>generate-descriptors</id>
+                                               <goals>
+                                                       <goal>descriptors</goal>
+                                               </goals>
+                                               <phase>generate-resources</phase>
+                                       </execution>
+                               </executions>
+                       </plugin>
+                       <plugin>
+                               <artifactId>maven-assembly-plugin</artifactId>
+                               <configuration>
+                                       <attach>false</attach>
+                               </configuration>
                        </plugin>
                </plugins>
        </build>
+       <dependencies>
+               <dependency>
+                       <groupId>org.argeo.tp.equinox</groupId>
+                       <artifactId>org.eclipse.osgi</artifactId>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.tp.sdk</groupId>
+                       <artifactId>org.junit</artifactId>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.argeo.tp.sdk</groupId>
+                       <artifactId>org.hamcrest</artifactId>
+                       <scope>test</scope>
+               </dependency>
+       </dependencies>
        <profiles>
                <profile>
-                       <id>rpmbuild</id>
+                       <id>check-osgi</id>
                        <build>
                                <plugins>
                                        <plugin>
-                                               <artifactId>maven-antrun-plugin</artifactId>
+                                               <groupId>org.argeo.maven.plugins</groupId>
+                                               <artifactId>argeo-osgi-plugin</artifactId>
                                                <executions>
                                                        <execution>
-                                                               <phase>install</phase>
+                                                               <id>check-osgi</id>
+                                                               <phase>test</phase>
                                                                <goals>
-                                                                       <goal>run</goal>
+                                                                       <goal>equinox</goal>
                                                                </goals>
                                                                <configuration>
-                                                                       <target>
-                                                                               <copy todir="${rpm.stagingRepository}" verbose="true" failonerror="false">
-                                                                                       <fileset dir="${project.build.directory}/rpm" includes="*/RPMS/**/*.rpm" />
-                                                                                       <flattenmapper />
-                                                                               </copy>
-                                                                       </target>
+                                                                       <onlyCheck>true</onlyCheck>
                                                                </configuration>
                                                        </execution>
                                                </executions>
                                        </plugin>
                                </plugins>
                        </build>
+                       <dependencies>
+                               <dependency>
+                                       <groupId>org.argeo.commons</groupId>
+                                       <artifactId>org.argeo.osgi.boot</artifactId>
+                                       <version>${version.argeo-commons}</version>
+                                       <scope>test</scope>
+                               </dependency>
+                       </dependencies>
                </profile>
        </profiles>
 </project>
\ No newline at end of file