Ok, subscribe to maven-scm list and we'll help you to understand/implement pvcs
provider.
I don't know if PVCS provide a java api, but if it isn't open sources, i prefer you use command line
for PVCS calling.
Emmanuel
Ryan Wynn a écrit :
On 1/6/06, Emmanuel Venisse [EMAIL PROTECTED] wrote:
Hi,
Currently, I dont think that we can configure the deployment descriptor
path, Please file a jira issue if not yet existing.
Thanks,
-allan
Stefan Rademacher wrote:
Hello,
thank you. I already had this code in my POM but the packaging was set
to jar. Now I changed it to ejb and it
mvn clean:clean -e -X gives me
[ERROR] BUILD ERROR
[INFO] -
---
[INFO] The plugin 'org.apache.maven.plugins:maven-compiler-plugin' does not
exist or no valid version could be found
Any suggestions where to look? I get more
Hi,
Those solutions looks OK for any resources _except_ for web.xml
Indeed I seem to me that in the package phase the original web.xml file
is copied in the target directory, overiding the one that has been
previously filtered.
Anyway this leads me to wonder if I am going in the right
Hi,
Please refer to this link
http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIresolvethe%22%3Cpluginname%3Edoesnotexistornovalidversion%22error%3F
-allan
Torbjørn Smørgrav wrote:
mvn clean:clean -e -X gives me
[ERROR] BUILD ERROR
[INFO]
Hi,
This actually works, thanks!
What is annoying, is that the commons-logging is required by multiple
dependencies of the ear. So I have to put an exclusion in each dependency.
Edwin
-Oorspronkelijk bericht-
Van: Alexandre Poitras [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 5
-Original Message-
From: Laurent Berteau [mailto:[EMAIL PROTECTED]
Sent: Friday, January 06, 2006 9:33 AM
To: Maven Users List
Subject: Re: RE : [m2] war plugin and resources filtering
Hi,
Those solutions looks OK for any resources _except_ for web.xml
Indeed I seem to me that
Hi,
An other solution is to use antrun-plugin (attached to phase
process-classes).
But this attachment is not very good (I like to have a phase executed
just before package process-package-resources), because all of this jobs
are made when I run junit tests.
For few resources, I don't need to do
Hello
i have a multimodule project (actually, 2 modules). I wanted to have sources
of dependency jar to be usable within eclipse, so I issued:
mvn -Declipse.downloadSources=true eclipse:eclipse
it created .classpath and .project for both modules, and in my local
repository it downloaded sources:
On 05.01.2006, at 22:31, Adam Altemus wrote:
Greetings, my name is Adam Altemus. I am a computer science student @
Indiana University of PA. and am doing an internship. I read in a
thread that you said that you can acess environment variables in
the pom.xml
from the settings.xml. Could
I know Im behind a http cache... is that the same as a http proxy?
An other observation:
Maven doesn't even try to lookup the remote repository (I think).
But if I hack the DefaultArtifact version to match the version
in my local repository (and not RELEASE), it tries to download that version.
T
I filed a JIRA issue with xmlbeans:
http://jira.codehaus.org/browse/MOJO-222
John Wells (Aziz)
[EMAIL PROTECTED]
-Original Message-
From: Napoleon Esmundo Ramirez [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 05, 2006 10:04 PM
To: Maven Users List
Subject: Re: xmlbeans plugin
Hello Aramirez,
I already received a reply on my question. The given solution was to
specify the destDir attribute of deploymentdescriptor. This works
fine, I just thought there might be a better solution (e.g. generating
the deployment descriptors to generated-sources/xdoclet and moving them
To make it work you need to add this dependency
dependency
groupIdstax/groupId
artifactIdstax/artifactId
version1.1.1-dev/version
scopecompile/scope
exclusions
exclusion
artifactIdxmlbeans-jsr173-api/artifactId
groupIdxmlbeans/groupId
Christopher Cobb wrote:
-Original Message-
From: Dennis Lundberg [mailto:[EMAIL PROTECTED]
It's defined in your pom.xml.
http://maven.apache.org/guides/introduction/introduction-to-the-pom.html
http://maven.apache.org/maven-model/maven.html#class_scm
Thanks for those URL's, although
I am trying to configure a plugin with dependencies.
According to the current project descriptor document
(http://maven.apache.org/maven-model/maven.html), I should do the
following:
project
build
plugins
plugin
groupId/
artifactId/
dependencies
Yeah I know but I think the problem comes more from having
dependencies already shipped with JBoss. I mean it's great when you
don't use a program to handle your dependencies but with Maven they
have no use. I would probably get ride of them anyway, with or without
Maven since the handling of
Could you please send me your dependency tag for the plug-in?
Thanks,
Sandeep
-Original Message-
From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 05, 2006 3:07 PM
To: Maven Users List
Subject: Re: NullPointerException while running mvn site:site
I confirm : svn has
Hi,
what happened to the maven-antfile-plugin? I can't find it anywhere... I
figured it provides the possiblity to use ANT as mojo language, but the
whole thing is a little unclear to me. My attention was raised by the
2.0.1 annoncement, and then I found this on the mailinglist:
-Original Message-
From: Michael Böckling [mailto:[EMAIL PROTECTED]
Sent: Friday, January 06, 2006 1:56 PM
To: Maven Users List
Subject: Support for mojos written in Ant
Hi,
what happened to the maven-antfile-plugin? I can't find it anywhere... I
figured it provides the
Hi,
Excellent! It works!
On our local network everything has been running smoothly since early
2.0-beta releases, but we have experienced problems on slow network
connections (repo in Oslo, Norway, client in Manila, Philipines).
Our repo is on a Linux machine. File permissions have been set
One solution is to add all your directories to the maven-compile-plugin
like this:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
version2.0/version
configuration
includes
include
implementation=java.lang.String../src/**/*.java/include
hello,
i don't know if i'm right here, but i didn't know where else to go.
so please give me some hint, where to go, if this list isn't right for
my question.
question:
i have one little project (using netbeans 4.1) with jsps, servlet and
class to manage logging-in and user checking. now i
Below is an example of how I've used Sun's XJC Ant task from Maven. The
sourceRoot tag is how I added the generated .java files to the sources
that are compiled. I also moved the generated non-java files to the
resources directory so that they would get included with the artifact
(JAR, WAR,
Antrun has two extra config options:
sourceRoot/sourceRoot
testSourceRoot/testSourceRoot
That you can use to add a directory to either the src path or test src
path. (testSourceRoot requires antrun 1.1 released on wednesday)
Dan
On Friday 06 January 2006 08:04, Jens Zastrow wrote:
Hi,
i
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdxdoclet-maven-plugin/
artifactId
executions
execution
I have tried to put in touch a person from this list (Kaare Nilsen) that
had made a 80% functional test-ng prototype plugin with Cedric Beust
of TestNG and they exchanged these mails, as they were only between the
four of us perhaps you'd like to follow up on it:
Cedric:
Hi Srepfler (and
I got it working, take a look at the test6
On 1/5/06, dan tran [EMAIL PROTECTED] wrote:
OK the IT test1 works, I now use it as a base to test if I can load antlr
task. It fails not able to load antlr task
It seems like antrun is not able to find the entry into the antlr ant task.
Your help
It depends on what you have in your dependencies section. Usually you
would add them to the plugin dependencies (if they're only used at
build time)
On 1/5/06, Brian E. Fox [EMAIL PROTECTED] wrote:
Is there something fundamental that I need to change between 1.0 and
1.1? I just updated because
Olivier Lamy wrote:
Perso, I use xdoclet plugin to generate it and configue the war plugin :
webXml${basedir}/target/xdoclet/web.xml/webXml
Sounds good to me.
Thanks!
--
Laurent
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Here's an issue on this topic: http://jira.codehaus.org/browse/MNG-1525.
The ability to reference environment variables appears to have been
added to plexus-utils, but I haven't had the time to check it out yet.
I'm not sure how environment variables can be referenced, probably
either
-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED]
With the changes you *can* now do this in the jar-plugin: ...
to achieve what you are doing, you *can* also use a custom
assembly descriptor, ...
I think he was saying that its not just a matter of what *can* be done,
On 1/7/06, Christopher Cobb [EMAIL PROTECTED] wrote:
I think he was saying that its not just a matter of what *can* be done, it's
a matter of things just working. The constellation of maven plugins
should be set up so that you *normally* don't have customize a descriptor
over here to make
Hi,
Is there an issue with release:prepare
when running against multiple projects ?
I'm running this against a parent project
with two child projects.
When release:prepare runs from the
parent project it runs correctly against the first child project
and updates the version numbers in
the poms
Hi,
I have a question regarding the dependencyManagement section in the
pom.xml files. When I have several dependencies and there are conflicts
in the transitive dependencies (e.g. commons-beanutils-1.6.1 and
commons-beanutils-1.7.0) I thought I could specifiy the version to use
in the
Hello all and I wish happy new year for all of us,
I use the maven webapp archetype to create my mini-test project . So
I get the maven project standard layout . I execute mvn package
without changing anything everything is all right. Now I rename webapp
to webcontent like on wtp project ,
Thanks Carlos, the secret is ant-antlr, i did not define that
-D
On 1/6/06, Carlos Sanchez [EMAIL PROTECTED] wrote:
I got it working, take a look at the test6
On 1/5/06, dan tran [EMAIL PROTECTED] wrote:
OK the IT test1 works, I now use it as a base to test if I can load
antlr
task.
Not as far as I know. What dependencyManagement allows if you to
specify in a parent pom the dependencyManagement section like you
wrote.
Then in a child that specifies that POM as it's parent, you can create
the followin dependency:
dependencies
dependency
Need to add configuration for the parameter warSourceDirectory in War
plugin.
http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html
Eric
On 1/6/06, Tom Joad [EMAIL PROTECTED] wrote:
Hello all and I wish happy new year for all of us,
I use the maven webapp archetype to create my
See also:
http://mail-archives.apache.org/mod_mbox/maven-users/200505.mbox/[EMAIL
PROTECTED]
HTH
Eric
On 1/6/06, Eric Jacob [EMAIL PROTECTED] wrote:
Need to add configuration for the parameter warSourceDirectory in War
plugin.
Thanks for so quick reply,I 'll follow suggestions.
Tom.
2006/1/6, Eric Jacob [EMAIL PROTECTED]:
See also:
http://mail-archives.apache.org/mod_mbox/maven-users/200505.mbox/[EMAIL
PROTECTED]
HTH
Eric
On 1/6/06, Eric Jacob [EMAIL PROTECTED] wrote:
Need to add configuration for the
Thanks Wendy. I finally realized the error of my ways. I was expecting
that src/test/resources would be put in the runtime classpath for
testing. Instead, I see that the contents of src/test/resources are
copied into the target/test-classes directory, which is already in the
classpath. My
I hate replying to myself.
Even more than that I hate what I have to report. I don't really believe it
myself but I saw it.
This morning I came in. My computer was still running all the same stuff
from yesterday. Eclipse was still running even.
I did some Google type research and then fiddled
So, I have a hierarchy of Maven builds.
I was hoping, that the site I generated from the top would contain links
to the sub-sites. Looks like that does not happen by default, all I get
from the top layer is a site that is about the top layer pom (not very
interesting, really).
So I wondered:
Lee,
We're going to be moving the Maven stuff around tomorrow. Over the
next few days we should be settling on the final layout. Some of the
unit tests do not work (as you discovered) but should be excluded from
the build (for the moment.)
Hopefully we'll get everything sorted out with lots of
Can the generated eclipse project be somehow told to be a Java Modelling
Project or UML 2.0, 1.4 Project, etc etc.?
Also, how can I say which project nature my project should be?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I don't have any dependency tag for the plug-in : it is declared in its
simplest form in my pom :
reporting
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-project-info-reports-plugin/artifactId
/plugin
/plugins
/reporting
or I did
Lee,
Disregard my email. ;-) I thought the message was to myfaces-users.
The two folders are next to each other in gmail. Sorry for the
confusion.
Sean
On 1/6/06, Sean Schofield [EMAIL PROTECTED] wrote:
Lee,
We're going to be moving the Maven stuff around tomorrow. Over the
next few
John Wells wrote:
So, I have a hierarchy of Maven builds.
I was hoping, that the site I generated from the top would contain links
to the sub-sites. Looks like that does not happen by default, all I get
from the top layer is a site that is about the top layer pom (not very
interesting,
I added this tag in my POMs. Still the error persists.
Your wrote :
I built and installed the plugin locally, and it works nicely
I don't have source on my machine. I am using Maven 2.0.1 (bin dist). How do I
go about getting this update?
Thanks,
Sandeep
-Original Message-
From:
Hi,
I'm finding myself doing a bunch of mvn install and mvn eclipse:eclipse
commands with my maven projects. I notice that when I execute these commands
maven searches the remote repository for jars that are already in my local
repo, it also searches the remote repo for jars that I know are
Hi,
I am building a web app using maven 2.0.
I have specified the following in my POM file:
build
plugins
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
phasegenerate-sources/phase
configuration
site.xml documentation is there :
http://maven.apache.org/guides/mini/guide-site.html
Emmanuel
John Wells a écrit :
So, I have a hierarchy of Maven builds.
I was hoping, that the site I generated from the top would contain links
to the sub-sites. Looks like that does not happen by default,
The following code in a Mojo:
or (Iterator i = project.getArtifacts().iterator(); i.hasNext();) {
Artifact a = (Artifact) i.next();
System.out.println(a.getFile());
}
Produces a list of artifact files if executed during the 'test' phase,
but not during the 'compile-sources'
Add this to your mojo's annotation to allow your mojo to see all
dependencies as if it is in test phase
@requiresDependencyResolution test
On 1/6/06, Allan Lewis [EMAIL PROTECTED] wrote:
The following code in a Mojo:
or (Iterator i = project.getArtifacts().iterator(); i.hasNext();) {
Folks,
Looks like plexus-archiver-1.3-SNAPSHOT is not available from
http://snapshots.maven.codehaus.org even though there are dated snapshots
there.
Any chance of getting this fixed in the CodeHaus snapshots repository?
Kind Regards,
John Fallows.
--
Author Pro JSF and Ajax: Building Rich
Patrick,
I usually perform a synch or compare before executing the
release:prepare. I agree that a failure or user abort during that goal
is not transactional in nature. I know that checkpoints exist in the
release.properties file, but I am not comfortable enough with them to
count on it
If you get a helpful reply, can you forward to me? I'm in the process
of abandoning jbuilder for eclipse because of maven. Would be nice if I
didn't have to.
John
-Original Message-
From: Srepfler Srgjan [mailto:[EMAIL PROTECTED]
Sent: Friday, January 06, 2006 12:03 PM
To: Maven
Hi All,
I using some antrun plugin, and i have this problem
lets say i have my local repository at C:\.M2 and my settings.xml has
entry like localRepository/.M2//localRepository
in my tasks i have some ant scripts steps, for one of them i want to add
all the jars localRepository as my class
Thanks - that did the trick. Set the dependency resolution to 'compile'
and I'm now able to get the JARs I need.
-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Friday, January 06, 2006 2:36 PM
To: Maven Users List
Subject: Re: [m2] Artifacts not available during the
http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html
Note the projectnatures property.
-Original Message-
From: Srepfler Srgjan [mailto:[EMAIL PROTECTED]
Sent: Friday, January 06, 2006 12:03 PM
To: Maven Users List
Subject: [m2] maven-eclipse-plugin and Borland
I'm trying to quickly ramp up and use Maven2 on my project. I'm familiar
with XDoclet and have used it with Ant previously. My team is bringing
Maven2 into the project and I'm tasked with moving our XDoclet stuff
over. However, I can't find any documentation that shows how to
configure
Example :
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdxdoclet-maven-plugin/artifactId
executions
execution
phasegenerate-sources/phase
goals
goalxdoclet/goal
/goals
configuration
So I have this:
modules
modulemaven/module
moduletools/module
modulemodules/module
/modules
And I was hoping the site generated from this top-level pom.xml would
contain links to the lower level modules. It does not.
Actualy, the lower level modules do not have their own associated
On 1/6/06, John Wells [EMAIL PROTECTED] wrote:
And I was hoping the site generated from this top-level pom.xml would
contain links to the lower level modules. It does not.
Brett has mentioned that support for the multiproject site should
reappear in Maven 2.0.2. You might want to try a
another thing I find handy is for projects where you prepare a ear file that
you don't want the internal war files to contain all their dependencies you
can set the scope of the jars in the top lvl depedency management section to
'provided' and then in the ear toggle them back so they get put in
I don't know of anything which does Xdoclet2. The plugin below is for
Xdoclet1.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, January 06, 2006 2:21 PM
To: Maven Users List
Cc: Maven Users List
Subject: Re: Using XDoclet2 Hibernate with Maven2
any one?
-D
On 1/5/06, dan tran [EMAIL PROTECTED] wrote:
There are 3 places to look for in this order
Command line
settings.xml
connectionUrl
However in maven-release-plugin, if user does not provide username
via command line (ie -Dusername=xyz),
username is default to system
well, it sounds like one to me
On 1/6/06, dan tran [EMAIL PROTECTED] wrote:
There are 3 places to look for in this order
Command line
settings.xml
connectionUrl
However in maven-release-plugin, if user does not provide username
via command line (ie -Dusername=xyz),
username is
Might not be a bug in the classic sense because maybe that was the
intention, but certainly not maven like behavior.
+1 for making it use servers section like everything else.
-Original Message-
From: Jesse McConnell [mailto:[EMAIL PROTECTED]
Sent: Friday, January 06, 2006 4:07 PM
To:
Yes, i think it's a bug. We must set username to ${user.name} if other places
don't set it.
Emmanuel
dan tran a écrit :
any one?
-D
On 1/5/06, dan tran [EMAIL PROTECTED] wrote:
There are 3 places to look for in this order
Command line
settings.xml
connectionUrl
However in
Sure, now that I _know_ it's out there, I found it under the following...
:-)
http://www.ibiblio.org/maven2/org/codehaus/plexus/plexus-archiver/
rather than...
http://www.ibiblio.org/maven2/plexus/plexus-archiver/
Thanks for the tip!
Kind Regards,
John Fallows.
On 1/6/06, dan tran [EMAIL
On 1/6/06, Emmanuel Venisse [EMAIL PROTECTED] wrote:
We need a contributor for PVCS support in maven-scm.
PVCS = Serena Dimension, right?
A user wanted to do it but he doesn't find the time for it, so the status is
not started.
Do you want help us to add it in maven-scm?
Emmanuel
Ryan
OK, JIRA is on the way
Thank your for all inputs
-D
On 1/6/06, Emmanuel Venisse [EMAIL PROTECTED] wrote:
Yes, i think it's a bug. We must set username to ${user.name} if other
places don't set it.
Emmanuel
dan tran a écrit :
any one?
-D
On 1/5/06, dan tran [EMAIL PROTECTED]
John Wells wrote:
Thanks.
That is good information.
Trying to ensure that all the sub-projects also had at least an
index.apl did not work. The top level project still has no links to the
lower level projects.
I think for now I'll try the 2.0.2 snapshot or just wait for 2.0.2.
When will
Brett:
Do you have a release date for the 2.0.2 version of Maven? The scp fixes
are great!
Mike
-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 05, 2006 8:43 PM
To: Maven Users List
Subject: Re: call for testers: scp wagon
scp is used, unless
I have been searching for this now for several days and have found
nothing, so I thought I would ask here. Is there a maven2 plugin that
supports building of Eclipse plugins, features, and update sites? Right
now we have several Eclipse plugins that are built into ZIP files that
can be unzipped
On 1/6/06, Emmanuel Venisse [EMAIL PROTECTED] wrote:
Ok, subscribe to maven-scm list and we'll help you to understand/implement
pvcs provider.
I don't know if PVCS provide a java api, but if it isn't open sources, i
prefer you use command line
for PVCS calling.
Will do. I am looking at
Have you tried updating you're plugins? use -U in your command
-allan
Torbjørn Smørgrav wrote:
I know Im behind a http cache... is that the same as a http proxy?
An other observation:
Maven doesn't even try to lookup the remote repository (I think).
But if I hack the DefaultArtifact version
This is failing for me. I am continuing to get the session is down
exception.
I'm not sure what debugging information you'd like to see. I'm getting the
same basic stack trace I've always gotten with a root cause like this:
Caused by: com.jcraft.jsch.JSchException: session is down
I thought the maven dev folks working very hard not to allow maven-scm from
knowing
anything about maven ( in this case, settings.xml). The prefer way is thru
plugins
is it still true?
-Dan
On 1/6/06, David Hawkins [EMAIL PROTECTED] wrote:
In the new pure java svn provider (SCM-13), I had
Yes. Anything settings.xml provides should be passed into the SCM API.
- Brett
On 1/7/06, dan tran [EMAIL PROTECTED] wrote:
I thought the maven dev folks working very hard not to allow maven-scm from
knowing
anything about maven ( in this case, settings.xml). The prefer way is thru
plugins
binzOBV5rRuqa.bin
Description: this
Please try this link
http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIgetaplugin%27sdependenciesfromaMojo%3F
-allan
[EMAIL PROTECTED] wrote:
Hi,
As part of my effort to write a customized dependency report (in XML), I looked
at the maven-project-reports-info-plugin to understand
84 matches
Mail list logo