Hi all,
I have a little problem.
I'm using jenkins for CI, and trying to send emails using email-ext-plugin
by writing jelly script.
I'm kind of new in jelly, so i'm stack for a day (!!!) because of an error
in jelly:util tag, and have no idea how to progress from here.
please help!!!
I'm
Hi.
I am writing a little tutorial in my company about the use of the Maven
Assembly Plugin to build a executable jar, with all dependencies inside it.
When I was using Maven 2.2.1, the following would done the job:
...
build
plugins
...
plugin
Hi,
I have a little problem.
I'm using jenkins for CI, and trying to send emails using
email-ext-plugin
by writing jelly script.
I'm kind of new in jelly, so i'm stack for a day (!!!) because of an
error
in jelly:util tag, and have no idea how to progress from here.
please help!!!
I think the solution is to set useProjectArtifact to false in the
assembly descriptor.
/Anders
On Tue, Apr 17, 2012 at 11:44, QL 983 fraterql...@gmail.com wrote:
Hi.
I am writing a little tutorial in my company about the use of the Maven
Assembly Plugin to build a executable jar, with all
Greetings Everyone,
I'm trying to build my project in parallel using Maven 3, so I can
reduce the time taken (Currently it takes around better half of a day to
completely build it).
May be this sounds stupid, but the way I want to do is to build
some of the modules in project serially while
I'm using the release plugin for tagging and branching on CVS projects.
Certain user-specific property files should not be taggeg nor branched, so
I defined checkModificationExcludeList for the release plugin.
This passes the first modification check well, but when it comes to
tagging by scm
Hello,
With some multi-module maven project we'r having the following exception
when using maven 3.0.4:
[ERROR] Failed to execute goal
org.codehaus.mojo:gwt-maven-plugin:1.3.2.google:resources (default) on
project genericapi: Execution default of goal
Hi list,
a simple question with (hopefully) a simple answer:
Is there some coherent documentation of the Maven way?
I'm *not* looking for:
* documentation of the Maven syntax
* documentation of Maven plugins
* Maven reference documentation
* Use the Source, Luke! style of advice
What I'm
Hi,
I recommend two books from Sonatype, Maven by Example 1) and Maven
Cookbook 2)
1) http://www.sonatype.com/index.php/Support/Books/Maven-By-Example
2) http://www.sonatype.com/index.php/Support/Books/The-Maven-Cookbook
Markku
On 17.4.2012 16:55, Wolf Geldmacher wrote:
Hi list,
a simple
I'm not able to create signed jar files using jarsigner:1.2 plugin. I'm
getting the below exception
[INFO] BUILD FAILURE
[INFO]
[INFO] Total time: 13.788s
[INFO] Finished at: Tue Apr 17 15:52:27 CEST 2012
[INFO] Final
I also recommend taking the Sonatype training courses - especially if
you are a software architect.
There is a lot to be said when you can ask question as the instructor is
going over the material.
However, you are right, if someone were to write a book called the The
Maven Way in the style
Wow! Half a day sounds like a huge code base!
Anyways, yes you can do this in Maven 3 but maven takes the call on how the
modules get build. You can enforce a build order among modules using
dependencies (if A depends on B, maven will build B before A) but I'm not
aware of any other ways to
Out of interest...
How many modules is that?
How many java files?
Any code generation happening like XMLBeans etc?
Also does that half day include or exclude test execution time?
I worked somewhere, where the build was 3 hours not including tests,
by simply upgrading from maven 2.x to 3 and
Team :
We are facing the following error during the mvn release:perform process.
Please help me in this.
[INFO] [ERROR] Java heap space - [Help 1]
[INFO] java.lang.OutOfMemoryError: Java heap space
[INFO] at java.util.Arrays.copyOf(Arrays.java:2786)
[INFO] at
Our build has a dependency on the JRE. In order to build our final
distribution artifact, we need a JRE. To me, this means that the JRE
should be managed as a maven artifact in nexus. Otherwise,
I don't understand the use case. Please describe it in more detail.
My installer is
Ping... :-)
Any help with this would be greatly appreciated and prevent me from having to
revert to using Ant.
Thanks in advance!!!
Dave Wolf
-Original Message-
From: Dave Wolf
Sent: Mon 4/16/2012 2:41 PM
To: users@maven.apache.org
Subject: maven-nar-plugin -- building libraries for
From reading the documentation, I'm not quite following how to tell
the maven-nar-plugin to generate both 32 64 versions of my project's
As far as I know, this plugin is not published by Apache but rather
supported by the FreeHEP team or possibly Sonatype (??):
On Tue, Apr 17, 2012 at 07:12:26AM -0700, Eric Kolotyluk wrote:
I also recommend taking the Sonatype training courses - especially if
you are a software architect.
There is a lot to be said when you can ask question as the instructor is
going over the material.
However, you are right,
Will do. Thanks, I thought the GroupId was odd for a Sonotype plugin. I must
have followed the wrong Google link somewhere along the way.
Dave Wolf
Java Architect
Gorilla Logic
M: 303-956-9106
DG GL Room: x4545
-Original Message-
From: Wayne Fay [mailto:wayne...@gmail.com]
Sent: Tue
Hi PurnachandraRao,
[INFO] [ERROR] Java heap space - [Help 1]
[INFO] java.lang.OutOfMemoryError: Java heap space
Did you try increasing max heap size with the MAVEN_OPTS environment
variable?
Something like:
export MAVEN_OPTS=-Xmx1536m
Regards,
Curtis
On Tue, Apr 17, 2012 at 10:03 AM,
You've hit https://jira.codehaus.org/browse/MRELEASE-128
It has been fixed and will be part of the next release.
Robert
Op Mon, 16 Apr 2012 23:31:11 +0200 schreef Jeff predato...@gmail.com:
I'm trying to share the SCM settings, primarly the SCM root URL, but
when I
perform a release, the
Hi everyone,
Especially since the most valuable single
bit of advice one can give a new Maven user is: if you don't do
things Maven's way, Maven will fight you and Maven will win.
I disagree that it is the most valuable single bit of advice. It is
repeated far too frequently, often in cases
On 17 April 2012 09:48, Curtis Rueden ctrue...@wisc.edu wrote:
Hi everyone,
Especially since the most valuable single
bit of advice one can give a new Maven user is: if you don't do
things Maven's way, Maven will fight you and Maven will win.
I disagree that it is the most valuable single
Hi,
How did you define checkModificationExcludeList?
-Robert
Op Tue, 17 Apr 2012 15:18:09 +0200 schreef frank.ja...@tolina.de:
I'm using the release plugin for tagging and branching on CVS projects.
Certain user-specific property files should not be taggeg nor branched,
so
I defined
You are not alone in that. Especially since the most valuable single bit of
advice one can give a new Maven user is: if you don't do things Maven's
way, Maven will fight you and Maven will win.
People extol the virtues of convention over configuration, but where is the
compact definitive
Especially since the most valuable single
bit of advice one can give a new Maven user is: if you don't do
things Maven's way, Maven will fight you and Maven will win.
I disagree that it is the most valuable single bit of advice. It is
repeated far
too frequently, often in cases
Good read.
Documentation can be much better, but I suppose it is up to us as community
members to make that happen. Maven isn't owned by anyone. The guys at Sonatype
have done a good job of posting various blogs. If anyone has the time and
desire I am sure she/he could pull many of these
Good read.
Thanks.
I think it says something that it has not been done yet. While everyone says
it would be great to have, clearly no one has felt strongly enough about it
(yet) to make it happen. It is more of a very nice to have than a hard and
fast
requirement.
I'm tackling the
As the most frequent author of the 2 comments mentioned below, I will
agree and disagree with Curtis' observations.
He is right that Maven is very powerful and flexible.
It is possible to make it do all kinds of interesting and useful things.
However, it is also very easy when starting with
I'm tackling the topic on my blog in upcoming weeks. The first thing
I'm going to talk about is how Maven expects all dependencies to be
handled via repositories, and how to make non-standard artifact types
work like this, such as custom assemblies, etc.
Good stuff sir. I tip my hat to you.
On 17/04/2012 2:37 PM, chad.da...@emc.com wrote:
Especially since the most valuable single
bit of advice one can give a new Maven user is: if you don't do
things Maven's way, Maven will fight you and Maven will win.
I disagree that it is the most valuable single bit of advice. It is repeated
On 17/04/2012 2:47 PM, chad.da...@emc.com wrote:
Good read.
Thanks.
I think it says something that it has not been done yet. While everyone says
it would be great to have, clearly no one has felt strongly enough about it
(yet) to make it happen. It is more of a very nice to have than a
Hi Dave,
From reading the documentation, I'm not quite following how to tell the
maven-nar-plugin to generate both 32 64 versions of my project's
artifacts.
The ImageJ2 project uses the maven-nar-plugin to build a cross-platform
launcher for our Java application.
We use gcc to build on
Hello,
I am experiencing problems while using substitution feature while
generating archetypes. Generally it works correctly except a case below:
- ABC__param1param2__/__param3__ second and third param are not
substituted. Instead, Maven complains that property '/' was not provided
Thanks
Hello,
My archetype-metadata.xml looks like this:
requiredProperties
requiredProperty key=aSystemType/
requiredProperty key=SystemType/
requiredProperty key=Entity/
requiredProperty key=Task/
/requiredProperties
fileSets
fileSet filtered=true
On 4/14/12 6:07 AM, Dennis Lundberg wrote:
Perhaps mvn site:site is having a problem because it is invoking mvn
compiler:compile rather than mvn compile? (mvn -X site:site seems to
suggest so).
mvn site:site invokes a goal on the site plugin
mvn site invokes a lifecycle phase
Try the
Curtis,
Thank you! That solution works great! We're off and running now. Yes, open
source communities are grand.
Cheers,
Dave Wolf
Java Architect
Gorilla Logic
-Original Message-
From: ctrueden.w...@gmail.com on behalf of Curtis Rueden
Sent: Tue 4/17/2012 12:57 PM
To: Maven Users
For the record, I ended recreating mvn release:perform with a shell
script that accepts commandline parameters instead of the
release.properties that Maven looks for.
Regards,
Daniel Serodio
Daniel Serodio wrote:
We have a Jenkins instance that I'd like to use to make releases, but
because
I have written a ContainerDescriptorHandler plugin for the Maven assembly
plugin. It works when the module that uses it is built 'standalone'. When
the module is built as part of a large multi-module project I see either
[INFO] : org.apache.maven.plugin.assembly.model.Assembly@13579e0
Assembly is
release:perform will fail if distributionManagement is not set.
Shouldn't release:prepare check for this field and fail it it's not set?
Regards,
Daniel Serodio
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For
Robert Egan wrote:
I have written a ContainerDescriptorHandler plugin for the Maven assembly
plugin. It works when the module that uses it is built 'standalone'. When
the module is built as part of a large multi-module project I see either
[INFO] :
Hi, Anders; thank you for your answer! I tried using useProjectArtifact
false, but it did not work.
Could you please supply me with an example of a executable
jar-with-dependencies?
Kind regards,
QL
On Tue, Apr 17, 2012 at 8:06 AM, Anders Hammar and...@hammar.net wrote:
I think the solution
M2.
I suppose I will have to figure out a way to make sure mine gets loaded
first. Are there any tricks out there for fooling the reactor?
On Tue, Apr 17, 2012 at 5:58 PM, Jörg Schaible joerg.schai...@gmx.dewrote:
Robert Egan wrote:
I have written a ContainerDescriptorHandler plugin for
I have a POM hat works correctly when it is the 'root' POM but fails to
resolve a dependency when it is invoked as a module from another POM.
How does one go about resolving an issue like this?
On 2012-04-17 9:12 AM, Mark H. Wood wrote:
On Tue, Apr 17, 2012 at 07:12:26AM -0700, Eric Kolotyluk wrote:
I also recommend taking the Sonatype training courses - especially if
you are a software architect.
There is a lot to be said when you can ask question as the instructor is
going over
Hello Robert,
My guess is that the other pom defines a repository which cannot be
accessed (e.g. due to security constraints). Having failing build output,
not to mention pom files themselves, would help a lot to better diagnose
root cause.
Regards,
Stevo.
On Apr 18, 2012 1:17 AM, Robert Egan
On 2012-04-17 9:48 AM, Curtis Rueden wrote:
Hi everyone,
Especially since the most valuable single
bit of advice one can give a new Maven user is: if you don't do
things Maven's way, Maven will fight you and Maven will win.
I disagree that it is the most valuable single bit of advice. It
On 2012-04-17 11:53 AM, Ron Wheeler wrote:
As the most frequent author of the 2 comments mentioned below, I will
agree and disagree with Curtis' observations.
He is right that Maven is very powerful and flexible.
It is possible to make it do all kinds of interesting and useful things.
Thanks
The real answer is that in the multi-module project, someone calls the
'standard' assembly plugin before I do (there are many other EARs, WARs and
JARs in the build). So it is the one in memory when the module that needs
mine is invoked. I need to find a way to insure that my assembly
On 18 Apr 2012, at 1:44 AM, Eric Kolotyluk wrote:
Often the wrong foot is simply not knowing how much Maven does for your for
free - because it is not obvious - especially when compared to tools like
Ant. When the free stuff is not obvious, we naively start trying to solve
problems we do
The real answer is that in the multi-module project, someone calls the
'standard' assembly plugin before I do (there are many other EARs, WARs and
JARs in the build). So it is the one in memory when the module that needs
mine is invoked. I need to find a way to insure that my assembly plugin
Thanks
But that's not my decision to make.
On Tue, Apr 17, 2012 at 9:38 PM, Wayne Fay wayne...@gmail.com wrote:
The real answer is that in the multi-module project, someone calls the
'standard' assembly plugin before I do (there are many other EARs, WARs
and
JARs in the build). So it is
I suppose I will have to figure out a way to make sure mine gets loaded
first. Are there any tricks out there for fooling the reactor?
I know of no tricks. You should talk to the owner of the other
module(s) using the assembly plugin and convince them to add your
handler into their
But that's not my decision to make.
M3 is vastly superior and almost completely backwards compatible. This
shouldn't be a very hard sell considering the variety of bug fixes
(such as this one) from M2.
Wayne
-
To unsubscribe,
I want to exclude the /resources folder from the release so it doesn't get
compiled into my .jar
If you can't sort out how to do this, you can always make another
project, depend on the output of this one, then unpack the assembly,
set your excludes there, and repack the assembly minus the
On Wed, Apr 18, 2012 at 2:20 PM, Wayne Fay wayne...@gmail.com wrote:
I want to exclude the /resources folder from the release so it doesn't get
compiled into my .jar
If you can't sort out how to do this, you can always make another
project, depend on the output of this one, then unpack the
HI John and Srinath,
Thanks for the reply.
We have 2 code bases which I would like to build in parallel. They are [1],
[2].
[1] https://svn.wso2.org/repos/wso2/carbon/kernel/trunk/
- Number of Java files : 4700+ (this is with out any generated
code)
- Modules: Entire
Thanks for the info Ramith. Was wondering why building them in parallel at
the root did not work but if its too much of details to mention about, its
ok.
But I have never built a subset of the modules in parallel. Building the
entire set of modules in parallel is what I have tried successfully.
58 matches
Mail list logo