Yes, that's exactly the same problem I faced yesterday too! The problem
is described on the Cobertura FAQ page and they recommend:
Cobertura does not need ASM in your classpath when running tests. If
you're seeing classpath conflicts, just make sure the asm jar that comes
with Cobertura is
Hi,
Below is the full stacktrace. (mvn -X jboss:harddeploy)
It isn't picking up the parameters.
Edwin
[DEBUG] Configuring mojo 'org.codehaus.mojo:jboss-maven-plugin:1.0:harddeploy'
--
[DEBUG] (f) fileName = C:\cvs\wfz-leda\target/Leda-1.0-SNAPSHOT.pom
[DEBUG] (f) jbossHome = NONE
[DEBUG]
Hello,
I have a problem with running surefire tests when I have commons-logging
in my classpath. I get java.lang.NoClassDefFoundError:
org/apache/commons/logging/LogFactory.
I am subscriber of this list and I think I saw a solution here (adding
something to the
I'm not sure if it was already in 2.0, but in the latest version there is a
parameter testSourceRoot you can add. This will add a directory to the test
source directories.
Your configuration will look like this :
configuration
tasks
ant antfile=src/test/ant/build.xml
-Original Message-
From: Edwin Punzalan [mailto:[EMAIL PROTECTED]
If I'm not mistaken, it also gives you access to ${reactorProjects}
where reactorProjects are the MavenProject references to the parent pom
modules... Yes, @aggregator mojo can only be run on projects with
in M2, surefire seems skipping TestSuite.
when I do default 'mvn compile'. JunitPerf will not run at all!
---
My Junit Perf test case:
---
public class ExampleTimedTest {
public static final long toleranceInMillis = 100;
Thanks Yann,
works as expected.
Cheers,
-Ralph.
On 28.12.2005, at 19:17, Yann Le Du wrote:
Hi Ralph,
Try ant-nodeps instead of ant-optional, there is a 1.6.5 and I
believe this
is the new name for ant-optional.
--
Yann
2005/12/28, Ralph Pöllath [EMAIL PROTECTED]:
Hi,
I'd like to use
I would like to browse the maven source in eclipse. I have downloaded the
sources from maven. But when I try to run mvn eclipse:eclipse on the
maven-core project, I receive an error like this :
required artifacts missing:
org.apache.maven:maven-monitor:jar:2.1-SNAPSHOT
Hi,
I'd like to post-process my JSPs using the antrun plugin (which uses
ant's replaceregexp task). The plugin execution itself works fine,
but now I need it to run after the webapp is assembled and before
it's zipped up as a warfile.
My JSPs live in src/main/webapp/WEB-INF/jsp/ and I do
Could you open an issue in jira?
On 12/29/05, Ralf Quebbemann [EMAIL PROTECTED] wrote:
Yes, that's exactly the same problem I faced yesterday too! The problem
is described on the Cobertura FAQ page and they recommend:
Cobertura does not need ASM in your classpath when running tests. If
Hi,
I tried for ear:deploy in maven in following 2 ways, but I am getting
problem. Please help me.
way 1:
C:\TF\maven-2.0.1-bin\maven-2.0.1\bin\my-appmvn ear:deploy
-DgroupId=com.mycomp
any.app -DartifactId=my-app
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with
I would like to add more source directory for groovy script.
but if I add the following in pom.xml, the default setting of src/
main/java will be removed!
build
sourceDirectorysrc/main/groovy/sourceDirectory
...
/build
YES ! the following will caused xml syntax error!!
build
Hi Ralph,
I'd like to post-process my JSPs using the antrun plugin (which uses
ant's replaceregexp task). The plugin execution itself works fine,
but now I need it to run after the webapp is assembled and before
it's zipped up as a warfile.
I had do dig around in the maven-war-plugin myself
Hi Ralph,
I'd like to post-process my JSPs using the antrun plugin (which uses
ant's replaceregexp task). The plugin execution itself works fine,
but now I need it to run after the webapp is assembled and before
it's zipped up as a warfile.
I had do dig around in the maven-war-plugin
Hi,
you can use the build-helper-plugin available from the Mojo sandbox to add
an extra source dir.
http://svn.mojo.codehaus.org/trunk/mojo/mojo-sandbox/build-helper-maven-plugin/
This allows adding an extra source directory, though I don't think it will
update/change the pom.xml for the
Hi,
what do you want to do? Deploy the ear to your internal remote
repository or deploy the ear to an application server?
If you want to deploy to your internal remote repository just do an 'mvn
deploy'
-Tim
jagan t schrieb:
Hi,
I tried for ear:deploy in maven in following 2 ways, but
Hi,
I've read that the multiproject is build-in with Maven 2.
But I can't find the way to create a site for multiproject like in Maven
1.
Is it possible ?
Tks.
Damien
--
Damien Viel | +33 1 41 97 83 20 | [EMAIL PROTECTED]
I am new to Maven, so this might be a simple answer. I couldn't seem to
find the right way to do this. Here is what I want:
I am trying to create OSGi bundles with maven. OSGi bundles are just
like regular jar files (with an extension of .jar) except that in
order for them to be tested,
I wasn't aware that you can create poms with different names. How does
maven know to run with the secondary poms? I know you reference the main
pom in the other two with a parent tag, but how does maven know to look
for other two? Do I pass something in as an argument?
Thanks...
Frank Russo
Hi,
I have read through several threads about related subjects, but I am still
not getting it. Let me explain what I want to accomplish.
I want to have a top-level POM (packaging: pom), that defines several
plugins that will be applied to the sub-projects (not necessarily defined in
the same
Hi all,
does someone already use m2 plugin integration with eclipse. I use it
, it works fine but i don't find how to configure such that added
dependency is only scanned on my own-central repository (actually
maven-proxy) , not on central repository.
Thanks,
Tom
They are working on multiproject:site.
Multiprojects are indeed build in with the module system (already in
maven 2.0 2.0.1).
I believe multiproject:site is for 2.1.
Geoffrey
Damien Viel wrote:
Hi,
I've read that the multiproject is build-in with Maven 2.
But I can't find the way to
I find an issue on this link . This question is still unresolved
http://jira.codehaus.org/browse/MNGECLIPSE-12
Tom.
2005/12/29, Alexandre Poitras [EMAIL PROTECTED]:
I face the same problem since there isn't any settings.xml file.
On 12/29/05, Tom Joad [EMAIL PROTECTED] wrote:
Hi all,
Hi,
I didn't try the testSourceRoot soluction but I got it to work
in the following way:
1) Use testIncludes to add specify my test source with the
maven-compiler-plugin.
2) Use the antrun plug in to run the ant tasks for mock object creation.
Thanks for everyone's help.
See
p Devi wrote:
I am currently creating a plugin for exporting
data from the database using Maven 1.x. To acheive this I use octopus.
The directory of the plugin that I create is in C:\Workspace\plugins\spec-config-plugin. I have files Plugin.jelly, plugin.properties, project.xml and folders
Hi,
I have use testIncludes which works when configuring the
compiler plugin. See the following:
sourceDirectory./sourceDirectory
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
Did anyone have success in integrating dbMonster or dbUnit with a maven2
j2ee project? Could you paste some pom's or how-to's on how you did
this? Thanks and Happy Holidays
Srgjan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Actually it will be available in the next release of the site plugin,
which is compatible with 2.0.2 (it is working in SVN).
- Brett
On 12/30/05, Geoffrey [EMAIL PROTECTED] wrote:
They are working on multiproject:site.
Multiprojects are indeed build in with the module system (already in
maven
I'd suggest looking at:
http://svn.apache.org/viewcvs.cgi/incubator/felix/trunk/tools/maven2/maven-osgi-plugin/
I think they've already done what you want to do.
Cheers,
Brett
On 12/30/05, John Wells [EMAIL PROTECTED] wrote:
I am new to Maven, so this might be a simple answer. I couldn't seem
It requires to be called after jar:jar as it also
needs the final artifact that got built. So I've
added @phase package and expected a simple mvn
minijar:minijar would also build the jar.
What am I missing?
Anyone an answer?
Would like to finish up the plugin ASAP :)
cheers
--
Torsten
Ah, I see your point.
Well, you can manually build the seperate peices using: mvn -f=jar_pom.xml.
There's no reason that the parent pom.xml file can't have as part of it's
build profile manual steps to execute the jar and war poms (perhaps through
an ant task bound to a phase?). This is not as
If you expect to run it as mvn minijar:minijar, then you should use
@execute phase=package instead of @phase package.
HTH,
Brett
On 12/30/05, Torsten Curdt [EMAIL PROTECTED] wrote:
It requires to be called after jar:jar as it also
needs the final artifact that got built. So I've
added
Or you could unpack it and then pack it up again after modifying your
files.
-Original Message-
From: Dirk Olmes [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 29, 2005 6:43 AM
To: Maven Users List
Subject: Re: [m2] run plugin after webapp is assembled and before it's
zipped
Hi
On 29.12.2005, at 18:36, Brett Porter wrote:
If you expect to run it as mvn minijar:minijar, then you should use
@execute phase=package instead of @phase package.
But doesn't that mean it will be called also on a mvn jar:jar?
Basically I would like to get the same behavior as:
project
This is probably the only workaround at present. I think the war
plugin should be capable of letting you add extras though - perhaps
someone could check for this in JIRA and file it if it has not already
been requested?
- Brett
On 12/30/05, Brian E. Fox [EMAIL PROTECTED] wrote:
Or you could
Thank you very much for the reply.
For my goal to work I had to get many dependencies in the plugin.jelly file.
I had to import some thing like the following to work as octopus is dependent
on many other Jars.
ant:pathelement path=${plugin.getDependencyPath('octopus:octopus')}/
mvn jar:jar doesn't do anything useful.
@execute phase=package is what you want here (its something similar
to attainGoal)
See:
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
(hopefully it helps a little here).
- Brett
On 12/30/05, Torsten Curdt [EMAIL
I'd like to create an archetype that builds projects with a resource that
maps to the same directory where the class files will eventually reside.
The Maven 2 project itself would have the following structure:
src
`-- main
|-- java
| `-- somepackagename
| `--
p Devi wrote:
Thank you very much for the reply.
For my goal to work I had to get many dependencies in the plugin.jelly file. I had to import some thing like the following to work as octopus is dependent on many other Jars.
ant:pathelement
Hi,
Does a Web Sphere Application Server (WAS) plugin exist for Maven 2? The
plugin matrix says it doesnt yet. Any idea if a snapshot version for Maven 2
is available or when it will be available?
Thanks and regards,
Karthik.
Hi,
Does anyone know which maven 2 repository has the
aspectj-maven-plugin? I tried using the following in my pom but got :
[INFO] The plugin 'org.codehaus.mojo:aspectj-maven-plugin' does not
exist or no valid version could be found
build
plugins
Hello,
I'm using maven2.0 for building Jackrabbit.
When I try to run the command:
%MAVEN_HOME%\bin\install_repo.bat %HOMEDRIVE%%HOMEPATH%\.maven\repository
to create a local repository. However, install-repo.bat doesn't exist.
I would appreciate your help. Very urgent...
Leïla
P.S: Actually,
Jackrabbit requires Maven 1.x, not Maven 2.0.
http://maven.apache.org/maven-1.x/start/download.html
On 12/30/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hello,
I'm using maven2.0 for building Jackrabbit.
When I try to run the command:
%MAVEN_HOME%\bin\install_repo.bat
Thank you Brett.
Although I have installed maven 1.x before, but I thought that a new release
would be O.K. too. Anyways, now it works, thanks you :-)
Leïla
Quoting Brett Porter [EMAIL PROTECTED]:
Jackrabbit requires Maven 1.x, not Maven 2.0.
I just successfully installed and configured Continuum and was able to
import my Maven projects into it.
Is there a way I can call Continuum tasks from Maven itself - mainly
notification?
Thanks,
Sandeep
Hi,
you have to check it out from svn (svn://svn.codehaus.org/mojo/scm/trunk/mojo)
It's in the mojo-sandbox.
Ralf
Dennis Ho wrote:
Hi,
Does anyone know which maven 2 repository has the
aspectj-maven-plugin? I tried using the following in my pom but got :
[INFO] The plugin
I have opened an issue (MOJO-194) in jira. Let me know if it's ok. Maybe Adam
or me can provide more help.
Ralf
Carlos Sanchez wrote:
Could you open an issue in jira?
On 12/29/05, Ralf Quebbemann [EMAIL PROTECTED] wrote:
Yes, that's exactly the same problem I faced yesterday too!
I try to run the jdepend plugin...
In the build part of my pom:
plugin
groupIdjdepend/groupId
artifactIdjdepend/artifactId
version2.9.1/version
/plugin
(the conf which is describe on
mojo.codehaus.org/jdepend-maven-plugin/howto.html doesn't work : it doesn't
find the plug-in in the
It's good you spotted that one Ralf.
Anything I can do to help would be a pleasure, although having said that
I am actually going away for a week tomorrow.
Ralf Quebbemann on 29/12/05 20:00, wrote:
I have opened an issue (MOJO-194) in jira. Let me know if it's ok. Maybe
Adam or me can
Srepfler Srgjan on 29/12/05 17:14, wrote:
Did anyone have success in integrating dbMonster or dbUnit with a maven2
j2ee project? Could you paste some pom's or how-to's on how you did
this? Thanks and Happy Holidays
I use DbUnit and the only interaction it has with maven2 is as a
dependency.
Adam Hardy wrote:
Srepfler Srgjan on 29/12/05 17:14, wrote:
Did anyone have success in integrating dbMonster or dbUnit with a
maven2 j2ee project? Could you paste some pom's or how-to's on how
you did this? Thanks and Happy Holidays
I use DbUnit and the only interaction it has with maven2
Is it possible to get maven2 to automatically download plugins from a
remote repository other than central? I have been unsuccessful in
getting mvn to use my own remote repository to download plugins from.
This is for initial generation of a project so I can't specify
pluginRepositories in
Ryan,
You can use the pluginRepositories section of ~/.m2/settings.xml.
Note: this file is located in C:\Documents and
Settings\userid\.m2\settings.xml on WinXP.
Kind Regards,
John Fallows.
On 12/29/05, Ryan Marsh [EMAIL PROTECTED] wrote:
Is it possible to get maven2 to automatically
Srepfler Srgjan on 29/12/05 20:42, wrote:
Adam Hardy wrote:
Srepfler Srgjan on 29/12/05 17:14, wrote:
Did anyone have success in integrating dbMonster or dbUnit with a
maven2 j2ee project? Could you paste some pom's or how-to's on how
you did this? Thanks and Happy Holidays
I use DbUnit
John,
for some reason the pluginRepositories that i have put in
settings.xml are not getting used to look for plugins. i know the
syntax is correct and the profile is active. what is the other
missing piece?
here is my settings.xml
settings
profiles
profile
iddefault/id
hi
u may check out from mojo sandbox
http://svn.mojo.codehaus.org/trunk/mojo/mojo-sandbox/
I just got this, thinking to write a m2 plug-in to implement logging
with AspectJ via mvn
something like the plugin sample in Maven Developer's Notebook,
however, which is based on M1.
I would
hi,
i checked out the groovy plugin from
svn checkout svn://svn.codehaus.org/mojo/scm/trunk/mojo/mojo-sandbox/
maven-groovy-plugin maven-groovy-plugin
it seems that the classpath is not recognized in groovy. anyone is
having the same problem?
$mvn groovy:groovy -e
ok, i've tried everything. maven ignores my plugin repository and it
ignores any other plugin repositories i add. any ideas?
here is settings.xml
settings
profiles
profile
iddefault/id
activation
activeByDefault/
/activation
repositories
!--
Hi,
On the Maven plugin matrix I see that the JNLP plugin has a check mark under
M2, but a X under FC, and the status says the M2 version is still in progress.
I can't find the JNLP plugin anywhere on both Apache and Mojo websites. Could
someone tell me if the plugin has been released? If not,
hmm, not sure if it's the right solution, but I just specified the resources
to be sources..
sources
sourcesrc/main/resources/layer.xml/source
sourcesrc/main/resources/Bundle.properties/source
/sources
that seemed to do the trick as far as I remember.
Regards
Milos
On 12/29/05,
Dixit, Sandeep (ProSource Solutions) a écrit :
I just successfully installed and configured Continuum and was able to
import my Maven projects into it.
Is there a way I can call Continuum tasks from Maven itself - mainly
notification?
No. What do you want to do?
Emmanuel
61 matches
Mail list logo