You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Wendy Smoak <ws...@gmail.com> on 2006/09/05 04:30:05 UTC

Heads up on maven-jar-plugin change

Version 2.1 of the Maven Jar Plugin was just released, and the default
jar file manifest has changed.

See: http://jira.codehaus.org/browse/MJAR-57

If you want the Specification and Implementation details listed, this
configuration needs to be added to the pom:

           <plugin>
               <artifactId>maven-jar-plugin</artifactId>
               <configuration>
                   <archive>
                       <manifest>

<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>

<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                       </manifest>
                   </archive>
               </configuration>
           </plugin>

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Heads up on maven-jar-plugin change

Posted by Brett Porter <br...@gmail.com>.
http://maven.apache.org/guides/mini/guide-manifest.html

On 05/09/06, Wendy Smoak <ws...@gmail.com> wrote:
> On 9/4/06, Brett Porter <br...@gmail.com> wrote:
>
> > ... but you probably don't want the default, and should specify your own. :)
> >
> > I think the defaults in this version are more sensible than last time,
> > where they were blatantly incorrect. But they probably still require
> > some customisation.
>
> This at least gets us back where we were until the plugin site is
> updated so I can figure out how to customize it.
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>


-- 
Apache Maven - http://maven.apache.org
"Better Builds with Maven" book - http://library.mergere.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Heads up on maven-jar-plugin change

Posted by Wendy Smoak <ws...@gmail.com>.
On 9/4/06, Brett Porter <br...@gmail.com> wrote:

> ... but you probably don't want the default, and should specify your own. :)
>
> I think the defaults in this version are more sensible than last time,
> where they were blatantly incorrect. But they probably still require
> some customisation.

This at least gets us back where we were until the plugin site is
updated so I can figure out how to customize it.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Heads up on maven-jar-plugin change

Posted by Brett Porter <br...@gmail.com>.
... but you probably don't want the default, and should specify your own. :)

I think the defaults in this version are more sensible than last time,
where they were blatantly incorrect. But they probably still require
some customisation.

- Brett

On 05/09/06, Wendy Smoak <ws...@gmail.com> wrote:
> Version 2.1 of the Maven Jar Plugin was just released, and the default
> jar file manifest has changed.
>
> See: http://jira.codehaus.org/browse/MJAR-57
>
> If you want the Specification and Implementation details listed, this
> configuration needs to be added to the pom:
>
>            <plugin>
>                <artifactId>maven-jar-plugin</artifactId>
>                <configuration>
>                    <archive>
>                        <manifest>
>
> <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
>
> <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
>                        </manifest>
>                    </archive>
>                </configuration>
>            </plugin>
>
> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>


-- 
Apache Maven - http://maven.apache.org
"Better Builds with Maven" book - http://library.mergere.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org