Re: Always getting 'used undeclared dependencies' warning when using TestNG

2008-09-05 Thread Wim Deblauwe
I don't understand, I have now run it again and I don't get the warning anymore? Maybe I've had some unused import or something before? regards, Wim 2008/9/5 Brett Porter [EMAIL PROTECTED] I don't have that problem (TestNG 5.8). Are you sure that you're not using the JUnit assert classes,

How to disable a plugin?

2008-09-05 Thread youhaodeyi
In the parent pom, it includes copy-dependency plugin which I want to disable in the child pom. I use this configuration: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId

Re: [ANN] Versions Maven Plugin 1.0-alpha-1 released

2008-09-05 Thread Wim Deblauwe
Does it work if you are not using the central repo directly but a repository manager (archiva in my case) in between. Will this plugin see the newer versions, even if they are not in archiva yet? regards, Wim 2008/9/5 Stephen Connolly [EMAIL PROTECTED] The Mojo team is pleased to announce the

from workaround to workaround 1

2008-09-05 Thread Wolfgang.Winter
Hi, here is a small story about working with Maven. In my experience of 6 months now this happened very often like this. Maven is very hard to manage, not intuitive and error messages are incomprehensible or misleading. The problem: We have 5 Maven projects with sub projects. For test

Re: No more source folders in webapp projects

2008-09-05 Thread Christian Kalkhoff
Hi Eugene, thank you for your reply. I did as recommended: - Reviewed, that the webproject has directory /src/main/java. - Set explicit sourceDirectory in project´s pom.xml. - Committed last changes, without .project, .classpath, .settings of course. - Checked out using the Maven SCM

from workaround to workaround 2

2008-09-05 Thread Wolfgang.Winter
Hi, This is the second part of: how accessing properties from settings in test classes? Second idea: I found the properties-maven-plugin which has a goal that writes all settings properties into a file. Fine, that's what I need. However, this plugin is not on the rep01.maven server but

from workaround to workaround 3

2008-09-05 Thread Wolfgang.Winter
Hi, This is the third part of: how accessing properties from settings in test classes? Finally I copied the -maven-plugin file by file from the codehaus server into our internal repository and now it was found by Maven. However, on running it during the generate-test-resources phase

Re: from workaround to workaround 2

2008-09-05 Thread Jochen Wiedmann
On Fri, Sep 5, 2008 at 8:50 AM, [EMAIL PROTECTED] wrote: Second idea: I found the properties-maven-plugin which has a goal that writes all settings properties into a file. Fine, that's what I need. However, this plugin is not on the rep01.maven server but only on a codehaus server. So I

Re: from workaround to workaround 2

2008-09-05 Thread Martin Höller
On Friday 05 September 2008 [EMAIL PROTECTED] wrote: pluginRepositories pluginRepository idcodehaus/id namecodehaus Repository for plugins/name urlhttp://snapshots.repository.codehaus.org/url layoutdefault/layout /pluginRepository

Re: from workaround to workaround 3

2008-09-05 Thread Martin Höller
On Friday 05 September 2008 [EMAIL PROTECTED] wrote: I looked into the source code of the plugin. It uses project.getActiveProfiles() and this method returns an empty list. But I have a profile defined in settings which is set active with activeProfile. Why does the getActiveProfiles() method

AW: from workaround to workaround 2

2008-09-05 Thread Wolfgang.Winter
On Friday 05 September 2008 [EMAIL PROTECTED] wrote: pluginRepositories pluginRepository idcodehaus/id namecodehaus Repository for plugins/name urlhttp://snapshots.repository.codehaus.org/url layoutdefault/layout /pluginRepository

Re: how, exactly, does maven compare versions

2008-09-05 Thread Benjamin Smith-Mannschott
On Sep 4, 2008, at 22:09, Stephen Connolly wrote: On Thu, Sep 4, 2008 at 8:52 PM, Benjamin Smith-Mannschott: Yes. That helped, as did http://docs.codehaus.org/display/MAVEN/Extending+Maven+2.0+Dependencies Which actually comes out and says that qualifier and build nr are mutually

