commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r1157865 - /commons/proper/vfs/trunk/pom.xml
Date Mon, 15 Aug 2011 14:36:11 GMT
Author: rgoers
Date: Mon Aug 15 14:36:11 2011
New Revision: 1157865

URL: http://svn.apache.org/viewvc?rev=1157865&view=rev
Log:
Fix manifest error when building jar.

Modified:
    commons/proper/vfs/trunk/pom.xml

Modified: commons/proper/vfs/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/pom.xml?rev=1157865&r1=1157864&r2=1157865&view=diff
==============================================================================
--- commons/proper/vfs/trunk/pom.xml (original)
+++ commons/proper/vfs/trunk/pom.xml Mon Aug 15 14:36:11 2011
@@ -126,7 +126,6 @@
     <maven.compile.target>1.5</maven.compile.target>
     <commons.release.name>commons-vfs-${commons.release.version}</commons.release.name>
     <vfs.parent.dir>${basedir}</vfs.parent.dir>
-    <commons.manifestfile>${}</commons.manifestfile>
   </properties>
 
   <build>
@@ -151,6 +150,25 @@
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>jar-manifest</id>
+            <phase>generate-sources</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <configuration>
+              <target>
+                <mkdir dir="${project.build.directory}/osgi"/>
+                <touch file="${project.build.directory}/osgi/MANIFEST.MF"/>
+              </target>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
       </plugin>
       <plugin>
@@ -406,6 +424,7 @@
     <profile>
       <id>apache-release</id>
       <build>
+
         <plugins>
 
           <plugin>



Mime
View raw message