You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ba...@apache.org on 2007/05/11 01:02:20 UTC

svn commit: r537030 - in /james/mime4j/trunk: pom.xml src/assemble/bin.xml

Author: bago
Date: Thu May 10 16:02:19 2007
New Revision: 537030

URL: http://svn.apache.org/viewvc?view=rev&rev=537030
Log:
Include the example in the binary package (it is small and may be useful for library users)
Generate javadoc.jar and include javadocs folder in the binary distribution.

Modified:
    james/mime4j/trunk/pom.xml
    james/mime4j/trunk/src/assemble/bin.xml

Modified: james/mime4j/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/pom.xml?view=diff&rev=537030&r1=537029&r2=537030
==============================================================================
--- james/mime4j/trunk/pom.xml (original)
+++ james/mime4j/trunk/pom.xml Thu May 10 16:02:19 2007
@@ -124,11 +124,34 @@
         </configuration>
       </plugin>
       <plugin>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <version>2.2</version>
+        <executions>
+          <execution>
+            <id>create-javadocs</id> <!-- this is used for inheritance merges -->
+            <phase>package</phase> <!-- append to the packaging phase. -->
+            <goals>
+              <goal>javadoc</goal> <!-- goals == mojos -->
+              <goal>jar</goal> <!-- goals == mojos -->
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
         <artifactId>maven-assembly-plugin</artifactId>
         <version>2.2-beta-1</version>
         <configuration>
           <descriptorSourceDirectory>${basedir}/src/assemble/</descriptorSourceDirectory>
         </configuration>
+        <executions>
+          <execution>
+            <id>make-assembly</id> <!-- this is used for inheritance merges -->
+            <phase>package</phase> <!-- append to the packaging phase. -->
+            <goals>
+              <goal>attached</goal> <!-- goals == mojos -->
+            </goals>
+          </execution>
+        </executions>
       </plugin>
       <!-- Add NOTICE and LICENSE to generated JAR -->
       <plugin>

Modified: james/mime4j/trunk/src/assemble/bin.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/assemble/bin.xml?view=diff&rev=537030&r1=537029&r2=537030
==============================================================================
--- james/mime4j/trunk/src/assemble/bin.xml (original)
+++ james/mime4j/trunk/src/assemble/bin.xml Thu May 10 16:02:19 2007
@@ -36,16 +36,18 @@
       </includes>
     </fileSet>
     <fileSet>
-      <includes>
-        <include>*.txt</include>
-      </includes>
+      <directory>examples</directory>
     </fileSet>
     <fileSet>
       <directory>target</directory>
       <outputDirectory></outputDirectory>
       <includes>
-        <include>*.jar</include>
+        <include>${project.build.finalName}</include>
       </includes>
+    </fileSet>
+    <fileSet>
+      <directory>target/site/apidocs</directory>
+      <outputDirectory>javadocs</outputDirectory>
     </fileSet>
   </fileSets>
   <dependencySets>



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