Datum: Sun, 12 Sep 2010 18:40:40 +0200
Von: Anders Hammar and...@hammar.net
An: Maven Users List users@maven.apache.org
Betreff: Re: [maven-assembly-plugin] Using binaries from submodule instead of
executing assembly again
If you execute mvn package on the aggregating project, all
and...@hammar.net
An: Maven Users List users@maven.apache.org
Betreff: Re: [maven-assembly-plugin] Using binaries from submodule
instead of executing assembly again
If you execute mvn package on the aggregating project, all the modules
will be built. That's how it works. If you don't want
Hi all,
I have a project which should produce a ZIP, with all contents of
${project.build.outputDirect} put into a base directory within the ZIP.
So far, the maven-assembly-plugin with includeBaseDirectory fits the
bill perfectly.
There is one issue, however, which I haven't been able
-darmstadt.de wrote:
Hi all,
I have a project which should produce a ZIP, with all contents of
${project.build.outputDirect} put into a base directory within the ZIP. So
far, the maven-assembly-plugin with includeBaseDirectory fits the bill
perfectly.
There is one issue, however, which I haven't
of
${project.build.outputDirect} put into a base directory within the ZIP.
So
far, the maven-assembly-plugin with includeBaseDirectory fits the bill
perfectly.
There is one issue, however, which I haven't been able to solve: I can't
get
the plugin to make the produced assembly the *primary* artifact
:56 AM, Andreas Sewe
s...@st.informatik.tu-darmstadt.de wrote:
Hi all,
I have a project which should produce a ZIP, with all contents of
${project.build.outputDirect} put into a base directory within the ZIP.
So
far, the maven-assembly-plugin with includeBaseDirectory fits
Hi all,
here's a report of my progress on this issue, in case others find it
useful:
The maven-assembly-plugin uses an ObjectBasedValueSource to evaluate
${artifact.*} expressions with respect to the artifact's MavenProject
(among other things). You can thus access the artifact's properties
Hi all,
I am using the maven-assembly-plugin to copy some dependencies around.
Unfortunately, I have to rename them in some fairly arbitrary fashion,
i.e., the final name has nothing to do with the dependencies artifactId
or groupId. (And no, I can't change that!)
According to the Maven
I expected the following plug-in to produce a line in the Jar manifest
Main-Class: com.artifact_software.carshistorycollector.CarsHistoryCollectorMain
build
plugins
plugin
artifactIdmaven-assembly-plugin/artifactId
version2.2-beta-5/version
configuration
archive
manifest
Solved
As you may have guessed, I forgot to run the assembly step.
This added a lot of things to the jar that I had overlooked as missing
after the build.
Sorry for the silly question.
On 09/06/2010 1:17 PM, Ron Wheeler wrote:
I expected the following plug-in to produce a line in the Jar
Hi,
I need to add some scripts in my webapp and control filemods and line
endings. Doing this with maven-assembly-plugin is easy:
...
fileSets
fileSet
directoryscripts/directory
outputDirectoryWEB-INF/scripts/outputDirectory
includes
in context:
http://old.nabble.com/maven-war-plugin-and-maven-assembly-plugin.-Change-file-mode-and-line-ending-tp28755057p28755581.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail
will be reinventing the wheel.
In any case thanks for the reply
--
View this message in context:
http://old.nabble.com/maven-war-plugin-and-maven-assembly-plugin.-Change-file-mode-and-line-ending-tp28755057p28756099.html
Sent from the Maven - Users mailing list archive at Nabble.com
Hi
I use maven for the creation of my jars and it works very well.
Now I want to create a zip file containing for example 2 jar (these jars are
maven projects having many dependencies ).
To do that, I use maven assembly plugin (i use jar-with-dependencies as
descriptorRef, but in my zip
Hello folks,
We're starting to use maven in our shop and for the most part the transition
is going fairly well. There's a couple things we're stuck on though. One is
the problem of assembling a jar from a collection of jars; if one of the
collection is a JCE provider (Bouncycastle), the
I am trying to deploy plain-text files (specifically, a WSDL and XSD) as
part of a project with pom packaging. I would like other developers to
be able to directly reference the WSDL as deployed in our local Nexus
repository. I have no difficulty deploying these with the zip
format. However,
Hi Steven,
Maring, Steven wrote at Donnerstag, 25. Februar 2010 14:29:
I am trying to deploy plain-text files (specifically, a WSDL and XSD) as
part of a project with pom packaging. I would like other developers to
be able to directly reference the WSDL as deployed in our local Nexus
Hello everybody, I solve my problem, but for that I had to changed the plugin
version of maven-assembly-plugin again, this time I decide to 2.2-beta-2, so
on follows my plugin config at pom.xml file.
plugin
artifactIdmaven-assembly-plugin/artifactId
version2.2-beta-2/version
Hi,
is it possible to add a dependency (i.e a JDBC Connector for PostgreSQL) to
an assembly using the maven-assembly-plugin by just providing the groupId,
artifactId and version?
I've tried to use the moduleSet, but with no luck.
Any clue?
Best regards,
Viggo Navarsete
Hi,
I have one profile, windows, which configures the
maven-assembly-plugin with the src/main/assembly/win32.xml assembly
descriptor, and another profile, installer, which configures it with
the src/main/assembly/executable.xml assembly descriptor.
Unfortunately specifying -Pinstaller makes it so
, windows, which configures the
maven-assembly-plugin with the src/main/assembly/win32.xml assembly
descriptor, and another profile, installer, which configures it with
the src/main/assembly/executable.xml assembly descriptor.
Unfortunately specifying -Pinstaller makes it so that the
effective
is multiplied by
2 in the destination folder.
I thought that it just makes a copy.
double size sounds like it included the EAR + all the dependencies of
the EAR. How are you using the maven assembly plugin exactly ?
J
Hello,
I'm working on a multi-module project.
This project contains an ear artifact, which is correctly generated.
I'm also using maven-assembly-plugin (tried with version 2.2-beta-2 to
2.2-beta-4), to group all the artifact I've generated in a specific folder,
call it destination
But, when the size of my ear is more than 20Mo, the size is multiplied by
2 in the destination folder.
I thought that it just makes a copy.
Use Winzip or similar to unpack the Ear and look at the contents. You
can probably figure out what's going on with a little more
information, but
I've tried to use winzip, 7-zip, and to extract with the jar command.
It's always the same message, this archive is not a valid archive.
So I can't see its contents.
Just a precision, my assembly work fine on windows, the problem is just on
debian.
The JDK I use is 1.6.0_16-b01
But, when
The Maven team is pleased to announce the release of the Maven Assembly
Plugin, version 2.2-beta-5.
This plugin is useful in creating project artifacts that have custom
layouts. It also includes a set of predefined standard custom artifact
types you can choose to create. For more information
Rémy wrote:
Hi,
I've got a problem with the maven-assembly-plugin:2.2-beta-4 plugin. In the
POM, I set a reference to a descriptor.xml's file and some dependencies.
In the descriptor.xml file I defined dependencySets to spread dependencies
in folders. I noticed that by using the element
-- Forwarded message --
From: Dipankar Das dipankar.dipnil2...@gmail.com
Date: Fri, Nov 20, 2009 at 3:31 AM
Subject: Urgent-kindly help in installing maven assembly plugin
To: bri...@apache.org, br...@apache.org
Dear Sir,
I am using both of the following packages (apache-maven
...@gmail.comwrote:
-- Forwarded message --
From: Dipankar Das dipankar.dipnil2...@gmail.com
Date: Fri, Nov 20, 2009 at 3:31 AM
Subject: Urgent-kindly help in installing maven assembly plugin
To: bri...@apache.org, br...@apache.org
Dear Sir,
I am using both of the following packages
Hello Maven users,
Is there a way to reference assembly id from component descriptor? Is it
exposed as some property?
Regards,
Stevo.
Finally it worked ! :) (thanks Alexander!)
Summarizing:
in order to create an executable JAR file that will depend on other
libraries/jars from other internal project or external without including
them inside the JAR's project:
1. use maven jar plugin to define the mail class in the manifest:
Hi,
i'm trying to figure out how can i create a working executable JAR that has
dependencies
(in-house maven projects plus external lib such as Log4J).
I tried using the assembly plugin by creating a jar-with-dependencies.
but this creates a big JAR with all the dependencies included.
I want
You could do this without assembly plugin.
Just copy all dependencies with maven-dependency-plugin to some folder and
than add this folder as classpath prefix in maven-jar-plugin.
example for second part
plugin
artifactIdmaven-jar-plugin/artifactId
can i use the
'dependency:copy-dependencieshttp://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html'
goal in this project to tell it to copy all it's
dependencies to the lib dir?
like shown in here:
build
plugins
plugin
Dont be shy, just try it.
2009/11/17 eyal edri eyal.e...@gmail.com
can i use the 'dependency:copy-dependencies
http://maven.apache.org/plugins/maven-dependency-plugin/copy-dependencies-mojo.html
'
goal in this project to tell it to copy all it's
dependencies to the lib dir?
like shown in
i will, once i get to work tomorrow :)
thanks for the help.
On Tue, Nov 17, 2009 at 8:05 PM, Alexander the.malk...@gmail.com wrote:
Dont be shy, just try it.
2009/11/17 eyal edri eyal.e...@gmail.com
can i use the 'dependency:copy-dependencies
http://www.sonatype.com/people/2009/08/how-to-make-an-executable-jar-in-maven/
On Tue, Nov 17, 2009 at 1:12 PM, eyal edri eyal.e...@gmail.com wrote:
i will, once i get to work tomorrow :)
thanks for the help.
On Tue, Nov 17, 2009 at 8:05 PM, Alexander the.malk...@gmail.com wrote:
Dont be
Question was how make executable jar without including all dependencies in
application jar but in separate folder.
2009/11/18 Brian Fox bri...@infinity.nu
http://www.sonatype.com/people/2009/08/how-to-make-an-executable-jar-in-maven/
On Tue, Nov 17, 2009 at 1:12 PM, eyal edri
way can we deploy the assembly?
Yours Rüdiger
--
View this message in context:
http://old.nabble.com/-Maven-Assembly-Plugin--Deploy-assembly-tp26333720p26333720.html
Sent from the Maven - Users mailing list archive at Nabble.com
A quick Internet search gives the answer:
http://old.nabble.com/Maven-assembly-plug-in-and-deploy-not-happening--td18161292.html
/Anders
On Fri, Nov 13, 2009 at 10:35, rgubler2 rgub...@init-ka.de wrote:
Hello,
we have the following pom:
project xmlns=http://maven.apache.org/POM/4.0.0
Anders Hammar wrote:
A quick Internet search gives the answer:
http://old.nabble.com/Maven-assembly-plug-in-and-deploy-not-happening--td18161292.html
/Anders
Hmm,
I changed
execution
idmake-assembly/id
phasepackage/phase
goals
http://maven.apache.org/plugins/maven-assembly-plugin/plugin-info.html
Regards,
Stevo.
On Fri, Nov 13, 2009 at 10:51 AM, rgubler2 rgub...@init-ka.de wrote:
Anders Hammar wrote:
A quick Internet search gives the answer:
http://old.nabble.com/Maven-assembly-plug-in-and-deploy
Yes, read the docs.
My earlier link points at info about the deprecated goal (attached). There
is a new one. My apologizes.
/Anders
On Fri, Nov 13, 2009 at 10:55, Stevo Slavić ssla...@gmail.com wrote:
http://maven.apache.org/plugins/maven-assembly-plugin/plugin-info.html
Regards,
Stevo
Hi friends ,
We use Maven Assembly plug-in to create the binary and source
archives in .zip, .tar.gz formats . We also want to generate hash
digests such as md5, sha1 for those archives . Is there any way to
achieve this using Maven Assembly plug-in ? If not please provide a
pointer
One way is if you use a repository manager (Nexus for instance), it will be
generated for you when deploying.
/Anders
On Tue, Nov 10, 2009 at 09:52, Steve Brannstrom steveb...@gmail.com wrote:
Hi friends ,
We use Maven Assembly plug-in to create the binary and source
archives in .zip
, Anders Hammar and...@hammar.net wrote:
One way is if you use a repository manager (Nexus for instance), it will be
generated for you when deploying.
/Anders
On Tue, Nov 10, 2009 at 09:52, Steve Brannstrom steveb...@gmail.com wrote:
Hi friends ,
We use Maven Assembly plug-in to create
On Tue, Nov 10, 2009 at 09:52, Steve Brannstrom steveb...@gmail.com
wrote:
Hi friends ,
We use Maven Assembly plug-in to create the binary and source
archives in .zip, .tar.gz formats . We also want to generate hash
digests such as md5, sha1 for those archives . Is there any way
[mailto:steveb...@gmail.com]
Sent: Tuesday, November 10, 2009 4:19 AM
To: Maven Users List
Subject: Re: How to generate hash digests with Maven Assembly
Thanks for the reply. But we have .zip and .tar.gz archives and AFAIK
not possible to deploy them to a repository, hence I don't think this
approach
-helper-maven-plugin/attach-artifact-mojo.
html
-Original Message-
From: Steve Brannstrom [mailto:steveb...@gmail.com]
Sent: Tuesday, November 10, 2009 4:19 AM
To: Maven Users List
Subject: Re: How to generate hash digests with Maven Assembly
Thanks for the reply. But we have .zip
thought maven assemblies could be an option. Has
anyone worked on something similar? Has anyone tried maven assembly plugin
to use this application?
Please let me know if anyone has got any relevant information and or such
installer. I have tried some like NSIS, GhostInstaller, Nvin installer,
Witem
is on the site and in the book.
[1] http://maven.apache.org/plugins/maven-assembly-plugin/
[2] http://www.sonatype.com/books/maven-book/reference/assemblies.html
Hth,
Nick Stolwijk
~Java Developer~
IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl
On Thu, Oct 22, 2009 at 5:58
That should be the right syntax. How did you configure your pom wrt the
assembly plugin?
With regards,
Nick Stolwijk
~Java Developer~
IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl
On Fri, Oct 23, 2009 at 2:55 PM, Laurent PELLEGRINO
laurent.pellegr...@gmail.com wrote:
I use the following :
plugin
artifactIdmaven-assembly-plugin/artifactId
configuration
finalName${pom.artifactId}-${pom.version}/finalName
descriptors
descriptorsrc/main/assembly/jar-with-dependencies.xml/descriptor
/descriptors
/configuration
executions
execution
phasepackage/phase
Looks good. I don't really know what is going wrong.
Just to be sure we are dealing with an assembly problem, but there are
classes in your target/classes directory after you have run mvn clean
assembly:assembly?
Could you also take a look at the logging of the assembly plugin, maybe even
with
Looks good. +1.
If default jar-with-all-dep works fine why don't you add your changes one by
one to determine what one actually is confusing assembly work?
2009/10/23 Nick Stolwijk nick.stolw...@gmail.com
Looks good. I don't really know what is going wrong.
Just to be sure we are dealing with
I have make again the jar-with-dependencies.xml step by step and
forced assembly version to 2.2-beta3 and it seems now it works...
However the library com.ontotext.owlim:big-owlim is never include in
my jar. Even if I use the default jar-with-dependencies descriptor
which contains no exclude.
Does this library declared in *dependencies* section?
2009/10/23 Laurent PELLEGRINO laurent.pellegr...@gmail.com
I have make again the jar-with-dependencies.xml step by step and
forced assembly version to 2.2-beta3 and it seems now it works...
However the library com.ontotext.owlim:big-owlim
yes it is :(
2009/10/23 Alexander the.malk...@gmail.com:
Does this library declared in *dependencies* section?
2009/10/23 Laurent PELLEGRINO laurent.pellegr...@gmail.com
I have make again the jar-with-dependencies.xml step by step and
forced assembly version to 2.2-beta3 and it seems now it
is it possible there is something in the jar library which indicates
to maven that it cannot be assembly in one-jar ?
2009/10/23 Laurent PELLEGRINO laurent.pellegr...@gmail.com:
yes it is :(
2009/10/23 Alexander the.malk...@gmail.com:
Does this library declared in *dependencies* section?
Only if dependency have an inappropriate scope.
2009/10/23 Laurent PELLEGRINO laurent.pellegr...@gmail.com
is it possible there is something in the jar library which indicates
to maven that it cannot be assembly in one-jar ?
2009/10/23 Laurent PELLEGRINO laurent.pellegr...@gmail.com:
yes
Try running mvn help:effective-pom and mvn dependencies:tree to see if it
really has the appropriate scope.
Hth,
Nick Stolwijk
~Java Developer~
IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl
On Fri, Oct 23, 2009 at 6:43 PM, Alexander the.malk...@gmail.com wrote:
Only if
With mvn dependency:tree I see it :
[INFO] | \- com.ontotext.owlim:big-owlim:jar:3.2.2:compile
If I change scope to compile in assembly I don't see it in the generated jar.
2009/10/23 Nick Stolwijk nick.stolw...@gmail.com:
Try running mvn help:effective-pom and mvn dependencies:tree to see
Nobody can help me ?
--
View this message in context:
http://www.nabble.com/Maven-assembly-and-onejar-goal-tp25994225p26011595.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail
Gotta love how Nabble removes the context, forcing people to go to the
site...
Anyway, one-jar isn't a built-in descriptor:
http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.ht
ml
There is one here:
http://binkley.blogspot.com/2006/12/making-one-jar-with-maven.html
But I
Help, where?
2009/10/22 Laurent Pellegrino laurent.pellegr...@gmail.com
Nobody can help me ?
--
View this message in context:
http://www.nabble.com/Maven-assembly-and-onejar-goal-tp25994225p26011595.html
Sent from the Maven - Users mailing list archive at Nabble.com
/22 Edelson, Justin justin.edel...@mtvstaff.com:
Gotta love how Nabble removes the context, forcing people to go to the
site...
Anyway, one-jar isn't a built-in descriptor:
http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.ht
ml
There is one here:
http
to go to the
site...
Anyway, one-jar isn't a built-in descriptor:
http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.ht
ml
There is one here:
http://binkley.blogspot.com/2006/12/making-one-jar-with-maven.html
But I have no idea if this is what you're referring
Iam lost, is it possible to do that ?
2009/10/22 Edelson, Justin justin.edel...@mtvstaff.com:
Gotta love how Nabble removes the context, forcing people to go to the
site...
Anyway, one-jar isn't a built-in descriptor:
http://maven.apache.org/plugins/maven-assembly-plugin
...@mtvstaff.com:
Gotta love how Nabble removes the context, forcing people to go to the
site...
Anyway, one-jar isn't a built-in descriptor:
http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.ht
ml
There is one here:
http://binkley.blogspot.com/2006/12/making
I don't have the setup or time to give you a full working example. Just try
it yourself, the documentation is on the site and in the book.
[1] http://maven.apache.org/plugins/maven-assembly-plugin/
[2] http://www.sonatype.com/books/maven-book/reference/assemblies.html
Hth,
Nick Stolwijk
~Java
Dear all,
I have a project which depends of two library A and B. Both (jar) have
a directory named META-INF/services/ with in a file named config for
example. However the content of the file config is different for the
two libraries.
My project use the assembly plugin with one-jar goal. When I
package
mvn -Pprod package
The disadvantage of this is that every time we call the package all
other things like unit test etc. will run...and of course i have to call
mvn three time (manually)...
Solution 2:
I can configure the Maven Assembly Plugin like the following:
plugin
http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/using-components.html
Regards,
Stevo.
On Tue, Oct 20, 2009 at 8:39 PM, Karl Heinz Marbaise khmarba...@gmx.dewrote:
Hi,
i have the following question:
I have to deliver a package with different configurations
/fileSet
/fileSets
...
/assembly
On windows you can use '/' but this won't work on *nix boxes, where you have
to use '.'
--
View this message in context:
http://www.nabble.com/Maven-Assembly-Plugin-tp16351103p25783885.html
Sent from the Maven - Users mailing list
Hello,
I'm currently using the maven assembly plugin to build a tar.gz assembly with a
custom descriptor. I found the option to set read/write permissions, but I need
to change the user and group identity, too.
I haven't found anything suitable in the descriptor documentation, so I assume
I figured out what my problem was. I stop trying to use
maven-assembly-plugin:2.1 and started used
maven-assembly-plugin:2.2-beta-4. Which gave me an error saying I need to
set at least one file. I set the scope in my dependency set to runtime
and all works fine.
From:
Tonté Pouncil
I am trying to run maven-assembly-plugin:2.1 with my custom assembler and
I get the following error:
[INFO] Scanning for projects...
[INFO]
[INFO] Building aviall-ws-ubl-assembly-distribution
[INFO]
[INFO] Id
I'm just having the same issue on MacOS after upgrading the assembly plugin
from 2.1 to 2.2-beta-4
I think we could consider that it is a regression ?
In my case the build hangs and I have to do a CTRL+C to have the error.
Googling it I found this thread.
Even if it took for me only few minutes to
I just struggled with this very thing yesterday... Adding a trailing
slash to the directory name did the trick for me.
Example: **/somedir/
On 7/27/09, Jason Chaffee jason.chaf...@zilliontv.tv wrote:
I am not able to exclude directories for some reason. I have several
directories that are
I am not able to exclude directories for some reason. I have several
directories that are identified with .temp and I have particular directory
config that I would like to exclude them as follows:
fileSet
directory${project.build.directory}/ux/directory
Hi,
I have a problem with assembly plugin. I have a standalone application
and I make for this app a jar with manifest. In manifest set I a
Main-Class and all dependencies for this app with jar plugin. That work
fine. Than, I create with assembly the zip and get the all dependencies
in
}
Thanks,
mohan kr
-Original Message-
From: Alexander Vaysberg [mailto:w...@vaisberg.de]
Sent: Wednesday, July 01, 2009 2:42 AM
To: Maven Users List
Subject: maven assembly plugin problem.
Hi,
I have a problem with assembly plugin. I have a standalone application
and I make for this app
it is ${artifact.baseVersion} and *not*
${artifact.version}
Thanks,
mohan kr
-Original Message-
From: Alexander Vaysberg [mailto:w...@vaisberg.de]
Sent: Wednesday, July 01, 2009 2:42 AM
To: Maven Users List
Subject: maven assembly plugin problem.
Hi,
I have a problem with assembly plugin. I have
BumpAnybody have some suggestions?
--
View this message in context:
http://www.nabble.com/Maven-Assembly-Question-tp23833852p24205262.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe
I see that the attached goal works, but for beta-4 it says that goal is
deprecated. Is this a bug in the single goal that prevents it from being
published during the package phase?
Thanks,
Lou
Jörg Schaible-2 wrote:
Hi Andrew,
Andrew Robinson wrote:
The maven assembly plug
useStrictFilteringtrue/useStrictFiltering
unpacktrue/unpack
includes
include*:*:jni-solaris-spark:*/include
/includes
/dependencySet
/dependencySets
/assembly
--
View this message in context:
http://www.nabble.com/Maven-assembly---include
to override this.
Thanks,
Laird
--
View this message in context:
http://www.nabble.com/Maven-assembly%3A-cut-down-on-number-of-assemblies-made--tp23904468p23923016.html
Sent from the Maven - Users mailing list archive at Nabble.com
On Sat, Jun 6, 2009 at 11:37 AM, ljnelson ljnel...@gmail.com wrote:
Hello; I've started to dive into the rather baffling world of the
maven-assembly plugin.
I am trying to configure the silly thing so that I get one .zip file output
when I run mvn assembly:assembly. At the moment, I get
Hello; I've started to dive into the rather baffling world of the
maven-assembly plugin.
I am trying to configure the silly thing so that I get one .zip file output
when I run mvn assembly:assembly. At the moment, I get this .zip file, but
I also get a .tar file, a bzip file, etc. etc.
mvn
The Maven team is pleased to announce the release of the Maven Assembly
Plugin, version 2.2-beta-4.
This plugin is useful in creating project artifacts that custom layouts.
It also includes a set of predefined standard custom artifact types you
can choose to create. For more information, see
The Maven team is pleased to announce the release of the Maven Assembly
Plugin, version 2.2-beta-4.
This plugin is useful in creating project artifacts that custom layouts.
It also includes a set of predefined standard custom artifact types you
can choose to create. For more information, see
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
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
,**/**.properties
/
/copy
Thanks
--
View this message in context:
http://www.nabble.com/Maven-Assembly-Question-tp23833852p23833852.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr
Hi everybody,
you can find my solution
http://www.developpez.net/forums/d751119/java/edi-outils-java/maven/maven-assembly-plugin-inclure-seule-dependence-jar/#post4348039
here
it's my french thread
Have a nice day
Tchû
--
View this message in context:
http://www.nabble.com/-maven-assembly
(the last), do you have an
idea?
Thank you
--
View this message in context:
http://www.nabble.com/-maven-assembly-plugin--jar-with-dependencies--How-to-include-only-one-dependency--tp23737766p23737766.html
Sent from the Maven - Users mailing list archive at Nabble.com
Hi,
I'm using maven 2.1.0.
With the maven-assembly plugin 2.2-beta-3. When I use the descriptor
project it simply zips all directory contents and also inclused the
target directory.
Also the whole directory path is included (C:\User ...\ ...)
When using the with-dependencies descriptor also
Hi,
I'm using Maven 2.1.0.
I get:
[INFO] [assembly:single {execution: make-assembly}]
[WARNING] Cannot include project artifact: org.foo.bar:j2se:pom:1
.0.2-SNAPSHOT; it doesn't have an associated file or directory.
[INFO]
Maven Users
Is there a way to specify what goes on the Classpath that is created by
the Archive tag when using the jar-with-dependencies descriptor?
I want to add some *.xml configuration files to the classpath so I can
find them when the application starts.
Mike Karrys
in the forum is not
suitable. I need to get around the issue. Thanks!
--
View this message in context:
http://www.nabble.com/Maven-assembly-issue-tp22851137p22851137.html
Sent from the Maven - Users mailing list archive at Nabble.com
301 - 400 of 648 matches
Mail list logo