james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r537030 - in /james/mime4j/trunk: pom.xml src/assemble/bin.xml
Date Thu, 10 May 2007 23:02:20 GMT
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


Mime
View raw message