Hi,
I have a plugin that needs to be executed either
1) after the maven-release-plugin's scm-tag phase but before the
scm-commit-development phase OR
2) after maven-release-plugin:prepare
Option 1 is preferred as it would mean just 2 commits to the trunk
during release.
Option 2 would generate
I have a POM containing dependencies. I run some plugin goals which are not
bound to any lifecycle phase from this directory. Maven does not download
dependencies specified in POM. My requirement is to download all
dependencies specified in POM at this time. I understand that invoking mvn
install
What is the best way to deal with third party libraries that are not
released as maven 2 projects? I know about the install and deploy
plug-ins, but I am worried about dependency management. A lot of the
third party libraries we use have the following problems:
1) Some of the library's
Hi,
In Maven 1 we had a 'wrapper' plugin that executed standard maven goals and an
executable and also executed goals from our own custom made plugins through the
plugin.jelly. Our projects executed Maven 1 with the goal 'custom:buildAll' and
it was very easily changed.
What is the best way
Hi,
I want to add an entry in the manifest that contains the date in a
format of: mmdd
Can you give me an example of how to do it?
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
You are right Brian. Maven by itself takes care of uninstalled reactor
projects dependencies. But some of the plugins dont.
Installing projects in the local repo will ensure that all plugins will
resolve their dependency.
Hypothetically speaking, wont there be cases where installation /
And you were perfectly right, my integration tests compile now !! Thanks
a lot for your help.
For the record, I did as you advised me, that is :
- I added a foojar module and moved the source code from foowar
there
- I made foowar depend on foojar (the war is now built with a
foojar.jar in
On 5/21/07, Wayne Fay [EMAIL PROTECTED] wrote:
I'm not clear -- is this response not sufficient and you're asking for
more help, or do you have things working?
If you still need help, I'd suggest looking at example pom.xml files
for some open source projects to see how they have configured
Hello,
i already have CC running but actually my build seems not to start as CC
says that
the Build is Broken after 2-3 seconds.
I have mvn on the shell so I can invoke mvn install for example, after
that I start ./cruisecontrol.sh
and it starts with no failures. I already made an initial
Jon Strayer a écrit :
On 5/21/07, Wayne Fay [EMAIL PROTECTED] wrote:
I'm not clear -- is this response not sufficient and you're asking for
more help, or do you have things working?
If you still need help, I'd suggest looking at example pom.xml files
for some open source projects to see how
Hello,
In my POMs the version numbers are set according to local settings and
given CLI parameters. This works fine e.g. in the effective pom, but not
when installing or deploying the POM to the repository, the pom file is
just copied 1:1 to the repo, without any filtering. Why? Any
suggestions?
Hi,
I've a problem when I'm trying to compile a new version of my application.
fooApp_1.0 has 1905 files, and Maven compiles it right
dooApp_1.1 has 1985 files, and whenI try to compile it with Maven (btw, when
compiling with Eclipse works fine), I'm receive the following error:
Hi Pier,
The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError
not sure about the mem settings for the compiler plugin, but my
OutOfMemoryError problems disappeared when I set the MAVEN_OPTS environment
variable.
eg.
MAVEN_OPTS=-Xmx1024m
I have one doubt regarding remote deployment :
1) I am using cargo-maven2 plugin.
plugin
groupIdorg.codehaus.cargo/groupId
artifactIdcargo-maven2-plugin/artifactId
version0.3-SNAPSHOT/version
The project that I want to create consists of a single application library
relay-mailer.0.0.1.jar and several supporting libraries: log4j,
commons-logging, mail, activation, etc. There a couple of launch scripts too.
I have two goals that I am trying to reach. First is to copy the all the
thanks Jo, but it's not a maven 2 feature?
On 21/05/07, Jo Vandermeeren [EMAIL PROTECTED] wrote:
Hi,
If you are making multiple artifacts from one module, you should definitely
use classifiers for the build artifacts.
Otherwise, they get mixed up and you end up with garbage.
You can configure
I can't be sure without seeing more information about the specific
tests that are failing with the various options (lines of code that
are breaking) and the Surefire/JUnit debug/error logs with more
detailed info (from target/surefire-reports).
Can you provide that? Then perhaps we can help you
Have you tried the jboss-maven-plugin from Mojo project? I don't know
if it works better/different than Cargo, but perhaps its worth trying
out.
http://mojo.codehaus.org/jboss-maven-plugin/usage.html
Another way you can deploy your project would be to simply use the
normal JBoss deployment tools
I don't use CruiseControl, but surely there is a more detailed log
available that says something more than simply build is broken.
Find that log and the specific error/problem you're running into, and
perhaps someone here can help. But realistically, this is a better
question for the CC Users
I have added it as MNG-3004. I had a quick play to see if I could get it to
work - I created a POC that could build in parallel, but my threads don't
seem to have the requisite plexus gubbins in their classpath, and I'm not
sure how all that stuff works.
If someone could tell me how to fix that
I would like to verify that certain properties are set in my pom. If
the property is not set, I would like the build to fail. Is there a way
to do this with the enforcer plugin or with another plugin?
Thanks!
-
To
Switching to the JDK 1.5, I've got a detailed error ... ssomething really
strange:
The system is out of resources.
Consult the following stack trace for details.
java.lang.StackOverflowError
at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:297)
at
Hi Bram, thanks for your reply.
Yes, I did.
I tried with
-Xmx1024m -Xms512m and with
-Xmx1024m -Xms512m -XX:PermSize=128m -XX:MaxPermSize=256m
as I find in another thread, but it still not work.
I set them from command line and I also tried to modify the mvn.bat file too
.. still the same
On 5/22/07, Emmanuel Venisse [EMAIL PROTECTED] wrote:
Jon Strayer a écrit :
On 5/21/07, Wayne Fay [EMAIL PROTECTED] wrote:
I'm not clear -- is this response not sufficient and you're asking for
more help, or do you have things working?
If you still need help, I'd suggest looking at
Hi Everyone,
I need to create a website for the a mult-module project. The mvn site
command creates the html pages. Is there a way to list the modules as
links on your parent page?
Thanks for your help,
David
Yes, there is, see [1] and then the part of Including Generated Content.
Hth,
Nick S.
[1]http://maven.apache.org/plugins/maven-site-plugin/howto.html
[EMAIL PROTECTED] wrote:
Hi Everyone,
I need to create a website for the a mult-module project. The mvn site
command creates the html
Nick,
Thanks for you quick answer. When I put menu ref=modules / into the
body section of my site.xml, I get that header but none of the actual
modules. Do I have to enter them manually or should maven pull them for
me?
Thanks,
David
Nick Stolwijk [EMAIL PROTECTED]
05/22/2007 11:00 AM
Our (working) situation is as follows:
Project/
pom.xml (with modules/modules section)
src/
site/
site.xml (With menu ref=modules/)
module1/
pom.xml
src/
site/
site.xml
module2/
pom.xml
Hi All,
Any option to individually turn up the amount of memory for the PMD goal
during the site generation ?
Or should I just boost the whole maven process to use an indecent amount of
memory?
Thanks
regards
Jerome Thibaud
Not currently with the enforcer, but sounds like a good addition. The
enforcer is setup so you can write your own rules, so you should be able
to whip it up easily.
-Original Message-
From: Paul Gier [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 22, 2007 11:16 AM
To: Maven Users List
Are there any known ways to improve the performance of Continuum - as per
the issue below?
Issue 2 - Performance
--
Out of the box Continuum 1.1 appears much, much slower than 1.0.3. For
example, it takes 30 secs+ after I click MyBigProject to display the
contents of
OK...
First off, thank you Alexander for the suggestions.
Secondly, I realized what I was trying to do... I am trying to pass
in run-time configuration, and just like any consumer of my artifact,
I need to send in configuration.
So, I created a /src/test/config directory. In that directory I
Performance are fixed in alpha-2 that will be available in few days.
Emmanuel
Shaun Barriball a écrit :
Are there any known ways to improve the performance of Continuum - as per
the issue below?
Issue 2 - Performance
--
Out of the box Continuum 1.1 appears much, much
Ok guys...
Am I running against best practices here? Is that why this is so hard?
I have a simple-ish project. The project artifact is a WAR file. I
would like to Unit Test the code before it gets packaged, and I would
like to run Integration Tests after it gets packaged.
The Sonatype book
I've been running on continuum-20070502.03.tar
Will I be able to upgrade to the alpha-2 for the performance improvements
without having to re-add my projects? (We have over 70)
--Duncan
-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 22, 2007
Nick,
I believe it was the way my parent pom was set up. I have them listed
now. There urls are incorrect but it's progress. = ) Thanks for your
example and help!!
David
Nick Stolwijk [EMAIL PROTECTED]
05/22/2007 11:34 AM
Please respond to
Maven Users List users@maven.apache.org
To
Hi Advait,
How about:
mvn initialize myplugin:mygoal
(where you fill in myplugin and mygoal with your specific info)
Steve
Advait Trivedi wrote:
I have a POM containing dependencies. I run some plugin goals which are not
bound to any lifecycle phase from this directory. Maven does not
what kinda database are you using for it?
if its the embedded one you'll have to copy the right stuff around, if
its postgres or mysql it should just be a matter of pointing it at the
db..
jesse
On 5/22/07, McNaught, Ewen [EMAIL PROTECTED] wrote:
I've been running on
Maybe this'll work:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
version2.3/version
executions
execution
idsurefire-test/id
phasetest/phase
/execution
execution
To give you a hint with the urls: you haven't deployed your site. (mvn
site-deploy in combination with
pom.xml:/project/distributionManagement/site )
Hth,
Nick Stolwijk
[EMAIL PROTECTED] wrote:
Nick,
I believe it was the way my parent pom was set up. I have them listed
now. There urls
We have a good size multi-module build. To reduce the development cycle
time I would like to be able to say to Maven only include these modules
in the build. That way we could reduce the amount of time it takes to
build the project when testing only a single module. Is that possible?
Thanks,
Hi Advait,
Please read http://www.sonatype.com/book/writing-plugins.html and
especially the part about @requiresDependencyResolution requiredScope.
I guess, that would solve your problem.
Hth,
Nick Stolwijk
Steven Rowe wrote:
Hi Advait,
How about:
mvn initialize myplugin:mygoal
I will see if I can put together an example.
-Grant
On May 22, 2007, at 10:33 AM, Wayne Fay wrote:
I can't be sure without seeing more information about the specific
tests that are failing with the various options (lines of code that
are breaking) and the Surefire/JUnit debug/error logs with
Nick, et al...
Thanks for the suggestion...
But I have to ask a meta-question: how was I supposed to ever find
that myself...? It's nowhere in the Surefire plugin documentation...
I still don't even know that it will work, nor does the documentation
give any hint that it might.
And to bring
Thanks Emmanuel.
We're using the embedded database. Is it faster on MySql out of interest?
Regards,
Shaun.
-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: 22 May 2007 19:17
To: [EMAIL PROTECTED]
Subject: Re: User Interface Performance of 1.1
Performance are
With most of my problems with Maven it is a combination of:
- Better builds with Maven e-book [1]
- Sonatype e-book [2]
- The plugin documentation [3] [4]
- The Maven 2 IRC channel [5]
And offcourse, this userlist, maven 2 and plugins sourcecode
Hth,
Nick Stolwijk
[1]
Hi Richard,
As far as I know, Maven does not have direct support for what you want.
But lots of people have been asking for just this functionality recently.
See http://www.nabble.com/Specify-a-dynamic-profile-t3754208s177.html
for a discussion of some workarounds.
Steve
Richard Allen wrote:
I'm trying the portlet archetype for the first time and I'm getting an error
when I run it. See below:
[ERROR] BUILD ERROR
[INFO]
[INFO] Error creating from archetype
Embedded error: Error reading POM
start tag not allowed
Ok, trying to run mvn site:stage -DstagingDirectory=C:\fullsite and it
wants site information in the distribution management section of the pom.
Should I put C:\fullsite in there?
Thanks,
David
Nick Stolwijk [EMAIL PROTECTED]
05/22/2007 01:33 PM
Please respond to
Maven Users List
A workaround for this 'problem' could be to specify a couple (a lot?) of
profiles, that contain the modules you need to combine. You can then run
maven with the selected profiles, building only those modules you declared in
the profiles.
Personally, I'd at least make sure that all modules that
I found an example of what I mean. It's one of our first m2 try-outs which
used a flat directory-structure, but it serves well enough as an example.
?xml version=1.0 encoding=UTF-8?
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
Nevermind. I got it.
Thanks,
David
[EMAIL PROTECTED]
05/22/2007 03:14 PM
Please respond to
Maven Users List users@maven.apache.org
To
Maven Users List users@maven.apache.org
cc
Subject
Re: Generating a website for a multi module project
Ok, trying to run mvn site:stage
Looks like that archetype has some issues. The pom.xml file inside the
Jar in both 1.0 and 1.0-alpha-4 has what appears to be a cut and paste
error.
I'm not sure who exactly made that archetype, but you should check
JIRA and see if an issue is already open, and if not, file a new issue
for this
I have same problem and I didn't find the solution yet.
--
View this message in context:
http://www.nabble.com/Problem-with-plugin-dependencies-in-multi-module-projects-tf3637246s177.html#a10752642
Sent from the Maven - Users mailing list archive at Nabble.com.
Based on this information http://maven.apache.org/settings.html
http://maven.apache.org/settings.html http://maven.apache.org/settings.html
http://maven.apache.org/settings.html
I thought that variables and variable expansion would be available anywhere in
a POM _and_ settings files?
Is this
Hello all,
I have been struggling with the maven-assembly-plugin because of a
problem that seems to have been around for some time (or so I
understood).
My project structure is:
- peanutspom
- charliejar
- snoopyjar
- linuspom
- linus-corejar
Ok, so the noob is getting closer. I found that the assembly plugin is my best
bet, but still struggling to get it configured correctly. I started with the
'jar-with-dependancies' descriptor but that gave me a jar with all dependancies
repackaged.
I really want to see a zip file containing
Hi
All i'm trying to maven-build number in assembly
like when i create project.zip file from assembly:assembly goal i want to
append a buildNumber from maven-buildnumber-plugin
my jar files getting created fine like project.jar_r100
but in my zip file the {buildNumber}value is not being
On 5/22/07, Raghurajan Gurunathan [EMAIL PROTECTED] wrote:
but in my zip file the {buildNumber}value is not being replaced
Try either $buildNumber or ${buildNumber} instead.
--
Wendy
-
To unsubscribe, e-mail: [EMAIL
i'm sorry in my previous main i mentioned it has wrong
project_r${buildNumber}, thats how i'm using it
its a typo in my previous email
Thanks,
Raghu |
Wendy Smoak [EMAIL PROTECTED]
05/22/2007 11:16 PM
Please respond to
Maven Users List users@maven.apache.org
To
Maven Users List
Oops. Sorry about the ambiguous title in my previous post... I changed
it to something more communicative.
Lasse
On 5/23/07, Lasse Koskela [EMAIL PROTECTED] wrote:
Hi,
I'm trying to convert the open source JUnit extension called JspTest
to use Maven2 for the build and I'm running into trouble
Hi,
I'm trying to convert the open source JUnit extension called JspTest
to use Maven2 for the build and I'm running into trouble with how
Maven's Surefire test runner plugin seems to hide the classpath from
the executing code.
The issue stems from the need for a unit test to be able to compile
Wendy,
What protocols does the URL support? Does it have to be HTTP or
can FTP work? Just peeking around there's a FTP plugin for Perforce
which could provide access to the poms.
Thanks again!
Regards,
Randall
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
On 5/22/07, Randall Fidler [EMAIL PROTECTED] wrote:
Projects are sitting inside Perforce - would you use the
Perforce web interface to expose the pom? The Perforce web setup is
basically the normal p4 client but web implementation (from my little
experience with it).
If you can get a
Hi Emmanual et al,
After a few hours migrating our 15 plus projects to Continuum 1.1 we now
have everything up and running. I've been impressed with 1.1 (great work).
2 issues thus far:
Issue 1 - Do we delete Project sub-modules?
Consider the
On 21/05/07, Emmanuel Venisse [EMAIL PROTECTED] wrote:
You must readd all projects
Is there no planned upgrade path from 1.0.3? We have 400+ projects in
1.0.3 and would like to upgrade to 1.1 - obviously this will take a
few man years if done manually..
Cheers,
Mark
On 22/05/07, Emmanuel Venisse [EMAIL PROTECTED] wrote:
We'll probably do one but not for 1.1-alpha-*
Okay cool, we'll wait until then thanks.
Mark
Hi all,
Where can I find Build fresh option description ?
Another question is how can I configure continuum to make CVS update before
building (as deafult in 1.0.3 version) ?
regards,
Christophe
It's better to keep modules in continuum for build order resolution.
Later, we'll add the possibility to add new dependencies on projects, so
modules will can be removed.
Emmanuel
Shaun Barriball a écrit :
Hi Emmanual et al,
After a few hours migrating our 15 plus projects to Continuum 1.1
We're using the default db.
-Original Message-
From: Jesse McConnell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 22, 2007 12:29 PM
To: continuum-users@maven.apache.org
Subject: Re: User Interface Performance of 1.1
what kinda database are you using for it?
if its the embedded one
fyi
once the maven-scm release is out, I'll be preparing this alpha-2 release..
just wanted to let everyone know
jesse
On 5/14/07, Emmanuel Venisse [EMAIL PROTECTED] wrote:
Trygve Laugstøl a écrit :
Jesse McConnell wrote:
May 21 is fast approaching and that when I want to get the alpha-2
Hello,
Sorry if this has been asked before, but here goes...
When providing Continuum with a Maven POM via URL, what URL? POM's
sitting on a local Maven repository? The pom which is located in/on the
projects website (i.e. website generated by site goal in maven)? Where
is
On 5/22/07, Randall Fidler [EMAIL PROTECTED] wrote:
When providing Continuum with a Maven POM via URL, what URL? POM's
sitting on a local Maven repository? The pom which is located in/on the
projects website (i.e. website generated by site goal in maven)? Where
is this POM located? Also,
Hi Wendy,
Projects are sitting inside Perforce - would you use the
Perforce web interface to expose the pom? The Perforce web setup is
basically the normal p4 client but web implementation (from my little
experience with it).
Thanks for the reply.
Regards,
Randall
-Original
74 matches
Mail list logo