Re: Aggregate site generation

2006-11-10 Thread dawn.angelito
Hi Alexander, I think site aggregation isn't supported yet. Dawn Morgovsky, Alexander (US - Glen Mills) wrote: I have a parent POM which has two modules. Module A's sites get deployed to host/A/. Module B's sites get deployed to host/B/. What do I need to do in the parent POM so that

RE: EJB JAR Manifest

2006-11-10 Thread Sebastien Brunot
On my side, I did not observe substantial timing differences adding classpath entries (automatically regarding the dependencies or manualy providing my own manifest.mf file) to the EJB jar. Perhaps you could send the output of mvn -X package to the list as an attached file ? Sebastien

Re: [M1] AspectJ with two source trees (main/src main/test)

2006-11-10 Thread diyfiesta
Hi, Thanks for the note, I tried this but still don't have any luck, for example, I'm using the convention main/src/java and main/src/test for my source trees, so adding an src/aspectj folder doesn't really fit in, if I add it to main/src/aspectj, I get the same problem (and just for

Model object XML representation

2006-11-10 Thread Sebastien Brunot
Hi, Where can i find reference documentation regarding the mapping of maven model object into XML (for mojo parameters) ? Thanks for your help, Sebastien

Dependency cycle?

2006-11-10 Thread jiangshachina
Hello guys, I suddenly have a virtual case just in mind. There are two projects, A and B, each of them depends on the other one. How do Maven to deal with the dependency cycle? a cup of Java, cheers! Sha Jiang -- View this message in context:

RE: EJB JAR Manifest

2006-11-10 Thread Dmystery
There is nothing new on mvn -X console when the big pause happens. Its just the normal debug statements like [DEBUG] adding some-file ... Big Pause here -- The last file to be added is are the pom.xml file [DEBUG] preparing weblogic:appc Sebastien Brunot wrote: On my side, I did

Re: Example POM for WebLogic servicegen needed

2006-11-10 Thread Dmystery
plugin artifactIdmaven-antrun-plugin/artifactId version1.0/version executions execution phasepackage/phase configuration tasks taskdef name=servicegen classname=weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask classpath

Re: Pulling jars into local repository

2006-11-10 Thread Steinar Bang
Steinar Bang [EMAIL PROTECTED]: Tom Huybrechts [EMAIL PROTECTED]: The maven dependency plugin is your friend: http://maven.apache.org/plugins/maven-dependency-plugin/resolve-mojo.html Hm... interesting. This URL was more clarifying for me:

Re: Example POM for WebLogic servicegen needed

2006-11-10 Thread Dmystery
On a different note, what execution phase are you executing the weblogic:appc? I'm doing it in a pom which first generate sources using XMLbeans, compiles some aspects, create ejb-jar, ejb-client-jar and then run weblogic:appc which is in the package phase. The problem is, when appc is started,

Re: Pulling jars into local repository

2006-11-10 Thread Steinar Bang
Steinar Bang [EMAIL PROTECTED]: I have trouble getting it to work. I tried using it by putting build ... plugins ... plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId [snip!] into the top level pom.xml

Re: Dependency cycle?

2006-11-10 Thread franz see
Good day to you Sha Jiang, Maven can not handle cyclic dependencies. It will give you a cyclic dependency error Cheers, Franz jiangshachina wrote: Hello guys, I suddenly have a virtual case just in mind. There are two projects, A and B, each of them depends on the other one. How do

Re: Dependency cycle?

2006-11-10 Thread Andrew Williams
If two projects depend on each other which gets built first? In this situation either one must be optional or they must be in the same artifact. Andy franz see wrote: Good day to you Sha Jiang, Maven can not handle cyclic dependencies. It will give you a cyclic dependency error Cheers,

Re: Model object XML representation

2006-11-10 Thread franz see
Good day to you, Sebastiaen, I don't think there's a documentation about it. But you can check out the code at [1]. Or rather, checkout the modello descriptor (maven.mdo). Maven uses modello (a codehaus project...see [2]) in several places, one of which is the maven-model. The modello

Re: Dependency cycle?

