Re: [m2] Is it possible to have application-specific properties in settings.xml?

2007-03-14 Thread Christian Sauer
Hi, concerning profiles, settings.xml and pom inheritance I can recommend the maven help plugin: http://maven.apache.org/plugins/maven-help-plugin/usage.html With this plugin you can show an effective pom for each of your profiles. This helped me a lot struggeling with the profiles jungle ;)

Implementing Master Build using Maven2

2007-03-14 Thread pablo.muniz
Hi all, after searching a while without finding any answer to my problem I finally post a question looking for your help. Is there any way of implementing some kind of master build with Maven2? I'll try to explain myself a little better. Suppose I have several independent projects called

RE: Maven2 Repository with the javax jars

2007-03-14 Thread David Wilkinson
Hi all Thanks for the help that gives me some things to look into Regards David Wilkinson -Original Message- From: Ryan Cuprak [mailto:[EMAIL PROTECTED] Sent: 13 March 2007 17:40 To: Maven Users List Subject: Re: Maven2 Repository with the javax jars Checkout:

surefire 2.3, mvn 2.0.5 : execution blocks and system property

2007-03-14 Thread Valerio Schiavoni
hello, seems like defining system properties within the configuration of an execution block for the surefire plugin is not propertly supported. Consider this: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId executions

New Maven Site changes

2007-03-14 Thread Emmanuel Hugonnet
Hi, The new versio of the site is missing the references to the source code svn and the guide on how to build Maven. I went to http://svn.apache.org/viewvc/maven but if I look at the 2.0.x branch which I used to build Maven it says that this should be used anymore. Does the trunk the module

Can Maven 2.X run offline?

2007-03-14 Thread JesseLiu
With Regards, Jesse Liu ~~ Tel: 86-755-2699 5598 Email: [EMAIL PROTECTED] Skype: liujiasong MSN: [EMAIL PROTECTED] ~~

Maven + XmlBeans + IDE

2007-03-14 Thread Shute, James
Hi, I've got an M1 project which uses xmlbeans, which I'm looking to convert over to M2. Now I've done this for the command line build using the standard XmlBeans plugin and that all works nicely. The point where I have a problem is then doing development work in an IDE (preferably Idea,

Re: Can Maven 2.X run offline?

2007-03-14 Thread Markku Saarela
Yes. Use -o command line argument. - markku JesseLiu wrote: With Regards, Jesse Liu ~~ Tel: 86-755-2699 5598 Email: [EMAIL PROTECTED] Skype: liujiasong MSN: [EMAIL PROTECTED] ~~

Config-files as templates

2007-03-14 Thread Erik Drolshammer
Hi! I have a M2 project where we utilize two template files. Ie., two copy statements is necessary before the project will build: cp log4j.properterties.tmpl log4j.properties cp profiles.xml.tmpl profiles.xml As far as I have learned, the good solution is to not use .tmpl and just put the

Re: Implementing Master Build using Maven2

2007-03-14 Thread Thorsten Heit
Hi Pablo, I would like to have another project,i.e., projectD aimed to launch building of projectA, projectB and projectC, and finally pack together all the artifacts generated within built projects. Is this possible or am I far from getting it to work with Maven? Just create a master

Maven2 Artifact Packaging

2007-03-14 Thread pawel.kowalski
Hello, My question concerns packaging of Maven2 projects. Is it possible to double-package (e.g. as a jar and a war) a Maven2 project? The reason why I want to do this is because my war project contains classes that are references by another reactor project. I need to package my war project as a

Re: Can Maven 2.X run offline?

2007-03-14 Thread JesseLiu
The case is that I want to build a file repository in LAN which can't connect to Internet. so,In pom.xml it seems like below: project modelVersion4.0.0/modelVersion groupIdcom.mycompany.dolly/groupId artifactIdsample/artifactId version1.0.1/version dependencies/ repositories

URL inheritance when parent project is at the same level

2007-03-14 Thread Jochen Wiedmann
Hi, after using Maven 2 for quite some time now, I have found two typical layout styles for a multiproject: pom.xml (Parent, with modules section) A/pom.xml(Subproject) B/pom.xml(Subproject) vs. pom.xml (Modules section)

build failures, warnings and continuum

2007-03-14 Thread Erik Ruisma
Hello all, I'm not quite sure if this is a continuum or a Maven question, but I thought to post first on the Continuum mailing list. In our company-wide settings I want that project sites are generated, and artifacts get deployed to our internal repository even when there are some unit tests

Re: [m2] Maven ignoring Artifactory proxy settings?

2007-03-14 Thread Thorsten Heit
Hi Wendy, Archetype does not use settings.xml : http://jira.codehaus.org/browse/ARCHETYPE-59 You can use -DremoteRepositories=... to tell it where to find repositories and other artifacts, (but that won't help you _override_ the url for the central repo.) While Maven does pick up a

Re: Implementing Master Build using Maven2

2007-03-14 Thread pablo.muniz
Hi Thorsten, maybe I forgot to mention that projectA, projectB and projectC aren´t children of projectD. They are projects located in whatever location in my svn repository. What I'm trying to achieve is that a Maven2 project could retrieve other external Maven2 project, invoke certain targets

Re: Maven2 Artifact Packaging

2007-03-14 Thread Thorsten Heit
Hi Pawel, My question concerns packaging of Maven2 projects. Is it possible to double-package (e.g. as a jar and a war) a Maven2 project? The reason why I want to do this is because my war project contains classes that are references by another reactor project. I need to package my war

Re: Implementing Master Build using Maven2

2007-03-14 Thread Thorsten Heit
Hi Pablo, maybe I forgot to mention that projectA, projectB and projectC aren´t children of projectD. They are projects located in whatever location in my svn repository. What I'm trying to achieve is that a Maven2 project could retrieve other external Maven2 project, invoke certain

RE: Maven2 Artifact Packaging

2007-03-14 Thread pawel.kowalski
Hi Thorsten, The problem with this solution (separate the war project into a classes and a webapp part) is that the IDEs and a Testserver will not be able to see the project as a whole -- you'll just have a dependency on the jar as a library and will not be able to reload the classes when

Get NoClassDefFoundError for junit/framework/TestCase in the groovy-maven-plugin

2007-03-14 Thread hochraldo
Hello, I'm using maven 2.0.5 to build. I use the groovy-maven-plugin to compile my groovy unit test classes. This is my configuration: dependency groupIdjunit/groupId artifactIdjunit/artifactId version4.2/version scopetest/scope /dependency

M2 Eclipse Plugin.

2007-03-14 Thread Marouane Amraoui
Hi. the fileX-1.0.jar depends to fileY-2.3.jar my application depends to fileX-1.0 and fileY-2.4. I added dependency for my application to fileX-1.0.jar success. Using the Add dependecy tools on the pom file I can't add dependency for my application to fileY-2.4 because is

File system reference to parent POM

2007-03-14 Thread Kristian Nordal
Hi I've noticed that Maven2 uses a file system reference to the parent POM - if the parent POM is located in the directory above. This is causing problems when someone in the team is working on a specific module, but at some point did a check out of the complete source tree / module hierarchy.

Tests resources

2007-03-14 Thread Ramos, Victor Hugo Barbosa \(Victor Hugo\)
Hi All, I have some files in my src/test/resource that I only use during the tests... But the maven builds my war file with this files. How can I configure maven to not include the files in src/test/resources into the final package file? Thanks, Victor Hugo B. Ramos Important : This

Re: Tests resources

2007-03-14 Thread Miguel Angel Hernández
Victor, I think that mvn by default excludes all files from target/test-classes directory in the final build no matter the packaging used, I just tested it in war and it doesn't includes it Are you using any special option/plugin in your build? regards Miguel On 3/14/07, Ramos, Victor Hugo

RE: Tests resources

2007-03-14 Thread Ramos, Victor Hugo Barbosa \(Victor Hugo\)
Hi Miguel, I'm using maven-war-plugin to pack a war file for tests before the test phase, but maven stills building a war file in the end of the package phase. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId

Re: Tests resources

2007-03-14 Thread Nick Stolwijk
Look here: http://maven.apache.org/ref/2.0.4/maven-model/maven.html, you'll see that there are two different sections, resources and testResources. You are including your src/test/resources as resource and not as testResource. Hth, Nick S. Ramos, Victor Hugo Barbosa (Victor Hugo) wrote: Hi

Re: File system reference to parent POM

2007-03-14 Thread olivier jacob
On 3/14/07, Kristian Nordal [EMAIL PROTECTED] wrote: Hi I've noticed that Maven2 uses a file system reference to the parent POM - if the parent POM is located in the directory above. This is causing problems when someone in the team is working on a specific module, but at some point did a

Re: File system reference to parent POM

2007-03-14 Thread Kristian Nordal
On 3/14/07, olivier jacob [EMAIL PROTECTED] wrote: On 3/14/07, Kristian Nordal [EMAIL PROTECTED] wrote: Hi I've noticed that Maven2 uses a file system reference to the parent POM - if the parent POM is located in the directory above. This is causing problems when someone in the team is

Tests resources

2007-03-14 Thread Ramos, Victor Hugo Barbosa \(Victor Hugo\)
Hi All, I have some files in my src/test/resource that I only use during the tests... But the maven builds my war file with this files. How can I configure maven to not include the files in src/test/resources into the final package file? Thanks, Victor Hugo B. Ramos Important : This

Re: surefire 2.3, mvn 2.0.5 : execution blocks and system property

2007-03-14 Thread Valerio Schiavoni
I also tried specifing iddefault/id (as suggested by jdcasey on irc), hoping that the configurations would have been merged..but it's not the case. On 3/14/07, Valerio Schiavoni [EMAIL PROTECTED] wrote: hello, seems like defining system properties within the configuration of an execution

Re: Config-files as templates

2007-03-14 Thread Erik Drolshammer
Erik Drolshammer wrote: Is it possible to do a if (!filesExist) { cp log4j.properterties.tmpl log4j.properties cp profiles.xml.tmpl profiles.xml } from a maven-plugin? Yes, it is, with antrun: groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId

Re: Null registry

2007-03-14 Thread Henri Yandell
If the error you get is: java.lang.NullPointerException org.apache.maven.archiva.configuration.io.registry.ConfigurationRegistryWriter.writeConfiguration(ConfigurationRegistryWriter.java:36) Then I get that too from a clean reinstall yesterday. So I think it's broken right now. Hen

Profiles, filtering resources and optional content

2007-03-14 Thread Piotr Bzdyl
Hello everyone, I would like to have one configuration file in properties format. Configuration differs in some parts between prod and dev profiles. For example: conf.properties for prod env: keyA=valueAP keyB=valueBP keyC=valueCP conf.properties for dev env: keyA=valueAD keyB=valueBD

Re: Profiles, filtering resources and optional content

2007-03-14 Thread Piotr Bzdyl
Hi, Mark Hobson wrote: An alternative to filtering the same resource is to split it into two and profile it. So you'd move src/main/resources/conf.properties to, say: * src/main/profiles/prod/resources/conf.properties * src/main/profiles/dev/resources/conf.properties Actually, I

Regarding S P A M filters

2007-03-14 Thread Miguel Angel Hernández
Hi all, I want to post a query to the maven user list, but the mail server filter keeps bouncing it as it is s p a m. Maybe its becasue of the attachments. I wonder whats the problem and If anybody alse has crossed into this? I find this annoying, but I don't know what can be done. cheers,

Re: Archiva on Tomcat 5.5.20 on a VPS

2007-03-14 Thread Henri Yandell
On 3/11/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 3/10/07, Wendy Smoak [EMAIL PROTECTED] wrote: Even with that change, I'm still having trouble getting it to start on Tomcat. Brett pointed out that the database structure has changed. Once I deleted my existing users database, Archiva

Maven2 plugin for eclipse

2007-03-14 Thread Leslie Bertels
Hi, I trying to run pmd using the maven-pmd-plugin configured in my pom.xml from within Eclipse. Using the command line, everything works fine (mvn pmd:pmd) When invoking the maven2 verify goal from within Eclipse using the Run as - Maven2 build ... I receive the following error: INFO] pmd:pmd

