You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by huser <mp...@atxg.com> on 2009/06/04 16:49:07 UTC
maven assembly plugin
Hi,
I am using the maven assembly plugin to create a zip file containing certain
jars. The zip file contains the version info of the jars as well.
Example:
abc.zip has activation-1.1.jar, commons-7.2.jar
How can I remove the version info from getting attached to the jar file and
consequently getting zipped ?
TIA,
--
View this message in context: http://www.nabble.com/maven-assembly-plugin-tp23871508p23871508.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: maven assembly plugin
Posted by Jim McCaskey <ji...@pervasive.com>.
Hi there,
The assembly plugin has an outputFileNameMapping capability. So you would add something like this:
<outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
You can find additional info here:
http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html#class_dependencySet
I think that will get you what you want.
-Jim
-----Original Message-----
From: huser [mailto:mpinjani@atxg.com]
Sent: Thursday, June 04, 2009 9:49 AM
To: users@maven.apache.org
Subject: maven assembly plugin
Hi,
I am using the maven assembly plugin to create a zip file containing certain
jars. The zip file contains the version info of the jars as well.
Example:
abc.zip has activation-1.1.jar, commons-7.2.jar
How can I remove the version info from getting attached to the jar file and
consequently getting zipped ?
TIA,
--
View this message in context: http://www.nabble.com/maven-assembly-plugin-tp23871508p23871508.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Antwort: aspectj-maven-plugin
Posted by to...@gi-de.com.
Hi,
what kind of problems do you have? I´m using that plugin to weave some
aspects in existing 3rdparty jars and that´s working.
In your sample you dont have a <dependencies> section - but
<weaveDependencies>
to get the aspectj compiler satisfied, you need the <dependencies> too.
Torsten
"Yanko, Curtis" <cu...@uhc.com>
04.06.2009 17:07
Bitte antworten an
"Maven Users List" <us...@maven.apache.org>
An
"Maven Users List" <us...@maven.apache.org>
Kopie
Thema
aspectj-maven-plugin
Is anyone having any luck with this plugin? It seems pretty broken to
me. I have scoured the web and can find little, if any documentation. It
also seems as if the guy at anydoby.com re-wrote the plugin to work?!
Here is what I have so far:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<goals>
<goal>compile</goal> <!-- use this goal to weave
all your main classes -->
<goal>test-compile</goal> <!-- use this goal to weave
all your test classes -->
</goals>
</execution>
</executions>
<configuration>
<source>1.5</source>
<target>1.5</target>
<showWeaveInfo>true</showWeaveInfo>
<verbose>true</verbose>
<outxml>false</outxml>
<proceedOnError>true</proceedOnError>
<includes>
<include>**/*.aj</include>
</includes>
<!--excludes>
<exclude>**/logging/*.aj</exclude>
</excludes-->
<weaveDependencies>
<weaveDependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
</weaveDependency>
</weaveDependencies>
<aspectLibrarys>
<aspectLibrary>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
</aspectLibrary>
</aspectLibrarys>
</configuration>
</plugin>
==========
Curtis Yanko
Application & Developer Infrastructure Services
Source->Build->Deploy
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
aspectj-maven-plugin
Posted by "Yanko, Curtis" <cu...@uhc.com>.
Is anyone having any luck with this plugin? It seems pretty broken to
me. I have scoured the web and can find little, if any documentation. It
also seems as if the guy at anydoby.com re-wrote the plugin to work?!
Here is what I have so far:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<goals>
<goal>compile</goal> <!-- use this goal to weave
all your main classes -->
<goal>test-compile</goal> <!-- use this goal to weave
all your test classes -->
</goals>
</execution>
</executions>
<configuration>
<source>1.5</source>
<target>1.5</target>
<showWeaveInfo>true</showWeaveInfo>
<verbose>true</verbose>
<outxml>false</outxml>
<proceedOnError>true</proceedOnError>
<includes>
<include>**/*.aj</include>
</includes>
<!--excludes>
<exclude>**/logging/*.aj</exclude>
</excludes-->
<weaveDependencies>
<weaveDependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
</weaveDependency>
</weaveDependencies>
<aspectLibrarys>
<aspectLibrary>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
</aspectLibrary>
</aspectLibrarys>
</configuration>
</plugin>
==========
Curtis Yanko
Application & Developer Infrastructure Services
Source->Build->Deploy
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org