2006-11-10 Thread jiangshachina
Hello, I made a simple test with Eclipse just now. Eclipse doesn't allow project dependency cycle. Then I think Maven does the same. Assumes project A depends on project B, then B must produces artifact and installs the artifact to repository firstly, then A could depend on it. But B depends on

Re: Pulling jars into local repository

2006-11-10 Thread Steinar Bang
Steinar Bang [EMAIL PROTECTED]: [snip!] But I still got the same error message when doing mvn install. That's because mvn dependency:copy-dependencies pulled in the dependency-maven-plugin from org.codehaus.mojo, and not the maven-dependency-plugin from apache. This FAQ entry says they

Re: Dependency cycle?

2006-11-10 Thread franz see
Good day to you, Andy, I'm not sure if any are build at all, that's because your whole build will fail. Cheers, Franz Andrew Williams-5 wrote: If two projects depend on each other which gets built first? In this situation either one must be optional or they must be in the same

Re: Assembling files

2006-11-10 Thread Valerio Schiavoni
i don't know if it already exists or , but it shouldn't be difficult to write such a mojo... On 11/9/06, Arnaud Bailly [EMAIL PROTECTED] wrote: Anyone ? Maybe some explanations would help: Project layout: src/main/resources/File1: menuen til højre finder du en oversigt over de emner, vi har

Re: Dependency cycle?

2006-11-10 Thread Andrew Williams
It is a rhetorical question - meaning that it is impossible to build such a system, thus Maven does not support it :) A franz see wrote: Good day to you, Andy, I'm not sure if any are build at all, that's because your whole build will fail. Cheers, Franz Andrew Williams-5 wrote: If

RE: Resource filtering using environment variables

2006-11-10 Thread franz see
Good day, If im not mistaken, Java (the programming language behind maven) does differentiate the System and Environment Variables. Both are retrieved via System.getProperties(). So as to which takes precedence over the other, probably depends on the JVM. Anyway, if im not mistaken, the proper

Re: Regular Plugin parameters are not working

2006-11-10 Thread franz see
Good day to you, Alexander, In addition to what Dan mentioned, you may want to use those expressions as a default: /** * @parameter default-value=${project.artifactId} */ pivate String my_artifact_id; Cheers, Franz dan tran wrote: did you anotate your my_artifact_id like /**

Re: Creating MavenProject within plugin

2006-11-10 Thread franz see
Good day to you, Jonas, The way I see it, you have 4 choices here: 1. Instantiate a MavenProject and set all properties you need from it. 2. Use MavenProjectStub (but this is for testing only as Maria has indicated) 3. Do something like: /** * The maven project. * *

Re: Variables in pom?

2006-11-10 Thread franz see
Good day to you, andreas, [1] shows a list (view my comment) about the list of properties I know so far. Kindly add the properties that you know that are not in the list. Furthermore, code-wise, you can use org.codehaus.plexus.util.introspection.ReflectionValueExtractor to access the getters of

MavenProjectBuilder injection in a Mojo

2006-11-10 Thread Sebastien Brunot
Hi all, what is the expression to use for injection of an org.apache.maven.project.DefaultMavenProjectBuilder instance as the value of a pojo parameter: /** * A MavenProjectBuilder instance * * @parameter expression= * @readonly * @required */ private MavenProjectBuilder

Re: How Do I Deploys The Sources To The Repository

2006-11-10 Thread franz see
Good day, I'd just like to add that the performRelease property in itself is not documented. But you can take a look at [1] about the Super POM. Furthermore, the thing that actually adds the source codes is maven-sources-plugin which Bram mentioned. For more info about that plugin, kindly take

RE: MavenProjectBuilder injection in a Mojo