Re: [m2] Color logging?

2007-03-14 Thread Andrew Williams
I have some colour logging that works, but it is not a core part of maven yet. It was suggested that we need to work on fixing up the logging output before we jazz it up. The impl I have supports both ANSI and HTML right now. Andy On 13 Mar 2007, at 15:26, mraible wrote: Bump... has the

Re: M2 Eclipse Plugin.

2007-03-14 Thread ossi petz
Hallo from what i understand maven identifies its dependencies by groupId and artifactId, the version itself seems to relevant to retrieval of the jar file only. maybe you could manually add that dependency into the pom.xml? Marouane Amraoui schrieb: Hi. the fileX-1.0.jar

Re: [m2] Maven ignoring Artifactory proxy settings?

2007-03-14 Thread Wendy Smoak
On 3/14/07, Thorsten Heit [EMAIL PROTECTED] wrote: To check it I fully removed the local repository cache and created a new empty directory that doesn't contain any pom.xml. Now when I start Maven from within that directory I'd expect that Maven first downloads the necessary plugins, but for

Re: Profiles, filtering resources and optional content

2007-03-14 Thread Mark Hobson
An alternative to filtering the same resource is to split it into two and profile it. So you'd move src/main/resources/conf.properties to, say: * src/main/profiles/prod/resources/conf.properties * src/main/profiles/dev/resources/conf.properties Configure the profiles in your POM accordingly,

