]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - dep/pom.xml
Publish modularDistribution.csv
[gpl/argeo-slc.git] / dep / pom.xml
index 2546c8990be81ddd307ba17032d2b784d1d641ab..954ad8ffeac1293869c8df592938940366c7d065 100644 (file)
@@ -4,15 +4,17 @@
        <parent>
                <groupId>org.argeo.slc</groupId>
                <artifactId>argeo-slc</artifactId>
-               <version>0.11.4-SNAPSHOT</version>
+               <version>0.11.5-SNAPSHOT</version>
                <relativePath>..</relativePath>
        </parent>
        <groupId>org.argeo.slc</groupId>
        <artifactId>dep</artifactId>
        <packaging>pom</packaging>
-       <name>Argeo SLC Dependencies</name>
+       <name>SLC Dependencies</name>
        <modules>
                <module>org.argeo.slc.dep.server</module>
+               <module>org.argeo.slc.dep.agent</module>
+               <module>org.argeo.slc.dep.detached</module>
        </modules>
        <build>
                <resources>
                        </resource>
                </resources>
                <plugins>
+                       <plugin>
+                               <groupId>org.codehaus.mojo</groupId>
+                               <artifactId>buildnumber-maven-plugin</artifactId>
+                               <configuration>
+                                       <useLastCommittedRevision>false</useLastCommittedRevision>
+                               </configuration>
+                       </plugin>
                        <plugin>
                                <artifactId>maven-jar-plugin</artifactId>
                                <configuration>
                                        <archive>
-                                               <manifestFile>META-INF/MANIFEST.MF</manifestFile>
+                                               <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>
+                                       </instructions>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.argeo.maven.plugins</groupId>
+                               <artifactId>maven-argeo-osgi-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <goals>
+                                                       <goal>descriptors</goal>
+                                               </goals>
+                                               <phase>generate-resources</phase>
+                                       </execution>
+                               </executions>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.codehaus.mojo</groupId>
+                               <artifactId>build-helper-maven-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>attach-artifacts</id>
+                                               <phase>package</phase>
+                                               <goals>
+                                                       <goal>attach-artifact</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <artifacts>
+                                                               <artifact>
+                                                                       <file>target/classes/modularDistribution.csv</file>
+                                                                       <type>csv</type>
+                                                                       <classifier>modularDistribution</classifier>
+                                                               </artifact>
+                                                       </artifacts>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
                </plugins>
        </build>
 </project>
\ No newline at end of file