2006-11-10 Thread Sebastien Brunot
A recent mail from franz see gives me the answers (use @component instead of @parameter). Sorry for the annoyance. Sebastien -Original Message- From: Sebastien Brunot [mailto:[EMAIL PROTECTED] Sent: Friday, November 10, 2006 1:58 PM To: Maven Users List Subject: MavenProjectBuilder

Re: MavenProjectBuilder injection in a Mojo

2006-11-10 Thread Mark Hobson
On 10/11/06, Sebastien Brunot [EMAIL PROTECTED] wrote: what is the expression to use for injection of an org.apache.maven.project.DefaultMavenProjectBuilder instance as the value of a pojo parameter: Use: /** * @parameter expression=${component.org.apache.maven.project.MavenProjectBuilder} *

XML-RPC build definition

2006-11-10 Thread Urbieta Matias
Hi, i want to publish a project into continuum using XML-RPC client. But when i try to publish one it doesn't assign the build definition. -- Lic Matias Urbieta

RE: MavenProjectBuilder injection in a Mojo

2006-11-10 Thread Sebastien Brunot
I tried it the first time but it throws an exception and indicates it can't find org.apache.maven.project.MavenProjectBuilder in the component repository. Using @component instead of @parameters raises no errors. I don't know if it do the job yet... Sebastien -Original Message- From:

Re: [M2] move resource files

2006-11-10 Thread franz see
Good day, Although the problem has been solved already (with the proper solution), I would just like to add some information about the maven-resources-plugin for other readers of this thread. The maven-resources-plugin takes only the encoding parameter from the configuration of the plugin

Re: javadoc plugin failures and recent behaviour change

2006-11-10 Thread franz see
Good day to you, Kelvin, You may want to ask this in the Maven Dev List. But as for now, so that you can continue without those build errors, you may want to define the version to use for your javadoc plugin in the pluginManagement section of your parent pom ([1]). [1]

XML representation of an Artifact in the configuration section of the POM

2006-11-10 Thread Sebastien Brunot
Hi all, i have a mojo that defines a parameter names sourcePom which type is Artifact : /** * The POM where jar dependencies are declared. * * @parameter expression=${merge-jar-dependencies.sourcePom} default-value=${project.artifact} */ private Artifact sourcePom; I don't know how

Re: Assembling files

2006-11-10 Thread franz see
Good day to you, Arnaud, If you can somehow put the contents of your file inside a property, then you would be able to do that with maven-resources-plugin. However, I can't think of a way how. Furthermore, I don't think there exists a apache maven plugin for that. Cheers, Franz Arnaud

Re: MavenProjectBuilder injection in a Mojo

2006-11-10 Thread Mark Hobson
On 10/11/06, Sebastien Brunot [EMAIL PROTECTED] wrote: I tried it the first time but it throws an exception and indicates it can't find org.apache.maven.project.MavenProjectBuilder in the component repository. Using @component instead of @parameters raises no errors. I don't know if it do the

Re: XML representation of an Artifact in the configuration section of the POM

2006-11-10 Thread franz see
Good day to you, Sebastien, Note: I don't know everything about mojo parameters but i'll show what i know so far Here's the break down of a mojo parameter: /** * @parameter expression=${merge-jar-dependencies.sourcePom} default-value=${project.artifact} */ private Aritfact sourcePom;

Re: MavenProjectBuilder injection in a Mojo

2006-11-10 Thread franz see
Good day to you, Mark, Curious, which docs are you referring to? AFAIK, @components and @parameter take their values from different sources. @component mojo parameters are injected values which comes from the component.xml (or some other plexus component configuration). while @parameter

RE: ZQ: Overide project and dependency versions using command line attribute

2006-11-10 Thread franz see
Good day to you, Rahamim, If my assumption before that dependencies are resolved first before filtering, then using MavenEmbedder won't be any different. MavenEmbedder is the generic entry point to Maven. From there, it can be extended to be an IDE Plugin, or to be integrated in another system,

RE: Example POM for WebLogic servicegen needed

2006-11-10 Thread Scott Ryan
You can view the source here https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/weblogic-maven-plugin/ but it is defined to run during the package phase. Do you have it defined in an execution? How are you executing the command to run the entire process? Scott Ryan Chief Technology Officer

RE: XML representation of an Artifact in the configuration section of the POM

2006-11-10 Thread Sebastien Brunot
Thanks for your help franz, it's nice to have the kind of support you provides. In fact, I've adopted the strategy I've seen in the maven-dependency-plugin : 1) I've included in my plugin a java bean PomArtifact that declares three String attributes : groupId, artifactId and version. Public

Re: Depend on other files?

2006-11-10 Thread Dan Tran
The main purpose of add-source goal is to add additional directories to maven compilable directory list. Out of the box, maven only allows one directory ( build.sourceDirectory ). So you tried to use it for the wrong purpose. -D On 11/9/06, jiangshachina [EMAIL PROTECTED] wrote: Hi Dan,

Attaching an assembly to a multi module project

2006-11-10 Thread Timo Wolf
Hi All, I created a reactor project with a super pom and with many modules and module dependencies. To some modules I added the assembly plugin (2.1) to the package phase to build the executable application including scripts, jars, properties, etc. mainproject |-module1

Re: MavenProjectBuilder injection in a Mojo

2006-11-10 Thread Mark Hobson
On 10/11/06, franz see [EMAIL PROTECTED] wrote: Good day to you, Mark, Curious, which docs are you referring to? I was looking at: http://maven.apache.org/developers/mojo-api-specification.html#The Descriptor and Annotations See the third table in that section, the @component annotation:

Re: Attaching an assembly to a multi module project

2006-11-10 Thread Wendy Smoak
On 11/10/06, Timo Wolf [EMAIL PROTECTED] wrote: I got build errors when no modules are in the local repository and getting to module2 After jar:jar of module2, the assembly plugin is invoked and somehow the poms of the later modules get evaluated and try to resolve the jar artefact of module2

Resolving project dependencies

2006-11-10 Thread Sebastien Brunot
Hi all, how do you programmaticaly resolve the dependencies of a MavenProject object ? I've got a MavenProject object in my mojo (that i've created from an Artifact object), and i now want to resolves its dependencies in ordre to get them as artifacts using the getArtifactDependencies()

