RE: Clover failing in maven2/Continuum1.0.3 build

2006-09-04 Thread Vincent Massol
Hi Meghan, -Original Message- From: mcp [mailto:[EMAIL PROTECTED] Sent: mercredi 2 août 2006 14:57 To: continuum-users@maven.apache.org Subject: Clover failing in maven2/Continuum1.0.3 build HI, I'm attempting to run Clover coverage analysis on serveral maven 2.0 projects

M2 release:prepare fails with Subversion to tag SCM reason: Source url is from different repository

2006-09-04 Thread Markku Saarela
Hi, We are using Maven2 2.0.4 with Subversion 1.3 and now we can't make anymore releases. Previously we success. Here is snippet from parent pom.xml scm connectionscm:svn:svn://fitst37/income/trunk/connection developerConnectionscm:svn:svn://fitst37/income/trunk/developerConnection

RE: Clover and additional target/src directory

2006-09-04 Thread Vincent Massol
-Original Message- From: Vincent Massol [mailto:[EMAIL PROTECTED] Sent: vendredi 1 septembre 2006 11:11 To: 'Maven Users List' Cc: '[EMAIL PROTECTED]' Subject: RE: Clover and additional target/src directory Hi Ingo, -Original Message- From: Ingo Düppe

Excluding a module from the reactor from the command lline ?

2006-09-04 Thread Kaare Nilsen
Yo guys. Is it possible to exclude a project in the reactor from the commandline. Lets say I have 4 projects in my reactor : [INFO] [INFO] Reactor Summary: [INFO]

product codes at java 1.4, test sources at java 1.5

2006-09-04 Thread anarkhos
hi, i would like to use java 1.5 in my test classes but i have a constraint to use java 1.4 in my product code. how can i tell maven to compile and execute tests in 1.5 level, while compiling and testing product code in java 1.4 ? thanks in advance, cheers -- View this message in context:

Re: product codes at java 1.4, test sources at java 1.5

2006-09-04 Thread Allan Ramirez
See profiles http://maven.apache.org/guides/introduction/introduction-to-profiles.html -allan anarkhos wrote: hi, i would like to use java 1.5 in my test classes but i have a constraint to use java 1.4 in my product code. how can i tell maven to compile and execute tests in 1.5 level, while

m2 executable jar file

2006-09-04 Thread nepso
Hi, is there any way how to add jar dependencies to generated .jar file with mvn install? Or how can I add normal Class-Path to MANIFEST.MF file? becouse with addClasspathtrue/addClasspath it adds only name of dependency f.e.: commons-net-1.4.1.jar but I need c:\...\commons-net-1.4.1.jar.

General Build Question

2006-09-04 Thread Adrian Herscu
Hi all, I apologize if this is not the right place to ask these kind of questions but could not think about anything better. My scenario is as follows: - one hosted svn repo for daily work - one local svn repo as fallback, synchronized daily against the hosted repo The problem is with the

Re: problem downloading dependencies

2006-09-04 Thread Arnaud HERITIER
Don't you have a proxy to access to ibiblio ? Did you try to replace id (deprecated) by artifactId dependency groupIdbouncycastle/groupId artifactIdbcprov-jdk14/artifactId version124/version url http://www.bouncycastle.org/download//url properties war.bundletrue/war.bundle

Re: product codes at java 1.4, test sources at java 1.5

2006-09-04 Thread Nicolas De Loof
I'm using Java5 to run maven and other tools and I'm using the bootclasspath to force compiler to use java1.3 jre Runtime for compilation : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration

Re: m2 executable jar file

2006-09-04 Thread Sha Jiang
Hello, This link http://maven.apache.org/guides/mini/guide-manifest.html may help you in MANIFEST. I think you can write a MANIFEST firstly, the file includes all entries you required. Then add the MANIFEST to your jar. plugin groupIdorg.apache.maven.plugins/groupId

Authentication question

2006-09-04 Thread Jeff Mutonho
I'm doing a mvn site-deploy' (from an Win XP machine) to deploy to my project onto a Linux machine (running Fedora Core) and everytime a sub-module website is about to be deployed to Linux machine I get asked the following : The authenticity of host '165.148.216.14' can't be established. RSA

How to override jar-plugin dependencies to use a custom version of maven-archiver?

2006-09-04 Thread Max Bowsher
Is it possible to use POM elements to configure the standard maven-jar-plugin to use a custom version of maven-archiver? I am attempting to use: build plugins plugin artifactIdmaven-jar-plugin/artifactId dependencies dependency

Re: Authentication question

2006-09-04 Thread Arnaud Bailly
Jeff Mutonho [EMAIL PROTECTED] writes: The authenticity of host '165.148.216.14' can't be established. RSA key fingerprint is 9e:0c:8c:b8:57:60:e2:b2:1a:1f:fb:f0:10:30:0f:64. Are you sure you want to continue connecting? (yes/no): yes and have to type yes . How do I prevent this from

Re: How to override jar-plugin dependencies to use a custom version of maven-archiver?

2006-09-04 Thread Jason Dillon
Not sure that maven can calculate that 2.2-maxb-1 2.2. Try to use a more standard version... like 2.3-SNAPSHOT, and if you want maxb-1, then put that in the classifier. --jason On Sep 4, 2006, at 3:32 AM, Max Bowsher wrote: Is it possible to use POM elements to configure the standard

Re: Authentication question

2006-09-04 Thread Andrius Šabanas
Jeff Mutonho wrote: I'm doing a mvn site-deploy' (from an Win XP machine) to deploy to my project onto a Linux machine (running Fedora Core) and everytime a sub-module website is about to be deployed to Linux machine I get asked the following : The authenticity of host '165.148.216.14' can't

Re: Authentication question

2006-09-04 Thread Jeff Mutonho
The problem is that ssh subsystem cannot create known_hosts file because its parent directory .ssh does not exist. Try creating a directory named .ssh under your user home directory (usually it is c:\Documents and Settings\username\). Windows Explorer has problems with creating directories

[m1] Test in sub-project depending on tests in another sub-project...

2006-09-04 Thread Benoit Xhenseval
Hi *, I'm struggling on this one... with Maven 1.1-rcx sub-project A defines some tests in src/test (as per convention) sub-project B defines some tests in src/test (as per convention) Problem is that the tests in B extend the AbstractTests in A/src/test how could I define a dependency for the

Maven+Checkstyle - Configuration file location

2006-09-04 Thread Olivier Vierlinck
We use maven+checkstyle on a multi-project. We have defined our checks (mycheckstyle.xml) for one of the component. The xml file is stored right at the root of the component (next to the src and target folders) in the top pom file we have: plugin

deactivating a profile

2006-09-04 Thread Adam Hardy
I'm trying to use two profiles and to switch between them for occasionally. I've seen a couple of emails on this in the archives which don't resolve this issue for me so here is my problem: (1) if I set one profile to activationactiveByDefaulttrue ... then I cannot de-activate it by any

Re: product codes at java 1.4, test sources at java 1.5

2006-09-04 Thread anarkhos
thanks indeed for the answers, but i think i couldn't make my intent clear; the first proposed solution doesn't help, because my unit tests are written in java1.5 syntax, so 1.3 tools can not compile them the second proposed solution doesn't help neither because I'll be needing both 1.4 and 1.5

Re: [m1] Test in sub-project depending on tests in another sub-project...

2006-09-04 Thread Arnaud HERITIER
I see two solutions (not really clean :-( ) : - In the sub-project-A you add your tests in the artifact (you copy the content of maven.test.dest in maven.build.dest or you set maven.test.dest = maven.build.dest). - You move your tests in another external project (sub-project-A-tests) but you have

Latest surefire plugin failure

2006-09-04 Thread Martin Gilday
I have just fired up maven to run some tests today and it triggered a large downloading of updated plugins. I am now getting a null pointer exception from surefire. java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/UrlUtils at

Re: Latest surefire plugin failure

2006-09-04 Thread Brett Porter
A couple have reported it. I'm forwarding this on to the dev@ list so that those working on it are aware it is causing problems. Please review my mail the other day on what measures you should take to avoid this. In summary: - don't add the apache.snapshots repository as a plugin repository

Re: How to override jar-plugin dependencies to use a custom version of maven-archiver?

2006-09-04 Thread Max Bowsher
Max Bowsher wrote: Is it possible to use POM elements to configure the standard maven-jar-plugin to use a custom version of maven-archiver? I am attempting to use: build plugins plugin artifactIdmaven-jar-plugin/artifactId dependencies dependency

Re: Latest surefire plugin failure

2006-09-04 Thread Martin Gilday
Upon reinspecting my POM I have noticed we had left in the http://people.apache.org/maven-snapshot-repository/ repository from when we were trialing the JIRA plugin. Thanks for the tip about pluginManagement. - Original message - From: Brett Porter [EMAIL PROTECTED] To: Maven Users List

Re: Maven+Checkstyle - Configuration file location

2006-09-04 Thread Dario Luis Coneglian Oliveros
Hi Olivier, You could try to use URL for its location. In this case, you can reuse the same checkstyle config file for several components. ... configLocationhttp://yourhost.com/cpqd_checks.xml/configLocation ... Hope it helps. Dário Olivier Vierlinck wrote: We use maven+checkstyle on a

Re: Maven+Checkstyle - Configuration file location

2006-09-04 Thread Roy van der Kuil
Hi, We have a similar setup and have created a 'project' with only a couple of resources. (our own version of the checkstyle xml and suppressions). We deployed this 'jar' and made the maven-checkstyle-plugin dependant on that dependancy: plugin

Re: [m1] Test in sub-project depending on tests in another sub-project...

2006-09-04 Thread Benoit Xhenseval
Hi Arnaud, Merci pour la reponse. I was thinking about the 2 options you mentioned... Since then I think that I have found a solution, in the sub pojects I add the classes of other sub project as resources: So for sub-project B: unitTest includes

Re: product codes at java 1.4, test sources at java 1.5

2006-09-04 Thread Nicolas De Loof
Use a top level configuration based on Java5, and define an execution with ID default for the compile phase, based on Java 1.4. You should use the bootclasspath to avoid your compiled code to make reference to Java5 methods that does not exist in Java 1.4. This is a common bug using

Re: product codes at java 1.4, test sources at java 1.5

2006-09-04 Thread anarkhos
thanks a lot nicolas, that worked :) but i wonder why i can not address test-compile phase? Nicolas De Loof wrote: Use a top level configuration based on Java5, and define an execution with ID default for the compile phase, based on Java 1.4. You should use the bootclasspath to avoid

RE: [m1] Test in sub-project depending on tests in another sub-project...

2006-09-04 Thread Jeff Jensen
Hi Benoit! It works, but requires the exact relative position between them and pulls in the class files vs. a jar depends. If you are happy with that, then you are done! If not, I suggest: - create a TestFramework module - put the base/common test classes from modules A and B in it (in the

Re: product codes at java 1.4, test sources at java 1.5

2006-09-04 Thread anarkhos
opss, false alarm :( it compiles but into class version 49 (which is incompatible with jre1.4) i have modified pom.xml accroding to your recommendations as follows: plugin groupIdorg.apache.maven.plugins/groupId

Re: [ANN] JAR Plugin v 2.1 Released

2006-09-04 Thread Syvalta
Jason van Zyl-2 wrote: The JAR Plugin v 2.1 has been released! You can see the issues that have been closed out here: Seems that the manifest file generated doesn't include the following properties anymore: Extension-Name: Implementation-Title: Implementation-Version: Is this

Re: Clover and additional target/src directory

2006-09-04 Thread Ingo Düppe
Hi Vincent, my intension to clover generated sources is that we also write some unit tests for generated sources. We do this to be sure that the generator works like expected. In particular the andromda 3.2 version is not released yet. So the unit tests helps us to be informed that the

Re: [ANN] JAR Plugin v 2.1 Released

2006-09-04 Thread Emmanuel Venisse
Syvalta a écrit : Jason van Zyl-2 wrote: The JAR Plugin v 2.1 has been released! You can see the issues that have been closed out here: Seems that the manifest file generated doesn't include the following properties anymore: Extension-Name: Implementation-Title: Implementation-Version:

Re: [POLL] Why switch to Maven?

2006-09-04 Thread Jason van Zyl
On 29 Aug 06, at 1:55 PM 29 Aug 06, Eric Redmond wrote: Hi all Maven users! I'm beginning a study to outline the real reasons that people have for avoiding Maven. My questions to you all are: What were your anxieties about using Maven? If you use Maven: what helped you make the decision? If

Maven2 newbee question

2006-09-04 Thread Alexander Sack
I've just started using Maven2 with Eclipse on a big project and so far so good. One odd thing though, I've had to import some dependencies in my local repository using mvn install:install-file goals. However, when I execute mvn, it still searches the default repo even though they are locally.

Re: deactivating a profile

2006-09-04 Thread Alexis Midon
Hi Adam, we've got the same needs. Unfortunately I haven't found out the way to do this. As a result I use the activate by property feature. But event his way doesn't not work smoothly. Actually in a parent pom, if I set the property activate.profile1 for example, its value is correctly passed

Re: deactivating a profile

2006-09-04 Thread Alexander Sack
I have the same needs though I use ANT to call Maven from Eclipse and switch command line parameters to switch profiles. Not sure if this is best practices but it sure works nicely for me! :D -aps On 9/4/06, Alexis Midon [EMAIL PROTECTED] wrote: Hi Adam, we've got the same needs.

Re: [ANN] JAR Plugin v 2.1 Released

2006-09-04 Thread Syvalta
You can add them with this: plugin groupId/groupId artifactId/artifactId configuration manifest addDefaultSpecificationEntriestrue/addDefaultSpecificationEntries addDefaultImplementationEntriestrue/addDefaultImplementationEntries /manifest /configuration

[M2] repository for mondrian

2006-09-04 Thread christophe blin
Does anyone knows a shared repository hosting Mondrian (2.1.1) in a maven2 format ? thanks, chris -- _ Tennaxia, www.tennaxia.com, Pilotez vos obligations environnementales

Re: problem downloading dependencies

2006-09-04 Thread Andrew Birchall
Hi I tried replacing id with artifactId but it made no difference. I didn't know I had to set up a proxy to access ibiblio. There is nothing in the documentation about that How do you do it? Thanks a lot Andy On 04/09/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: Don't you have a proxy to access

RE: Using Archiva as a Mirror

2006-09-04 Thread Andreas Guther
Hi Brett, I actually first renamed the folder on the hard drive and then re-configured the settings in the Administration dialog. Only after those changes the indexer would work. And I do not think I had a typo in my configuration since I am pretty sure I copied the folder name into the

[m2] mvn taglist:taglist source links broken

2006-09-04 Thread Jens Meyer
Hi, my pom is: reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-javadoc-plugin/artifactId configuration minmemory128m/minmemory maxmemory512/maxmemory linksourcetrue/linksource

Re: problem downloading dependencies

2006-09-04 Thread Arnaud HERITIER
http://maven.apache.org/maven-1.x/reference/properties.html#Proxy_Properties cheers arnaud On 9/4/06, Andrew Birchall [EMAIL PROTECTED] wrote: Hi I tried replacing id with artifactId but it made no difference. I didn't know I had to set up a proxy to access ibiblio. There is nothing in the

Jar plugin release and documentation

2006-09-04 Thread Wendy Smoak
Jason just announced the release of maven-jar-plugin 2.1. (Thanks!) Now I'm going to pick on the documentation. :) One of the major problems we had with the jar plugin was invalid manifests. The plugin would use the description as-is for Specification-Title, including line breaks, resulting

Re: [ANN] JAR Plugin v 2.1 Released

2006-09-04 Thread Wendy Smoak
On 9/4/06, Syvalta [EMAIL PROTECTED] wrote: But with no luck. I'm using latest released plugins. Would I need to use some snapshot plugins to get this working? Same here. I opened an issue: http://jira.codehaus.org/browse/MJAR-57 -- Wendy

Weird error with hierarchical projects

2006-09-04 Thread Matthew Denner
Hi, I'm in the process of migrating a project from Maven 1 to Maven 2.0.4 and, although it all seems to be going well, I've hit a problem with the hierarchy of pom.xml. We have a project that is divided into two halves: a client side and a manager side. Each of these sides is further divided

RE: Using Archiva as a Mirror

2006-09-04 Thread Andreas Guther
Hi Brett, I am excited about this application which I think is exactly what I need right now. From what I read so far and understand, it looks to me as Archiva could be an easy to use internal proxy to the official Maven central repository. Unfortunately I still don't fully understand how this

RE: release:perform

2006-09-04 Thread Douglas Ferguson
No the release prepare asks for the tag that it will create. You can perform a release off a tag without doing a prepare. However, it uses the version number from the tag. I'd like to provide a different version number. D- - Original Message - From: Andreas Guther Sent: Sun,

RE: release:perform

2006-09-04 Thread Douglas Ferguson
This is the command. mvn release:perform -DconnectionUrl=scm:svn:https://svn.apache.org/repos/asf/maven/plugins/tags/maven-release-plugin-2.0 Can I add version to this command? If not, I guess I could check out the tag and prepare the release from that tag. D- -Original Message-

Re: [ANN] JAR Plugin v 2.1 Released

2006-09-04 Thread Jason van Zyl
On 4 Sep 06, at 12:02 PM 4 Sep 06, Wendy Smoak wrote: On 9/4/06, Syvalta [EMAIL PROTECTED] wrote: But with no luck. I'm using latest released plugins. Would I need to use some snapshot plugins to get this working? Same here. I opened an issue: http://jira.codehaus.org/browse/ MJAR-57

Re: problem downloading dependencies

2006-09-04 Thread Andrew Birchall
Hi thanks for the pointer, but I'm not sure I need a Proxy. Why would I need one? In any case I dont have one. I am doing this from home and just have a standard cable internet connection. Also, why would some jars succeed in downloading from ibiblio and others not? Cheers Andy On 04/09/06,

RE: [Maven-plugins-user] Configure to check local instead of remote

2006-09-04 Thread Jeff Jensen
Hi mkp, Please post general Maven questions on the Maven users list - this list is for the plugins hosted here at SF. I am redirecting there. In your reply, please remove the SF list. Maven does look in the local repo, and first, by default (by local repo, I infer you mean the .maven dir on a

Re: [Maven-plugins-user] Configure to check local instead of remote

2006-09-04 Thread Alexander Sack
Hi Jeff, In regards to my other question, it seems that my invocation of Maven2 looks at the repo depo no mattrer what even after I have done an mvn install:install-file on my target. The build succeeds but it spends an awefully long time timing out against ibiblio when it can't find the

Re: problem downloading dependencies

2006-09-04 Thread Alexander Sack
I've noticed this that occasionally the connection drops or it can't download a dependency for a split second and then when I retry it works (this is using the default ibiblio repo- my guess is usage of the server). -aps On 9/4/06, Andrew Birchall [EMAIL PROTECTED] wrote: Hi thanks for the

Re: problem downloading dependencies

2006-09-04 Thread Andrew Birchall
Thanks but the dependecies that are failing fail every time I run the build (and I've run it many, many times). On 04/09/06, Alexander Sack [EMAIL PROTECTED] wrote: I've noticed this that occasionally the connection drops or it can't download a dependency for a split second and then when I

[M2] The plugin 'org.apache.maven.plugins:maven-compiler-plugin' does not exist or no valid version could be found

2006-09-04 Thread Andreas Guther
Hi, I am currently trying to take our development environment offline from the Maven2 central repository at Ibiblio. I have configured a profile that redefines the central repository and points to a copy of all I found in my local repository. My assumption was that this should be enough for my

RE: iBiblio Snapshot?

2006-09-04 Thread Andreas Guther
Hi, I am trying to mirror the Maven2 repository internally. Can someone share with me a working rsync command? What I found so far and tried is the following: $ rsync -rlHtSv [EMAIL PROTECTED]:/pub/packages/maven2/ . ssh: connect to host ftp.ibiblio.org port 22: Connection refused rsync:

Real world uses for adding peer directories besides main/ in src/ ?

2006-09-04 Thread Dave Comeau
Are there any examples out there that use addition src/ directories besides main/ ? I have never had the need for this in my projects, but I realize that it provides room to expand/enhance your project cleanly. Just curious...

Re: iBiblio Snapshot?

2006-09-04 Thread Carlos Sanchez
you're using ssh for sync and you shouldn't On 9/4/06, Andreas Guther [EMAIL PROTECTED] wrote: Hi, I am trying to mirror the Maven2 repository internally. Can someone share with me a working rsync command? What I found so far and tried is the following: $ rsync -rlHtSv [EMAIL

Skipping report generation

2006-09-04 Thread Howard Lewis Ship
I often would like to skip report generation under mvn site and especially under mvn site:run, but this doesn't work. The documentation appears to state that -DgenerateReports=false will skip report generation. http://maven.apache.org/plugins/maven-site-plugin/site-mojo.html However, in

Re: [ANN] JAR Plugin v 2.1 Released

2006-09-04 Thread Dennis Lundberg
Jason van Zyl wrote: On 4 Sep 06, at 12:02 PM 4 Sep 06, Wendy Smoak wrote: On 9/4/06, Syvalta [EMAIL PROTECTED] wrote: But with no luck. I'm using latest released plugins. Would I need to use some snapshot plugins to get this working? Same here. I opened an issue:

Re: Jar plugin release and documentation

2006-09-04 Thread Dennis Lundberg
Wendy Smoak wrote: Jason just announced the release of maven-jar-plugin 2.1. (Thanks!) Now I'm going to pick on the documentation. :) Being the one who updated the docs during the plugin documentation drive earlier, I'll answer this then :) One of the major problems we had with the jar

super pom filter

2006-09-04 Thread foxcoll
I have a pom that has a couple of modules, I would like to post a site directly to my baseDir or more accurately my top most pom's directory. I tried something like this in my top most pom: distributionManagement site idtest.site/id nameTest Website/name

Re: Maven+Checkstyle - Configuration file location

2006-09-04 Thread Wayne Fay
This is a great solution to this problem, Roy. Wayne On 9/4/06, Roy van der Kuil [EMAIL PROTECTED] wrote: Hi, We have a similar setup and have created a 'project' with only a couple of resources. (our own version of the checkstyle xml and suppressions). We deployed this 'jar' and made the

Re: Maven2 newbee question

2006-09-04 Thread Wayne Fay
This is normal behavior for Maven -- it searches the repo once a day (more or less, depending on your configuration settings) to make sure there are no updates to any dependencies or plugins that it needs to download before running your build. You can specify -o for offline ie mvn -o package

Re: Jar plugin release and documentation

2006-09-04 Thread Brett Porter
Originally, there was one guide in the maven site that the plugins linked to for configuring the manifest section. I didn't realise that had changed. I may be wrong, but I think I updated that when I changed the archiver. Sorry I didn't review the JAR docs when they were done. t's a culture we

Re: Skipping report generation

2006-09-04 Thread Brett Porter
So it doesn't work at all under site? That's a bug report, as it should and I used to use it a bit. For site:run, it's a separate feature request since it's not in there. They should only be generated on demand, but I'm aware that there are some plugins that do the work up front which make this

RE: Maven+Checkstyle - Configuration file location

2006-09-04 Thread Lakshman Srilakshmanan
Ya +1. I think I will do the same, Thanks Roy. Thanks Lakshman -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Tuesday, 5 September 2006 8:37 AM To: Maven Users List Subject: Re: Maven+Checkstyle - Configuration file location This is a great solution to this

Re: Using Archiva as a Mirror

2006-09-04 Thread Brett Porter
On 05/09/2006, at 2:47 AM, Andreas Guther wrote: I think I am missing a piece of information here with the proxy (http://localhost:8080/proxy/ in your example). If I look at my Tomcat installation, there is no context specified with the name proxy. How can that possibly work? proxy is a

Re: Real world uses for adding peer directories besides main/ in src/ ?

2006-09-04 Thread Stephen Duncan
Well, primarily, there's test and site at the same level as main... -Stephen On 9/4/06, Dave Comeau [EMAIL PROTECTED] wrote: Are there any examples out there that use addition src/ directories besides main/ ? I have never had the need for this in my projects, but I realize that it provides

Re: Maven+Checkstyle - Configuration file location

2006-09-04 Thread Stephen Duncan
My experience is that this won't work for people who have not manually installed the shared project; the dependency won't be downloaded from an internal repository, it will only try central (you won't see this if you use a proxy mirror for central I guess). I believe the correct way to do this

RE: How to override jar-plugin dependencies to use a custom version of maven-archiver?

2006-09-04 Thread Lakshman Srilakshmanan
Hi Max, Page 58, in Better builds with Maven explains how to achieve this. Essentially you have to do the following. dependencies dependency groupIdorg.codehaus.plexus/groupId artifactIdplexus-container-default/artifactId version1.0-alpha-9/version exclusions

module.basedir

2006-09-04 Thread foxcoll
I have been doing some searching on this forum, and since there seems to be no way of using a root directory, is there a way to use the basedir of a module, or a specific pom (or any other environmental variables for that matter)? Thanks Fox -- View this message in context:

Re: module.basedir

2006-09-04 Thread jiangshachina
Sorry, I can't understand you really. Why do you want to use the basedir? What's your target? For example... foxcoll wrote: I have been doing some searching on this forum, and since there seems to be no way of using a root directory, is there a way to use the basedir of a module, or a

RE: super pom filter

2006-09-04 Thread Andreas Guther
I stopped using the URL for parent or master poms. Instead I deploy a shared pom to our internal respository. You have to make sure that the using pom defines either the repository where you deployed the master pom or have it defined in your settings.xml. Either way you have to provide to maven

Re: Maven2 newbee question

2006-09-04 Thread jiangshachina
Alexander Sack-3 wrote: I've just started using Maven2 with Eclipse Hello, Which eclipse plugin fo Maven2 do you use? I downloaded Mergere's plugin(0.0.9), but it don't work. :( a cup of Java, cheers! Sha Jiang -- View this message in context:

Re: Maven2 newbee question

2006-09-04 Thread Alexander Sack
The one off of codehaus off of the main Maven2 apache page. Works for me for the most part. I don't like the fact that everytime I make a change to ANY pom it reads all of them. Very slow. -aps On 9/4/06, jiangshachina [EMAIL PROTECTED] wrote: Alexander Sack-3 wrote: I've just started

RE: module.basedir

2006-09-04 Thread Lakshman Srilakshmanan
Hi Fox, Not sure what you mean by the root directory, but a basedir of a module can be accessed by ${basedir} Or you may define a variable in your POM properties BuildDir/home/lakshman/Build/try/BuildDir /properties And refer to it by ${BuildDir} Thanks Lakshman -Original