give it a try and let me know if it works out for you.
-D
On 10/15/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote:
Thanks Dear. I really appreciate your help / efforts towards this.
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Monday, October 16, 2006 3:01 AM
To:
Hi Dan Paul,
Not this time. XStream is a synced Codehaus project and we're going to add
relocation POMs soon (as soon as Codehaus infrastructure is able to handle it).
So any other POM will infer with this. So, please just have a little patience.
- Jörg
Dan Tran wrote on Sunday, October 15,
Hi all,
Sorry if this is a FAQ, but I honestly couldn't find any documentation on
the subject. I was wondering if there was any way to include the total
number of errors found by the PMD plugin in the generated report? The
report itself is nice, and adding this information would make it easier
Hi Manfred.
There's no reason, to add a report for maven-xdoc-plugin. And more
precisely there's no report defined in the xdoc plugin ;-)
Did you try to remove your cache directory ?
C:/Documents and Settings/manfred/.maven/cache
Arnaud
Manfred Moser-3 wrote:
Hi!
I gave this a spin
Everywhere i go, i see that there is a lot of people (like me) thinking that
the existing build tools are extremely useful (maven in first;-) ). But
still, a lot of people think that something else should be possible.
I have thus started a forum in order to collect info from the builder
Hi,
this is the exception i recieve:
[INFO] There are 3 checkstyle errors.
[WARN] Unable to locate Source XRef to link to - DISABLED
[WARN] org.apache.velocity.runtime.exception.ReferenceException: reference :
template = org/apache/maven/plugin/checkstyle/checkstyle-rss.vm [line
6,column 11] :
I hate these errors ! ;-)
We'll add a note to ask to the users to manually remove the cache before the
upgrade.
Thanks Dion.
Arnaud
Dion Gillard-2 wrote:
Looks like a bad cache/install. I reinstalled, removing the cache and
maven directory in the repo and this error went away.
On
Hi Martin,
the suggestion about the pluginmanagement does not work for me. But I
managed it to work correctly due to the rest of your suggestions. So many
thanks
Rolf
On 10/11/06, Zeltner Martin [EMAIL PROTECTED] wrote:
Hello Rolf
You have to place the configuration element directly inside
Hi Arnaud,
-Original Message-
From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
Sent: lundi 16 octobre 2006 09:34
To: users@maven.apache.org
Subject: Re: Maven 1.1 RC1 SNAPSHOT needs testers
I hate these errors ! ;-)
We'll add a note to ask to the users to manually remove the
Nice idea Vincent.
I'll implement it before the RC1.
It will avoid us to have to many errors due to the cache not correctly
deleted.
Thx.
Arnaud
vmassol wrote:
Hi Arnaud,
-Original Message-
From: Arnaud HERITIER [mailto:[EMAIL PROTECTED]
Sent: lundi 16 octobre 2006 09:34
To:
Not that I know of, but you probably don't really need it:
The links to the submodules won't work offline,
but when you do a mvn site-deploy all sites will be the deployed and
the links to the submodules will work online.
(and the aggregate result will be visible there)
Daniel Brolund wrote,
Hi All,
I'm running PMD and I created several reports on different java packages. I
used the excludes section of the PMD configuration and it works fine ;
however, the corresponding includes section doesn't seem to have any impact
on the PMD execution.
Is it something that still needs to be
Hi Arnaud,
Arnaud Bailly schrieb:
No. Assembly descriptor allows automatic unpacking of artifacts
(dependencies or modules). You should simply create a toplevel
descriptor containg moduleSet for your modules with unpack set to
true.
thank you very much for your help. I was able to create a
Hi,
I have have created a maven plugin and want to run it without installing it
in my local repo.
- Is this possible?
- Does that have something to do with the settings.xml?
- Should settings.xml be located in my local repo only?
These questions are because i am creating a assembly
It is compile that actually creates and copies resource deps into your
target/classes directory. The files under here is then bundled into a
jar.
A solution for you could be to exclude the unwanted package at compile
time.
build
plugins
plugin
Hello,
I got the following while trying to do a multiproject install. The jar is in
the repo, is referenced in the projectdir/project.xml file, and folder exists
though. All plugins are in the local repo. I've commented out references to
repo.remote. Any suggestions?
BUILD FAILED
Hi. I have 2 repositories in my distributionManagement section. How do
I set up Maven 2 to deploy my released code (with versions like
1-alpha-1) to my internal-release repository and to deploy my SNAPSHOT
code to my internal-snapshot repository while executing the deploy
phase. Thank you.
Just to add to this thread check out
http://jira.codehaus.org/browse/MNG-1683 this gave me my solution for
packaging stuff in a zip deploying as an artifact then unpacking in a
war.
Peter
-Original Message-
From: Naresh Bhatia [mailto:[EMAIL PROTECTED]
Sent: Sunday, 15 October 2006
Is there a plugin to sftp(to a remote machine) an ear/war file after a build?
--
Jeff Mutonho
GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
MyFaces has the wagon plugin :
http://www.ibiblio.org/maven2/org/apache/myfaces/maven/wagon-maven-plugin/
I don't know where you can't find any doc although it is quite simple to use.
On 10/16/06, Jeff Mutonho [EMAIL PROTECTED] wrote:
Is there a plugin to sftp(to a remote machine) an ear/war
How did you define your dependency to this jar ???
There's no version for it ?
Did you ovverride the dependency ?
Arnaud
On 10/16/06, r maclean [EMAIL PROTECTED] wrote:
Hello,
I got the following while trying to do a multiproject install. The jar
is in the repo, is referenced in the
On 10/16/06, Vincent Massol [EMAIL PROTECTED] wrote:
Another option is to clean the cache by default upon installation. One
simple way of doing it would be to add a marker file named after the
version. If there's no file with the current version then maven would clean
the cache when it runs and
-Original Message-
From: Tomasz Pik [mailto:[EMAIL PROTECTED]
Sent: lundi 16 octobre 2006 15:17
To: Maven Users List
Subject: Re: Maven 1.1 RC1 SNAPSHOT needs testers
On 10/16/06, Vincent Massol [EMAIL PROTECTED] wrote:
Another option is to clean the cache by default upon
Thanks Peter. I have made a note of this - will look it up when I get a
chance.
Naresh
-Original Message-
From: Peter Anning [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 15, 2006 7:32 PM
To: Maven Users List
Subject: RE: How to unpack a zip file into a source directory
Just to add
On 10/16/06, Alexandre Poitras [EMAIL PROTECTED] wrote:
MyFaces has the wagon plugin :
http://www.ibiblio.org/maven2/org/apache/myfaces/maven/wagon-maven-plugin/
I don't know where you can't find any doc although it is quite simple to use.
Thanx.How are you using it?
Jeff Mutonho
I'm receiving the following error when I try to run maven 2.0.4 from cygwin
$ mvn
: command not found.0.4/bin/mvn: line 17:
: command not found.0.4/bin/mvn: line 20:
'cygdrive/c/maven-2.0.4/bin/mvn: line 40: syntax error near unexpected token
`in
'cygdrive/c/maven-2.0.4/bin/mvn: line 40: `case
To be honest, I'm not sure how to proceed either.
HTTP 201 is a success code meaning created. Perhaps the
DeployMojo.java code is only written to handle HTTP 200 ok? Might
want to check the code yourself just to see what's going on there...
Check JIRA for this bug and if its not there, I'd file
Sure enough, Alexandre P has already filed this as WAGONHTTP-12.
Also looks like 204 is not handled properly, seen in WAGONHTTP-7.
http://jira.codehaus.org/browse/WAGONHTTP-12
http://jira.codehaus.org/browse/WAGONHTTP-7
Wayne
On 10/16/06, Wayne Fay [EMAIL PROTECTED] wrote:
To be honest, I'm
try mvn deploy, if it does not work out post your problem
btw, you need to enable one of your repos as a snapshot repo, checkout the
POM at
maven site for detail.
-D
On 10/15/06, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED]
wrote:
Hi. I have 2 repositories in my
IS there a way to turn off transitive dependencies while packaging a war
file?
I want my ejb-client in the war-packaging but it brings along all the
ejb-client dependencies. I've searched enough on this forum but cant find a
solution.
My webapp pom has a dependency as follows..
I've finished work on the launch4j plugin. Besides the core plugin artifact,
there are four attached artifacts, named with classifiers: one for each
platform that l4j supports. The plugin uses the maven apis to download and
unpack one if necessary.
Here is some more info on the plugin:
I wrote
I was trying to deliver my Maven2-built desktop application as a
single executable JAR with all dependencies included (using Assembly
plugin) when I realized that the default classloading mechanism
doesn't allow it. I had a look à One-Jar
(http://one-jar.sourceforge.net/) and I was told that
I'm trying to mavenize a simple console application that is a module
of a larger maven project. I developed the app in eclipse and am now
moving into the maven project.
The app imports one jar file used to process command line parameters
(argparser.jar). The jar file is installed in the .m2
On 10/16/06, Ed Young [EMAIL PROTECTED] wrote:
java -cp c:/Documents and
Settings/eyoung2297c/.m2/repository/argparser/argparser/1.0 -jar
console/target/comcast-seadac-console-1.0-SNAPSHOT.jar
sea DAC Console APP
Exception in thread main java.lang.NoClassDefFoundError:
argparser/StringHolder
If you are using the maven-war-plugin, you can use the warSourceExcludes
elements to exclude jars from your war. They will still appear in the work
directory (where the war is assembled) but once your war is bundled up, they
won't be there. You should also look at dependentWarExcludes.
Hi Laetitia,
Have you try your rules with Checkstyle only ? Your error seems to be an
error on your rules and not an error on the maven plugins configuration.
Christophe DENEUX
Capgemini Sud - Nice
Laetitia Juers wrote:
Oops sorry, you're right ...
Where did you define ${app.name} at?
On 10/16/06, Zarar Siddiqi [EMAIL PROTECTED] wrote:
If you are using the maven-war-plugin, you can use the
warSourceExcludes
elements to exclude jars from your war. They will still appear in the
work
directory (where the war is assembled) but once your
Thanks for the reply. I know this is something of a newbie issue, so I
appreciate your help. It's really got me blocked.
I've tried passing the entire path to the jar file including the
filename itself and I get the same error.
Here's where argparser lives:
c:/Documents and
That worked great. But now, there are no png images being created for the
graph
Any ideas why?
On 10/14/06, Guillaume Tardif [EMAIL PROTECTED] wrote:
To avoid any dependancy between the build phases
(compile/test/verify/install) and site generation, link your qlab execution
to phase
How is that relevant to the problem? It's defined in a property file which
I read in through a plugin and then store them as project properties. A
different propertly file is read for different environments (development,
production etc).
Mick Knutson-4 wrote:
Where did you define
Hi,
Are you creating your plugin using assembly, or are you running assembly in
the project that uses your plugin?
I doubt you can run a plugin from outside ~/.m2, because maven has to load
the info from somewhere. As long as your plugin has a packaging type of
maven-plugin, it should be
it was not relevant. I am just trying to find better ways to manage the
build maintenance process for items like names and version numbers that can
be easy for a muilti-module project.
On 10/16/06, Zarar Siddiqi [EMAIL PROTECTED] wrote:
How is that relevant to the problem? It's defined in a
I am the final phase of the ant 2 maven project. I
think. :)
I am now trying to put the projects into an eclipse
workspace and I run into the following problem:
Project A/pom.xml and has a bunch of submodules
Project B/pom.xml and has a bunch of submodules.
I can run eclipse:eclips on A,B and i
El 16/10/2006 18:08, Sebastien Arbogast escribió:
I was trying to deliver my Maven2-built desktop application as a
single executable JAR with all dependencies included (using Assembly
plugin) when I realized that the default classloading mechanism
doesn't allow it. I had a look à One-Jar
Another twist...
Results :
[surefire] Tests run: 196, Failures: 0, Errors: 0
[INFO] [site:site]
[WARNING] Error loading report org.apache.maven.plugin.jxr.JxrReport -
AbstractMethodError: canGenerateReport()
[INFO] Generate QALab Main Report report.
[INFO] Generate QALab Movers Report report.
On 10/9/06, Arnaud HERITIER [EMAIL PROTECTED] wrote:
Hi everybody,
We just deployed a new SNAPSHOT of maven 1.1 RC1 [1]. This version
incorporates 2 important changes and we would like to have your feedback :
The only thing I still use Maven 1 for is the PDF plugin... m2 has
nothing that
Hi,
I get the following compilation error when run through
continuum. The same works fine when I do it outside
continuum ( using mvn ). pom.xml is configured with
the right ver of jdk.
Please suggest.
thanks
--Prashanth
[INFO] Compilation
Jeff,
Was this error ever being fixed...?? and if, could you let me know how you
were able to fix itI am having the same trouble generating a site
here...I am using the same url
scm:cvsdelimiterpserverdelimiter[username[delimiter[EMAIL
Hi,
Dmystery wrote:
IS there a way to turn off transitive dependencies while packaging a war
file?
I want my ejb-client in the war-packaging but it brings along all the
ejb-client dependencies. I've searched enough on this forum but cant find
a solution.
My webapp pom has a dependency
I've written a plugin that serves as a good utility in handling properties.
Given the many questions on this mailing list about handling properties for
different environments and I/O'ing them from files, I think this would help
in alleviating this problem.
It has three goals (for now):
1.
I think there is certainly some interest in this kind of plugin. In
particular, the write-project-properties functionality might be useful
to build up properties files used by Spring etc.
However, it should be named properties-maven-plugin, as it does not
originate from the Maven Dev team.
Does anyone know how I can add multiple custom jar files in the maven
repository at once (in something like a batch mode) without having to run
`mvn install` on each one of them?
Thanks
From your text I understand that you are using Windows as your client
OS and the command line CVS client from WinCVS, is that correct?
Windows OS (2000) running cygwin
WinCVS gui version 2.0.2.4 (Build 4)
What CVS server are you using and what OS does it run on?
I tried this on two CVS
Man-Chi Leung wrote:
hi,
after I did mvn eclipse:eclipse and got the project imported to
eclipse
I found a very long list of jar showing in eclipse's Package Explorer.
however, not all the jars that i am actually programming for , i
believe , they are simply the dependencies of
is there a maven2 YDoc plugin?
--
Thanks
DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson
Todd Nine wrote:
I'm receiving the following error when I try to run maven 2.0.4 from
cygwin
$ mvn
: command not found.0.4/bin/mvn: line 17:
: command not found.0.4/bin/mvn: line 20:
'cygdrive/c/maven-2.0.4/bin/mvn: line 40: syntax error near unexpected
token
`in
Andrés wrote:
El 16/10/2006 18:08, Sebastien Arbogast escribió:
I was trying to deliver my Maven2-built desktop application as a
single executable JAR with all dependencies included (using Assembly
plugin) when I realized that the default classloading mechanism
doesn't allow it. I had a look
Here's a site for the plugin:
http://individual.utoronto.ca/zarar/properties-maven-plugin/site/
Zarar Siddiqi wrote:
I've written a plugin that serves as a good utility in handling
properties. Given the many questions on this mailing list about handling
properties for different
ok, thant Wendy for your feedback.
I'm happy to see that the pdf plugin is always useful ;-)
Arnaud
On 10/16/06, Wendy Smoak [EMAIL PROTECTED] wrote:
On 10/9/06, Arnaud HERITIER [EMAIL PROTECTED] wrote:
Hi everybody,
We just deployed a new SNAPSHOT of maven 1.1 RC1 [1]. This version
I have a question about this plugin
is this going to allow me to pull a file from the local machine:
filec:/etc/config/dev.properties/file
Then put those parameters into scope of the build. Similiar to settings.xml
properties
project.paramProject-Parameter/project.param
!-- DIV {margin:0px;}Hi -
I am using Maven 2.0.4 and JDK 1.5. I have a components.xml file that I use to
define components related to my application sitting in the current project's
META-INF/plexus folder. I have a simple test case that calls getResource on the
class and classloader to look up
Is using Ant tasks in Maven going to be supported as long as Maven 2 is
supported? I am using some Ant tasks in Maven 2 and I want to make sure
that I am doing the right thing. Thanks.
This message (including any attachments) contains confidential information
intended for a specific
Once you invoke the plugin on dev.properties, any properties in the file
will become part of the build. So if the property file contained:
var1=value1
var2=value2
It would be the equivalent of you declaring the following in your pom.xml or
settings.xml:
properties
var1value1/var1
Hi,
Perhaps your problem lies on this part of your code:
Exception in thread main java.lang.NoClassDefFoundError:
argparser/StringHolder
at com.comcast.seadac.console.ConsoleApp.main(ConsoleApp.java:55)
It may not be only about your classpath; To me it means that you're missing
a jar
I've searched the archives and the docs but have come up short on any
information for my issue (if i missed it, please point me to the correct
thread/doc). I'm trying to find out how to run 'mvn' in a similar way to how
i used to run 'ant', in that i was able to run it from some sub directory of
I have multiple profiles in my settings.xml as below. While I run clean
install -P admintool -Dmaven.test.skip in the Continuum, it does not pick
up cvstagADMINTOOL_200609040300/cvstag but it picks up
cvstagDEV_HEAD_393/cvstag from profile id r9. I have tried bouncing the
server and changiung the
Hi,
If I recall correctly, that is the only way.
-allan
Nishant Mehta wrote:
Does anyone know how I can add multiple custom jar files in the maven
repository at once (in something like a batch mode) without having to run
`mvn install` on each one of them?
Thanks
A while ago, someone contributed a shell script (I think it was bash)
that basically did for each *.jar in {directory}; do 'mvn install
-generatePom=true {name}.jar'; next; to the email list.
Search the archives or Google, you're bound to find it. Or just rewrite it.
Wayne
On 10/16/06, Allan
I don't believe this functionality exists. At least, I've never heard
of it being available, nor have I seen any such request on this
mailing list.
I would perhaps create an alias to set myvar='pwd'; cd {parent}; mvn
package; cd myvar; or something along those lines, if you are
unable/unwilling
there is some talk to provide ${parentBasedir} by maven
please check the archive
-D
On 10/16/06, Wayne Fay [EMAIL PROTECTED] wrote:
I don't believe this functionality exists. At least, I've never heard
of it being available, nor have I seen any such request on this
mailing list.
I would
This plugin is online now. Instructions are here:
http://9stmaryrd.com/tools/launch4j-maven-plugin/
The source bundle is here:
http://www.9stmaryrd.com/shared/launch4j/launch4j-maven-plugin-1.0.tar.gz
The maven repository I'm using for now is here:
http://www.9stmaryrd.com/maven
I'd like to
use ant task at worst case ,if you able to write the plugin then write it
and
remove the ant task
As far as my knowledge ant task will be there in maven 2.0 as last as
maven will be there
On 10/17/06, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED]
wrote:
Is using Ant tasks in Maven
I'd suspect the server/user you are running Continuum on does not have
the proper PATH, JAVA_HOME, etc environment properties set.
Log into that server as the user who owns the Continuum process and
try to run your Maven build... I'd expect you will see the same
results. Resolve your issues with
Thanks! I was not aware of the warSourceExcludes
But, wont it be great to just turn-off the t-dependency by a
transitive/transitive element.
dependency
groupIdcom-server/groupId
artifactIdcom-server-ejb/artifactId
version1/version
typeejb-client/type
Hi all,
Can we change the format of notification mail automatically generated by
continuum. I want different subject heading if build fails.
Thanks n Regards,
Rajiv.
Thanks, Arnaud for your questions. Though each Jar has a project.xml file that
defines its dependencies, we have a Build folder that includes a .properties
file that has an include listing the project.xml files of the Jars (not
necessarily in their build order). We found the bug in this
76 matches
Mail list logo