james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r722839 - in /james/mpt/trunk: antlib/pom.xml main/pom.xml
Date Wed, 03 Dec 2008 11:11:51 GMT
Author: rdonkin
Date: Wed Dec  3 03:11:51 2008
New Revision: 722839

URL: http://svn.apache.org/viewvc?rev=722839&view=rev
Log:
OSGi enable

Modified:
    james/mpt/trunk/antlib/pom.xml
    james/mpt/trunk/main/pom.xml

Modified: james/mpt/trunk/antlib/pom.xml
URL: http://svn.apache.org/viewvc/james/mpt/trunk/antlib/pom.xml?rev=722839&r1=722838&r2=722839&view=diff
==============================================================================
--- james/mpt/trunk/antlib/pom.xml (original)
+++ james/mpt/trunk/antlib/pom.xml Wed Dec  3 03:11:51 2008
@@ -33,6 +33,7 @@
   <description>Apache JAMES Mail Protocol Tester (MTP) is a library providing a framework
for the 
 scritable functional testing of ASCII based line protocols. This AntLib provides an easy
interface
 to the library requiring no extra coding.</description>
+  <url>http://james.apache.org/mpt/antlib</url>
   <dependencies>
     <dependency>
       <groupId>${project.groupId}</groupId>
@@ -104,6 +105,47 @@
           </dependency>
         </dependencies>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.2</version>
+        <configuration>
+        <archive>
+          <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+            <manifestEntries>
+              <Specification-Title>Apache James MPT AntLib</Specification-Title>
+              <Specification-Version>${pom.version}</Specification-Version>
+              <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
+              <Implementation-Title>Apache James MPT AntLib</Implementation-Title>
+              <Implementation-Version>${pom.version}</Implementation-Version>
+              <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
+              <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
+              <url>${pom.url}</url>
+            </manifestEntries>
+          </archive>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <version>1.4.3</version>
+        <executions>
+                <execution>
+                        <id>bundle-manifest</id>
+                        <phase>process-classes</phase>
+                        <goals>
+                                <goal>manifest</goal>
+                        </goals>
+                </execution>
+        </executions>
+        <extensions>true</extensions>
+        <configuration>
+                <instructions>
+                        <Export-Package>org.apache.james.mpt.ant</Export-Package>
+                        <Embed-Dependency>*;scope=runtime</Embed-Dependency>
+                </instructions>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
   

Modified: james/mpt/trunk/main/pom.xml
URL: http://svn.apache.org/viewvc/james/mpt/trunk/main/pom.xml?rev=722839&r1=722838&r2=722839&view=diff
==============================================================================
--- james/mpt/trunk/main/pom.xml (original)
+++ james/mpt/trunk/main/pom.xml Wed Dec  3 03:11:51 2008
@@ -32,6 +32,7 @@
   <name>Apache JAMES MPT Main</name>
   <description>Apache JAMES Mail Protocol Tester (MTP) is a library providing a framework
for the 
 scritable functional testing of ASCII based line protocols.</description>
+  <url>http://james.apache.org/mpt/main</url>
   <dependencies>
     <dependency>
       <groupId>commons-logging</groupId>
@@ -53,5 +54,49 @@
     <developerConnection>scm:svn:https://${maven.username}@svn.apache.org/repos/asf/james/mpt/trunk/main</developerConnection>
     <url>http://svn.apache.org/viewcvs.cgi/james/mpt/trunk/main?root=Apache-SVN</url>
   </scm>
-  
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.2</version>
+        <configuration>
+        <archive>
+          <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+            <manifestEntries>
+              <Specification-Title>Apache James MPT</Specification-Title>
+              <Specification-Version>${pom.version}</Specification-Version>
+              <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
+              <Implementation-Title>Apache James MPT</Implementation-Title>
+              <Implementation-Version>${pom.version}</Implementation-Version>
+              <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
+              <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id>
+              <url>${pom.url}</url>
+            </manifestEntries>
+          </archive>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <version>1.4.3</version>
+        <executions>
+                <execution>
+                        <id>bundle-manifest</id>
+                        <phase>process-classes</phase>
+                        <goals>
+                                <goal>manifest</goal>
+                        </goals>
+                </execution>
+        </executions>
+        <extensions>true</extensions>
+        <configuration>
+                <instructions>
+                        <Export-Package>org.apache.james.mpt</Export-Package>
+                        <Embed-Dependency>*;scope=runtime</Embed-Dependency>
+                </instructions>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message