-
From: Saminda Abeyruwan [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 21, 2006 9:31 AM
To: users@maven.apache.org
Subject: Problem related to maven-assembly-plugin and
maven-dependency-plugin
HI all,
I've using the combination of maven-assembly-plugin and
maven-dependency-plugin
I'm using version 2.1 of maven-assembly-plugin.
The documentaion on the assembly saids I can have unpackOptions tag in
the dependencySet but I get an Unrecognised tag: 'unpackOptions'
error.
Here's the stack trace:
org.apache.maven.lifecycle.LifecycleExecutionException: Error reading
descriptor
,
Stéphane
[1] http://www.mail-archive.com/dev@maven.apache.org/msg61755.html
[2] http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
On 12/5/06, Steve Yang [EMAIL PROTECTED] wrote:
Hi Stephane,
My name is steve. I have some question about maven assembly plugin. Would
you like to help
I've read the better builds with maven book, I've looked at
http://maven.apache.org/plugins/maven-assembly-plugin, but I'm still not
sure I understand how this is supposed to work.
I just want end up with a zip file containing all of the jars needed to
run the particular project I'm building
On 11/7/06, Christian Goetze [EMAIL PROTECTED] wrote:
I've read the better builds with maven book, I've looked at
http://maven.apache.org/plugins/maven-assembly-plugin, but I'm still not
sure I understand how this is supposed to work.
I just want end up with a zip file containing all
the better builds with maven book, I've looked at
http://maven.apache.org/plugins/maven-assembly-plugin, but I'm still
not sure I understand how this is supposed to work.
I just want end up with a zip file containing all of the jars needed
to run the particular project I'm building.
Alternatively
Dirk Starke wrote:
Hello Christian,
I am just starting to use Maven 2, also had some problems to figure this
out, and perhaps I can help you. In my little project I created two
files in the src/main/assembly directory of my project.
Thanks, but it only ends up with the one jar in the
Thanks, but it only ends up with the one jar in the project. How do I
get it to include all jars needed to run, as expressed in the
dependencies?
--
cg
Oops, sorry, the other nice person who answered has the clue...
Thanks again!
--
cg
Please see:
http://people.apache.org/~epunzalan/maven-assembly-plugin/
Christian Goetze wrote:
I've read the better builds with maven book, I've looked at
http://maven.apache.org/plugins/maven-assembly-plugin, but I'm still
not sure I understand how this is supposed to work.
I just want
We have noticed some odd behavior related to the maven-assembly-plugin...
With the latest 2.2-SNAPSHOT version of the maven-assembly-plugin, the
ability to define multiple include dependencySets and to define
dependencies by any combination of groupId, artifactId, type, and classifier
(using
to the maven-assembly-plugin...
With the latest 2.2-SNAPSHOT version of the maven-assembly-plugin, the
ability to define multiple include dependencySets and to define
dependencies by any combination of groupId, artifactId, type, and
classifier
(using wildcards if necessary) should be available
install:install-file on each of the
jar files to populate the user's local repository with these third-party
dependencies.
It would appear from the documentation of maven-assembly-plugin that
this plugin should be able to do the trick. But I haven't yet figured
out how to do what I want. I'd like
-based repository. I think this is better than having to ship
a shell script that invokes mvn install:install-file on each of the
jar files to populate the user's local repository with these third-party
dependencies.
It would appear from the documentation of maven-assembly-plugin
a
repository artifact in repository format (archived or not)?
-- Eric
-Original Message-
From: Edwin Punzalan [mailto:[EMAIL PROTECTED]
Sent: Friday, October 27, 2006 4:38 PM
To: Maven Users List
Subject: Re: maven-assembly-plugin woes
Last I checked, the repository works. Did you have
I'm trying to assemble an image consisting of the artifacts created by a
maven2 project. The artifacts (all installed and in the repository) are
of three forms:
- jar files
- wsr files
- war files
I'm trying to author a pom and assembly descriptor file that
Hi all,
I have tried to use the assembly plugin to
create a zip for deploy purpose. I would like to put those zip into another
location during deploy phase other than the maven repository (I would like to
have a simpler structure so users can browse them easily).
I successfully created
/executions
/plugin
This binds the maven-assembly-plugin to the package phase of the
lifecycle (
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
)
and runs the single goal of the plugin.
The configuration section provides
Many thanks for your answer Barrie but could you provide some examples,
please?
I'm completely lost in this maze :(
On 8/29/06, Barrie Treloar [EMAIL PROTECTED] wrote:
Included module: murex.middleware:middleware-gui:jar:3.1 does not have
an
artifact with a file. Please ensure the package
here is what I have in my parent pom:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-assembly-plugin/artifactId
configuration
descriptors
descriptorsrc/assembly/assembly-2.1.2m.xml
Use 'attached' as the goal instead; that solved it for me.
On Wed, 2006-08-30 at 12:16 +0200, Alexis Midon wrote:
here is what I have in my parent pom:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-assembly-plugin/artifactId
/descriptors
/configuration
/execution
/executions
/plugin
This binds the maven-assembly-plugin to the package phase
Hi all,
While using the maven-assembly-plugin, I'm always stuck by the fact that if
I do not run the package goal in the same build the assembly plugin
complains with the following message:
Included module: murex.middleware:middleware-gui:jar:3.1 does not have an
artifact with a file. Please
Included module: murex.middleware:middleware-gui:jar:3.1 does not have an
artifact with a file. Please ensure the package phase is run before the
assembly is generated.
but when I add the package goal my jars are always built twice, once by the
package goal and once by assembly after the
--
View this message in context:
http://www.nabble.com/-M2--Maven-Assembly-Error-tf2172774.html#a6007640
Sent from the Maven - Users forum at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
When I run maven-assembly-plugin version 2.1 it gives the following error:
[INFO]
[ERROR] BUILD ERROR
[INFO]
[INFO] Internal error in the plugin
Hi all,
I'd like to use a snapshot version of the assembly plugin, but I can't found
out a snapshot repository.
Can someone tell me if such a repo is available or should I build a snapshot
by myself?
Thanks in advance,
Alexis
Add this:
pluginRepositories
pluginRepository
idapache.snapshots/id
urlhttp://people.apache.org/repo/m2-snapshot-repository/url
!-- NOTE: omit releases section here! --
/pluginRepository
/pluginRepositories
Then, when you run the build, use the -U option to refresh your plugins.
If
First, you might want to check which version of the assembly plugin you're
using. It should be in the debug output (-X for debug).
If you're running with the maven-assembly-plugin 2.2-SNAPSHOT, then I'd say
file a JIRA issue for it in http://jira.codehaus.org/browse/MASSEMBLY and
I'll try to get
I'm working on a project that has a parent project and two modules
(currently), with the following assembly.xml file:
http://developer.ja-sig.org/source/browse/jasig/cas-clients/java-client/assembly.xml?r=1.2
For the most part, the script works, but I have a couple issues that I
can't figure
Incidentally, I am using plugin version 2.0.1.
--
View this message in context:
http://www.nabble.com/moduleSets-tag-not-recognized-by-maven-assembly-plugin-t1832285.html#a5000178
Sent from the Maven - Users forum at Nabble.com
I am ramping up on the maven-assembly-plugin. Folllowing the spirit of the
example discussed at
http://maven.apache.org/plugins/maven-assembly-plugin/examples/multimodule/module-binary-inclusion-simple.html,
I am using a project made up of modules and presently trying to get the
following simple
I noticed that also, and created a JIRA issue for it:
http://jira.codehaus.org/browse/MASSEMBLY-112
Martijn
On 6/2/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Has anyone else noticed how the main jar file you create is now included
as a dependency when using the dependendencySets in an
Has anyone else noticed how the main jar file you create is now included
as a dependency when using the dependendencySets in an assembly
file?
Now the zip I create has 2 copies of my main jar in it? One under the
output directory for files picked up as dependencies and one under the
main
-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, June 02, 2006 3:53 PM
To: users@maven.apache.org
Subject: Maven Assembly
Has anyone else noticed how the main jar file you create is now included
as a dependency when using the dependendencySets in an assembly
file?
Now the zip
: Friday, June 02, 2006 3:53 PM
To: users@maven.apache.org
Subject: Maven Assembly
Has anyone else noticed how the main jar file you create is now included
as a dependency when using the dependendencySets in an assembly
file?
Now the zip I create has 2 copies of my main jar in it? One under
Also MASSEMBLY-97 still occurs, even there seemed to be many bugfixes
related to dependency handling in the 2.1 release.
--
View this message in context:
http://www.nabble.com/-ANN-Maven-Assembly-Plugin-2.1-t1615275.html#a4405988
Sent from the Maven - Users forum at Nabble.com
: [ANN] Maven Assembly Plugin 2.1
Hi,
The following configuration doesn't work anymore whereas it was ok in
the previous version :
dependencySets
dependencySet
outputDirectorylib/outputDirectory
unpackfalse/unpack
scoperuntime/scope
/dependencySet
/dependencySets
What
this (including with artifacts) ?
A simple update on this page should be very nice :
http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html ?
Thanks in advance,
- Olivier
-Message d'origine-
De : Brett Porter [mailto:[EMAIL PROTECTED]
Envoyé : dimanche 14 mai 2006 07:24
À : announce
The Maven team is pleased to announce the release of the Maven Assembly
Plugin, version 2.1
http://maven.apache.org/plugins/maven-assembly-plugin/
You can run mvn -U to get the latest version of the plugin, or specify
the version in your project's plugin configuration:
plugin
Hi,
I am currently using maven-assembly-plugin v2.0.4. Instead of the
jar-with-dependencies requirement, I have a need for
jar-with-some-dependencies requirement. That is, instead of packing all of
the 10 dependencies, I would wish to pack 9, leaving out one.
You could do that today by having
When using the assembly plugin, will the install goal put the result of
the assembly into the repository?
Thanks,
Richard Allen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
yes, use assembly:attach goal, but this feature is still SVN
-Dan
On 1/12/06, Richard Allen [EMAIL PROTECTED] wrote:
When using the assembly plugin, will the install goal put the result of
the assembly into the repository?
Thanks,
Richard Allen
Brett Porter wrote:
specify a dependencySet with unpack set to true - the default is
to include all dependencies and unpack them as classes at the root of
the new assembly. I think the jar-with-depedencies default descriptor
may already do as you need?
This is what I hoped would happen, but
specify a dependencySet with unpack set to true - the default is
to include all dependencies and unpack them as classes at the root of
the new assembly. I think the jar-with-depedencies default descriptor
may already do as you need?
- Brett
On 11/24/05, Tim Wood [EMAIL PROTECTED] wrote:
I have
I have gotten some great help from a Maven developer and now have a question for the list. Our project is composed of
several source directories, to separate application code from infrastructure code. We have a hierarchy of pom.xmls. We
figured out how to make mvn assembly:assembly generate
central
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-clean-plugin:maven-plugin:2.0
[DEBUG] maven-assembly-plugin: resolved to version 2.0 from repository
central
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-assembly-plugin:maven-plugin:2.0
...
[INFO] Searching repository for plugin with prefix: 'clean'.
[DEBUG] maven-clean-plugin: resolved to version 2.0 from repository central
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-clean-plugin:maven-plugin:2.0
[DEBUG] maven-assembly-plugin: resolved to version 2.0
-plugin:2.0
[DEBUG] maven-assembly-plugin: resolved to version 2.0 from repository
central
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-assembly-plugin:maven-plugin:2.0
[INFO]
[INFO] Building Maven
601 - 648 of 648 matches
Mail list logo