]> git.argeo.org Git - gpl/argeo-slc.git/commitdiff
Maven structure
authorMathieu Baudier <mbaudier@argeo.org>
Fri, 24 Apr 2009 14:22:03 +0000 (14:22 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Fri, 24 Apr 2009 14:22:03 +0000 (14:22 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@2346 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

pom.xml
runtime/pom.xml

diff --git a/pom.xml b/pom.xml
index f871a27fc21298ec015b205146ccceae3ce52652..d95f9ed2693e43c42c8abd3d58fa0f02a893a73f 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -19,7 +19,7 @@
        </modules>
        <scm>
                <connection>scm:svn:https://www.argeo.org/svn/slc/trunk</connection>
-               <url>https://www.argeo.org/svn/slc/trunk/org.argeo.slc/argeo-slc-all</url>
+               <url>https://www.argeo.org/svn/slc/trunk</url>
        </scm>
        <build>
                <plugins>
index 989efc280cc0a82a58dc8449419d2f0ef7003a7e..b471d61fcd38a658a32e2be3ccf57dc2e5ba29c3 100644 (file)
@@ -1,4 +1,5 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <parent>
                <groupId>org.argeo.slc</groupId>
@@ -6,6 +7,7 @@
                <version>0.11.3-SNAPSHOT</version>
                <relativePath>../org.argeo.slc</relativePath>
        </parent>
+       <groupId>org.argeo.slc.runtime</groupId>
        <artifactId>argeo-slc-runtime</artifactId>
        <packaging>pom</packaging>
        <name>Argeo SLC Runtime</name>
@@ -27,6 +29,7 @@
        </modules>
        <build>
                <plugins>
+               <!-- 
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-javadoc-plugin</artifactId>
                                        <aggregate>true</aggregate>
                                </configuration>
                        </plugin>
+                        -->
                </plugins>
+               <pluginManagement>
+                       <plugins>
+                               <plugin>
+                                       <artifactId>maven-jar-plugin</artifactId>
+                                       <configuration>
+                                               <archive>
+                                                       <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>
+                                       <extensions>true</extensions>
+                                       <configuration>
+                                               <manifestLocation>target/classes/META-INF</manifestLocation>
+                                               <instructions>
+                                                       <Bundle-SymbolicName>
+                                                               ${pom.artifactId}
+                                                       </Bundle-SymbolicName>
+                                                       <_removeheaders>Bnd-LastModified</_removeheaders>
+                                               </instructions>
+                                       </configuration>
+                                       <executions>
+                                               <execution>
+                                                       <id>bundle-manifest</id>
+                                                       <phase>process-classes</phase>
+                                                       <goals>
+                                                               <goal>manifest</goal>
+                                                       </goals>
+                                               </execution>
+                                       </executions>
+                               </plugin>
+                       </plugins>
+               </pluginManagement>
        </build>
 </project>