I don't use assembly much myself, but yes, it sounds like that's what
he's saying... You can always try it (using mvn install) and then
manually check the m2 repo in your filesystem to confirm.
And then you can access the artifact as a dependency in another pom by using:
<dep>
<artifactId/><groupId/><version/>
<classifier>your_assembly_config_id_here</classifier>
</dep>
Wayne
On 8/7/06, Douglas Ferguson <[EMAIL PROTECTED]> wrote:
If I understand you correctly, I would use this:
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.0-beta-1</version>
<configuration>
... Configuration Here ...
</configuration>
<executions>
<execution>
<phase>package</phase>
</execution>
</execution>
</plugin>
</plugins>
However, I don't know if I follow your last comment.
When you say that the id of the assembly descriptor becomes the classifier
does that mean it automatically gets deployed?
Thanks,
Doug
-----Original Message-----
From: Edwin Punzalan [mailto:[EMAIL PROTECTED]
Sent: Monday, August 07, 2006 12:39 PM
To: Maven Users List
Subject: Re: Deploying Output From Assembly
You can just deploy it but have the assembly plugin run in the package
phase.
The id of the assembly descriptor becomes the artifact classifier in
case you want to use the one generated by the assembly.
Douglas Ferguson wrote:
> I would like to deploy a zip file that is output from my assembly process.
>
>
>
> Could I just treat this like a 3rd party deploy? Is there any reason to
not
> disable the POM creation?
>
>
>
> I'd like to tie the assembly and deployment of the zip to the release of
the
> actual maven project?
>
>
>
>
>
> Thanks,
>
>
>
> Douglas
>
> __________________________________________
>
>
> Douglas W. Ferguson
>
> EPSIIA - Another Fiserv Connection
>
> Development
>
> Office Phone: 512-329-0081 ext. 3309
>
> Dial Toll Free: 800-415-5946
>
> Mobile Phone: 512-293-7279
>
> Fax: 512-329-0086
>
> [EMAIL PROTECTED]
>
> www.epsiia.com <http://www.epsiia.com/>
>
> __________________________________________
>
>
>
>
>
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]