Re: Axis2 and Maven2

2008-06-02 Thread Karl Heinz Marbaise
Hi, now i have changed the dependencies...to the following: groupIdorg.apache.axis2.maven2/groupId artifactIdaxis2-java2wsdl-maven-plugin/artifactId version1.4/version Now the the following message have vanished... [INFO] [axis2-java2wsdl:java2wsdl {execution: default}] java.lang.Exception:

Re: Method calculateLink threw exception for reference $PathTool

2008-06-02 Thread David Delbecq
Le Sunday 01 June 2008 20:51:17 David Delbecq, vous avez écrit : Hello, I get the following error when i try to generate the site of a maven2 modules based project. [INFO] Generating Continuous Integration report. [ERROR] Method calculateLink threw exception for reference $PathTool in

generate link css on maven reports

2008-06-02 Thread ggalou08
hi ! I generate a site with maven reports and in the code source I see a link on a css file : print.css. This file doesn't exist, and i wonder if I can force Maven not to generate this link or if it's just a bug ?!? this is the source : style type=text/css media=all @import

Convert Maven 1 reactor tag to Maven 2 Java Mojo

2008-06-02 Thread benny . goemans
undefined

How can I run an Ant target in Maven?

2008-06-02 Thread youhaodeyi
I use Maven runant plugin to execute ant task, see below: build plugins plugin artifactIdmaven-antrun-plugin/artifactId configuration tasks

What this errors or exceptions can mean?

2008-06-02 Thread Sench
Hi All, I'm trying to create my projects site with maven. Well creation process is fine! But I'm getting some errors in my console. Ex. 1. [INFO] Velocimacro : initialization starting. [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm [ERROR] ResourceManager :

manage dependencies at runtime

2008-06-02 Thread David Delbecq
Hello, I have an application that is fully managed with maven 2 at compile time. It has also it's own plugin infrastucture. So it's possible to include plugins to my app, by adding the plugins in a specific jar folder. Those plugins (which have nothing to do with maven plugins!) are also build

How can I package test code?

2008-06-02 Thread youhaodeyi
mvn package only packages source code into a jar file. I want to package the test code into a jar file too. How can I do this? -- View this message in context: http://www.nabble.com/How-can-I-package-test-code--tp17599476p17599476.html Sent from the Maven - Users mailing list archive at

Announcing Grails Maven Plugin 0.4

2008-06-02 Thread Trygve Laugstøl
The third release of the grails-maven-plugin is now available. You'll find the full list of changes in [jira|http://forge.octo.com/jira/secure/ReleaseNote.jspa?projectId=10120styleName=Htmlversion=10332] A lot of small bugs has been fixed and a few improvements has been implemented. As more

RE: Publishing Source and Javadoc to Local Repository

2008-06-02 Thread Beelen, M. - SPLXL
Alan, To install the javadoc and source into your local repository you could also run mvn install -DperformRelease=true With kind regards, Marco Beelen Senior Software Engineer IPROFS [1]: http://www.mail-archive.com/users@maven.apache.org/msg58933.html -Original Message-

Re: How can I package test code?

2008-06-02 Thread [EMAIL PROTECTED]
youhaodeyi schrieb: mvn package only packages source code into a jar file. I want to package the test code into a jar file too. How can I do this? See the documentation for maven-jar-plugin, goal test-jar - To

RE: How can I package test code?

2008-06-02 Thread Martin Gainty
sample plugin declaration from pom.xml plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jar-plugin/artifactId version2.2/version executions execution goals goaltest-jar/goal /goals

How can I compile my first maven project

2008-06-02 Thread xserge
I've created first maven project using next command mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app SUCCESSFULLY Now I'm trying to compile this project from folder my-app using command mvn compile and I received

Re: How can I compile my first maven project

2008-06-02 Thread [EMAIL PROTECTED]
xserge schrieb: I've created first maven project using next command mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app SUCCESSFULLY Now I'm trying to compile this project from folder my-app using command mvn compile and I received

Re: How can I compile my first maven project

2008-06-02 Thread John Casey
It sounds like Maven is having a hard time accessing the network to download the plugins it needs to perform your build. Maybe you have a proxy that needs to be configured? If so, you might check out this page: http://maven.apache.org/guides/mini/guide-proxies.html Good luck, -john xserge

Re: How can I compile my first maven project

2008-06-02 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] schrieb: xserge schrieb: I've created first maven project using next command mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app SUCCESSFULLY Now I'm trying to compile this project from folder my-app using command mvn compile and I received

