]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc/pom.xml
Improve SLC Demo
[gpl/argeo-slc.git] / org.argeo.slc / pom.xml
index eebf65153d355bc1e550acf37148197202260b2d..fde306ff34a57751307569a44b80b196e07727a2 100644 (file)
@@ -20,6 +20,7 @@
                <version.equinox>3.4.2.R34x_v20080826-1230</version.equinox>
                <version.maven-bundle-plugin>2.0.0</version.maven-bundle-plugin>
                <version.activemq>5.2.0.0005</version.activemq>
+               <version.maven-argeo-osgi>0.1.7</version.maven-argeo-osgi>
        </properties>
        <scm>
                <connection>scm:svn:https://www.argeo.org/svn/slc/trunk/org.argeo.slc</connection>
@@ -83,21 +84,6 @@ limitations under the License.
                                                <target>1.5</target>
                                        </configuration>
                                </plugin>
-                               <plugin>
-                                       <artifactId>maven-jar-plugin</artifactId>
-                                       <configuration>
-                                               <archive>
-                                                       <manifestFile>target/classes/META-INF/MANIFEST.MF</manifestFile>
-                                               </archive>
-                                       </configuration>
-                                       <executions>
-                                               <execution>
-                                                       <goals>
-                                                               <goal>test-jar</goal>
-                                                       </goals>
-                                               </execution>
-                                       </executions>
-                               </plugin>
                                <plugin>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-source-plugin</artifactId>
@@ -196,28 +182,9 @@ limitations under the License.
                                        </dependencies>
                                </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>
+                                       <groupId>org.argeo.slc.maven</groupId>
+                                       <artifactId>maven-argeo-osgi-plugin</artifactId>
+                                       <version>${version.maven-argeo-osgi}</version>
                                </plugin>
                        </plugins>
                </pluginManagement>
@@ -358,7 +325,6 @@ limitations under the License.
                                <artifactId>
                                        com.springsource.com.sun.xml.messaging.saaj
                                </artifactId>
-                               <scope>runtime</scope>
                                <version>1.3.0</version>
                        </dependency>
                        <dependency>
@@ -962,4 +928,17 @@ limitations under the License.
                        </url>
                </site>
        </distributionManagement>
+       <profiles>
+               <profile>
+                       <id>developer</id>
+                       <distributionManagement>
+                               <snapshotRepository>
+                                       <uniqueVersion>true</uniqueVersion>
+                                       <id>argeo-snapshots-restricted</id>
+                                       <name>Argeo FOSS Snapshots Repository</name>
+                                       <url>scpexe://argeo.org/var/argeo/maven2/argeo-snapshots</url>
+                               </snapshotRepository>
+                       </distributionManagement>
+               </profile>
+       </profiles>
 </project>