Re: Resolving project dependencies

2006-11-10 Thread Mark Hobson
On 10/11/06, Sebastien Brunot [EMAIL PROTECTED] wrote: how do you programmaticaly resolve the dependencies of a MavenProject object ? Are you trying to resolve: the project's declared dependencies; all the project's transitive dependencies; or traverse the project's dependency tree? Mark

RE: Resolving project dependencies

2006-11-10 Thread Sebastien Brunot
I'm not sure I undestand your question, but I want to get a list of all the artifact that correspond to a dependency declared in the MavenProject POM, with or without transitivity depending on a parameter set in my plugin configuration. Without transitivity is mandatory, with transitivity is

Re: Maven2 / antrun / phases / classpath

2006-11-10 Thread Elid OR
Hello Remy, Thank you for this post. I have exactly the same problem as you. I wonder if anybody else use xdoclet and maven 2 with antRun ... I've tried your solution and I would like to add that we must use the maven.dependency.classpath as xdoclet classpath. I agree with you that is not

Re: Resolving project dependencies

2006-11-10 Thread Mark Hobson
On 10/11/06, Sebastien Brunot [EMAIL PROTECTED] wrote: I'm not sure I undestand your question, but I want to get a list of all the artifact that correspond to a dependency declared in the MavenProject POM, with or without transitivity depending on a parameter set in my plugin configuration.

RE: Resolving project dependencies

2006-11-10 Thread Sebastien Brunot
What I'm doing exactly is as following: 1) I create an Artifact object using groupId, artifactId and version provided in the plugin configuration (the type is always pom) 2) Using this artifact, I create a MavenProject object (with the buildFromRepository(...) method of a MavenProjectBuilder

Re: mevenide vs. m2eclipse?

2006-11-10 Thread Martin van den Bemt
Definitely :) I'll post on that later when there is a usable version Mvgr, Martin Steinar Bang wrote: Martin van den Bemt [EMAIL PROTECTED]: I am working on a m2 eclipse plugin, but that is not public yet.. Thanx for the information! Will it be better than m2eclipse? :-)

Re: Maven2 / antrun / phases / classpath

2006-11-10 Thread Marco Mistroni
Hello, I am :) yes found problems, you already mention solutions.. :) in my case, maven classpath was not enough so i had to add also external jar files (i m using jbossws with xdoclet for J2EE 1.3 beans) additionally, for anyone who might find same problems, if you have a multiproject and in

Re: Resolving project dependencies

2006-11-10 Thread Tom Huybrechts
This works for me: Artifact pomArtifact = this.factory.createArtifact( groupId, artifactId, version, , pom ); MavenProject pomProject = mavenProjectBuilder.buildFromRepository( pomArtifact, this.remoteRepos, this.local ); Set artifacts = pomProject.createArtifacts( this.factory, null, null);

