]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - server/plugins/pom.xml
Move to the root the bundles which will be part of v1.4 and v2.2
[lgpl/argeo-commons.git] / server / plugins / pom.xml
index 2cdd39de5d2fb679aad3d8d9271fc4e7b6d6eb14..bc96b87e74ab24861e637b918f4ffc589840befc 100644 (file)
@@ -2,43 +2,38 @@
        <modelVersion>4.0.0</modelVersion>
        <parent>
                <groupId>org.argeo.commons</groupId>
-               <version>0.3.1-SNAPSHOT</version>
+               <version>2.1.12-SNAPSHOT</version>
                <artifactId>server</artifactId>
                <relativePath>..</relativePath>
        </parent>
-       <groupId>org.argeo.commons.server</groupId>
-       <artifactId>plugins</artifactId>
+       <groupId>org.argeo.commons</groupId>
+       <artifactId>argeo-commons</artifactId>
        <name>Commons Server Eclipse Plugins</name>
        <packaging>pom</packaging>
        <modules>
                <module>org.argeo.jcr.ui.explorer</module>
        </modules>
        <build>
-               <resources>
-                       <resource>
-                               <directory>src/main/resources</directory>
-                       </resource>
-                       <resource>
-                               <directory>.</directory>
-                               <includes>
-                                       <include>plugin.xml</include>
-                                       <include>META-INF/**</include>
-                                       <include>icons/**</include>
-                               </includes>
-                       </resource>
-               </resources>
                <plugins>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-jar-plugin</artifactId>
-                       </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-source-plugin</artifactId>
+                               <configuration>
+                                       <!-- Prevents source jars to contain misleading data -->
+                                       <excludes>
+                                               <exclude>plugin.xml</exclude>
+                                               <exclude>META-INF/MANIFEST.MF</exclude>
+                                       </excludes>
+                               </configuration>
                        </plugin>
                        <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-surefire-plugin</artifactId>
+                               <groupId>org.apache.felix</groupId>
+                               <artifactId>maven-bundle-plugin</artifactId>
+                               <configuration>
+                                       <instructions>
+                                               <Bundle-SymbolicName>${project.artifactId};singleton:=true</Bundle-SymbolicName>
+                                       </instructions>
+                               </configuration>
                        </plugin>
                </plugins>
        </build>