You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Bastian Spanneberg <ba...@linkwerk.com> on 2010/02/11 14:46:12 UTC
Deploying assembly package with maven-release-plugin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi everybody
We use Hudson and the maven-release-plugin to do our release builds. Now
I have a project which contains an assembly that puts together all
needed components and then packages them into a .tar.gz package with the
desired directory structure.
Now I'm trying to get the release-plugin to deploy this package to our
Maven repository during the release:perform goal, but only the standard
stuff (sources, javadoc, POM) are deployed.
I've already bound the assembly goal to the maven package phase, and the
.tar.gz gets built during the release:perform, but not uploaded to the
repository.
Any hints what might be wrong here ?
- --
Linkwerk - Software und Beratung für vernetzte Information
Telefon: +49 40 69 66 48 14
Web: www.linkwerk.com
Linkwerk GmbH, Oberaltenallee 20a, 22081 Hamburg,
Handelsregister Hamburg, HRB 95084
Geschäftsführer: Stefan Mintert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkt0CiQACgkQSm4S1ty9BPUROACeLzUhQkxDCZ8KOTScDatMGSwt
4zgAnjycDx8JVxRdv++4W+oiMjWjpkab
=0YA8
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Deploying assembly package with maven-release-plugin
Posted by Bastian Spanneberg <ba...@linkwerk.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Anders Hammar wrote:
> Wrong goal. Use single instead!
> Clearly stated in the docs...:-)
>
Thx Anders
Sometimes the simple solutions are the hardest to find :D
I was looking more into the release- and deploy-plugin to find out how
to get these to upload my generated artifact.
Meanwhile I got it also working with the maven-build-helper-plugin, but
your suggestion was exactly what I was looking for.
You made my day ;)
- --
Linkwerk - Software und Beratung für vernetzte Information
Telefon: +49 40 69 66 48 14
Web: www.linkwerk.com
Linkwerk GmbH, Oberaltenallee 20a, 22081 Hamburg,
Handelsregister Hamburg, HRB 95084
Geschäftsführer: Stefan Mintert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkt0JOgACgkQSm4S1ty9BPWFlgCfeGzDHKXtNX3D1SwuvRqntSCO
FhUAmwQlljqBQwmp+HbmK8MM6MjgaS57
=bCU3
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Deploying assembly package with maven-release-plugin
Posted by Anders Hammar <an...@hammar.net>.
Wrong goal. Use single instead!
Clearly stated in the docs...:-)
/Anders
On Thu, Feb 11, 2010 at 14:46, Bastian Spanneberg <
bastian.spanneberg@linkwerk.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi everybody
>
> We use Hudson and the maven-release-plugin to do our release builds. Now
> I have a project which contains an assembly that puts together all
> needed components and then packages them into a .tar.gz package with the
> desired directory structure.
>
> Now I'm trying to get the release-plugin to deploy this package to our
> Maven repository during the release:perform goal, but only the standard
> stuff (sources, javadoc, POM) are deployed.
>
> I've already bound the assembly goal to the maven package phase, and the
> .tar.gz gets built during the release:perform, but not uploaded to the
> repository.
>
> Any hints what might be wrong here ?
>
> - --
> Linkwerk - Software und Beratung für vernetzte Information
> Telefon: +49 40 69 66 48 14
> Web: www.linkwerk.com
>
> Linkwerk GmbH, Oberaltenallee 20a, 22081 Hamburg,
> Handelsregister Hamburg, HRB 95084
> Geschäftsführer: Stefan Mintert
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkt0CiQACgkQSm4S1ty9BPUROACeLzUhQkxDCZ8KOTScDatMGSwt
> 4zgAnjycDx8JVxRdv++4W+oiMjWjpkab
> =0YA8
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>