Re: There are no tests to run

2009-11-11 Thread Upul Godage
If you don't have the test classes in the default location maven is looking, src/test/java, then you have to give the location. build testSourceDirectorysrc/test/testSourceDirectory The includes are relative to that location, I think. Upul On Wed, Nov 11, 2009 at 8:44 PM, MrPotatoe

Re: Java Version

2008-08-04 Thread Upul Godage
Maven java compiler plugin's default source setting is 1.3. One way is to override it in the pom.xml as follows. project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://maven.apache.org/POM/4.0.0

Re: How to execute a script in maven2 ?

2008-06-05 Thread Upul Godage
This shows how to execute a script file in a maven phase using Ant scripting. See the sample. http://maven.apache.org/guides/mini/guide-using-ant.html Upul On Thu, Jun 5, 2008 at 7:50 PM, nicolas.duminil [EMAIL PROTECTED] wrote: Greetings, I need to execute a script (bat, cmd, sh, etc.) in

Re: maven says artifact does not exist, without consulting repository

2008-03-26 Thread Upul Godage
Hi, Check whether snapshots are enabled for that repository in the ~/.m2/settings.xml or pom.xml* * snapshots enabledtrue/enabled /snapshots Upul On Wed, Mar 26, 2008 at 4:53 PM, David Delbecq [EMAIL PROTECTED] wrote: Hello, i have a curious problem here. Maven tells me this (see below)

Re: How can I create a maven project with multiple modules?

2008-03-06 Thread Upul Godage
Hi, See the example 3 here. http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Project_Aggregation Hope this is what you need. Upul On Fri, Mar 7, 2008 at 10:54 AM, youhaodeyi [EMAIL PROTECTED] wrote: I can use this command to create a maven project: mvn

Re: maven-aar-plugin

2008-03-04 Thread Upul Godage
It has been answered in the Axis mailing list. For further questions you can ask from the Axis mailing list. With version set to 1.3 in pom.xml build plugins plugin groupIdorg.apache.axis2/groupId artifactIdaxis2-aar-maven-plugin/artifactId

Re: dependency-copy

2008-03-04 Thread Upul Godage
I think assembly plugin does this. Here all the dependencies are copied to a lib directory in the final release. http://maven.apache.org/plugins/maven-assembly-plugin/howto.html assembly idbin/id dependencySets dependencySet outputDirectorylib/outputDirectory

Re: Newbie: how to do a release?

2008-02-21 Thread Upul Godage
Hi, Check out the assembly plugin. It does just that. You have to write an assembly descriptor xml to customize the release the way you want it. http://maven.apache.org/plugins/maven-assembly-plugin/howto.html Here is a very simple assembly descriptor file which bundles all jar files to the a