RE: Resolving project dependencies

2006-11-10 Thread Sebastien Brunot
Thanks for your help tom, I now have all the information I needed. Sebastien -Original Message- From: Tom Huybrechts [mailto:[EMAIL PROTECTED] Sent: Friday, November 10, 2006 5:26 PM To: Maven Users List Subject: Re: Resolving project dependencies This works for me: Artifact

Problem during build

2006-11-10 Thread ETIENNE Olivier
Hi, I'm trying to compile a Java project based on a CVS repository and ant builds scripts. When the project build is launch, the files are retrieved from CVS but the build command doesn't work (Error at the end of the mail). But if I open a shell and go in the corresponding working directory,

Re: Resolving project dependencies

2006-11-10 Thread Wayne Fay
This is the kind of stuff that needs to land in a Maven Plugin Developers doc/wiki/etc somewhere... Wayne On 11/10/06, Sebastien Brunot [EMAIL PROTECTED] wrote: Thanks for your help tom, I now have all the information I needed. Sebastien -Original Message- From: Tom Huybrechts

RE: Resolving project dependencies

2006-11-10 Thread Sebastien Brunot
Or in the javadoc (the closer from the code, the better) !!! Sebastien -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Friday, November 10, 2006 5:45 PM To: Maven Users List Subject: Re: Resolving project dependencies This is the kind of stuff that needs to land in

RE: Plugin Annotation to control Inheritance

2006-11-10 Thread Barrett Nuzum
Hi Dawn (and all). We have 20-30 projects that share one, single parent POM. Each project has usually 7 modules in it. To clarify: ParentPom (1) \-- ProjectPom (1..30) \-- ModulePom (1..7, each) I did specify inheritedfalse/inherited in pluginManagement in the Parent POM,

[m2] List of All Dependencies for any project X

2006-11-10 Thread Peter . Pilgrim
Hi Jason, Brett et al How do you get a list of all dependencies (transitive or declared) for any M2 project? Basically I want to find out the list so I can cross reference against an in-house repository here at UBS. The idea is to tell the administrator here with the in-house what

RE: [m2] List of All Dependencies for any project X

2006-11-10 Thread Barrett Nuzum
Peter: mvn project-info-reports:dependencies should give you what you want. Barrett Barrett Nuzum Consultant, Skill Development [EMAIL PROTECTED] T: +1 (918) 640 4414 F: +1 (972) 789 1340 Valtech 5080 Spectrum Drive Suite 700 West Addison, Texas 75001 USA T: +1 (972) 789 1200

Re: [m2] List of All Dependencies for any project X

2006-11-10 Thread Carlos Sanchez
dependency plugin or mvn site with latest project-info reports plugin On 11/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Jason, Brett et al How do you get a list of all dependencies (transitive or declared) for any M2 project? Basically I want to find out the list so I can cross

RE: [m2] List of All Dependencies for any project X

2006-11-10 Thread Sebastien Brunot
Hi, Mark Hobson seems to have authored mojos that does this: http://jira.codehaus.org/browse/MNG-2654 Hope it helps, Sebastien -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, November 10, 2006 6:27 PM To: users@maven.apache.org Subject: [m2] List of

Re: [m2] List of All Dependencies for any project X

2006-11-10 Thread Mark Hobson
On 10/11/06, Sebastien Brunot [EMAIL PROTECTED] wrote: Mark Hobson seems to have authored mojos that does this: http://jira.codehaus.org/browse/MNG-2654 Yep, that's the prerequisite to provide a patch for http://jira.codehaus.org/browse/MPH-14, which is the cleanest solution. Although as

Re: Resolving project dependencies

2006-11-10 Thread Tom Huybrechts
Your wish... http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook On 11/10/06, Wayne Fay [EMAIL PROTECTED] wrote: This is the kind of stuff that needs to land in a Maven Plugin Developers doc/wiki/etc somewhere... Wayne On 11/10/06, Sebastien Brunot [EMAIL PROTECTED] wrote:

problems with m2eclipse

2006-11-10 Thread Barbier-Accary Aurélien
Hi all, I have some problems using the maven2 plugin for eclipse (version 0.0.9). First, when adding a new depency in the pom.xml file, it only works if I use the update source folder command of the Maven2 menu. But it is very very slow because all dependencies are reloaded!! Is it

Re: Pulling jars into local repository

2006-11-10 Thread Tom Huybrechts
Declare them as runtime dependencies ? On 11/10/06, Steinar Bang [EMAIL PROTECTED] wrote: Steinar Bang [EMAIL PROTECTED]: [snip!] But I still got the same error message when doing mvn install. That's because mvn dependency:copy-dependencies pulled in the dependency-maven-plugin from

Re: Aggregate site generation

2006-11-10 Thread Dennis Lundberg
Morgovsky, Alexander (US - Glen Mills) wrote: I have a parent POM which has two modules. Module A's sites get deployed to host/A/. Module B's sites get deployed to host/B/. What do I need to do in the parent POM so that I can have these modules show up in the modules section of the parent pom

RE: [M2] FAQ? Debugging unit tests in Maven2

2006-11-10 Thread matthewadams
Dan Fabulich-2 wrote: Probably what's happening is Maven is launching a second JVM to run your tests. If so, you can use -DargLine==-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=4657 to pass those arguments to the launched JVM.

Re: Problem during build

2006-11-10 Thread Jesse McConnell
what version of continuum are you using? trunk? jesse On 11/10/06, ETIENNE Olivier [EMAIL PROTECTED] wrote: Hi, I'm trying to compile a Java project based on a CVS repository and ant builds scripts. When the project build is launch, the files are retrieved from CVS but the build command

Re: Configuration of Username and password for subversion

2006-11-10 Thread Jesse McConnell
yep, that will do it, glad you got it working :) cheers! jesse On 11/9/06, Martin Testrot [EMAIL PROTECTED] wrote: Hallo Jesse, hallo Shankar, many thanks for your fast replys. Right now our subversion doesn't work with the apache module (has to be configured by our admins). So I can't add

