commits@javamail.java.net

[mercurial:120] Fix use of assembly plugin.

From: <shannon_at_kenai.com>
Date: Mon, 9 Feb 2009 19:40:59 +0000 (GMT)

Repository: mercurial
Revision: 120
Author: Bill Shannon <bill.shannon_at_sun.com>
Date: 2009-02-09 19:23:00 UTC

Log Message:
-----------
Fix use of assembly plugin.

Modified Paths:
--------------
    mbox/dist/pom.xml

Diffs:
-----
diff -r d7372078a968 -r 2e172c96c8cc mbox/dist/pom.xml
--- a/mbox/dist/pom.xml Fri Feb 06 14:52:11 2009 -0800
+++ b/mbox/dist/pom.xml Mon Feb 09 11:23:00 2009 -0800
@@ -65,20 +65,30 @@
            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <inherited>false</inherited>
+ <!--
+ I'd like this to be run as part of the
+ package phase, but that doesn't work.
+ Have to run it explicitly as:
+
+ mvn package assembly:assembly
+
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
- <goal>attached</goal>
+ <goal>assembly</goal>
                        </goals>
+ -->
                        <configuration>
                            <finalName>mbox-${mail.version}</finalName>
                            <descriptors>
                                <descriptor>assembly.xml</descriptor>
                            </descriptors>
                        </configuration>
+ <!--
                    </execution>
                </executions>
+ -->
            </plugin>
         </plugins>
     </build>