AW: from workaround to workaround 2

2008-09-05 Thread Wolfgang.Winter
Second idea: I found the properties-maven-plugin which has a goal that writes all settings properties into a file. Fine, that's what I need. However, this plugin is not on the rep01.maven server but only on a codehaus server. So I defined an additional repository: No need to use that plugin.

Re: How to disable a plugin?

2008-09-05 Thread Asgeir S. Nilsen
In the submodule where you don't want the plugin to run, add a plugin element with the following elements within: executions execution idsome-id/id phasenone/phase /execution /executions On Fri, Sep 5, 2008 at 08:40, youhaodeyi [EMAIL PROTECTED] wrote: In the parent pom, it

Re: from workaround to workaround 1

2008-09-05 Thread Asgeir S. Nilsen
Wolfgang, For test resources you should use the testResources element, not the resources element. The documentation is a bit shallow on this matter. Asgeir On Fri, Sep 5, 2008 at 08:46, [EMAIL PROTECTED] wrote: Hi, here is a small story about working with Maven. In my experience of 6

Re: [ANN] Versions Maven Plugin 1.0-alpha-1 released

2008-09-05 Thread Stephen Connolly
That is a good question... I would think that when you ask for the latest maven-metatdata.xml archivia will check if it's cache is out of date and then query central... if you do mvn -U do you get the latest version of a plugin automatically (if yes, then the answer is yes, if no then the answer

Re: How to disable a plugin?

2008-09-05 Thread youhaodeyi
This configure works. thanks Asgeir S. Nilsen-2 wrote: In the submodule where you don't want the plugin to run, add a plugin element with the following elements within: executions execution idsome-id/id phasenone/phase /execution /executions On Fri, Sep 5, 2008 at 08:40,

AW: from workaround to workaround 3

2008-09-05 Thread Wolfgang.Winter
On Friday 05 September 2008 [EMAIL PROTECTED] wrote: I looked into the source code of the plugin. It uses project.getActiveProfiles() and this method returns an empty list. But I have a profile defined in settings which is set active with activeProfile. Why does the getActiveProfiles()

Re: from workaround to workaround 3

2008-09-05 Thread Stephen Connolly
On Fri, Sep 5, 2008 at 9:23 AM, [EMAIL PROTECTED] wrote: On Friday 05 September 2008 [EMAIL PROTECTED] wrote: I looked into the source code of the plugin. It uses project.getActiveProfiles() and this method returns an empty list. But I have a profile defined in settings which is set

Re: from workaround to workaround 3

2008-09-05 Thread Martin Höller
On Friday 05 September 2008 [EMAIL PROTECTED] wrote: Profiles are configured in the users/settings.xml so help:effective-pom gives no information about profiles It does, your profiles are just not activated! See Stephen's mail why they are not activated. hth, - martin signature.asc

Dependency problem for org.eclipse.core:runtime:3.3.100-v20070530

2008-09-05 Thread Caraivan Constantin
Hello, I'm new to this list, so here it goes :) I'm using repo1.maven.org and I need org.eclipse.core:runtime, version 3.3.100-v20070530 for a build. Unfortunately there are some dependency problems, and the build fails. I'll explain the problems: I have this in the org.eclipse.core:runtime

Re: from workaround to workaround 1

2008-09-05 Thread Rainer Pruy
After all, I consider this classical paradigm of all you need is there, just obstructed by details all over. Filtering did not work because resource does filtering for mainstream, but Wolfgang needed filtering for test. If you know what to look for, this distinction is quite obvious from the

AW: from workaround to workaround 3

2008-09-05 Thread Wolfgang.Winter
I looked into the source code of the plugin. It uses project.getActiveProfiles() and this method returns an empty list. But I have a profile defined in settings which is set active with activeProfile. Why does the getActiveProfiles() method returns zero? Try using the maven-help-plugin

Plugin development : how to get the Model from an Artifact