Re: [M2] FAQ? Debugging unit tests in Maven2

2006-11-10 Thread Wendy Smoak
On 11/10/06, matthewadams [EMAIL PROTECTED] wrote: 1. Is the argLine property a Surefire-specific property or a Maven-global property? 2. Where is the argLine property documented (and all other properties for that matter)? 3. Where do I set the surefire forkMode property?

Re: Project Notifier removed when editing build definitions

2006-11-10 Thread Jesse McConnell
This was on trunk, correct? rahul, this might be an issue in the notifier actions jesse On 11/7/06, Emmanuel Hugonnet [EMAIL PROTECTED] wrote: Hi, I have edited my build definition since I have to pass some parameters via -D. After that my notifier which was imported from my POM was removed

RE: [m2] List of All Dependencies for any project X

2006-11-10 Thread Peter . Pilgrim
Thanks just is what I was looking for. -Original Message- From: Barrett Nuzum [mailto:[EMAIL PROTECTED] Sent: 10 November 2006 17:30 To: Maven Users List Subject: RE: [m2] List of All Dependencies for any project X Peter: mvn project-info-reports:dependencies should give you

Re: mevenide vs. m2eclipse?

2006-11-10 Thread Steinar Bang
Martin van den Bemt [EMAIL PROTECTED]: Steinar Bang wrote: Martin van den Bemt [EMAIL PROTECTED]: I am working on a m2 eclipse plugin, but that is not public yet.. Will it be better than m2eclipse? :-) Definitely :) I'll post on that later when there is a usable version Cool. I'm

Re: Pulling jars into local repository

2006-11-10 Thread Steinar Bang
Tom Huybrechts [EMAIL PROTECTED]: On 11/10/06, Steinar Bang [EMAIL PROTECTED] wrote: Now, I need to find out if I can make maven pull in the eclipse bundles neccessary for the runtime, as well. This would avoid this as a copying step. Declare them as runtime dependencies ? Yes, that is

Re: problems with m2eclipse

2006-11-10 Thread Julio S. G.
Hi, I've been having too much problems with m2eclipse... Besides the update source folder, that I have to select every time I change some dependency version writing directly in pom.xml, it doesn't have a pom editor like maven 1 has. So I guess that it's normal... unfortunately. Julio On

