create different package

View: New views
2 Messages — Rating Filter:   Alert me  

create different package

by jecs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have a java project with maven and need create with the sources three different package, these package can have different file of configuration, I'm working with profiles but only can create one package, is possible create other packages. for example

local           myproject-local-external.rar
                 myproject-local-internal.rar
                 myproject-local-other.rar


production   myproject-production-external.rar
                 myproject-production-internal.rar
                 myproject-production-other.rar

Thank your for your responses

Re: create different package

by Anders Hammar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If I understand your question correctly, you don't have to use profiles.
Just bind the plugin your creating the package with three times to a
suitable phase, each binding with the appropriate file config (external,
internal, other).

/Anders

On Fri, Oct 30, 2009 at 16:52, jecs <jecs8@...> wrote:

>
> I have a java project with maven and need create with the sources three
> different package, these package can have different file of configuration,
> I'm working with profiles but only can create one package, is possible
> create other packages. for example
>
> local           myproject-local-external.rar
>                 myproject-local-internal.rar
>                 myproject-local-other.rar
>
>
> production   myproject-production-external.rar
>                 myproject-production-internal.rar
>                 myproject-production-other.rar
>
> Thank your for your responses
> --
> View this message in context:
> http://old.nabble.com/create-different-package-tp26132477p26132477.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>