Re: [m2] Color logging?

2007-03-14 Thread mraible
I agree that the logging output needs to be fixed. In particular, I'd love to see mvn -Dsurefire.useFile=false become the default so users can see test failures in the console instead of digging through text files. Most folks that use Maven are coming from Ant, where they're used to this

Re: properties in settings.xml do not interpolate

2007-03-14 Thread John J. Franey
Mark Proctor-4 wrote: settings profiles profile iddefault/id activation activeByDefault/ /activation ... /profile /profiles /settings I've used settings.xml interpolation with success. I'm curious about what maven thinks is the value

Re: Maven @ ApacheCon Europe

2007-03-14 Thread ossi petz
As soon as the bad gateway (502) turns into a good one i will have a look at it :) this year the apachecon website seems to be more down than alive... Brett Porter schrieb: For those that are interested in attending ApacheCon, it's on in Amsterdam, 1-4 May. Details are available at

Re: Profiles, filtering resources and optional content

2007-03-14 Thread Mark Hobson
On 14/03/07, Piotr Bzdyl [EMAIL PROTECTED] wrote: Actually, I thought about this solution but unfortunately the common part of the conf.properties is so big that I would not like to keep it in two separate places and need to remember to change these common parts in two (or even more if I will

Re: [m2] Color logging?

2007-03-14 Thread Andrew Williams
I will try to put instructions on a website somewhere this week. Andy On 14 Mar 2007, at 16:15, mraible wrote: I agree that the logging output needs to be fixed. In particular, I'd love to see mvn -Dsurefire.useFile=false become the default so users can see test failures in the console

Re: Maven2 plugin for eclipse

2007-03-14 Thread Pete
I'd say give up with all these Maven integration plugins and just use Eclipse's external tools facility to run mvn for any selected folder e.g. Set up a new External Tool as follows : Name: mvn clean install Location: ${env_var:M2_HOME}/bin/mvn.bat Working Directory: ${resource_loc}

Re: Regarding S P A M filters

2007-03-14 Thread Wayne Fay
In short, don't send attachments. Instead cut and paste the relevant parts to your email. Wayne On 3/14/07, Miguel Angel Hernández [EMAIL PROTECTED] wrote: Hi all, I want to post a query to the maven user list, but the mail server filter keeps bouncing it as it is s p a m. Maybe its becasue

Problem /w RelativePath and Multiple level Inheritance

2007-03-14 Thread Miguel Angel Hernández
Hi all, My first message was rejected as s p a m sob sob. I have a problem regarding relativePaths, inheritance and aggregation, and need some help please. I tested this in maven 2.0.5 I have the following directory structure main: - pom.xml parent: - pom.xml son: - pom.xml - grandson:

RE: Null registry

2007-03-14 Thread Marziou, Gael
Yes it looks the same I got. -Original Message- From: Henri Yandell [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 14, 2007 4:58 PM To: archiva-users@maven.apache.org Subject: Re: Null registry If the error you get is: java.lang.NullPointerException

SV: M2 Eclipse Plugin.

2007-03-14 Thread Hermod Opstvedt
Hi Just double-click on the version you want, and it will add it in. Kind of confusing with other version in grey, but works. Hermod -Opprinnelig melding- Fra: Marouane Amraoui [mailto:[EMAIL PROTECTED] Sendt: 14. mars 2007 13:06 Til: users@maven.apache.org Emne: M2 Eclipse Plugin.

Maven 1: How to use jar files in a lib folder?

2007-03-14 Thread John Moore
I have the simplest requirement here but I can't work out how to do it. I just want my project to look for its dependency jars in a /lib folder, not in a remote or indeed local repository. I don't want these files in my repository because they're from an old almost dead project and will only

SV: Maven2 plugin for eclipse

2007-03-14 Thread Hermod Opstvedt
Hi The Maven2 plugin works just fine - Believe me. It's just a case of learning how to use it right, and how to deal with it's quirks. Hermod -Opprinnelig melding- Fra: Pete [mailto:[EMAIL PROTECTED] Sendt: 14. mars 2007 17:30 Til: Maven Users List Emne: Re: Maven2 plugin for eclipse

Re: [m2] How to bypass unit testing durng multiproject build with Maven 2

2007-03-14 Thread Thorsten Heit
Hi, So I did mvn -Dmaven.test.skip=true package, it still compiled and ran the JUNIT testing... Strange. What exactly does your command line look like? Do you have a special configuration entry for tests in your POM? I also did mvn package compile, JUNIT is still running... package

Re: [m2] Maven ignoring Artifactory proxy settings?

2007-03-14 Thread Thorsten Heit
To check it I fully removed the local repository cache and created a new empty directory that doesn't contain any pom.xml. Now when I start Maven from within that directory I'd expect that Maven first downloads the necessary plugins, but for some unknown reasons Maven doesn't (correctly?)

Re: Maven 1: How to use jar files in a lib folder?

2007-03-14 Thread Lukas Theussl
Check the docs for maven.jar.override: http://maven.apache.org/maven-1.x/using/managing-dependencies.html HTH, -Lukas John Moore wrote: I have the simplest requirement here but I can't work out how to do it. I just want my project to look for its dependency jars in a /lib folder, not in a

Re: Testing the release plugin

2007-03-14 Thread Thorsten Heit
Hi, When I use the dryRun option, it seems to work fine. But then if I try to use the standard release:prepare after a dry run, maven tells me that the prepare step is finished and does not tag my release. Is this a bug? I haven't used the release plugin a lot, but as far as I have seen

Re: dependency plugin

2007-03-14 Thread Carlos Sanchez
Brian, you need to notify repository@apache.org when you do this kind of changes. You removed it from apache but it was already in central and all the mirrors. I moved it out of the way now On 3/13/07, Brian E. Fox [EMAIL PROTECTED] wrote: Hi Sorry about that. Alpha-2 was not supposed to be on

How to use patched INTERNAL javadoc plugin

2007-03-14 Thread Mark Proctor
After finding a bug I'm trying to make our build system work with a patched version of the javadoc plugin, as discussed here http://docs.codehaus.org/display/MAVENUSER/Patching+Maven+Plugins. I have changed the pom of the patched javadoc plugin from 2.2 to 2.2-INTERNAL-r502215, the parent

Re: How to use patched INTERNAL javadoc plugin

2007-03-14 Thread Carlos Sanchez
i think in that doc it says that it can't be in two repos and you need to use a proxy (so the maven-metadata.xml is merged) or you put your plugin under another groupId, which should be the most correct solution On 3/14/07, Mark Proctor [EMAIL PROTECTED] wrote: After finding a bug I'm trying

Re: Problem /w RelativePath and Multiple level Inheritance

2007-03-14 Thread Patrick Schneider
Hi Miguel, You should change the modules section in your main pom to this: modules moduleparent/module moduleson/module /modules In other words, before son or grandson can be built, you need to build the parent. Cheers, Patrick On 3/14/07, Miguel Angel Hernández [EMAIL PROTECTED] wrote:

Re: Problem /w RelativePath and Multiple level Inheritance

2007-03-14 Thread Miguel Angel Hernández
It worked thanks Patrick! cheers, Patrick On 3/14/07, Patrick Schneider [EMAIL PROTECTED] wrote: Hi Miguel, You should change the modules section in your main pom to this: modules moduleparent/module moduleson/module /modules In other words, before son or grandson can be built, you

Re: How to use patched INTERNAL javadoc plugin

2007-03-14 Thread Mark Proctor
The problem with another group-id is that it then cannot be searched for as default, so it's no longer mvn javadoc:javadoc, thats something I want to avoid - it just confuses the user. Marking my local repo as a proxy, when it isn't looks dangeriou, or maybe I'm misunderstanding. How long

mvn:site

2007-03-14 Thread Marouane Amraoui
Hi. In my src directory I have a site source (apt, xdoc.xml ...: generated using the maven-archetype-site-simple). This generate a simple site with little information. Whene we don't specify a site source in the src and we execute mvn site it generate a project site with a lot of

Re: mvn:site

2007-03-14 Thread Wendy Smoak
On 3/14/07, Marouane Amraoui [EMAIL PROTECTED] wrote: In my src directory I have a site source (apt, xdoc.xml ...: generated using the maven-archetype-site-simple). This generate a simple site with little information. Whene we don't specify a site source in the src and we execute mvn site it

Re: How to use patched INTERNAL javadoc plugin

2007-03-14 Thread Carlos Sanchez
just point to the patch and invite to some beers ;) On 3/14/07, Mark Proctor [EMAIL PROTECTED] wrote: The problem with another group-id is that it then cannot be searched for as default, so it's no longer mvn javadoc:javadoc, thats something I want to avoid - it just confuses the user. Marking

Re: Maven @ ApacheCon Europe

2007-03-14 Thread Brett Porter
It appears to be back now On 14/03/07, ossi petz [EMAIL PROTECTED] wrote: As soon as the bad gateway (502) turns into a good one i will have a look at it :) this year the apachecon website seems to be more down than alive... Brett Porter schrieb: For those that are interested in attending

RE: dependency plugin

2007-03-14 Thread Brian E. Fox
Ok thanks. Is it only the removal of the folder that doesn't get synched? I manually updated the metadata, and that must sync out right? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Sanchez Sent: Wednesday, March 14, 2007 1:49 PM To: Maven

Re: dependency plugin

2007-03-14 Thread Carlos Sanchez
metadata is updated, everything else stays unmodified after sync On 3/14/07, Brian E. Fox [EMAIL PROTECTED] wrote: Ok thanks. Is it only the removal of the folder that doesn't get synched? I manually updated the metadata, and that must sync out right? -Original Message- From: [EMAIL

Re: How to use patched INTERNAL javadoc plugin

2007-03-14 Thread Mark Proctor
http://jira.codehaus.org/browse/MJAVADOC-115 Beers on RedHat any time you are in London :) Mark Carlos Sanchez wrote: just point to the patch and invite to some beers ;) On 3/14/07, Mark Proctor [EMAIL PROTECTED] wrote: The problem with another group-id is that it then cannot be searched for

[ANN] retrotranslator-maven-plugin 1.0-alpha-2

2007-03-14 Thread Jason Dillon
Hello everyone, I am pleased to announce the release of the Retrotranslator Maven Plugin version 1.0-alpha-2. * * * This version includes: * Latest Retrotranslator v1.2.1 (big upgrade from last version which was using 1.0.8) * New goals to translate Maven projects (translate-project

[ANN] groovy-maven-plugin 1.0-alpha-1

2007-03-14 Thread Jason Dillon
Hello everyone, I am pleased to announce the release of the Groovy Maven Plugin version 1.0-alpha-1. * * * This is the first release, pleased see the site documentation for features and usage: http://mojo.codehaus.org/groovy-maven-plugin/ Release artifacts are currently here:

RE: Download JAR from Local Repository

2007-03-14 Thread Geffrey Caruso
Thanks Brian, So the dependency plugin seems to be working fine I just have one problem now. I have to different JARs in my snapshot repository, a signed one and an unsigned one. The dependency plugin seems to be downloading the unsigned on by default and I can't seem to figure out how to tell

RE: Download JAR from Local Repository

2007-03-14 Thread Brian E. Fox
I see now that the artifactItem is not fully documented. There is a classifier field you can set. The stuff you pasted below (descriptor etc) is from the assembly plugin. Here are the fields in artifactItem: /** * Group Id of Artifact * * @parameter * @required */

Re: How to use patched INTERNAL javadoc plugin

2007-03-14 Thread Wayne Fay
Better watch out... Any time could be pretty frequent! ;-) Wayne On 3/14/07, Mark Proctor [EMAIL PROTECTED] wrote: http://jira.codehaus.org/browse/MJAVADOC-115 Beers on RedHat any time you are in London :) Mark Carlos Sanchez wrote: just point to the patch and invite to some beers ;) On

RE: Download JAR from Local Repository

2007-03-14 Thread Brian E. Fox
Try setting the classifier to signed. -Original Message- From: Geffrey Caruso [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 14, 2007 3:51 PM To: 'Maven Users List' Subject: RE: Download JAR from Local Repository Thanks Brian, So the dependency plugin seems to be working fine I

Re: Activating profile in child POM

2007-03-14 Thread Steinar Bang
Brian E. Fox [EMAIL PROTECTED]: Yes. I looked into the plexus-archiver component and it doesn't appear to support symlinks. I filed a request and then linked the MDEP one to it. Your best bet at this point is to create a patch for the archiver support and then we can add it to

maven-native-plugin: Handling win32 System Library Dependencies

2007-03-14 Thread Brad Harper
Hello: Regarding the subject, are my only two options + using an environment variable to resolve dynamic links, and/or + explicitly installing system .dll/.lib libraries into a maven repository [using install:install-file] and listing the artifacts as a dependency in

surefire and target/tmpdir not being created?

2007-03-14 Thread Steinar Bang
Platform: Intel Pentium M, Ubuntu Dapper maven 2.0.4 maven-surefire-plugin 2.3 In a JUnit test, I use System.getProperty(java.io.tmpdir); to find the system temp dir. This works fine when running the test from eclipse as a JUnit test run config. But the test fails when

maven-native-plugin: Handling win32 System Library Dependencies

2007-03-14 Thread Brad Harper
Hello: [I accidentally posted this message a short time ago as a reply to a recent, unrelated thread.] Regarding the subject, are my only two options + using an environment variable to resolve dynamic links, and/or + explicitly installing system .dll/.lib libraries into a

Re: Overriding properties in a dependency's pom.xml

2007-03-14 Thread mraible
Bump. I'd really, really like the ability to override the property of a dependency in a project's pom.xml. Can anyone answer if this is currently possible - for example using the dependencyManagement feature? If it's not possible, is it possible to write a plugin to do this or is everything

Antrun plugin

2007-03-14 Thread Larry Suto
Hi I am trying to use some software that is supplied as a set of ant tasks. It has two stages one in which it creates intermediate files and then another when it scans these intermediate files. I would like to use the antrun plugin and have it create intermediated files. This stage I would like

Source Repository and Changelog generated links question

2007-03-14 Thread George Stragand
The the url element inside the scm element defines the root of the scm site; all good. Example (removed other items from snippets): scm urlhttp://myserver/viewCVS/my.project /scm Works great, the Source Repository page gets a link under Web Access to exactly what I expected. The problem I

Re: Antrun plugin

2007-03-14 Thread Wendy Smoak
On 3/14/07, Larry Suto [EMAIL PROTECTED] wrote: Can you define an antrun config twice in a pom.xml and only have child poms inherit one of them. It would seem so: the inherited element is a child of execution. http://maven.apache.org/ref/2.0.4/maven-model/maven.html -- Wendy

Re: [ANN] retrotranslator-maven-plugin 1.0-alpha-2

2007-03-14 Thread Mirko Nasato
Jason Dillon wrote: I am pleased to announce the release of the Retrotranslator Maven Plugin version 1.0-alpha-2. Perfect timing! I was just looking for something similar... :-) Thanks Mirko - To unsubscribe, e-mail:

[apt] How to center text or figure ?

2007-03-14 Thread Eddy Caron
Hello all, Do you know how to center text or figure with apt syntax (nothing on the official web page: http://maven.apache.org/guides/mini/guide-apt- format.html) ? Regards, Eddy -- Eddy

How to Use custom central repository completely instead of the default central repository?

2007-03-14 Thread JesseLiu
I want to build a file repository in my computer which can't access Internet. so, I create the repository in file://e:\repository1 which contains all the required artifacts hierarchy. and config pom.xml like below: project modelVersion4.0.0/modelVersion groupIdcom.mycompany.dolly/groupId

[M2] Repository Problem trying to override central and maintain local corporate repository

2007-03-14 Thread Peter Anning
Hi, We need to override the Maven Central Repository and maintain a local network repository. This has worked fine, up until now, with a mirror setting in the maven settings.xml settings ... mirrors mirror idmirror-maven-central/id mirrorOfcentral/mirrorOf nameLocal

RE: How to Use custom central repository completely instead of the default central repository?

2007-03-14 Thread Peter Anning
You need to define it in your settings.xml as a mirror in your settings.xml and place a repository in an active profile as per the example below (note the three slashes in the file url: settings ... mirrors mirror idmirror-maven-central/id mirrorOfcentral/mirrorOf

Re: [M2] Repository Problem trying to override central and maintain local corporate repository

2007-03-14 Thread Wayne Fay
Use the new mirrorOf*/mirrorOf feature to declare that all repos are mirror'ed by your local override. Wayne On 3/14/07, Peter Anning [EMAIL PROTECTED] wrote: Hi, We need to override the Maven Central Repository and maintain a local network repository. This has worked fine, up until now, with

RE: [M2] Repository Problem trying to override central and maintain local corporate repository

2007-03-14 Thread Peter Anning
Thanks Wayne, When you say 'new' feature does this work with 2.0.4 Cheers Peter -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Thursday, 15 March 2007 2:02 PM To: Maven Users List Subject: Re: [M2] Repository Problem trying to override central and maintain

Re: [M2] Repository Problem trying to override central and maintain local corporate repository

2007-03-14 Thread Wendy Smoak
On 3/14/07, Peter Anning [EMAIL PROTECTED] wrote: When you say 'new' feature does this work with 2.0.4 No, it's available in 2.0.5 and later. http://maven.apache.org/guides/mini/guide-mirror-settings.html -- Wendy - To

Generics and java version.

2007-03-14 Thread Owen Thomas
Hello. Still new to Maven, I'm trying to port a project from Ant to Maven, and get the following error... H:\CurrentProjects\JVMHost\src\main\java\au\net\wcg\jvmhost\CommandReturn.java:[18,18] generics are not supported in -source 1.3 [INFO](try -source 1.5 to enable generics) I found

Re: Generics and java version.

2007-03-14 Thread JesseLiu
add the following block to your pom.xml project build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source

Re: Generics and java version.

2007-03-14 Thread Wendy Smoak
On 3/14/07, Owen Thomas [EMAIL PROTECTED] wrote: How do I get maven to compile my project under 1.5? Configure the compiler plugin for 1.5. There is an example here using 1.4. http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html -- Wendy

RE: Generics and java version.

2007-03-14 Thread Owen Thomas
Hello. Thank you Jesse, Wendy, and others who may have replied subsequent to this message for helping. That appeared to do the trick. Owen. -Original Message- From: Owen Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, March 15, 2007 4:48 PM To: users@maven.apache.org Subject:

Re: File system reference to parent POM

2007-03-14 Thread Markku Saarela
Use relativePath../pom/pom.xml/relativePath in your parent element of POM if this parent POM is somewhere in you checked out source tree. - markku Kristian Nordal wrote: On 3/14/07, olivier jacob [EMAIL PROTECTED] wrote: On 3/14/07, Kristian Nordal [EMAIL PROTECTED] wrote: Hi I've

[m2] TagListReport - AbstractMethodError

2007-03-14 Thread William Ferguson
Does anyone know why I get: [WARNING] Error loading report org.apache.maven.plugin.taglist.TagListReport - AbstractMethodError: canGenerateReport() when executing 'mvn site' with the taglist-maven-plugin? plugin groupIdorg.codehaus.mojo/groupId artifactIdtaglist-maven-plugin/artifactId

Re: Can Maven 2.X run offline?

2007-03-14 Thread Markku Saarela
Sorry for delay we have diffuculties with our corporate network. If you intend is to mirror of central then you must mirror also plugins like this: pluginRepositories pluginRepository idcentral/id nameInternal Mirror of Central Plugins Repository/name urlfile:/e:/repository1/url