Re: How can I run an Ant target in Maven?

2008-06-02 Thread John Casey
You should be able to simply call the hibernatetool without a target. IIRC, the antrun plugin may not support targets. -john youhaodeyi wrote: I use Maven runant plugin to execute ant task, see below: build plugins plugin

Re: How can I compile my first maven project

2008-06-02 Thread xserge
I've set proxy settings successfully in settings.xml, also I can reach http://repo1.maven.org/maven2/org/apache/maven/plugins; without any problems. Some plugins have been downloaded by maven in my local repository during command mvn archetype:create -DgroupId=com.mycompany.app

Re: How can I run an Ant target in Maven?

2008-06-02 Thread [EMAIL PROTECTED]
Every maven plugin has documentation on the maven site. It is the best place to look for answers to questions like this. See: http://maven.apache.org/plugins/maven-antrun-plugin/plugin-info.html As the documentation says, writing a target tag is NOT allowed within the pom.xml file. So I would

Re: How can I compile my first maven project

2008-06-02 Thread [EMAIL PROTECTED]
xserge schrieb: I've set proxy settings successfully in settings.xml, also I can reach http://repo1.maven.org/maven2/org/apache/maven/plugins; without any problems. Some plugins have been downloaded by maven in my local repository during command mvn archetype:create

Re: How can I compile my first maven project

2008-06-02 Thread xserge
I've just deleted local repository and all compiled SUCCESSFULLY. Thank you for help. -- View this message in context: http://www.nabble.com/How-can-I-compile-my-first-maven-project-tp17600859p17602079.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: How can I run an Ant target in Maven?

2008-06-02 Thread Alan Gutierrez
Related question: In most of my projects I create command line tools. To get them up and running quickly, I use Ant and all the classpath configuration that is already defined in my build.xml. I've seen that you're supposed to use Profiles to switch out plugin configurations, so I could

Re: How can I run an Ant target in Maven?

2008-06-02 Thread [EMAIL PROTECTED]
Alan Gutierrez schrieb: Related question: In most of my projects I create command line tools. To get them up and running quickly, I use Ant and all the classpath configuration that is already defined in my build.xml. I've seen that you're supposed to use Profiles to switch out plugin

Question About Dependencies.

2008-06-02 Thread Artur Kirsis
Hello, I have following question. If I have several profiles and each profile need several dependencies ( there is default list of them and several dependencies that is different ) How can I enable for the example dependencies tools and tools2 for profile localhost and tool3 and tool4 for

Re: Announcing Grails Maven Plugin 0.3

