On 9/8/06, Morgovsky, Alexander (US - Glen Mills)
<[EMAIL PROTECTED]> wrote:
Hi, I have been using Ant for a long time and am now starting to use
Maven.  I also have a background in Java, so I am trying to learn as
much as I can about Maven.  Here is an issue which I cannot get around
as of now.  In Maven1 it was possible to bundle .jar files inside other
archives by using the <properties><war.bundle>/<war.bundle></properties>
elements.  In Maven2, it looks like this cannot be done.

It can't be done in that exact way.  The WAR plugin is what you are
looking for in that case, its documentation is available at:
http://maven.apache.org/plugins/maven-war-plugin/

Maven 2 is quite different than Maven 1, and unfortunately looking at
most Maven 1 projects as a starting point will just confuse you on how
to use M2.

in general, how do I figure out which packages I need to import when
writing Mojo's?  Thanks in advance for any help given.

Only way I know of is to take a plugin that might be similar to what
you are doing and dissect it, see how it uses the Maven core classes,
etc.  Most Maven classes are not documented so there really isn't much
to be gleaned from them or their javadoc.

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

Reply via email to