I use the assembly plugin to create an executable jar file that contains all
of it's dependencies.  The file name is
foo-1.0-SNAPSHOT-jar-with-dependencies.jar.  I would like to be able to
install this artifact locally and/or deploy to a remote repository.  How can
I do this?

I have included the assembly plugin configuration below if that helps.

        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-assembly-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <configuration>
                            <descriptors>
                               
<descriptor>jar-with-dependencies.xml</descriptor>
                            </descriptors>
                           
<workDirectory>target/assembly/work</workDirectory>
                            <archive>
                               
<manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
                            </archive>
                        </configuration>
                        <goals><goal>assembly</goal></goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>

Thanks,

jp4
-- 
View this message in context: 
http://www.nabble.com/Install---Deploy-an-artifact-generated-with-Assembly-Plugin-tf3960408s177.html#a11238491
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to