You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Douglas Ferguson <do...@epsiia.com> on 2006/08/07 16:22:33 UTC

Deploying Output From Assembly

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

douglas.ferguson@epsiia.com

www.epsiia.com <http://www.epsiia.com/> 

__________________________________________

 


Re: Deploying Output From Assembly

Posted by Wayne Fay <wa...@gmail.com>.
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 <do...@epsiia.com> 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:epunzalan@exist.com]
> 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
> >
> > douglas.ferguson@epsiia.com
> >
> > www.epsiia.com <http://www.epsiia.com/>
> >
> > __________________________________________
> >
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Deploying Output From Assembly

Posted by Douglas Ferguson <do...@epsiia.com>.
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:epunzalan@exist.com] 
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
>
> douglas.ferguson@epsiia.com
>
> www.epsiia.com <http://www.epsiia.com/> 
>
> __________________________________________
>
>  
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Deploying Output From Assembly

Posted by Edwin Punzalan <ep...@exist.com>.
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
>
> douglas.ferguson@epsiia.com
>
> www.epsiia.com <http://www.epsiia.com/> 
>
> __________________________________________
>
>  
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org