Hi,
Should i be able to do a release:prepare
from a parent project ?
If the parent project does not have
a snapshot version number, then it will fail.
But if the parent has a snapshot number
then it will fail when it runs the release:prepare
at the child project because it can't
release due to
I don't.
parent pom
--
groupIdsedamit-parent/groupId
version1.0/version
nameSedamIT Reactor/name
artifactIdreactor/artifactId
packagingpom/packaging
build
sourceDirectorysrc/sourceDirectory
resources
resource
directorysrc/directory
excludes
Hi, I asked a question about embedder few days ago, but I didn't get any answer, so I suppose it is
a bug.
Anyway, I think it is very important to get maven embedder working. Everyone
will benefit form it.
Maven developers will have more time because there will be less questions on mailing
Hello to all!
On my PC installed 2 JDK, 1.4.2 and 5.0. How should I point a path for maven
2 to use 5.0 JDK?
Thanks for your responses!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Set the JAVA_HOME environment variable.
On windows it's with config panel/system/?/environment variables.
Eugene Kirin wrote:
Hello to all!
On my PC installed 2 JDK, 1.4.2 and 5.0. How should I point a path for maven
2 to use 5.0 JDK?
Thanks for your responses!
--
With kind regards,
Geoffrey
The machine has no internet connection its on a closed network, should
it still not reference the local plug-in store?
I have another problem when trying to install on window I get this when
I try to run
mvn --version
ERROR: M2_HOME is set to an invalid directory.
M2_HOME =
Hi,
it took me some time to figure this out, so it seems worth sharing.
Jochen
--
Often it does seem a pity that Noah and his party did not miss the
boat. (Mark Twain)
Maven Debugging HOWTO
===
When looking for bugs in Maven itself or plugins, it saves a real lot of time,
if
No, it is possible.
Just declare your dependencies in the parent pom (directly into dependencies
not in dependencyManagment) and they will be inherited in all subproject.
Could be usefull for some libraries like junit or log4j used accross all
modules of an entire product.
From: [EMAIL
Carlos Sanchez wrote:
What patch are you talking about? I'm using it and works fine
http://jira.codehaus.org/browse/MAVENPROXY-36
Otherwise it is just annoying to replace broken elements from your local
repo. Or worse, once M2 learns about updated hashes, the proxy would
eliminate the
One thing that's preventing me from moving from Forrest to Maven is
the lack of support for running the site - something like forrest
run.
In forrest, you can execute forrest run and it loads a jetty server
which generates and serves the requested page on demand. It also
reloads (and regenerates)
Not migration but integrating the forrest documentation in the maven
generated site with a report plugin.
Look at : http://jira.codehaus.org/browse/MOJO-129
- Olivier
-Message d'origine-
De : Bruno Aranda [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 21 décembre 2005 19:52
À : Maven Users
I can't set JAVA_HOME for java 5.0 because it used by java 1.4.2
Set the JAVA_HOME environment variable.
On windows it's with config panel/system/?/environment variables.
Eugene Kirin wrote:
Hello to all!
On my PC installed 2 JDK, 1.4.2 and 5.0. How should I point a path for maven
2 to use
I'm having distinct problems with the Antrun plugin for Maven2,
specifically with the inheritance of properties and environment
variables. With a simple test where the pom.xml calls a build.xml, which
then uses javac, Ant complains about not being able to find
com.sun.tools.javac.Main on the
Just change your JAVA_HOME in the terminal you use maven.
Personally when I work on a windows machine with multiple JDK installed, I
use batch script to set a clean environment before doing anything (at least
set a minimal PATH, and empty CLASSPATH and the correct JAVA_HOME).
Gilles
Hi,
Abbs, David A schrieb:
The machine has no internet connection its on a closed network, should
it still not reference the local plug-in store?
I have another problem when trying to install on window I get this when
I try to run
mvn --version
ERROR: M2_HOME is set to an invalid directory.
Hi all,
I have created an EJB using XDoclet, which builds fine as maven
ejb:install.
I wanted to create a separate client jar for the ejb interfaces, and
from the documentation I found, all that is required is to add this to
project.properties (maven 1.0.2):
maven.ejb.client.generate =
Hi Kevin,
-Original Message-
From: Kevin Galligan [mailto:[EMAIL PROTECTED]
Sent: jeudi 22 décembre 2005 20:19
To: users@maven.apache.org
Subject: multi module issues
Just wanted to comment quick on the message from Vincent (I just saw
this message for the first time...). I
I'm actively working on improving merging support in cargo for web.xml
and the container specific .xml files; also to support plugging in
strategies for merging other files that may be in your WARs (e.g.
struts-config.xml and other application specific items).
Some of it is committed to cargo,
Here is an example of doing wath you want, I think.
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
phasegenerate-test-sources/phase
configuration
tasks
We have many interdependent projects
here. When someone releases a project upon which many other projects
depend we need some way of knowing automatically which projects will also
need to be retested.
is there a m2 plugin that manages reverse
dependency lookups? For simplicity I am really mostly
Thanks, the system dependency worked a treat. I'm surprised that the
plugin needs it though...
Cheers,
Nick
-Original Message-
From: Scokart Gilles [mailto:[EMAIL PROTECTED]
Sent: 23 December 2005 12:24
To: Maven Users List
Subject: RE: [m2] Antrun / Javac
Here is an example of doing
Hi,
I've received the following exception while running mvn site on a
multi-module project (using maven from SVN):
java.lang.NullPointerException
at
Actually, I think this is a bug in the antrun Plugin. Ant, by definition,
should have system properties available to it -- such as the ${
java.class.path} property you require or ${user.home} or whatever.
In my local version of antrun I had to do the following fix in
Eugene Kirin wrote:
Hello to all!
On my PC installed 2 JDK, 1.4.2 and 5.0. How should I point a path for
maven 2 to use 5.0 JDK?
Thanks for your responses!
Do you mean running M2 with JDK 5 or just compiling with JDK 5? All answers
so far addressed the first question.
- Jörg
What exactly do you mean written in Ant??
Do you mean using Ant's Java Tasks directly from the Mojo Java?? That is
pretty easily done. There is info on using Ant from Java here
http://www-128.ibm.com/developerworks/websphere/library/techarticles/0502_gawor/0502_gawor.html
FWIW, what I've done is
I guess the questions was related to the announcement of the 2.0.1 release
(http://www.nabble.com/forum/ViewPost.jtp?post=1942776framed=y)
That says :
Also, some highlights associated with this release are:
* Site documentation improvements
* Support for mojos written in
Nice presentation, Thank you
-Original Message-
From: Franck de Bruijn [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 22, 2005 5:10 PM
To: 'Maven Users List'
Subject: Presentation on Maven 2
Hi,
I gave a presentation on Maven 2 for the yearly Java conference held
within our
Chris Berry wrote:
Greetings,
I am converting an m1 project to m2. Unfortunately I am getting different
behavior in the test phase of the build. In m1, of course, it all runs fine.
But under m2 (i.e. surefire) when my test accesses the Internet, it is has
Proxy issues and fails, and when I work
Hi All,
Can somebody please provide me the resolution/status of the following
issues?
Issue 1) http://jira.codehaus.org/browse/MPIR-3?rc=1
Issue 2) http://jira.codehaus.org/browse/MCLOVER-5?rc=1
Thanks,
Miral
-
To
Hi Miral,
-Original Message-
From: Shah, Miral [mailto:[EMAIL PROTECTED]
Sent: vendredi 23 décembre 2005 16:45
To: Maven Users List
Subject: Clarification on issues in JIRA
Hi All,
Can somebody please provide me the resolution/status of the following
issues?
Issue 1)
On 12/23/05, Patrick O'shea [EMAIL PROTECTED] wrote:
Hi,
Should i be able to do a release:prepare from a parent project ?
Yes, parent and sub projects must be in snapshot state.
If the parent project does not have a snapshot version number, then it will
fail.
But if the parent has a
Chris, can you file a JIRA and send the patch in? ;-)
On 12/23/05, Chris Berry [EMAIL PROTECTED] wrote:
Actually, I think this is a bug in the antrun Plugin. Ant, by definition,
should have system properties available to it -- such as the ${
java.class.path} property you require or
Is there a way to run a single junit test case in maven 2?
Raymond Ritz
if there isn't I will have to write it I guess, I want to reuse it for
Netbeans IDE M2 integration..
Milos
On 12/23/05, Raymond N. Ritz [EMAIL PROTECTED] wrote:
Is there a way to run a single junit test case in maven 2?
Raymond Ritz
mvn -Dtest=MyTest test
Note: MyTest is your java test class.
Note: Use it unqualified -- without its package name (e.g. without
com.myco.) otherwise, this confuses m2
On 12/23/05, Raymond N. Ritz [EMAIL PROTECTED] wrote:
Is there a way to run a single junit test case in maven 2?
Raymond
Thanks Chris. This works. I have previously tried the mvn test
-dtest=xxx.yyy.classname . do you know why this approach was chosen? This
seems strange to me, but I may not know why this was done.
Thanks
Ray
-Original Message-
From: Chris Berry [mailto:[EMAIL PROTECTED]
Sent:
I am migrating m1 to m2, and am trying to build the site with all the reports I
have been using in m1 and the build is complaining that I use reporting /
instead of reports /
Thanks
Mick Knutson
Trying to build a WAR file from a non-standard directory structure.
projectA
- src
- Web Content
- images
- javascript
- theme
- WEB-INF
- lib
- web.xml
Here is the relevent portion of my pom.xml
Plugins are released separately. The reports have not been released recently.
- Brett
On 12/24/05, Shah, Miral [EMAIL PROTECTED] wrote:
Thanks a lot, Vincent. Issue #1 is shown as fixed in JIRA but it still can
reproduce the issue with Maven 2.0.1. Any ideas?
Thanks,
Miral
212-904-2014
On 12/24/05, Chris Berry [EMAIL PROTECTED] wrote:
FWIW, what I've done is create a specialized Mojo that allows you to create
an Ant build.xml and then build a reusable Mojo that use it. I submitted
this into JIRA, but don't know if its been integrated yet. You can get the
code here (its
Hi,
Can someone post a working ejb and hibernate xdoclet project or archetype?
Thx
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
this is very helpful ...
mvn projecthelp:effective-pom
and start from this output to make your modifications.
On Friday 23 December 2005 21:04, [EMAIL PROTECTED] wrote:
Trying to build a WAR file from a non-standard directory structure.
projectA
- src
- Web Content
I don't know why. It could be a bug??
Happy Holidays,
-- Chris
On 12/23/05, Raymond N. Ritz [EMAIL PROTECTED] wrote:
Thanks Chris. This works. I have previously tried the mvn test
-dtest=xxx.yyy.classname . do you know why this approach was
chosen? This
seems strange to me, but I may not
43 matches
Mail list logo