What about the version number in the manifest?

Personally, I'd rather build the artifact with just a version number
change once the product is ready for release, to take advantage of
Maven properly providing the version number in the Manifest, etc.

-Stephen

On 4/13/06, Gunther Popp <[EMAIL PROTECTED]> wrote:
> I had the same issue with jars and am currently using the 2.1-SNAPSHOT
> of the jar-plugin to exclude the pom.xml and pom.properties from the
> generated file. One problem with the included pom is that it contains a
> version number (in my case 1.2.0-SNAPSHOT). I am running an integration
> build every night and deploy a new snapshot-build of the product to an
> internal repository. Other guys pick up the builds and verify them. At
> some point in time, hopefully, we decide that the product is ready and
> release it - as is. We explicitly do NOT want to modify the artifact in
> any way.
>
> However, if the pom.xml is included in all the jars, the version number
> contained within will state "1.2.0-SNAPSHOT" for a released product.
> That´s not a big issue, but I simply dislike it. So it decided to
> exclude the poms from the beginning from all jars.
>
> Gunther
>
> Wayne Fay schrieb:
> > Just curious why you care about this? It doesn't affect/break anything
> > for me, so I've just ignored it until now.
> >
> > (You're not the only person to ask this question on the users list, so
> > I'm wondering what issues people are running into etc, and if perhaps
> > this "create META-INF/maven folder" is something that should be
> > defaulted to false if its causing problems for people...)
> >
> > Wayne
> >
> > On 4/13/06, RobJac <[EMAIL PROTECTED]> wrote:
> >
> >> My EJB project has a META_INF folder that i have placed under "resources"
> >> folder When I execute maven package for my project. The project gets jarred
> >> but when I actually open the Jar file i see some maven folder under the
> >> META-INF folder. How can i avouid this from getting created?
> >> Thanks  in advance
> >>
> >> --
> >> View this message in context: 
> >> http://www.nabble.com/Remove-mavern-folder-in-META-INF-t1444885.html#a3902183
> >> Sent from the Maven - Users forum at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> 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]
>
>


--
Stephen Duncan Jr
www.stephenduncanjr.com

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

Reply via email to