Setting up a new jre to maven

2006-11-10 Thread Allan Valeriano
Hi all, I'm having problems setting up a new jre to run mvn install. My default java version is 1.4.2_11, but I need maven to use jre 5 for it. I've read the FAQ, but I must say the example for it is not really helpful. Could somebody give me a hand on this sending a complete example? thanks

Re: Setting up a new jre to maven

2006-11-10 Thread Julio S. G.
Hi Allan, Add these lines to you pom.xml: project build plugins plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target /configuration /plugin /plugins /build /project Julio On 11/10/06,

Exclude modules from site

2006-11-10 Thread JC Walmetz
I have a pom with several modules. I'd like to exclude some of the modules from the site. I have tried the excludeModules optin as mentionned in the doc. It seems not to works. Modules are still in the generated site. build plugins plugin

Re: javadoc plugin failures and recent behaviour change

2006-11-10 Thread Vincent Siveton
Hi Kelvin, I did mvn javadoc:javadoc (with 2.1) on tuscany trunk: https://svn.apache.org/repos/asf/incubator/tuscany/java No error here. Are you sure that commonj is correctly included as dependency? Cheers, Vincent 2006/11/9, kelvin goodson [EMAIL PROTECTED]: I have a build failure that's

Re: Example POM for WebLogic servicegen needed

2006-11-10 Thread Jeff Bailey
Thanks for the example. That saved me a lot of time! Re: phase for appc, I'm trying to take the approach having one project create the ejb-jar and a separate project create the web services using servicegen. Currently I run appc in the package phase. I thought it might be better to decompose

Re: MavenProjectBuilder injection in a Mojo

2006-11-10 Thread franz see
Good day to you, Mark, Nice. Thanks for the link :-) Hmm..maybe I should try digging up plexus in the future to understan that better :-) Cheers, Franz Mark Hobson wrote: On 10/11/06, franz see [EMAIL PROTECTED] wrote: Good day to you, Mark, Curious, which docs are you referring to?

Re: Dependency cycle?

2006-11-10 Thread franz see
hehehe :-) my bad :-) Andrew Williams-5 wrote: It is a rhetorical question - meaning that it is impossible to build such a system, thus Maven does not support it :) A franz see wrote: Good day to you, Andy, I'm not sure if any are build at all, that's because your whole build

RE: XML representation of an Artifact in the configuration section of the POM

2006-11-10 Thread franz see
Good day to you, Sebastien, No problem ;-) Wow..thanks for the information. :-) Thanks a bunch, Franz Sebastien Brunot wrote: Thanks for your help franz, it's nice to have the kind of support you provides. In fact, I've adopted the strategy I've seen in the maven-dependency-plugin :

Re: XML representation of an Artifact in the configuration section of the POM

2006-11-10 Thread Wendy Smoak
On 11/10/06, franz see [EMAIL PROTECTED] wrote: Good day to you, Sebastien, No problem ;-) Wow..thanks for the information. :-) Would any of this be appropriate for the 'Mojo Developer Cookbook' on the wiki? http://docs.codehaus.org/display/MAVENUSER/Mojo+Developer+Cookbook If it's

RE: Plugin Annotation to control Inheritance

2006-11-10 Thread dawn.angelito
Hi Barrett, Yes, that is correct. You should edit the parent POM. I can see that you've specified the inheritedfalse/inherited in buildpluginManagement//build. Try adding this in the buildplugins/build instead. The inherited tags are used to merge the parent pom and the child pom (though no

Re: Project Notifier removed when editing build definitions

2006-11-10 Thread Christian Edward Gruber
Yes. Happened after Rahul's notification re-work. Jesse McConnell wrote: This was on trunk, correct? rahul, this might be an issue in the notifier actions jesse On 11/7/06, Emmanuel Hugonnet [EMAIL PROTECTED] wrote: Hi, I have edited my build definition since I have to pass some

Re: Independent perforce ant projects triggering builds of each other

2006-11-10 Thread David Roussel
On 9 Nov 2006, at 00:14, Jason Foster wrote: 1. The perforce clientspec setup for the machine is targeting a rather large subsection of the repository, starting at a level that is higher up than any of the projects we want to build. Could this be the cause? Does the clientspec need to be