The maven assembly plug-in, specifically states that it will deploy
all the built assemblies on deploy:

http://maven.apache.org/plugins/maven-assembly-plugin/faq.html#deploy

So I have my assembly plugin executions tied to the package:

      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <version>2.2-beta-2</version>
        <executions>
          <execution>
            <id>make-jar</id>
            <phase>package</phase>
            <goals>
              <goal>assembly</goal>
            </goals>
            <configuration>
              
<descriptorSourceDirectory>src/main/assembly/jar/</descriptorSourceDirectory>
              <archive>
                <manifest>
                  <mainClass>mypackage.Launcher</mainClass>
                </manifest>
              </archive>
            </configuration>
          </execution>
          <execution>
            <id>make-assembly</id>
            <phase>package</phase>
            <goals>
              <goal>assembly</goal>
            </goals>
            <configuration>
              
<descriptorSourceDirectory>src/main/assembly/package/</descriptorSourceDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>

Now when I run mvn:deploy, it does not upload my assemblies, only my
project output (jar). Do I need a different version of a plugin or
maven or something, or is the assembly plugin FAQ wrong?

mvn -version
Maven version: 2.0.7
Java version: 1.5.0_15
OS name: "linux" version: "2.6.24-19-generic" arch: "i386"

Thanks,
Andrew

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

Reply via email to