Hi,

this is probably what you are looking for:
http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html#project

You only have to configure the assembly plugin with
<descriptorRefs>
  <descriptorRef>project</descriptorRef>
</descriptorRefs>

thanks,
Robert

Op Sun, 14 Jun 2015 16:21:38 +0200 schreef Thomas Meyer <[email protected]>:

Hi,

How to package a build-able source code .tar.gz file from a small maven
project (quickstart archetype)?

mvn source:jar seems to only package the sources, the pom.xml is
missing!

I would like to enter mvn package:buildableProject or something like
that.

Does there already exists a plugin that packages all source files and
the pom.xml, README.md,etc... for easy distribution to others or do I
need to manually tar and gzip the relevant directories and files?

with kind regards
thomas


---------------------------------------------------------------------
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]

Reply via email to