Use the source plugin instead of the assembly plugin.  Just add this to
your pom.xml:
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-source-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>jar</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

(you probably already have the build and plugins section) and it will do
what you want. 

..David..


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 01, 2005 3:41 PM
To: users@maven.apache.org
Subject: assemble binary during deploy

is there some way to configure the assembly plugin to run during the
"deploy"
phase?  I would like my project to always upload the latest source any
time the snapshots are deployed.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to