Hey folks:

Just my $0.02, I think there should (continue to) be different ways to install the jars in your repo and build the distributions. When developing (esp when using a lot of interdependent projects) you often want to refresh your repository jars, but in my experience rarely want to rebuild an actual distribution while working.

--Glen

Ajith Ranabahu wrote:
Hi,
I'm not a maven expert but there is a maven assembly plugin that can
be used to create the distributions. examples can be found in the
xmlschema project. in order  to create the distribution artifacts you
have to say 'mvn clean install site assembly:assembly' which creates
the necessary zip files. (note that you have to create the assembly
config files which says what to copy)

IMHO it is always better to separate out the tasks for just building
the jar and building the distro. We ca have an alias for convenience
(which I've no idea how)

Ajith

On 7/10/07, Saminda Abeyruwan <[EMAIL PROTECTED]> wrote:
Yes. There is a profile to create the distribution. IMHO would we need to
have a profile to create the distribution? If someone using install phase, it should be a good idea to create every artifact. Thus, users doesn't need
to know anything about a profile.

Thus, to create ultimate artifacts just need to use mvn clean install ,


Thank you

Saminda

On 7/10/07, Thilina Gunarathne < [EMAIL PROTECTED]> wrote:
> Thanks Saminda..
>
> But you also need to use -Drelease in order to create them.. Following
> worked for me..
> "mvn clean install -o -Dmaven.test.skip=true -Drelease"
>
> Thanks,
> Thilina
>
> On 7/10/07, Saminda Abeyruwan <[EMAIL PROTECTED]> wrote:
> > You'll able to find the distributions under modules/distribution/target
> >
> > Thank you
> >
> > Saminda
> >
> >
> > On 7/10/07, Thilina Gunarathne < [EMAIL PROTECTED]> wrote:
> > >
> > > Hi devs,
> > > What's the Axis2 maven2 command to create the distribution...Also
> > > under what directory will I be able to find the created dists...
> > > I tried doing a simple "mvn clean install -o -Dmaven.test.skip=true" ,
> > > but I wasn't able to find the created distribution artifacts...
> > >
> > > thanks,
> > > Thilina
> > >
> > > --
> > > Thilina Gunarathne  -  http://www.wso2.com -
http://thilinag.blogspot.com
> > >
> > >
> >
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> > --
> > Saminda Abeyruwan
> >
> > Software Engineer
> > WSO2 Inc. - www.wso2.org
>
>
> --
> Thilina Gunarathne - http://www.wso2.com - http://thilinag.blogspot.com
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
[EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



--

Saminda Abeyruwan

Software Engineer
WSO2 Inc. - www.wso2.org



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

Reply via email to