2008-09-05 Thread Julien Graglia
Hi, I wonder how to get the org.apache.maven.model.Model from an org.apache.maven.artifact.Artifact ?? getLog().info(Project : getArtifacts: + project.getArtifacts().size()); for (final Artifact artifact : (SetArtifact) project.getArtifacts()) { getLog().info( + artifact + , +

AW: from workaround to workaround 1

2008-09-05 Thread Wolfgang.Winter
[Winter, Wolfgang] Hi all, thanks for your answers and sorry if I started this more general criticism about Maven. I am only a dumb user who just started setting up projects with Maven and it is really a great tool concerning project structuring and building. And Rainer is probably right when

Re: Generate file that lists module jars

2008-09-05 Thread Brett Porter
the plugin doesn't have this sort of capability - it would instead require making a plugin to write the file itself and including that in the assembly. - Brett 2008/9/1 Frank Durden [EMAIL PROTECTED] Hi, When making a zip assembly, I'd need to generate a file that contains a list of the

Re: Plugin development : how to get the Model from an Artifact

2008-09-05 Thread Julien Graglia
Le vendredi 05 septembre 2008 à 10:48 +0200, Julien Graglia a écrit : Hi, I wonder how to get the org.apache.maven.model.Model from an org.apache.maven.artifact.Artifact ?? I reply to myself ... I just found how to do that : see

Re: from workaround to workaround 1

2008-09-05 Thread Martin Höller
On Friday 05 September 2008 [EMAIL PROTECTED] wrote: But for me the problem is not only documentation but also a user-friendly design. Take the filtering example: For main/resources you have resourcesdirectorymain/resources ... And for test/resources you have to say

Re: [ANN] Versions Maven Plugin 1.0-alpha-1 released

2008-09-05 Thread Brett Porter
Yes, Archiva will proxy and merge the metadata as well if configured to do so. - Brett 2008/9/5 Stephen Connolly [EMAIL PROTECTED] That is a good question... I would think that when you ask for the latest maven-metatdata.xml archivia will check if it's cache is out of date and then query

Re: Refer to the enclosing project's version in the generated archetype

2008-09-05 Thread Brett Porter
version${project.version}/version 2008/9/3 jwcarman [EMAIL PROTECTED] I have a project that contains a core library and a couple of archetypes that I want to use it. How do I put a dependency in my archetypes that says use the core library from the same version as me? Does that make

Re: release-plugin: dependency version not adjusted within profile

2008-09-05 Thread Brett Porter
this is typical as the profile is not considered part of the build unless activated. However, it seems reasonable to adjust profile dependencies in the way you indicated, so I'd say it's a bug you can file. To workaround it, I suggest putting the value in a property outside the profile so that it

Re: mvn compile works mvn site-deploy causes complation error

2008-09-05 Thread Brett Porter
it appears the site deploy is using different source code or different plugins to compilation. Which report is causing the failure? Does the nature of the compile error indicate the problem? Unfortunately the information in your mail is not enough to go on much further. Good luck, Brett 2008/9/4

Re: Downloading POM and JAR of plugin

2008-09-05 Thread Brett Porter
I think this is a known bug that it uses the repositories for POMs instead of the pluginRepositories in some circumstances. You can add a normal repository definition for your internal repository. Probably a better solution is to use mirroring to delegate all requests to your internal

Re: [Modello] xpp3 not writting an int of zero

2008-09-05 Thread Brett Porter
this is a bit OT for this list... but the reason it is occurring is because it doesn't populate if it is the default value. Not sure if there's a way to force that (other than changing the default). - Brett 2008/9/5 [EMAIL PROTECTED] Hello, I have created a .mdo with a required int attribute

Re: Dependency problem for org.eclipse.core:runtime:3.3.100-v20070530

2008-09-05 Thread Stephen Connolly
Look at the version rules 1.0.0-anything 1.0.0 if you set the version range as [1.0.0-,2.0.0) you should be OK On Fri, Sep 5, 2008 at 9:39 AM, Caraivan Constantin [EMAIL PROTECTED]wrote: Hello, I'm new to this list, so here it goes :) I'm using repo1.maven.org and I need

Re: from workaround to workaround 3

2008-09-05 Thread Stephen Connolly
On Fri, Sep 5, 2008 at 9:45 AM, [EMAIL PROTECTED] wrote: By the way, the settings.xml contains this: profile idjboss/id activation activeByDefault/ You need to change this to activeByDefaulttrue/activeByDefault as assert true.equalsIgnoreCase() == false;

Re: Refer to the enclosing project's version in the generated archetype

2008-09-05 Thread jwcarman
Brett, That actually doesn't get translated for me (that was the first thing I tried). It shows up in the resulting pom when I generate a project from the archetype exactly as you typed it. Brett Porter wrote: version${project.version}/version -- View this message in context:

RE: Dependency problem for org.eclipse.core:runtime:3.3.100-v20070530

2008-09-05 Thread Caraivan Constantin
Hello, I solved the problem locally, but I need the problem solved on repo1 (I can't rely on people I distribute my pom.xmls to change their local repositories). It goes like this: My build - org.eclipse.core:runtime - org.eclipse.equinox:app. org.eclipse.core:runtime, which is public, has an

Re: Refer to the enclosing project's version in the generated archetype

2008-09-05 Thread Brett Porter
Sorry, I misunderstood that it was actually inside the archetype. Do you want it to be replaced with the version of the archetype (that should probably be filtered in at build time), or to be the one that is prompted for when generating the archetype project (${version} instead)? Cheers, Brett

Re: Refer to the enclosing project's version in the generated archetype

2008-09-05 Thread jwcarman
Brett, Yes, I want it to be the same as the version of the archetype (I tried ${archetypeVersion}, but that stays as it is too). The archeytpe has a sibiling which is my core library. Brett Porter wrote: Sorry, I misunderstood that it was actually inside the archetype. Do you want it to

Re: Refer to the enclosing project's version in the generated archetype

2008-09-05 Thread Brett Porter
You are best to filter this in when creating the original artifact using the conventional resource filtering. - Brett 2008/9/5 jwcarman [EMAIL PROTECTED] Brett, Yes, I want it to be the same as the version of the archetype (I tried ${archetypeVersion}, but that stays as it is too). The

m2eclipse's build problem - pmd:cpd doesn't have a default lifecycle phase

2008-09-05 Thread komadich
Hi, I am trying to do the mvn install from Eclipse. I use the Maven Eclipse Plugin. When I try to to run mvn with any goal i get this error: [INFO] task-segment: [process-resources] [INFO] [ERROR] Maven cannot

Re: Dependency problem for org.eclipse.core:runtime:3.3.100-v20070530

2008-09-05 Thread Stephen Connolly
Could you not work around the issue with exclusions? On Fri, Sep 5, 2008 at 11:45 AM, Caraivan Constantin [EMAIL PROTECTED]wrote: Hello, I solved the problem locally, but I need the problem solved on repo1 (I can't rely on people I distribute my pom.xmls to change their local repositories).

Resource filtering in WAR overlays

2008-09-05 Thread Schrodt, Martin
Hi List, I am successfully using resources filtering in a WAR overlay (maven-war-plugin 2.1-alpha-2). I enabled it using the filtered=true attribute like this: overlay groupIdexample/groupId artifactIdapplication/artifactId filteredtrue/filtered /overlay The process is also described

Re: [ANN] Versions Maven Plugin 1.0-alpha-1 released

2008-09-05 Thread Stephen Duncan Jr
On Thu, Sep 4, 2008 at 7:18 PM, Stephen Connolly [EMAIL PROTECTED] wrote: The Mojo team is pleased to announce the release of the Versions Maven Plugin, version 1.0-alpha-1. This plugin allows: * the querying for newer versions of plugins used in a project. * the querying for newer

Re: Resource filtering in WAR overlays

2008-09-05 Thread Rémy Sanlaville
Hi, Have a look to this discussion http://www.nabble.com/damage-image-files-td15431864.html#a15432280. I think it could help. Rémy

RE: Dependency problem for org.eclipse.core:runtime:3.3.100-v20070530

2008-09-05 Thread Caraivan Constantin
Hello, Yeah, I could, but wouldn't it be better to just FIX the problem? I'm even willing to contact the person responsible for that pom, if I could just find out who he/she is. Regards, ___ Costin Caraivan From: Stephen Connolly [mailto:[EMAIL PROTECTED] Sent: 5 septembrie 2008

Re: [ANN] Versions Maven Plugin 1.0-alpha-1 released

2008-09-05 Thread Stephen Duncan Jr
On Fri, Sep 5, 2008 at 9:24 AM, Stephen Duncan Jr [EMAIL PROTECTED]wrote: My first attempt to run it gave this output that seems...incorrect: [INFO] The following dependency updates are available: [INFO] c3p0:c3p0 .. 0.9.1.2 - 0.9.0 Sorry about the

Re: [ANN] Versions Maven Plugin 1.0-alpha-1 released

2008-09-05 Thread Stephen Connolly
Yep, basically 4 digit version numbers are not in the maven format! On Fri, Sep 5, 2008 at 2:37 PM, Stephen Duncan Jr [EMAIL PROTECTED]wrote: On Fri, Sep 5, 2008 at 9:24 AM, Stephen Duncan Jr [EMAIL PROTECTED]wrote: My first attempt to run it gave this output that seems...incorrect:

Re: how, exactly, does maven compare versions

2008-09-05 Thread Wim Deblauwe
Hi, we have a kind of strange version mechanism, and I wonder I can 'translate' this to maven. This is how it works: E1.01.01 E1.01.02 .. V1.01 Versions starting with E are test builds leading into the release (V1.01 in the example) Is 1.01 considered newer then 1.01-E01 for example? regards,

RE: Problem witrh Maven Integration for Eclipse

2008-09-05 Thread Brian E. Fox
Since it was uninstalled, it probably removed the m2e nature on that project. You can reimport it, or I think if you right click it you can enable the maven management on it. -Original Message- From: thomas2004 [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2008 3:09 AM To:

Re: Dependency problem for org.eclipse.core:runtime:3.3.100-v20070530

2008-09-05 Thread lukewpatterson
On a related note, you might want to use the someEclipseGroupId:Bundle-SymbolicName flavor of the Eclipse dependencies. I have been looking for official answers to the official Eclipse coordinates question, but haven't found any. From my understanding of a discussion [1] on the dev list, the

Re: Problem of resolving eclipse swt linux library

2008-09-05 Thread lukewpatterson
Andrew Robinson-5 wrote: BTW, if you plan on using JFace, do not use the libraries from maven, use your own from eclipse. The maven pom files for the uploaded SWT and JFace jars are incompatible. I found it much easier to install my own jars into my local repo than trying to fight the

How to merge pom files ?

2008-09-05 Thread Olivier THIERRY
Hi all, I have two Maven projects named t4-core-utils and t4-core-commons. They build jar artifacts and install them to my M2 repository. Now I want to build a jar that merges both jars (extract files from these jars and add them to a new jar) then install it to M2 repository so that it can be

Re: how, exactly, does maven compare versions

2008-09-05 Thread Stephen Connolly
From my reading of the code, anything with a qualifier is older than anything without a qualifier thus 1.01-blah 1.01 On Fri, Sep 5, 2008 at 2:49 PM, Wim Deblauwe [EMAIL PROTECTED] wrote: Hi, we have a kind of strange version mechanism, and I wonder I can 'translate' this to maven. This

Re: Resource filtering in WAR overlays

2008-09-05 Thread Schrodt, Martin
Thank you Rémy, that was the link I needed. To quote the relevant part: 8- In the last war plugin SNAPSHOT, there is now a new configuration parameter which prevent filtering on file extensions : configuration

dependencies.dependency.version is missing

2008-09-05 Thread Nicola Benaglia
Hi, I am using seam with maven and now I want to use a new version (2.1.0.BETA1) On my project's root pom I wrote the new version in: parent groupIdorg.jboss.seam/groupId artifactIdroot/artifactId version2.1.0.BETA1/version /parent In my ejb sub-project I get the error

Re: [Modello] xpp3 not writting an int of zero

2008-09-05 Thread rsf
Which list would be more appropriate to post? I have some more question about how Modello is working, but I want to post to the correct list. Thanks, -Nate On Fri, 5 Sep 2008 20:16:00 +1000, Brett Porter [EMAIL PROTECTED] wrote: this is a bit OT for this list... but the reason it is

Re: How to merge pom files ?

2008-09-05 Thread John Prystash
You might want to take a look at the shade plugin http://maven.apache.org/plugins/maven-shade-plugin/ A configuration like the following should create a jar containing the classes from the two t4 jars you depend on: plugin groupIdorg.apache.maven.plugins/groupId

Maven/OS X Development Question

2008-09-05 Thread John
Hi, Is anyone developing using Maven and Java 5 on OS X Leopard with a first generation Macbook Pro (MBP) Core Duo? I am experiencing an odd issue that only seems present on a Core Duo and I've tried it on a Core 2 Duo (MBP/OS X Leopard), Windows XP and RHEL Linux and only the first gen

Re: Maven/OS X Development Question

2008-09-05 Thread Gert Wohlgemuth
well everything works with mine maven 2.0.9 java 1.5 osx leopard 1 gb ram gert wohlgemuth blog http://berlinguyinca.blogspot.com work: http://fiehnlab.ucdavis.edu/staff/wohlgemuth On Sep 5, 2008, at 9:20 AM, John [EMAIL PROTECTED] wrote: Hi, Is anyone developing using Maven and Java 5

Re: release:perform fails

2008-09-05 Thread Ken Tanaka
Be sure to issue svn update before the mvn release:perform. This can fix some types of errors, even though it prints nothing and an svn status command appears to show the project up to date. -Ken Chris Graham wrote: Ok, it is attempting to check out this:

Re: Refer to the enclosing project's version in the generated archetype

2008-09-05 Thread jwcarman
Brett, I apologize, but I don't understand what you mean. When do I do the filtering? Do I need to put the pom.xml file somewhere else in my project structure? Do I just turn on filtering for the place where my pom.xml lies now? Brett Porter wrote: You are best to filter this in when

Unable to download org.apache.maven.plugins:maven-dependency-plugin:pom:2.0

2008-09-05 Thread thomas2004
Hi all, the following is my pom.xml. As I run mvn clean I got error: [code] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. GroupId: org.apache.maven.plugins ArtifactId: maven-dependency-plugin Version: 2.0

Re: problem using the buildnumber plugin with maven

2008-09-05 Thread Matthias Grunwalde
Wayne, you state that the groupId, artifactId and version are always used when publishing to a repo, so I tried specifying ${buildNumber} as the version, as in version${buildNumber}/version However, this didn't get interpolated correctly, leading to an artifact in my repo called

Re: Maven/OS X Development Question

2008-09-05 Thread Scott Ryan
I have exactly that configuration and it has been working fine for over a year. You might try to see if Appfuse works on it. Appfuse has an Archetype that will build a totally new self contained running application for you. Anything I can do to help let me know. Scott Ryan President/CTO

Re: m2eclipse's build problem - pmd:cpd doesn't have a default lifecycle phase

2008-09-05 Thread Eugene Kuleshov
By default m2eclipse is using Maven 2.1-SNAPSHOT, and it seem like you are hitting into backward incompatibilities with version you are using in the command line. To workaround that you can configure default Maven runtime to use the same version as you are using in the command line. See

Re: Maven/OS X Development Question

2008-09-05 Thread John
Hi Scott, Thanks for the reply. I am able to do regular java development (Elipse, IntelliJ, ant, JBoss, Tomcat, Geronimo, webapps, ears, jar files etc). However, when I use *any* version of Maven and perform a mvn install, I get an error. I've documented it here

RE: How to disable a plugin?

2008-09-05 Thread Brian E. Fox
The inherited flag in the plugin block is broken, but in 2.0.9 we made sure the inherited flag inside the execution block does work. -Original Message- From: youhaodeyi [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2008 2:40 AM To: users@maven.apache.org Subject: How to disable a

RE: Unable to download org.apache.maven.plugins:maven-dependency-plugin:pom:2.0

2008-09-05 Thread Brian E. Fox
I can't see anything obvious in your config, and ibiblio does have the file: http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/plugins/m aven-dependency-plugin/2.0/ So either there is bad metadata in your local repo, or you have some connection problem/firewall etc. -Original

Customizable Maven Project

2008-09-05 Thread JoshM
Maven Users - I'm relatively new to Maven and would like to request guidance on setting up a project, customizable per client. The project is a pretty standard Struts2/Spring project, and we currently control customization using Ant. Each client version of the product can overwrite a few

Re: problem using the buildnumber plugin with maven

2008-09-05 Thread Stephen Connolly
the difference is that version has to be evaluated prior to any lifecycle phase or plugin execution if you define a property in your pom it is available when constructing the model the buildnumber plugin is attached to the first phase and the property is defined at that point, but by

RE: Maven/OS X Development Question

2008-09-05 Thread Sean Hennessy
Hi John, I did not see if the expected java -version matches that of your mvn -x output shared. I recall a link operation ( ln -s ) was required on Mac volume to get newer JDK hooked up correctly. Sean -Original Message- From: John [mailto:[EMAIL PROTECTED] Sent: Friday, September

RE: from workaround to workaround 3

2008-09-05 Thread Brian E. Fox
All you have to do is enable filtering on src/test/resources. I don't believe filtering is enabled on src/main/resources by default either. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2008 2:53 AM To: users@maven.apache.org Subject:

RE: from workaround to workaround 3

2008-09-05 Thread Brian E. Fox
I'm pretty sure activeByDefault is not used in settings, this is for the pom only. That's what the activeProfiles section is for. -Original Message- From: Stephen Connolly [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2008 6:27 AM To: Maven Users List Subject: Re: from workaround

RE: dependencies.dependency.version is missing

2008-09-05 Thread Brian E. Fox
You don't have the version in the dependency or dependencyManagement section for that exact dependency. I'm a little confused by your reference to the parent element as it is orthogonal to the dependency. Does your parent have this version specified properly? Why are you using org.jboss.seam as

Deploying a file in deploy phase that was not the pom's main packaging

2008-09-05 Thread Scott Carter
We have an exec in one of our builds that produces an .exe file. Of course this is not the main packaging for the pom and is not included in the standard deploy phase. I am aware you can use the deploy:deploy-file goal from the command line and see those examples. My question is if there is a

RE: Maven/OS X Development Question

2008-09-05 Thread Martin Gainty
that will only compound the problem as your user-friendly MAC will suddenly re-appear on your desk with even more bugs than it had before try mvn -e install Martin __ Disclaimer and confidentiality note Everything in this e-mail and any

RE: Deploying a file in deploy phase that was not the pom's main packaging

2008-09-05 Thread Edelson, Justin
I've used the build helper plugin for this in the past: http://mojo.codehaus.org/build-helper-maven-plugin/usage.html Justin -Original Message- From: Scott Carter [mailto:[EMAIL PROTECTED] Sent: Friday, September 05, 2008 3:39 PM To: Maven Users List Subject: Deploying a file in deploy

Re: Deploying a file in deploy phase that was not the pom's main packaging

2008-09-05 Thread Wayne Fay
The build-helper plugin helps with things like this, generally. Wayne On Fri, Sep 5, 2008 at 12:38 PM, Scott Carter [EMAIL PROTECTED] wrote: We have an exec in one of our builds that produces an .exe file. Of course this is not the main packaging for the pom and is not included in the

Re: from workaround to workaround 1

2008-09-05 Thread Dennis Lundberg
Hi Instructions on how filtering works in the Resources Plugin can be found on this page: http://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html [EMAIL PROTECTED] wrote: Hi, here is a small story about working with Maven. In my experience of 6 months now this

Re: Deploying a file in deploy phase that was not the pom's main packaging

2008-09-05 Thread Stephen Connolly
have a look at build-helper-maven-plugin and the attach artifact goal Sent from my iPod On 5 Sep 2008, at 20:38, Scott Carter [EMAIL PROTECTED] wrote: We have an exec in one of our builds that produces an .exe file. Of course this is not the main packaging for the pom and is not

Re: [Modello] xpp3 not writting an int of zero

2008-09-05 Thread Hervé BOUTEMY
see http://xircles.codehaus.org/projects/modello/lists regards, Hervé Le vendredi 05 septembre 2008, [EMAIL PROTECTED] a écrit : Which list would be more appropriate to post? I have some more question about how Modello is working, but I want to post to the correct list. Thanks, -Nate

Re: [Modello] xpp3 not writting an int of zero

2008-09-05 Thread rsf
Great. Thank you for the link. After Brett's comments, I created a JIRA issue: http://jira.codehaus.org/browse/MODELLO-118 -Nate On Fri, 5 Sep 2008 22:01:00 +0200, Hervé BOUTEMY [EMAIL PROTECTED] wrote: see http://xircles.codehaus.org/projects/modello/lists regards, Hervé Le vendredi

Re: Refer to the enclosing project's version in the generated archetype

2008-09-05 Thread Brett Porter
2008/9/6 jwcarman [EMAIL PROTECTED] Brett, I apologize, but I don't understand what you mean. When do I do the filtering? Do I need to put the pom.xml file somewhere else in my project structure? Do I just turn on filtering for the place where my pom.xml lies now? Yes, this is on the

Can nexus be installed on a windows vista 64-bit O.S.?

2008-09-05 Thread sairndain
Hi I have Windows Vista Home Premium 64-bit operating system. Just want to know whether Nexus can be installed on a Windows Vista 64bit O.S. I've tried installing Nexus using the InstallNexus.bat (found in the nexus-webapp-1.0.0\bin\jsw\windows-x86-32 directory), but, I get the following

RE: Can nexus be installed on a windows vista 64-bit O.S.?

2008-09-05 Thread Brian E. Fox
Nexus itself should work just fine on Windows 64bit, but the wrapper used to launch it might require a different version of the native code. You can get a version of it here: http://wrapper.tanukisoftware.org/doc/english/download.jsp Barring that, hop over to the [EMAIL PROTECTED] list and we can

What are the pitfalls I must be aware of when switching from my local .m2/repository to the Nexus server?

2008-09-05 Thread sairndain
Hi I have Maven2 installed on my workstation at work, and it works fine... Love it. I talked one of our adminstrators into installing Nexus on one of our development servers to compliment our Subversion repository. As soon as we got Nexus running, I installed the 3rd party artifacts I use in

RE: Can nexus be installed on a windows vista 64-bit O.S.?

2008-09-05 Thread sairndain
Thanks for your reply Brian Please do let me know whether you can find a workaround on your 64-bit Vista machine. Any expertise you can provide is much appreciated. (NOTE: I'd dump the 64-bit Vista from my new laptop, but, I'm not certain how much of a pain it would be to find all the

RE: What are the pitfalls I must be aware of when switching from my local .m2/repository to the Nexus server?

2008-09-05 Thread Brian E. Fox
It finds the plugin but not the dependencies. Where are these dependencies? Are they also in the 3rd party repo? Do you have any routing rules defined that may exclude the 3rd party repo for these dependencies? If you can paste the logs, it would help. I would recommend bringing the discussion

RE: What are the pitfalls I must be aware of when switching from my local .m2/repository to the Nexus server?

2008-09-05 Thread sairndain
Hi Brian As least jaxws-tools.jar is missing, and *apparently* several other jars that are included in the jaxws-ri lib. (see https://jax-ws-commons.dev.java.net/jaxws-maven-plugin/dependencies.html;) It was not necessary to manually upload any extra dependencies to my .m2/repository. I

truezip-maven-plugin or archive-maven-plugin

2008-09-05 Thread Dan Tran
I have a need to manipulate an existing archive type ( ie zip, jar, tgz, tbz2, etc ) on the fly at build time. So I will cook up a plugin base on the TrueZip api to implement copy, list, remove mojos should I go with truezip-maven-plugin to give it the credit or with a more abstract name