ignoring test dependencies when you run maven with maven.test.skip=true

2008-02-04 Thread Rohnny Moland
Hello, I was reading this: http://maven.apache.org/guides/mini/guide-attached-tests.html. It works fine if I build my project and run the tests, but what if I want to just build my project and skip the tests? I get a dependency resolution error then, because my test dependency cannot be found.

Re: ignoring test dependencies when you run maven with maven.test.skip=true

2008-02-04 Thread Rohnny Moland
Thanks. maven.test.skip.exec=true is what I was looking for. Thanks again, Rohnny On Feb 4, 2008 11:31 AM, Simon Kitching [EMAIL PROTECTED] wrote: Simon Kitching [EMAIL PROTECTED] schrieb: Tests can take a long time to run, so it's useful to sometimes skip that. But compiling them is

organizing groups of dependencies

2008-01-27 Thread Rohnny Moland
Hei, I am trying to figure out the best way to group dependencies for easier maintainance. I was reading this: http://www.mail-archive.com/[EMAIL PROTECTED]/msg61076.html Which is close to what I am looking for. Is this something that is going to be implemented in a later maven version? I also

Selenium jars not on the maven repository anymore

2008-01-16 Thread Rohnny Moland
Hello, It seems like the selenium jars have been removed or moved tonight? At least they are not on our mirror nor on repo1.maven.org today. Can the person that removed them, please put the jars back?. Regards, Rohnny - To

Re: Selenium jars not on the maven repository anymore

2008-01-16 Thread Rohnny Moland
://archiva.openqa.org/repository/releases/ * OpenQA Snapshots - http://archiva.openqa.org/repository/snapshots/ * Third Party Dependecnies - http://archiva.openqa.org/repository/thirdparty/ I think you must update your repository section. Regards, Marco Rohnny Moland wrote: Hello

[m2] aggregating javadoc

2006-12-28 Thread Rohnny Moland
Hello, When I set aggregate to true, the javadoc link does not show in the project report section of my root site. I guess this is a bug or do I need to do something special for it to show up. The javadoc _is_ generated with all the information, the link is just missing. Using version 2.2 of

[m2] Adding a pre-process stage to the maven build

2006-11-29 Thread Rohnny Moland
Hi, Is it a way I can specify the order of what should be build? If I have a root pom with two trees, lets say one is the dev-tools and the other is my business artifacts. I want to specify that the dev-tools should be build (and installed) _before_ the business artifacts because the business

[m2] NP when developing a plugin

2006-11-21 Thread Rohnny Moland
Hi! Under development, when I develop my maven plugin, I run mvn clean install in the plugin dev dir, and then mvn goal in another directory which contains my test pom.xml. But, if I switch fast beween building/installing the plugin and trying it out, I get a nullpointer exception. I would guess

Re: [M2] How to softcode 'version' in dependency declaration

2006-08-17 Thread Rohnny Moland
I guess it should be possible to add something like: properties gw-plugin.version1.0/gw-plugin.version /properties ..to your pom or settings file. HTH, Rohnny hamdard wrote: Hi Is it possible to softcode the version in the dependency declaration? For example, the pom could be like

Retrieving root directory in maven 2

2006-08-09 Thread Rohnny Moland
Hi there, How can I retrieve the root directory in maven 2 from the pom? ${basedir} was the closest I found, but then I get the path from where maven is running, so this seems to be the module path. I would guess its a simple ${..} I can use.. BTW: Where can I find an overview over all the

Re: using apt (annotation processing) with maven 2

2006-08-04 Thread Rohnny Moland
/configuration goals goalexecute/goal /goals /execution /executions /plugin Rohnny Rohnny Moland wrote: Chris Hilton wrote: There is a source jar for an apt plugin at: http://www.mvnrepository.com/artifact/org.apache.myfaces.tobago/maven-ap t-plugin/1.0.7

Getting the dependencies for a plugin

2006-08-04 Thread Rohnny Moland
Hi, How can I get the dependencies for a plugin, from a plugin (in code) ? Thanks in advance, Rohnny - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

using apt (annotation processing) with maven 2

2006-08-03 Thread Rohnny Moland
Hi, I wonder if any have got the ant apt plugin to work with maven 2? Just trying to do something like this: tasks apt srcdir=${basedir}/src/main/java destdir=${basedir}/src/main/resources/component classpath=${project.compileClasspathElements}

Re: using apt (annotation processing) with maven 2

2006-08-03 Thread Rohnny Moland
Chris Hilton wrote: There is a source jar for an apt plugin at: http://www.mvnrepository.com/artifact/org.apache.myfaces.tobago/maven-ap t-plugin/1.0.7 Thanks, I'll try that. Couldnt find how to add classpath and such things then, but I may ask more on the myfaces mailinglist. No idea if

Re: Getting project classpath in ant

2005-11-03 Thread Rohnny Moland
On 11/03/2005 02:32 AM, Brett Porter wrote: It's a reference, you can't echo it. try: property name=out refid=maven.dependency.classpath / echo${out}/echo But artifacts with the system scope are not included in the maven.dependency.classpath. Is this a bug, or how can I retrieve a

Re: [m2] Image link when creating a site?

2005-10-28 Thread Rohnny Moland
On 10/28/2005 01:16 PM, Roland Bali wrote: Hi, I'm trying to add a image link to my site descriptor but the image is not added. I've tried the following: menu name=Links item name=image1 href=http://maven.apache.org; img=http://maven.apache.org/images/logos/maven-feather.png/ item

[m2] artifact-resolver plugin

2005-10-27 Thread Rohnny Moland
Hi, Does it exist something as easy as a plugin for inserting/copying an artifact/file into a maven repository? I have been looking at the maven-install-plugin which is nice, but it has read-only properties, and I am looking for something I can include in my pom. I dont want to do it manually..

[M1.1] Issue when calling an ant target and using property refs

2005-09-15 Thread Rohnny Moland
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello :) I have an ant script like this: property name=jdo.lib value=lib/jdo/ path id=compile.path !-- Does not work with maven -- pathelement location=${jdo.lib}/odbfe.jar/ !-- works with maven -- pathelement

Re: [M1.1] Issue when calling an ant target and using property refs

2005-09-15 Thread Rohnny Moland
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This is now solved. In case anyone cares, the reason why the reference to the property didnt work, was that I had the same property defined in both maven and ant. - -- Rohnny Rohnny Moland wrote: Hello :) I have an ant script like