assembly:single with <inherited>false</inherited> and bound to the release lifecycle... for an example see how all Apache projects which use Maven as a build tool do their releases (i.e. see the Apache parent pom)
On 28 November 2011 12:43, Anders Hammar <[email protected]> wrote: > I've seen this done once in a Maven project where it was added to the > build lifecycle, causing a simple build to take ages. For every > developer build. > > Why not just treat this as the bastard it is, handle it outside of the > Maven build. You could either use Maven as a utility tool for that or > just check out the tag to deliver and use standard zip command. Or > make sure it is only included it in the release build. I believe ASF > releases do something like this. > > On Mon, Nov 28, 2011 at 13:18, Stephen Connolly > <[email protected]> wrote: >> Assembly plugin is your friend >> >> On 28 November 2011 12:16, Prashant Neginahal <[email protected]> wrote: >>> My requirements is actually zip the complete maven project not just >>> sources. It should include maven folder structure (src/main..) and POM file >>> in that. >>> >>> On Mon, Nov 28, 2011 at 5:12 PM, Anders Hammar <[email protected]> wrote: >>> >>>> If you're using Nexus, it would be simple to script through some http >>>> urls. I'm guessing Artifactory has similar feature. You don't have to >>>> use Maven for everything. >>>> >>>> /Anders >>>> >>>> On Mon, Nov 28, 2011 at 11:44, Jörg Schaible >>>> <[email protected]> wrote: >>>> > Prashant Neginahal wrote: >>>> > >>>> >> Hi, >>>> >> >>>> >> We need to hand over "source code" to client after development. >>>> >> Unfortunately client do not have access to our nexus repository. >>>> >> >>>> >> Lets say we have projects projectA1.0, projectB1.0 and I need to give >>>> >> "projectA1.0-sources.jar" and "projectA1.0--tests-sources.jar" to >>>> client. >>>> >> I am looking simple way to only download source jars to my to special >>>> >> repository(not the regular development local repository) for each of my >>>> >> required projects. >>>> >> >>>> >> Please someone advice. >>>> > >>>> > mvn dependency:sources >>>> > >>>> > - Jörg >>>> > >>>> > >>>> > --------------------------------------------------------------------- >>>> > 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] >> >> > > --------------------------------------------------------------------- > 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]
