You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ryan Moquin <fr...@gmail.com> on 2007/12/27 21:07:40 UTC
Does the tag work?
Hi, I'm trying to change the basedirectory for my assembly to a simpler
name, since I don't seem to be able to get the includeBaseDirectory tag to
work. When I try to use <baseDirectory>, I get this error:
[INFO] Error reading descriptor
Embedded error: Unrecognised tag: 'baseDirectory' (position: START_TAG seen
...</formats>\n <b
aseDirectory>... @6:18)
Re: Does the tag work?
Posted by Ryan Moquin <fr...@gmail.com>.
Ahhhhhh gotcha, did not realize this. Glad I know now.
Out of curiousity, does a generated assembly always have to have the
artifact id and version in the name? Can is simply just be the assembly
descriptor id instead?
On Dec 27, 2007 3:24 PM, Wendy Smoak <ws...@gmail.com> wrote:
> On Dec 27, 2007 1:21 PM, Ryan Moquin <fr...@gmail.com> wrote:
>
> > Ok, all the plugin examples I see, usually don't put a version which
> made me
> > think that by not specifying a version, it was kept up to date for you.
> >
> > A perfect example of this is on the maven site, where it shows the
> assembly
> > plugin, it shows it without putting a version:
> >
> > http://maven.apache.org/plugins/maven-assembly-plugin/usage.html
>
> Yep... somewhere on my list is "add a version to all plugin examples
> on the website."
>
> There's a thread on the user list titled something like "Plugin
> Auto-Versioning Considered Dangerous" that explains what happened.
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: Does the tag work?
Posted by Wendy Smoak <ws...@gmail.com>.
On Dec 27, 2007 1:21 PM, Ryan Moquin <fr...@gmail.com> wrote:
> Ok, all the plugin examples I see, usually don't put a version which made me
> think that by not specifying a version, it was kept up to date for you.
>
> A perfect example of this is on the maven site, where it shows the assembly
> plugin, it shows it without putting a version:
>
> http://maven.apache.org/plugins/maven-assembly-plugin/usage.html
Yep... somewhere on my list is "add a version to all plugin examples
on the website."
There's a thread on the user list titled something like "Plugin
Auto-Versioning Considered Dangerous" that explains what happened.
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Does the tag work?
Posted by Ryan Moquin <fr...@gmail.com>.
Ok, all the plugin examples I see, usually don't put a version which made me
think that by not specifying a version, it was kept up to date for you.
A perfect example of this is on the maven site, where it shows the assembly
plugin, it shows it without putting a version:
http://maven.apache.org/plugins/maven-assembly-plugin/usage.html
On Dec 27, 2007 3:12 PM, Wendy Smoak <ws...@gmail.com> wrote:
> On Dec 27, 2007 1:07 PM, Ryan Moquin <fr...@gmail.com> wrote:
> > Hi, I'm trying to change the basedirectory for my assembly to a simpler
> > name, since I don't seem to be able to get the includeBaseDirectory tag
> to
> > work. When I try to use <baseDirectory>, I get this error:
> >
> > [INFO] Error reading descriptor
> >
> > Embedded error: Unrecognised tag: 'baseDirectory' (position: START_TAG
> seen
> > ...</formats>\n <b
> > aseDirectory>... @6:18)
>
> Can we see see the <plugin> declaration in your pom?
>
> The baseDirectory tag is listed as "since 2.2" in the docs, so my
> guess is that you're not using the latest release (2.2-beta-1). Be
> sure to specify a <version> for every plugin, otherwise it's not
> certain what version you're using.
>
> http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
Re: Does the tag work?
Posted by Wendy Smoak <ws...@gmail.com>.
On Dec 27, 2007 1:07 PM, Ryan Moquin <fr...@gmail.com> wrote:
> Hi, I'm trying to change the basedirectory for my assembly to a simpler
> name, since I don't seem to be able to get the includeBaseDirectory tag to
> work. When I try to use <baseDirectory>, I get this error:
>
> [INFO] Error reading descriptor
>
> Embedded error: Unrecognised tag: 'baseDirectory' (position: START_TAG seen
> ...</formats>\n <b
> aseDirectory>... @6:18)
Can we see see the <plugin> declaration in your pom?
The baseDirectory tag is listed as "since 2.2" in the docs, so my
guess is that you're not using the latest release (2.2-beta-1). Be
sure to specify a <version> for every plugin, otherwise it's not
certain what version you're using.
http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org