Hi Everyone,
I am using antrun plugin to run ant task during generate-resources
phase. I was able to run the task
outside continuum but when I run from continuum. I am getting
classnotfound errors.. Is this bug in maven
or the plugin or continuum.
mvn version 2.0.3
continuum version 1.0.3
Techincaly speaking sure no relation ;-)
But I was just speaking about how maven handles dependencies in multi
modules build with reactors and how poms are rewriting for next dev
phase.
As MNG-1245 says, when a dependency is find in reactors (maven ignore
version whereas is forced in a module).
Hi Stefan,
Stefan Hübner wrote on Sunday, June 11, 2006 9:25 AM:
Hi all,
an issue has been created on this over at
http://jira.codehaus.org/browse/MECLIPSE-56, already. Fixing it
decently seems to be quite a hassle though, because maven doesn't care
much about pom.xml's encoding. at the
I have a set of modules and each module has its own independent
repository. As an example top level module A contains modules B and C.
When I attempt to execute mvn scm:checkout on A it tries to checkout
files for A (and I assume subsequently it would try to do the same for
B and C). However
After pointing pluginsrepository to codehaus, I did mvn install and
then mvn findbugs:findbugs. But I am getting the following error:
mvn findbugs:findbugs
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'findbugs'.
[INFO]
Any suggestions on this. This problem is really bugging me.
On 5/22/06, Kanakambaran Nair [EMAIL PROTECTED] wrote:
This issue is solved when module C is given as a dependency in the
project.xml of module A. I do not understand why this works, because A
does not have any compile time
I use this setup which works for me (Idea 5.1 / Maven 1.0.2) and looks
like it covers what you want:
Put the appropriate log4j.properties file in:
1. main/resources
2. test/resources
3. test/java
(plus the relevant resource location definition in the pom for 1 2)
So for me 3 always gets
Hello,
With mvn -o it is possible, to prevent updates entirely.
Now say i want to prevent updates for a specific plugin (junit for
example) only.
How do i achieve this, i.e. which pom change(s) do i need?
Thanks and best regards
Franz
lock down your plugins thru pluginManagement in your root pom
http://maven.apache.org/ref/current/maven-model/maven.html#class_pluginManagement
-D
On 6/12/06, Franz Fehringer [EMAIL PROTECTED] wrote:
Hello,
With mvn -o it is possible, to prevent updates entirely.
Now say i want to prevent
Kanakambaran Nair wrote on Monday, May 22, 2006 8:11 AM:
This issue is solved when module C is given as a dependency in the
project.xml of module A. I do not understand why this works, because
A does not have any compile time dependency on C.
Are you sure? Do you make usage of classes that
As part of a multi-project build, I have defined a profile/ in my
*parent* pom. I would like this profile to be switched on for some of
the sub-projects (my GUI components), and off for other subprojects (my
shared and server components).
In the example I've given, I want the profile to be
I will try something like this, thanks.
--
View this message in context:
http://www.nabble.com/Best-practices-for-multi-flavour-build--t1741483.html#a4826563
Sent from the Maven - Users forum at Nabble.com.
-
To unsubscribe,
Hi,
I have a project (Apache XML-RPC) with three subprojects (common,
client, server), each of which are building a jar file. The site is
created by the parent project.
Now I'd like to integrate the Javadoc's into the site. But how to do that?
Regards,
Jochen
--
Whenever you find yourself on
Hi Eric, Dan,
Thanks a lot for your support! I was thinking that I am too stupid to get this
straigt.
= I will try the workaround as proposed by Eric
= I will open a JIRA for maven-plugin-plugin
I agree, plexus documentation is bad - even with the book, there could be a lot
more material.
You could switch activation of your profiles to properties and define the
MyFaces with the 'not available' and the
reference-implementation wth the 'available' version.
Example:
profiles
profile
idmyfaces/id
activation
property
How are people updating their pom.xml files with version numbers from
say cruisecontrol?
We have two types of codelines (in perforce) here, project and release
lines. Everything starts out life as a project then over time one (or
more) projects can be integrated to a release line.
I'm
Not 100% sure on this, but what if you try to make 2 assemblies
here? the first one for the subsub-modules (inside the subparent)
and the second one with the result of the subparent (=assembly of
subsub-modules) and submodule?
Not sure on how to do this, but it seems kind of logical
I'm testing with SVN 413644, and I still can not get this to work with
authentication. Looking at my original post, are the username/passwords
supposed to be placed in settings.xml?
-Original Message-
From: Carlos Sanchez [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 07, 2006 2:48
On Mon, 12 Jun 2006 [EMAIL PROTECTED] wrote:
Hi,
I believe the workaround is unneccesary.
You just need to specify extensionstrue/extensions in the plugin
setion in the depending pom.
-- Kenney
Hi Eric, Dan,
Thanks a lot for your support! I was thinking that I am too stupid to get
this
I am having problems setting up the maven-proxy as a web application.
I have maven-proxy deployed in tomcat and it seems to be up and running.
I can navigate config and repository screens. If I copy files into the
local repository it uses I can also search for them.
I removed the Jakarta
Yes, http://maven.apache.org/guides/mini/guide-deployment-security-settings.html
On 6/12/06, Darren Hartford [EMAIL PROTECTED] wrote:
I'm testing with SVN 413644, and I still can not get this to work with
authentication. Looking at my original post, are the username/passwords
supposed to be
http://www.mvnrepository.com
Hi,
I have heard that Cactus plugin for Maven 2 is currently under development.
For us, it is the last peace of the puzzle for lossless migration from
maven 1 to maven 2.
Is there any alpha or beta version of maven 2 cactus plugin available?
Thanks a lot for the great job you are doing!
Vitaliy
On Mon, 12 Jun 2006 [EMAIL PROTECTED] wrote:
Hi,
I believe there's nothing usable yet, but I could be wrong. In the mean
time you could use the maven-antrun-plugin to call the cactus ant tasks.
It's not ideal but it'll help you migrate.
You could also take a look at
Hi,
I am trying to delete a project from Continuum.
I click the red cross, confirm that I want to delete the project and I
get the stack trace below.
Any ideas?
Also how does one delete a particular build?
We have many cases where Continuum thinks the build for a project is
still going,
On 6/12/06, Roland Asmann [EMAIL PROTECTED] wrote:
You could switch activation of your profiles to properties and define the
MyFaces with the 'not available' and the reference-implementation wth the
'available' version.
Thanks! This works perfectly. I made one small change, using the
I'm using the spring-mock plugin and also need the spring-jdbc, the
spring-jdbc is a dependency in the spring-mock pom but is set to optional
true. How do I set the spring-mock dependency to include the spring-jdbc?
--
View this message in context:
Be carefull with that, then you'd also need to add the value-tag for the
property, but I that's documented
pretty well I believe...
Roland
On Monday 12 June 2006 15:20, Wendy Smoak wrote:
On 6/12/06, Roland Asmann [EMAIL PROTECTED] wrote:
You could switch activation of your profiles to
On 6/12/06, Roland Asmann [EMAIL PROTECTED] wrote:
Be carefull with that, then you'd also need to add the value-tag for the
property, but I that's documented
pretty well I believe...
Right, that's what I meant. (I think.)
For MyFaces: name!jsf/name
For JSF RI: namejsf/namevalueri/value
No, I meant that you need one for the RI, just like you did. ;-)
I just said it, because in my example you could only have 2 profiles, since I
left the value out.
Roland
On Monday 12 June 2006 15:40, Wendy Smoak wrote:
On 6/12/06, Roland Asmann [EMAIL PROTECTED] wrote:
Be carefull with
Jonathan Tilley a écrit :
Hi,
I am trying to delete a project from Continuum.
I click the red cross, confirm that I want to delete the project and I
get the stack trace below.
Any ideas?
You have a lock in your working directory :
Caused by: java.io.IOException: Directory
On Mon, 12 Jun 2006, rebels_mascot wrote:
You have to manually add the spring-jdbc dependency to your pom.
-- Kenney
I'm using the spring-mock plugin and also need the spring-jdbc, the
spring-jdbc is a dependency in the spring-mock pom but is set to optional
true. How do I set the
Hi,
I have a problem when i run mvn site this is the log i obtain
C:\Maven_Repository\mavenPim\target\checkoutsite.bat
C:\Maven_Repository\mavenPim\target\checkoutcall clean.bat
C:\Maven_Repository\mavenPim\target\checkoutmvn clean
[INFO] Scanning for projects...
[INFO]
H- I get something similar:
[ERROR] BUILD FAILURE
[INFO]
[INFO] The skin does not exist: Unable to determine the release version
Try downloading the file manually from the project website.
Then, install it using the
Kenney,
The annoying warning is there even with extensionstrue/extensions.
BTW, lifecycle extension will not work at all if you dont have
extensionstrue/extensions specified thou
-D
On 6/12/06, Kenney Westerhof [EMAIL PROTECTED] wrote:
On Mon, 12 Jun 2006 [EMAIL PROTECTED] wrote:
Hi,
I
Better Builds With Maven , page 83 ,second bulleted paragraph
As you're compiling J2EE code you need to have the J2EE
specifications JAR in the project's build classpath. This is achieved
by specifying a dependency element on the J2EE JAR. You could instead
specify a dependency on Sun's J2EE
Correct. If a commonly required jar is not in ibiblio, its usually a
licensing issue.
On 6/12/06, Jeff Mutonho [EMAIL PROTECTED] wrote:
Better Builds With Maven , page 83 ,second bulleted paragraph
As you're compiling J2EE code you need to have the J2EE
specifications JAR in the project's
Hi Jörg,
2006/6/12, Jörg Schaible [EMAIL PROTECTED]:
Hi Stefan,
Stefan Hübner wrote on Sunday, June 11, 2006 9:25 AM:
Hi all,
an issue has been created on this over at
http://jira.codehaus.org/browse/MECLIPSE-56, already. Fixing it
decently seems to be quite a hassle though, because
I've managed to track this down. The profiles work correctly.
However, this bit is not working:
activation
file
existsplugin.xml/exists
/file
/activation
It is not looking for plugin.xml at ${basedir}/plugin.xml for each
sub-project as I'd expect. Instead, for each subproject
How can a maven2 plugin change the value of a
variable, which could be used then later by another
plugin?
The usage of System.get/setProperty is probably very
limited from a maven2 point of view.
Are there other options?
Thanks for any hints,
Tom.
There is one...
check it at cargo.codehaus.org
If you search for an example of use, the axistools archetype in the
mojo.codehaus.org sandbox's use it for testing.
Hope this helps.
Raphël
2006/6/12, Kenney Westerhof [EMAIL PROTECTED]:
On Mon, 12 Jun 2006 [EMAIL PROTECTED] wrote:
Hi,
I
hi!
I've got some strange behavior :
after building mine ant project I've got success status but in
output i see
deploy:
[delete] Deleting directory jboss-3.2.7\server\default\deploy\workflow.ear
BUILD FAILED
working-directory\1\build.xml:140: The following error occurred while
Hi Raphael,
2006/6/12, Raphaël Piéroni [EMAIL PROTECTED]:
There is one...
check it at cargo.codehaus.org
If you search for an example of use, the axistools archetype in the
mojo.codehaus.org sandbox's use it for testing.
[SNIP]
Do you meen the cargo-maven2-plugin? Does this actually help
Hi Kenney,
2006/6/12, Kenney Westerhof [EMAIL PROTECTED]:
On Mon, 12 Jun 2006 [EMAIL PROTECTED] wrote:
Hi,
I believe there's nothing usable yet, but I could be wrong. In the mean
time you could use the maven-antrun-plugin to call the cactus ant tasks.
It's not ideal but it'll help you
I must be ignorant, I am following that example, have settings in
settings.xml, using wagon-webdav-1.0-beta-1-SNAPSHOT from Subversion
today (6/12/2006), and still unable to authenticate (with a known
username/password that is tested on the WebDAV site that works fine with
other tools, as well as
You need to modify ant script.
http://maven.apache.org/continuum/faqs.html#how-does-continuum-detect-a-successful-build
Emmanuel
Maksimenko Alexander a écrit :
hi!
I've got some strange behavior :
after building mine ant project I've got success status but in
output i see
deploy:
I am using maven 2.0.4 and have been trying to do a release:prepare. I
have attempted to work through a number of options but am having trouble
connecting to my CVS repository for release:prepare (Note: scm:checkout
works just fine - the settings are identical for connection and
are you trying to deploy a snapshot? if so repository doesn't apply,
snapshotRepository does
Paste your pom else
On 6/12/06, Darren Hartford [EMAIL PROTECTED] wrote:
I must be ignorant, I am following that example, have settings in
settings.xml, using wagon-webdav-1.0-beta-1-SNAPSHOT from
You are using maven-release-plugin-2.0-beta-3, the current version is beta-4
which has lots of bug fixes since then
-Dan
On 6/12/06, Dhananjay Nene [EMAIL PROTECTED] wrote:
I am using maven 2.0.4 and have been trying to do a release:prepare. I
have attempted to work through a number of
Hi,
I try to use XDoclet with Maven 2 in order to generate Struts (v1.2.9)
descriptors (struts-config.xml and validation.xml).
All seems to be OK, but in the struts-config.xml file the form Bean section
is empty !
!-- == Form Bean Definitions ===
--
Are the beans getting generated by xdoclet?
---
Thank You
Mick Knutson
BASE logic, inc.
(415) 648-1804 (San Francisco, CA)
http://www.BASELogic.com
http://www.djmick.com
---
From: Rémy Sanlaville [EMAIL PROTECTED]
Reply-To: Maven Users List users@maven.apache.org
To: Maven Users List
I finally got the report working. It turns out that it has to do with
the forkMode defined in the maven-surefire-plugin configuration. If I
have it set to 'never', I get the problem I was seeing earlier. If I
set it back to 'once', the report generates correctly.
David
On 6/9/06 Doug
My pom.xml has been configured to checkout the project
${basedir}/target/checkout/source (I have configured the
checkoutDirectory for maven-scm-plugin). However release:prepare
continuously fails since the cvs update command does not contain the
directory where the project is checked out. The
I'm not sure how snapshotRepository impacts no credentials available
-- but it is not a snapshot, version16/version from the POM,
packaging is packagingpom/packaging as this would be the simplest
use-case. Again, based on the Debug:
[DEBUG] not adding permissions to wagon connection
Not sure
Marco Mistroni wrote:
i have anohter app (that uses seam) that has been tested using
Is that other app, that uses Seam also using Maven2 by any chance?
http://jira.jboss.com/jira/browse/JBSEAM-225
It looks like there will be no official Maven 2 jar for the ibiblio
repository.
This is my
After upgrading from 1.0.2 to 1.0.3 (via
http://maven.apache.org/continuum/upgrade.html), we are experiencing the
stacktrace below. Is this an outdated schema issue?
I saw two related responses in the archives (we don't know why and
nothing to do with Maven or Continuum) and a couple open bugs.
release:prepare is attempting an update. My assumption is that the same
is for ensuring that the source has not changed and thus it will need
need to know exactly where the source has been checked out earlier. Not
sure if I have made a mistake in understanding the process. The log
output is as
What version of release-plugin do yo use?
try to remove release.properties in your root dir and run mvn
release:prepare -DdryDrun -X
-D
On 6/12/06, Dhananjay Nene [EMAIL PROTECTED] wrote:
release:prepare is attempting an update. My assumption is that the same
is for ensuring that the source
well, if you can provide a use case then we'll take a look. With this
info I can't go further
On 6/12/06, Darren Hartford [EMAIL PROTECTED] wrote:
I'm not sure how snapshotRepository impacts no credentials available
-- but it is not a snapshot, version16/version from the POM,
packaging is
I am using release plugin 2.0-beta-4. The output of the command (after
deleting release.properties) follows :
--
[DEBUG] Using defaults for missing POM
javax.xml.bind:jaxb-api:pom:1.0.1:compile
[DEBUG]
cvs provider uses cvs update to check for your local modification(s),
however it fails.
You will need to trouble shoot they that command fails thou
-D
On 6/12/06, Dhananjay Nene [EMAIL PROTECTED] wrote:
I am using release plugin 2.0-beta-4. The output of the command (after
deleting
I'm surprised this hasn't been tested already. Again, from using Maven
DEBUG mode, it is NOT using authentication.
[DEBUG] not adding permissions to wagon connection
Use case:
Httpd.conf
===
# apache 2.2 w/ webdav
# manually w/ authentication this works fine.
Any jar can be uploaded to ibiblio, you just need to create an upload
bundle for it and enter a MAVENUPLOAD issue.
http://maven.apache.org/guides/mini/guide-ibiblio-upload.html
http://jira.codehaus.org/browse/MAVENUPLOAD
-Original Message-
From: Steve Lewis [mailto:[EMAIL PROTECTED]
It's not possible that this works for you at all.
Check an example here http://docs.codehaus.org/display/HAUSMATES/Maven+Guide
On 6/12/06, Darren Hartford [EMAIL PROTECTED] wrote:
I'm surprised this hasn't been tested already. Again, from using Maven
DEBUG mode, it is NOT using
Hi all,
this is kind of a best-practise-question about your habbits of using
the concepts of multi-project-super-pom.
First of all, are there distinctive terms commonly agreed upon for
each of those concepts?
Second, those two ways of using POMs appear to me to be orthogonal to
each other,
Hi,
The maven-proxy console report the following error while maven start
download from central repository:
---
2006-06-12 17:20:13,189 [WARN ] commons.httpclient.HttpMethodBase -
Credentials
cannot be used for NTLM authentication:
org.apache.commons.httpclient.UsernameP
Hi,
what is the status of the maven-changes-plugin? (See
http://maven.apache.org/plugins/maven-changes-plugin/howto.html
I can't get it working, which isn't too surprising, as the module is neither
ob ibiblio, nor in the snapshot repository, nor in the SVN. Or did I miss
something?
Someone must be using CC + M2, no?
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Monday, June 12, 2006 8:01 AM
To: Maven Users List
Subject: integration builds and version numbers
How are people updating their pom.xml files with version numbers from
say
Your statement what happened would imply that this worked in the
past but does not any more... Is this the case, or are you configuring
this proxy for the first time?
Assuming this is your first attempt at configuring the proxy, please
first realize that Commons HttpClient (and thus, Maven) does
For more info:
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
This page might need to be updated, as Sun has been recently releasing
code under the CDDL which does allow redistribution. They apparently
intend to release all of J2EE (nee JEE) under an open license, and
rename
If you drill down in the Central (ibiblio) repo and the Snapshot repo,
you will find a number of Archetypes, including j2ee-simple, webapp,
portlet etc.
http://www.ibiblio.org/maven2/org/apache/maven/archetypes/
Give them all a try and see what kind of directories, poms, etc are
created by each
Jochen Wiedmann wrote:
Hi,
what is the status of the maven-changes-plugin? (See
http://maven.apache.org/plugins/maven-changes-plugin/howto.html
I can't get it working, which isn't too surprising, as the module is neither
ob ibiblio, nor in the snapshot repository, nor in the SVN. Or did I
Hi Everyone,
I am using antrun plugin to run ant task during generate-resources
phase. I was able to run the task
outside continuum but when I run from continuum. I am getting
classnotfound errors.. Is this bug in maven
or the plugin or continuum.
mvn version 2.0.3
continuum version 1.0.3
Hi Margeret,
I am seeing similar problem but different scenario. I have added the
dependencies to antrun plugin, it runs the ant task but I run the same goal
from continuum, it fails with classnot found error..I ran the goal with -X
option to see what jars are added to the classpath.. I don't
I went to here to see how to let ant get to some maven classpaths:
http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html
I have a build.xml file that I run with this in my pom:
build
plugins
plugin
artifactIdmaven-antrun-plugin/artifactId
Hi all,
Since some weeks you can find a new page [1] with the list of commands to
upgrade your plugins (be careful that some plugins aren't compatible with
maven 1.0.x).
You can also find a new feed in the page [2] to be informed about new
releases of m1 plugins. This feed is available in the
On Mon, 12 Jun 2006, [ISO-8859-1] R�my Sanlaville wrote:
I see a lot of spaces in the POM, especially
includes=**/* Form.java
This might prevent the Form files from being detected.
-- Kenney
Hi,
I try to use XDoclet with Maven 2 in order to generate Struts (v1.2.9)
descriptors
On Mon, 12 Jun 2006, Lee Meador wrote:
Hi,
I can't reproduce this with 'inheritRefs=true'.
What do you have in your build.xml?
-- Kenney
I went to here to see how to let ant get to some maven classpaths:
http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html
I have a
I personally do more as you do.
I have team-wide super-POMs I have a primary one that has basic
url, issue management, etc. type settings. Then I have a core POM
with common dependencyManagment section to encourage use of the same
versions of Jar's to prevent incompatibilities, as well as
Hi Jochen,
You can integrate javadoc into the site by putting this in your parent pom:
project
...
reporting
plugins
plugin
artifactIdmaven-javadoc-plugin/artifactId
aggregatetrue/aggregate
/plugin
/plugins
/reporting
/project
The aggregate parameter specifies
On Mon, 12 Jun 2006, Stephen Duncan wrote:
Hi,
I'd thought I'd throw in a pair of $0.01..
Using the aggregating POM as the parent pom implies that the projects
are structured in a directory structure matching the child-parent
relationship. That means that the child-parent relationship is the
Hi all,
I have tried Kieran's solution myself; it works fine as long as the profiles
are defined in the same POM that contains the variables that need to be
injected.
In other words –still using Kieran's example- if you define:
profile
iddev/id
[…]
properties
There is another I know:
http://www.mvnregistry.com/
Both seem to do their job well...
Regards,
Subhash.
On 6/12/06, cameron101 [EMAIL PROTECTED] wrote:
http://www.mvnrepository.com
--
Regards,
Subhash Chandran S
Cross platform OpenSource Java based file encryption software:
Maria Odea Ching wrote:
The aggregate parameter specifies that all the generated javadocs of the
different modules will
Thanks for the hint, Odea. Indeed, that seems to work.
For the record, I had to force using the latest version of the javadoc
plugin by adding a version2.0/version.
Jochen
Hi all,
I would like to know the proper way to run in-container integration/unit
tests for applications built/tested using Maven. I have tried to run
jetty6:run before the test phase but it does not start as a daemon or forked
so Maven never continues to finish running the rest of the
Problem:
Exist module with dependencies. Gathered assembly with included dependent
jars. Problem, that have no idea how to sign assembled jar. I can sign jar
with maven-jar-plugin, but not with maven-assembly-plugin. Apreciate any
ideas. May be there exist any other way to solve problem?
best
86 matches
Mail list logo