That seems a good solution
Could you please tell me how to get the absolute path to a dependency ?
What is the maven2 equivbalent for maven 1
"${plugin.getDependencyPath('com.sun:rt')}" ?
Iv' tried :
${localRepository}/com/sun/rt/1.3.1_08/rt.jar
Hello,
I have a very little maven project (only one source file), sources as usual in
src/main/java, everything works fine, mvn compile, mvn site and so on. But not
mvn pmd:pmd. It generates some files (target/basic.xml, target/unusedcode.xml
...), pmd.xml is also generated, but its nearly emp
If there are no sources in src/main/java but only in src/generated/java why
don't you set the project source root to src/generated/java like this:
...
${basedir}/src/generated/java
...
Kind regards,
Valeri Felberg
On 6/29/06, Mykel Alvis <[EMAIL PROTECTED]> wrote:
I may have misconfigured
Heiko,
I have the same issue. Except that only a blank page is created.
org.apache.maven.plugins
maven-pmd-plugin
I also use JXR for cross referencing java
org.apache.maven.plugins
maven-jxr-plugin
Either
Hey, Is it possible to use a properties files during a phase, i.e.
I want to have two properties files for connecting to the database. One for
testing. So they both have the same properties but will have different
values, e.g.
filter-dev.properties
property1.prop=${dev.prop1}
filter-test.propert
Hi Users
How can I do the setup Maven2.0.4 in my PC
I am getting the following error, how can I solve this problem and
Please help
Thanks in Advance
Sasikumar
E:\maven-2.0.4>mvn install -e
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
--
Hi,
I'm having problems getting maven2 to update/download the latest snapshot
version from a remote repository.
The snapshot version is deployed with maven and I can see that the
metadata information (with buildnummer etc.) is downloaded but the jar
itself is not!!
It this a bug with version 2.0
Forgot to mention that I of course use the
always
setting for the repository.
Regards Claus
> Hi,
>
> I'm having problems getting maven2 to update/download the latest snapshot
> version from a remote repository.
>
> The snapshot version is deployed with maven and I can see that the
> metadata i
Claus Myglegaard Vagner wrote on Thursday, June 29, 2006 11:02 AM:
> Hi,
>
> I'm having problems getting maven2 to update/download the
> latest snapshot
> version from a remote repository.
>
> The snapshot version is deployed with maven and I can see that the
> metadata information (with buildnu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
> I am getting the following error, how can I solve this problem and
> Please help
Are you behind a firewall, i.e. do you have to use a proxy for
connecting to the WWW?
- -> http://maven.apache.org/guides/mini/guide-proxies.html
HTH
Thorsten
Hi,
what exactly are you trying to do? You can't *setup* maven with 'mvn install'. The install
goal is used to install a project artifact in you local repository.
To get started with maven you should read the 'Geting Started Guide' [1] and/or the free
Megere maven book [2]. If you are behind
I think that feature needs to be implemented, an option to add a
dependency to the bootclasspath
On 6/29/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
That seems a good solution
Could you please tell me how to get the absolute path to a dependency ?
What is the maven2 equivbalent for maven 1
Now I am getting the following error. Actually I am doing the local
repository download.
[WARNING] The parameter expression: 'project.build.resources' used in
mojo: 'resources' has been deprecated. Use 'projec
t.resources' instead.
[WARNING] The parameter expression: 'project.build.resources' used
Here's how I've done it (with help from others from the mailing list):
org.apache.maven.plugins
maven-surefire-plugin
false
**/UnitTestSuite.java
**/*Test.java
That may be an interesting way to solve this issue.
But for a workaround, do you know any way to set the compilerArguments
using an ${xx} expression, based on the localRepository path ?
Carlos Sanchez a écrit :
I think that feature needs to be implemented, an option to add a
dependency to the
Hi All,
I got one temporery solution for this thread.
Maven-archiver version 2.1 now available in remote repository.
But Maven-jar-plugin pointing to maven-archiver 2.0. a small solution for
this .. change the version in maven-jar-plugin.pom in your local
repository.
Thanks
--
View th
Try : http://www.abstracthorizon.org/forum/index.php
"Kieran Brady" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> Works ok here :)
>
> Non-authoritative answer:
> Name:abstracthorizon.org
> Address: 207.210.85.147
> Aliases: www.abstracthorizon.org
>
>
> - Ori
What version of the plugin? We've been using 2.1-SNAPSHOT for many months
and haven't seen the problems you describe.
On 6/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Heiko,
I have the same issue. Except that only a blank page is created.
org.apache.maven.plugins
mave
Could somebody post how I might copy an artifact to a flat directory during
the deploy phase? Would this need to call out to ant or is their a mojo in
maven that can achieve the same aim?
The rationale is to have a directory where jars can be run directly if their
dependencies are specified in th
Looks like it. You can check with David Jencks for confirmation...
kris bravo * Clarify Development * office: 678.893.1288 * mobile:
678.296.8723
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of jan_bar
Sent: Wednesday, June 21, 2006 8:06 AM
To: users@maven.apache.or
There's another book out from the developers you ought to look at instead if
you are interested in Maven 2.
kris bravo · Clarify Development · office: 678.893.1288 · mobile: 678.296.8723
-Original Message-
From: David [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 28, 2006 4:11 AM
Hi all,
I have a project that I am trying to convert from some custom ant black
magic to maven.
The project depends on (amongst others)
"org.eclipse.birt.report.model_2.0.1.jar", which in turn includes
"model.jar".
When an attempt is made to build the project, I get errors like this one:
/Users
I don't really understand what you are trying to do. Are you following a tutorial/article
to get started with maven. If yes: which one?
From your first mail I see that you have executed maven from the directory
'E:\maven-2.0.4'. Is that the directory you extracted the maven distribution archive
You maven guys are geniuses!!!
I know it's OT but I just had to say that.
--
Jeff Mutonho
GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
I'm specifying a unversioned name for my war , under the maven-war-plugin as :
eportal
When i try to deploy to Tomcat , the cargo-maven2-plugin is complaining that
~ /target/eportal-1.0.0.war does not exist ...which is correct ,
since the war file is called eportal.war.
How do I configure the
You're talking about the Developer's Journal? No, that covers Maven 1, and
only Maven 2 in a very cursory sense. You are better sticking with Better
Builds.
On 6/29/06, Bravo, Kris <[EMAIL PROTECTED]> wrote:
There's another book out from the developers you ought to look at instead
if you are in
Actually I think he's talking about the Developer's Notebook series,
published by Oreilly.. (cf. http://www.oreilly.com/catalog/mavenadn/)
Vincent Massol has also participated in that one..
The notebook covers maven 1, and is defninitely not as good as the new book
by Mergere, which covers maven
I haven't specified a version. My POM looks like
org.apache.maven.plugins
maven-pmd-plugin
true
I'll bet money you are behind a proxy or have some other network issue.
If it's the former, add your proxy information to settings.xml in
{HOME}/.m2/settings.xml
For more info, go here:
http://maven.apache.org/ref/current/maven-settings/settings.html
If it's the latter, plugin your cable back in.
Hi.
Don't know if you solved this yet, but it worked for me just adding the
version tag to the plugin information, as below:
com.sun.tools.xjc.maven2
maven-jaxb-plugin
1.0
generate
org.apache.maven.shared
maven-plugin-testing-harness
1.0-beta-1
test
http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Harness
I originally put this harness together with help from jason so that we
could instantiate mojo's easily in test cases and feed in
configuration se
Isn't there anyone that knows what's behind the "localRepository" property ?
I've tried ${localRepository}/x/y/z and gets
{bootclasspath=[local] ->
file://D:/maven/M2repository/com/sun/rt/1.3.1_08/rt.jar}
I've then searched into maven2 sources and tried
${localRepository.location}, ${localre
try localRepository.class to see what class is it, and then look into
the javadocs to see what properties are available
On 6/29/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
Isn't there anyone that knows what's behind the "localRepository" property ?
I've tried ${localRepository}/x/y/z and ge
Hi,
I've seen this issue in the archives but without any solution. I checked
on EasyMock's group mail archive with no luck.
I'm running some EasyMock tests and it looks like the EasyMock
Exceptions are causing problems for surefire.
Here's the exception message from the mvn command, and bel
${localRepository.class} gives me ...
{bootclasspath=null/com/sun/rt/1.3.1_08/rt.jar}
Isn't this strange ?
Carlos Sanchez a écrit :
try localRepository.class to see what class is it, and then look into
the javadocs to see what properties are available
On 6/29/06, Nicolas De Loof <[EMAIL PROTE
I've been trying to build my own plugin using an Ant mojo, and when I
attempt to load it up into maven, I'm getting a null pointer exception.
How does one go about debugging this to determine where I've made a
mistake in the plugin?
This is all being driven in a move to convert a pre-ant build me
Looking at the ClearCase provider it doesn't implement the method:
AddScmResult add( ScmRepository, ScmFileSet, CommandParameters )
Is there any particular reason for this since elsewhere there is a
ClearCaseAddCommand class that appears to implement the logic to do the
add?
Do I just ha
Hrm, the remove command doesn't exist either.
MAR
-Original Message-
From: Russell, Mark [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 29, 2006 10:38 AM
To: Maven Users List
Subject: ClearCase provider doesn't implement add?
Looking at the ClearCase provider it doesn't implement the m
Sorry, I mis-spoke on the version, we were originally using
2.0-beta-2-SNAPSHOT hosted at either:
* http://snapshots.maven.codehaus.org/maven2
* http://cvs.apache.org/maven-snapshot-repository
You're classes don't happen to be using Java 5 and Generics do they?
You'll need to configure the pl
The Mojo team is pleased to announce the NBM Plugin 2.2 release!
htp://mojo.codehaus.org/nbm-maven-plugin/
This plugin allows user to:
- build Netbeans Module projects (a special "nbm" packaging will
enhance the manifest of the module jar and pack the NBM file, ready
for distribution)
- generat
I'm in the process of making the archetype creation part of the next
Mevenide for Netbeans release.
It would be cool if someone would work on the archetypes, the current
list is somewhat non impressive, both number-wise and feature-wise.
I'm planning to add an archetype for creating Netbeans Modu
Right. Developer's NOTEBOOK is what I meant. typo (well, a thinko)
Eric
On 6/29/06, Jo Vandermeeren <[EMAIL PROTECTED]> wrote:
Actually I think he's talking about the Developer's Notebook series,
published by Oreilly.. (cf. http://www.oreilly.com/catalog/mavenadn/)
Vincent Massol has also part
Thanks! Like moving the "generated" sources to "src/main", that does
solve my immediate need, but there might be source in the "real"
source directory in the future and that those (pre)generated sources
will eventually get generated in the correct way, I hope.
The question still remains about ho
All,
We have an examples project which has an artifact type of 'war'. The
dependencies for the war are correct and for instance servlet api has
scope 'provided'.
The provided jars don't show up in the WAR file, which is what I want.
Now the catch: I want to create a combined src/binary ZIP dist
On 6/22/06, Marc Dugger <[EMAIL PROTECTED]> wrote:
Here's how I've done it (with help from others from the mailing list):
org.apache.maven.plugins
maven-surefire-plugin
false
**/UnitTestSuite.java
**/*Te
I also found out the hard way that Maven does not support an emacs-compatible
format for error messages. This is surprising since the java compiler
itself does.
--
View this message in context:
http://www.nabble.com/Emacs-support-%28or-lack-thereof%29-tf1845329.html#a5110009
Sent from the Maven
I thought this was working earlier but I was very, very wrong.
I'm still trying to get wscompile to run as an ant-wrapped task, and I
need the classpath of the running task accessible from within the
wrapped build.xml
In ant, this would be done like:
{inserting various pat
Here it is.
[DEBUG] org.apache.maven:maven-archiver:jar:2.1:runtime (selected for
runtime)
Jochen Wiedmann wrote:
Mark Reynolds wrote:
I read MWAR-34 and MWAR-35 but it is not clear to me what the intended
behavior is as a result of fixing those bugs. Is it no longer supposed
to add any o
Wasn't your original problem with grabbing compilation errors from the
output? You should probably take a look at the following message:
http://www.nabble.com/forum/ViewPost.jtp?post=4125504&framed=y
It should be as easy as modifying your emacs setup.
Chris
> -Original Message-
> From:
I've seen this continuum instance:
http://ci.gbuild.org/continuum/servlet/continuum
Which skin/configuration is needed to get that look and feel in
Continuum? It doesn't look much like my own installation...
Thanks,
Denis
--
"And in the end, the love you take is equal to the love you make"
--
This is the appearance from 1.0.3+. It isn't currently customisable,
though it should be possible by editing the CSS in the source code.
- Brett
On 30/06/06, Denis Fuenzalida <[EMAIL PROTECTED]> wrote:
I've seen this continuum instance:
http://ci.gbuild.org/continuum/servlet/continuum
Which sk
Hi all,
Just want to know if anyone seem this the same problem in 1.0.3.
We have a shell script scheduled to run every midnight. It basically checks
out the maven projects from CVS.
the pom structure we have is like the following:
parentPOM
-- modulesPOM
childproject1
childproject2
---
Henrik,
You can find the hammurapi plugin for maven 1 at
https://maven-plugins.dev.java.net/
I am currently moving the plugin to SF.net with other plugins. I was
planning a maven 2 version of the plugin and started some initial work but
progressing very slowly because of the amount of time i get
Thanks, Mike. I did spend some time rereading all the associated bugs
and looking at some source code (though I don't know where in the source
tree the archiver has moved to), but I didn't figure out the switch to
turn on automatic entries or how to specify my own values.
-- Mark R
Mike Perha
Hi Andy,
Thanks a lot for the information. I was out of office and didn't have any
time to try it, but it looks like this is what I need. I was unaware of the
'exclusions' possibility for the dependencies.
The 'classloader issues' I meant aren't perhaps problems. I must have
expressed myself
The only difference between assembly:assembly and assembly:attached is
the object that they are working on. The goal assembly:assembly uses
${executedProject} while assembly:attached uses ${project}.
So if assembly:attached works for you, then I suggest you use it.
Martijn Dashorst wrote:
The includes parameter works only on files inside the
compileSourceRoots. So if you have compileSourceRoots as
"src/main/java" and have include as "src/generated/java" then the
compiler searches for "src/main/java/src/generated/java".
Even if you put ${basedir} in the includes, it will stil
This question should go to the cargo plugin developers... you can either
search their archive or join their mailing list.
http://cargo.codehaus.org/Mailing+List+Archives
But if you're lucky, someone here might already know the answer and give
it to you still.
^_^
Jeff Mutonho wrote:
Jesse McConnell wrote:
org.apache.maven.shared
maven-plugin-testing-harness
1.0-beta-1
test
http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Harness
I originally put this harness together with help from jason so that we
could instantiate mojo's easily in test cases and
When I try to 'mvn deploy:deploy-file' a 3rd party jar to our internal
repo from my local repo the jar file that I'm trying to deploy is being
zeroed out (the size) on my local box and thus on the internal repo.
Has anyone seen this before?
This is the command I'm executing:
mvn deploy:depl
http://svn.apache.org/repos/asf/maven/shared/trunk/maven-archiver/
See ManifestConfiguration.java. So I think it would be:
true
true
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Mark Reynolds
> Sent: Thursday, June 29, 2006 7:48 PM
>
Maybe if the test-harness can be provided with a pom.xml file and from
there it can build several of the needed expressions. Of course, the
plugin configuration should already be in the pom so we need not provide
two separate files for the test-harness. I'd also suggest parsing
${basedir} t
62 matches
Mail list logo