2008-06-02 Thread Arnaud HERITIER
In fact it's only the 0.3 ;-) Arnaud On Mon, Jun 2, 2008 at 1:53 PM, Trygve Laugstøl [EMAIL PROTECTED] wrote: The third release of the grails-maven-plugin is now available. You'll find the full list of changes in [jira|

Re: Question About Dependencies.

2008-06-02 Thread [EMAIL PROTECTED]
Artur Kirsis schrieb: Hello, I have following question. If I have several profiles and each profile need several dependencies ( there is default list of them and several dependencies that is different ) How can I enable for the example dependencies tools and tools2 for profile localhost

Re: generate link css on maven reports

2008-06-02 Thread Paul Davis
actually, it's so you can add your own css at: src/site/resources/css/ in your project and have it used in the site On Mon, Jun 2, 2008 at 2:03 AM, ggalou08 [EMAIL PROTECTED] wrote: hi ! I generate a site with maven reports and in the code source I see a link on a css file : print.css.

How to get the compile or runtime classpath of a build into a plugin ?

2008-06-02 Thread RobAtWebDE
Hi, I am writting my own plug-in and try to pass in the compile and/or runtime classpath of the build. A previous version was using a build in Ant-task using something like property name=compile_classpath refid=maven.compile.classpath/ and it works. But where do I get the same information

java.lang.ClassNotFoundException: TestSuite

2008-06-02 Thread Dmitry Beransky
Hi folks, Any ideas what might be causing the exception below? I'm at my whit's ends. (using surefire 2.4.3) [09:15:30]: Forking command line: cmd.exe /X /C C:\Program Files (x86)\Java\jdk1.5.0_06\jre\bin\java -jar C:\BuildAgent\temp\buildTmp\surefirebooter52899.jar

[m2] server setting in settings.xml?

2008-06-02 Thread Mick Knutson
I want to know if it is possible to add a server inside a profile in my settings.xml? So that I can have one build deploy to stage, and one to production based on the profile. Or would it be better to just specify a different setting-prod.xml? -- --- Thank You… Mick Knutson BASE Logic, inc.

execute java class with symbolic name

2008-06-02 Thread mscarpentier
Hello, I wanted to execute a Java class that has a main method on it with Maven, and so far I could execute this by doing something like this mvn exec:java -Dexec.mainClass=com.business.project.MyClass... What I wanted to use was something more 'user friendly', like mvn MyCustomizedClass or even

Re: execute java class with symbolic name

2008-06-02 Thread Kalle Korhonen
Why don't you just put your main class in the default package then? Kalle On Mon, Jun 2, 2008 at 12:06 PM, mscarpentier [EMAIL PROTECTED] wrote: Hello, I wanted to execute a Java class that has a main method on it with Maven, and so far I could execute this by doing something like this mvn

Cannot find parent: org.apache.maven.plugins:maven-plugins

2008-06-02 Thread Roger Martin
Hi, trying out a fresh svn checkout and build. The build is with maven (apache-maven-2.0.9) and is saying the reason is Reason: Cannot find parent: org.apache.maven.plugins:maven-plugins for project: null:maven-clean-plugin:maven-plugin:2.2 for project null:maven-clean-plugin:mav en-plugin:2.2

Re: Cannot find parent: org.apache.maven.plugins:maven-plugins

2008-06-02 Thread Mick Knutson
Upload your pom.xml On Mon, Jun 2, 2008 at 1:25 PM, Roger Martin [EMAIL PROTECTED] wrote: Hi, trying out a fresh svn checkout and build. The build is with maven (apache-maven-2.0.9) and is saying the reason is Reason: Cannot find parent: org.apache.maven.plugins:maven-plugins for project:

Re: Cannot find parent: org.apache.maven.plugins:maven-plugins

2008-06-02 Thread Roger Martin
Hi Mick, This pom.xml is a pom.xml out of the fuji svn trunk at https://fuji.dev.java.net/source/browse/fuji/ Not sure this is maven or fuji but I don't see anyone talking about it at fuji mailing list. So maybe it is related to me using the latest 2.0.9 version of maven On 6/2/08, Mick

Re: Cannot find parent: org.apache.maven.plugins:maven-plugins

2008-06-02 Thread Mick Knutson
what about YOUR pom.xml that you are creating a project for? Have you built fuji by itself? If so, then there is something wrong in your pom, not fuji's On Mon, Jun 2, 2008 at 1:35 PM, Roger Martin [EMAIL PROTECTED] wrote: Hi Mick, This pom.xml is a pom.xml out of the fuji svn trunk at

Re: Cannot find parent: org.apache.maven.plugins:maven-plugins

2008-06-02 Thread Roger Martin
Building fuji itself. Same behavior when building a fuji project which creates a pom.xml Wait on studying this further. It is looking like a file locked(couldn't delete C:\Users\Owner\.m2\repository\org down the folder tree

Über Archetype ?

2008-06-02 Thread Chris_Graham
Hi All, Does maven support the concept of an Über Archetype? That is, a single archetype that can create multiple projects in one invocation. Ideally, what I am looking for is a single archetype that can create a full J2EE project as a multi module build, along with all of it's EJB,

Maven and GData

2008-06-02 Thread Alan Gutierrez
It seems that Google Guice has made it into the Maven repositories while GData has not, even though they are both very openly licensed. I'm searching using mvnrepository.com. I'm not seeing anything for GData. I did find the Google APIs Mavenized project. Not sure how up to date it is.

Re: How can I run an Ant target in Maven?

2008-06-02 Thread Alan Gutierrez
On Jun 2, 2008, at 10:06 AM, [EMAIL PROTECTED] wrote: Alan Gutierrez schrieb: Related question: In most of my projects I create command line tools. To get them up and running quickly, I use Ant and all the classpath configuration that is already defined in my build.xml. I've seen that