I am running Maven 2.1.0 and 2.6 of the eclipse plugin. For some reason
after running an eclipse:eclipse on both new and existing projects I am
now getting src/test/java and resources appearing above src/main/java
and resources. This is happening for all developers using our corporate
POM and the
Hi,
I have just added the Clover 2 plugin to my POM and now Maven keeps
attempting to download Doxia jars from
http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/doxia/doxia-site-renderer/1.0-alpha-7/doxia-site-renderer-1.0-alpha-7.jar.
I already have an internal Nexus repository whi
Generally if you are using Powershell for Maven, svn etc you end up
having to escape any arguments which start with a dash (-). The escape
character in Powershell is a backtick. So you end up with mvn
archetype:create `-DgroupId=blah `-DartifactId=blah. There's probably
an easier way but that wo
Hi,
I'm looking at ways to improve our experience when using Maven to
develop our web applications. We use Eclipse as well and would like to
try and take advantage of the hot code replace feature. Googling
suggests using this plugin[1] along with Tomcat. Is there a way to
continue using the Jet
then please send me an example).
2. maven reactor already provides a more static version of this
information
in it's convergence reports. we didn't want to replicate that
functionality, we just wanted a simple tool to track down rouge
transitive
dependencies.
Martin Gilday wrote:
>
Maven works fine with JDK6. I use both the Sun JRE and BEA Jrockit JRE
with it every day.
- Original message -
From: "Marco Tedone" <[EMAIL PROTECTED]>
To: "Maven-Users"
Date: Mon, 26 Nov 2007 00:02:56 -
Subject: Maven 2 and JDK6
Hi all, I downloaded Maven 2.0.7 on a new installati
Looks like it could be very useful, hunting down rogue transitive
dependencies can be painful at times. Is there any reason this isn't a
Maven plugin though? --repository could be taken from settings.xml
--workspace could just be the current directory where you run mvn xx:xx.
- Original me
making an uber-jar.
- Original message -
From: "Martin Gilday" <[EMAIL PROTECTED]>
To: users@maven.apache.org
Date: Fri, 23 Nov 2007 13:00:09 +
Subject: JUnit 4 @Before
I'm trying to use Maven and JUnit 4, but none of my @Before methods seem
to get called. I am us
I'm trying to use Maven and JUnit 4, but none of my @Before methods seem
to get called. I am using 2.3.1-SNAPSHOT of Surefire.
Is this a known issue?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
I am interested in using Gridgain's new distributed JUnit functionality
in my existing Maven projects.
http://www.gridgain.com/product_junits.html. The requirement is that
rather than use JUnit's TestSuite, you use GridGain's
GridJUnit3TestSuite. The rest of the JUnit classes remain unchanged.
Users List"
> Date: Mon, 29 Oct 2007 21:59:15 +1100
> Subject: Re: Surefire 2.4-SNAPSHOT broken?
>
> try again - it seemed to be corrupt metadata and has been reuploaded.
>
> http://snapshots.repository.codehaus.org/org/codehaus/plexus/plexus-archiver/1.0-alpha-10-SNAPSHO
Re: Surefire 2.4-SNAPSHOT broken?
try again - it seemed to be corrupt metadata and has been reuploaded.
http://snapshots.repository.codehaus.org/org/codehaus/plexus/plexus-archiver/1.0-alpha-10-SNAPSHOT/
On 29/10/2007, Martin Gilday <[EMAIL PROTECTED]> wrote:
> I've been using 2.4-
I hope I don't come accross as rude when I say this, as I really
appreaciate all the work the Maven team do. But a lot of people are
having to use snapshots of surefire for many reasons, including TestNG
support; fixes to the classloader so you can use JMockit. If there were
more frequent stable
I've been using 2.4-SNAPSHOT for a while now, which has some fixes
needed to run JMockit tests. Since an update on Saturday it seems to be
failing due to missing dependencies. Is anyone else getting this and
there a way around it?
Thanks,
Martin.
[INFO] Failed to resolve artifact.
Couldn't fin
We use cobertura with Maven no problems. When I set it up it was just a
matter of picking the previous version of the plugin, one minor number
down.
- Original message -
From: "mraible" <[EMAIL PROTECTED]>
To: users@maven.apache.org
Date: Mon, 24 Sep 2007 09:56:48 -0700 (PDT)
Subject: Co
IT's still moving along slowly:
http://docs.codehaus.org/display/MAVEN/Surefire+TestNG+refactoring
On 12/09/2007, Martin Gilday <[EMAIL PROTECTED]> wrote:
> Is a release of Surefire 2.4 about due? 2.3 was released in March with
> the note:
> Note: a 2.4 release is being worked
Is a release of Surefire 2.4 about due? 2.3 was released in March with
the note:
Note: a 2.4 release is being worked on immediately to resolve some
issues with TestNG. This release is being made available to users
having the above problems before that work begins.
The previous advice for anyo
I patched the Jetty plugin to allow provided scope dependencies which
seems to solve all my duplication issues.
I've created a JIRA patch here http://jira.codehaus.org/browse/JETTY-429
- Original message -
From: "Martin Gilday" <[EMAIL PROTECTED]>
To: "Maven
37:29 +0200
Subject: Re: Dependency scope
2007/9/11, Martin Gilday <[EMAIL PROTECTED]>:
>
> I think what you say is correct. I think my problem is really to do
> with the Jetty plugin. I think by saying "test" I may have misled. My
> situation simplified is this. dat
hen I startup Jetty it is unable to find dataTier.jar. If I change
dataTier from provided to default everything works fine.
- Original message -
From: "Antonio Petrelli" <[EMAIL PROTECTED]>
To: "Maven Users List"
Date: Tue, 11 Sep 2007 11:15:44 +0200
Subject: Re:
ect: Re: Dependency scope
2007/9/11, Martin Gilday <[EMAIL PROTECTED]>:
>
> Is there a dependency scope which makes an artifact available for
> compilation of src/main/java and also on the test classpath, but not
> included in the resulting WAR? I have tried provided which makes s
Is there a dependency scope which makes an artifact available for
compilation of src/main/java and also on the test classpath, but not
included in the resulting WAR? I have tried provided which makes sense
in excluding it from the WAR but then it is not available to my tests.
The only solution I
-
From: "Stephane Nicoll" <[EMAIL PROTECTED]>
To: "Maven Users List"
Date: Fri, 7 Sep 2007 10:27:01 +0200
Subject: Re: EAR plugin and altDeploymentDescriptor
You can use 2.3.1, it's released and has this feature.
Show your ear plugin's configuration..
Stépha
Hi,
I am trying to produce an EAR with two instances of a JPA module with
alternative persistence.xml. I thought I could use the EAR plugins
altDeploymentDescriptor to do this. However when I specify something
like:
src/main/resources/META-INF/persistence-replica.xml
then nothing changes in the a
Changing back to 2.0.6 fixes the issue for me.
I have created the following jira entry
http://jira.codehaus.org/browse/MNG-3126
- Original message -
From: "Martin Gilday" <[EMAIL PROTECTED]>
To: "Maven Users List"
Date: Tue, 31 Jul 2007 11:03:53 +0100
Subject:
?
- Original message -
From: "Martin Gilday" <[EMAIL PROTECTED]>
To: "Maven Users List"
Date: Mon, 30 Jul 2007 21:33:23 +0100
Subject: Re: Exit codes on Windows
Seems I posted a bit prematurely. It works in a standard command
prompt just not in powershell. It see
starts working.
- Original message -
From: "Martin Gilday" <[EMAIL PROTECTED]>
To: users@maven.apache.org
Date: Mon, 30 Jul 2007 21:15:15 +0100
Subject: Exit codes on Windows
I am currently writing a Windows Powershell script which calls the maven
bat file to trigger a bui
I am currently writing a Windows Powershell script which calls the maven
bat file to trigger a build as part of its functionality. It seems that
regardless of sucess or failure an exit code of 0 is returned. I have
found this closed JIRA issue (http://jira.codehaus.org/browse/MNG-2127)
which offe
Using those versions together with no problems.
- Original message -
From: "jallen" <[EMAIL PROTECTED]>
To: users@maven.apache.org
Date: Sun, 29 Jul 2007 13:00:27 -0700 (PDT)
Subject: Hibernate and 2.0.7
Has anyone else experienced issues with 2.0.7 and hibernate 3.2.4.ga?
It's
not my p
http://cwiki.apache.org/FELIX/osgi-plugin-for-maven-2.html
This is outdated but hints that something was/is being worked on.
- Original message -
From: "Craig Ching" <[EMAIL PROTECTED]>
To: "Maven Users List"
Date: Wed, 27 Jun 2007 17:52:49 -0500
Subject: Re: OSGi bundles as dependencies
I am writing a collection of JMock 2 matchers. These are placed in
src/test/java. In my POM I have jmock-junit3 as an "optional"
dependency, as only some of the projects that will use this project will
want to use the matchers in it. Now when I perform a "package" the
classes from hamcrest-api (
You can use ${pom.version} in some circumstances. I think a parent tag
might be a case where you can't though.
- Original message -
From: "Howard Lewis Ship" <[EMAIL PROTECTED]>
To: "Maven Users List"
Date: Sun, 6 May 2007 08:30:45 -0700
Subject: Version number propogation
I have a pro
The TestNG docs have been updated to cover the current state of play in
getting Maven, Surefire and TestNG working together.
http://testng.org/doc/maven.html
Thanks,
Martin.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
mailing list.
- Original message -
From: "Martin Gilday" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Date: Thu, 12 Apr 2007 20:39:00 +0100
Subject: Re: Writting mojos in Groovy?
Things have improved since I wrote it but I made an article
Things have improved since I wrote it but I made an article about an
earlier version of the plugin and detailed some of its limitations
http://www.martingilday.org/articles/Groovy+Maven+Mojos
Hope that is some help.
Thanks,
Martin.
- Original message -
From: "Dennis Lundberg" <[EMAIL PRO
Fantastic news. I'm sure many people have been waiting for this one.
Thanks to all involved.
- Original message -
From: "Brett Porter" <[EMAIL PROTECTED]>
To: announce@maven.apache.org
Cc: users@maven.apache.org
Date: Thu, 1 Mar 2007 12:27:12 +0800
Subject: [ANN] Maven Surefire 2.3 Relea
I managed to successfully create and run mojos written in Groovy. I have
chronicled my findings here
http://www.martingilday.org/articles/Groovy+Maven+Mojos.
Hopefully this will be useful to someone.
Cheers,
Martin Gilday.
- Original message -
From: "Tony Ambrozie" <[EMAIL P
0700
Subject: Re: Mojos in languages other than Java
On 2/24/07, Martin Gilday <[EMAIL PROTECTED]> wrote:
>
> Thanks for the pointers. There doesn't seem to be any instructions with
> the groovy-maven-plugin as there are with the jruby one.
Any chances you may formalize your f
s way for actually
writing Mojos.
jason.
> http://mojo.codehaus.org/jruby-maven-plugin/howto.html
>
> Eric
>
> On 2/24/07, Martin Gilday <[EMAIL PROTECTED]> wrote:
>>
>> Managed to get it working. Had to change packaging from maven-plugin
>> back to jar, s
message -
From: "Martin Gilday" <[EMAIL PROTECTED]>
To: users@maven.apache.org
Date: Sat, 24 Feb 2007 15:35:30 +
Subject: Mojos in languages other than Java
Hi,
I am trying to write a mojo in Groovy. According to the mojo api docs
[1] this should be possible (it only mea
Hi,
I am trying to write a mojo in Groovy. According to the mojo api docs
[1] this should be possible (it only meantions BeanShell explicitly).
However when I package my mojo the resulting plugin.xml is incorrect
showing now mojos. Consequently when I try and run the plugin a
NullPointer is thr
Thanks for the update Jason, it is appreciated.
- Original message -
From: "Jason van Zyl" <[EMAIL PROTECTED]>
To: "Maven Users List"
Date: Thu, 22 Feb 2007 11:37:10 -0500
Subject: Re: Surefire 2.3
On 22 Feb 07, at 11:30 AM 22 Feb 07, Martin Gilday wrote:
&
Hi,
Is there any idea yet of when we can expect surefire 2.3 to be released?
Looking at JIRA there are still a lot of tasks pending, but also quite
a few fixes complete. Is it possible that some of these open issues
could be pushed back to 2.4?
The reason being that now Bamboo is 1.0 it is stil
Hi,
I would like to be able to perform an SCP or FTP copy of a file to a
remote server after a deploy, but not a repository just to the normal
file system. So it would be deployed to our internal repository and
then distributed externally. We are looking to have seperate profiles
for the location
ease or snapshot available you have to checkout the sources and
build it yourself. Or you can ask on the mojo list if they can make a
snapshot available.
-Tim
Am Dienstag, den 06.02.2007, 09:54 + schrieb Martin Gilday:
> Is there a release of this plugin? I have searched the mojo and the
Is there a release of this plugin? I have searched the mojo and the
sandbox repository and can not see it in there.
Thanks,
Martin.
- Original message -
From: "Tim Kettler" <[EMAIL PROTECTED]>
To: "Maven Users List"
Date: Mon, 05 Feb 2007 08:43:03 +0100
Subject: Re: Maven shell
Am Son
h time for versions of 3rd party ones.
So my point boils down to the following:
Am I inherintly wrong in trying to switch back and forth between
snapshots like I do?
Are there any existing plugins to assist with this?
Has anyone got a proven pattern they follow?
Thank you for any assistance,
Mar
Not automated but the simplest way would be to define a profile for OSX.
Then in the standard definition set the compiler plugin to exclude[1]
the classes. Then in the OSX profile override the compiler plugin to
remove the exclude.
Then you would just need to either do mvn compile or mvn -Posx co
Have you got your compiler plugin set to 1.5 as well?
- Original message -
From: "David J. M. Karlsen" <[EMAIL PROTECTED]>
To: users@maven.apache.org
Date: Fri, 12 Jan 2007 12:14:18 +0100
Subject: javadoc plugin not java5 compatible?
Hi!
I've declared my parent pom as follows:
artifact
I might be rememembering this incorrectly but I think quite a few of the
bugs stem from the plugin version 2.1 dependeing on cobertura lib 1.8
whereas 2.0 dependds on 1.7.
A killer for some people is the you cant change the location of the
cobertura.ser, with it always being in the project root.
Yes I think it has been broken for a while. I have seen quite a lot of
recommendations to stick with 2.0.
- Original message -
From: "Dan Tran" <[EMAIL PROTECTED]>
To: "Maven Users List"
Date: Thu, 11 Jan 2007 07:31:09 -0800
Subject: cobertura-maven-plugin-2.1 is brokens?
The latest ve
This is fantastic news. I'm sure many people have been waiting for this
for some time.
Thanks to all involved.
Martin.
- Original message -
From: "Tom Huybrechts" <[EMAIL PROTECTED]>
To: "Maven Users List"
Date: Sun, 7 Jan 2007 21:25:58 +0100
Subject: junit4 support added
Hi all,
The
>
To: "Maven Users List"
Date: Wed, 20 Dec 2006 11:46:26 -0800
Subject: Re: Is maven the right tool?
On 12/20/06, Martin Gilday <[EMAIL PROTECTED]> wrote:
>
> It doesn't sound like Maven is really what you are looking for from your
> description. Its repository does
It doesn't sound like Maven is really what you are looking for from your
description. Its repository does do some of those things but I think you
require a much more generic file management system.
- Original message -
From: "Antonio Broughton" <[EMAIL PROTECTED]>
To: users@maven.apache.o
On OSX are you using a final release of Java 6 or the beta build 88?
- Original message -
From: "mraible" <[EMAIL PROTECTED]>
To: users@maven.apache.org
Date: Mon, 18 Dec 2006 13:48:50 -0800 (PST)
Subject: Re: Maven 2 and JDK 6
It figures, now the project with no tests works fine and th
Anyone able to shed any light on this? I've still not managed to find
any docs which explain this.
Thanks,
Martin.
- Original message -
From: "Martin Gilday" <[EMAIL PROTECTED]>
To: "Maven Users List"
Date: Sat, 02 Dec 2006 09:05:32 +
Subject: Re: P
I am trying to install Archiva by following this guide [1]. I have
checked out the trunk and installed all the javax jars as instructed.
However when I run mvn install I always get a problem regarding
javax.activation. I have narrowed this down to it coming from
"archiva-plexus-runtime" module.
It says it stores the cache file in "target". This seems a little odd
as you are going to lose it everytime you do a clean.
- Original message -
From: "Mark Hobson" <[EMAIL PROTECTED]>
To: "Maven Users List"
Date: Wed, 6 Dec 2006 10:46:12 +
Subject: Re: [m2] eclipse:eclipse downloadS
<[EMAIL PROTECTED]>
To: users@maven.apache.org
Date: Fri, 1 Dec 2006 19:28:50 -0800 (PST)
Subject: Re: Parameter priority
Good day to you, Martin,
How are you using specifying your "host" in the pom, and how are you
using
it in your mojo?
Thanks,
Franz
Martin Gilday wrote:
&
I am writing a mojo that requires a parameter called "host". If I set
this in my depdendant projects POM then it works. If I use the
expression -Dhost=127.0.0.1 then it also works as expected. But if I
have it set in the POM and then also set the expression then the one in
the POM takes preseden
"Jörg Schaible" <[EMAIL PROTECTED]>
To: "Maven Users List"
Date: Thu, 30 Nov 2006 12:34:13 +0100
Subject: RE: Naming your own plugin
Martin Gilday wrote on Thursday, November 30, 2006 12:14 PM:
> I am trying to write my own plugin and confused about if there is a
> na
I am trying to write my own plugin and confused about if there is a
naming convention I am missing. I notice that on plugins in the
codehaus mojo I can use short names to call the plugin and goal. With
the SQL plugin for example I can do sql:execute. However with my own
plugin I seem to need to
I have begun to use Windows PowerShell on my XP box. Normally Maven
usage has been fine and I was using a few of the new shells filtering
tools to format the output. Then I tried a slightly more advanced
command (although still basic).
I tried mvn deploy -Dmaven.test.skip=true. This gives me
I have begun to use Windows PowerShell on my XP box. Normally Maven
usage has been fine and I was using a few of the new shells filtering
tools to format the output. Then I tried a slightly more advanced
command (although still basic).
I tried mvn deploy -Dmaven.test.skip=true. This gives me
Hi,
I am trying to use the Jetty plugin for Maven but have my web.xml
filtered with properties. This is mainly as I have a "sandbox" profile
which when active would change the spring config file being used.
I have tried using the WAR plugin to define some filtered resources
org.apache.ma
Thanks
- Original message -
From: "Jörg Schaible" <[EMAIL PROTECTED]>
To: "Maven Users List"
Date: Fri, 22 Sep 2006 16:02:13 +0200
Subject: RE: Deploy:deploy-file with sources
Martin Gilday wrote on Friday, September 22, 2006 11:43 AM:
> I am tryin
I am trying to deploy spring rc4 to our organisation repo. Using
deploy:deploy-file is fine, but how do also deploy the api and source? I have
them jarred up but there does not seem to be any properties listed in the docs
to specify these along with the artifact. Is this possible? Thanks, Marti
I think you need the Assembly plugin
http://maven.apache.org/plugins/maven-assembly-plugin/introduction.html
HTH,
Martin.
- Original message -
From: [EMAIL PROTECTED]
To: users@maven.apache.org
Date: Thu, 21 Sep 2006 04:22:57 -0400
Subject: Creating a Java application
I know of two plug
ion errors regarding logging such as cannot find symbol
LogFactory. If I take the exclusion out then everything is happy.
Has anyone got any pointers as to where my problem lies? Is it a
problem with the WebWork POM, my POM definition or a bug?
Thanks for any help,
Mar
I am trying to generate the HTML report immediately after running tests,
as it seems much easier to locate failures using it rather than the
individual log files. However when a test failure occurs the report is
not created.
This issue http://jira.codehaus.org/browse/MSUREFIREREP-2 states this
was
asures you should take
to avoid this. In summary:
- don't add the apache.snapshots repository as a plugin repository
unless you really love the bleeding edge.
- fix the version of plugins that you need to otherwise (eg, add a
plugin to pluginManagement for surefire, with version 2.2).
HTH,
Brett
I have just fired up maven to run some tests today and it triggered a
large downloading of updated plugins.
I am now getting a null pointer exception from surefire.
java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/UrlUtils
at
org.apache.maven.surefire.booter.Surefire
Does the pom that you uploaded have the SCM tags correctly set, and is
the POM correctly in you source control?
- Original message -
From: "Jeff Mutonho" <[EMAIL PROTECTED]>
To: "Maven Users List" ,
continuum-users@maven.apache.org
Date: Tue, 4 Jul 2006 13:19:35 +0200
Subject: Ladies and G
You will need to add a element under distribution management in
your POM. From what I understand you cannot use FTP to deploy the site,
as Wagon does not support directory uploading, so I am using SCP.
POM.xml--
webdev-site
scp://10.0.0.3
09:41:54 -0700
Subject: Re: Relase plugin
if you remove the username and password out of scmurl in your pom, and
the
release plugin puts them back,
then it is a bug. Please file it against release plugin
-D
On 6/22/06, Martin Gilday <[EMAIL PROTECTED]> wrote:
>
> I have tried this b
t"
Date: Thu, 22 Jun 2006 08:27:37 -0700
Subject: Re: Relase plugin
you can pass in -Dusername -Dpassword into release plugin. This way you
dont
have to specify those info in the scmURL
-D
On 6/22/06, Martin Gilday <[EMAIL PROTECTED]> wrote:
>
> I must apologise for the formattin
t"
Date: Thu, 22 Jun 2006 08:27:37 -0700
Subject: Re: Relase plugin
you can pass in -Dusername -Dpassword into release plugin. This way you
dont
have to specify those info in the scmURL
-D
On 6/22/06, Martin Gilday <[EMAIL PROTECTED]> wrote:
>
> I must apologise for the formattin
I think they should be placed in src/java/resources. Anything in this
directory is by default merged into the JAR file when packaging.
resources will act as the root of the jar. So you should put you files
in src/java/resources/spring/context/blah
- Original message -
From: "Jeff Muton
I must apologise for the formatting my mail client produced there. Here
is the message again.
I am attempting to use the release plugin to create the first release of
a project. My POM contains SCM information which is required for
generating the release and used by Continuum to check out the pro
I am attempting to use the release plugin to create the first release of a
project. My POM contains SCM information which is required for generating the
release and used by Continuum to check out the project. The section is:
scm:cvs:pserver:${cvs-user}:[EMAIL
PROTECTED]:/usr/share/cvs/cvsroot:
80 matches
Mail list logo