Re: Default goals with maven 2
A JIRA is was raised on 19/Jul/05 for this. http://jira.codehaus.org/browse/CONTINUUM-243
Re: plexus-utils 1.1 giving me a hard time
mvn -X tells me that the only plexus-utils JAR in my classpath is 1.1. As for putting 1.3-SNAPSHOT in , I seem to have read somewhere that it doesn't really matter what version of plexus-utils your pom depends on, what you get is the version present in M2_HOME/core. This may have changed recently, though, as I think what I read was from march or something. Anyways, it all works now. Deleted the project, the maven dir and the repository and started fresh. Funny, because I have in the past deleted the project, the maven dir and the repository - just not at the same time. It would seem my computer is based on ILlogical operations. ;-) -- View this message in context: http://www.nabble.com/plexus-utils-1.1-giving-me-a-hard-time-t1778524.html#a4859672 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: assembly moduleSet versus dependencySet
like what the names imply, moduleSets represent your pom's and dependencySets represent your pom's Hope that helps. ^_^ Bob Newby wrote: In an assembly, I am unclear how a moduleSet differs from a dependencySet. (I am referring to the documentation at http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html.) Anyone care to educate me? Thanks in advance, Bob -- Robert E. Newby Principal Software Engineer Vestmark, Inc. 100 Quannapowitt Parkway, Suite 205 Wakefield, MA 01880 [EMAIL PROTECTED] | 781.224.3640 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to report public repository problems
Please see: http://maven.apache.org/guides/mini/guide-maven-evangelism.html Lyndon Washington wrote: So, provide an example of the missing pom.xml? Okey dokey, once I get a moment I will log an issue. Thx! On 6/13/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: But don't bother to complain without providing a solution or will be ignored. On 6/13/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > Issues like these are filed in the Maven JIRA at Codehaus under > component MEV (Maven Evangelism). > > Wayne > > On 6/13/06, Lyndon Washington <[EMAIL PROTECTED]> wrote: > > What is the procedure for reporting problems with missing pom.xmlfiles from > > the Ibiblio.org public repository? > > > > I tried to use the 1.3.03 version of the xml-apis component, > > http://www.ibiblio.org/maven2/xml-apis/xml-apis/1.3.03/, only to discover > > that no pom.xml was present in that directory. > > > > Cheers, > > -Lyndon- > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie archetype question
Ah i understand your point then you need to create the java folder under main manually , i think this should be a bug for the web archetype plugin . cheers, Javed On 6/13/06, Mike Lundin <[EMAIL PROTECTED]> wrote: Javed, That's what I tried originally, but when I do that the folders that would normally appear for Java sources are not created. The directory structure becomes: MavenWebAppEx src main resources webapp WEB-INF I still need to manually add the java source folders. I was thinking there was a way to run multiple archetypes in the same directory, but I have yet to get that to work (I end up getting subprojects with dependencies). Thanks much, Mike On 6/13/06, javed mandary <[EMAIL PROTECTED]> wrote: > > Assuming you want to create a webapp with > > 1. package : com.mymaven.example.web > 2.war name: MavenWebAppEx > > Use the following command to have the maven-archetype-webapp create the > webapp for you: > > mvn archetype:create > -DgroupId=com.mymaven.example.web-DartifactId=MavenWebAppEx > -Dpackagename= > com.mymaven.example.web -DarchetypeArtifactId=maven-archetype-webapp > > hope that helps, > Javed > > On 6/13/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > > > If you drill down in the Central (ibiblio) repo and the Snapshot repo, > > you will find a number of Archetypes, including j2ee-simple, webapp, > > portlet etc. > > http://www.ibiblio.org/maven2/org/apache/maven/archetypes/ > > > > Give them all a try and see what kind of directories, poms, etc are > > created by each one -- perhaps you will find what you were originally > > looking for... > > > > But manually creating directories and modifying poms is the way I > > personally create most of my projects. > > > > Wayne > > > > On 6/10/06, Mike Lundin <[EMAIL PROTECTED]> wrote: > > > Ben, > > > > > > That's the kind of feedback I was looking for, yes. For some reason, > I > > had > > > it in my head that you shouldn't touch the directory structure once > the > > > archetype did it's work, but as I think about it, the pom that both > > > archetypes create is almost the same. Thinking along those lines, > > adding > > > the directories manually begins to make sense. > > > > > > Thanks much for your responses, > > > Mike > > > > > > On 6/10/06, ben short <[EMAIL PROTECTED]> wrote: > > > > > > > > Mike, > > > > > > > > I have used maven for a couple of webapps, usally I use the webapp > > > > archetype to generate the pom and initial structure then I create > the > > > > java directory manually. Once you have created them maven will > compile > > > > the jva source as normal, and the class files get moved to the > correct > > > > place in the produced war. > > > > > > > > I dont know of a archtype that does this for you, but that dosent > mean > > > > there isn't one. > > > > > > > > Also I have created a project that has a webapp module and a java > > > > module. For this I used the quick start archetype to create the jar > > > > module, and the webapp to create the webapp module. I then moved the > > > > out directory's produced under a project directory and created the > > > > project pom manually. > > > > > > > > I hope this is of some help... > > > > > > > > Ben > > > > > > > > > > > > > > > > On 6/10/06, Mike Lundin <[EMAIL PROTECTED]> wrote: > > > > > Ben, > > > > > > > > > > I was assuming that there was an archetype out there that would > > generate > > > > > that structure for me. Is that not the case? > > > > > > > > > > Mike > > > > > > > > > > On 6/9/06, ben short <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Mike, > > > > > > > > > > > > You can just create the directorys you need from the link .. > > > > > > > > > > > > > > > > > > > > > > > > > http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html > > > > > > > > > > > > Or you can create a seperate project that has the java source > and > > add > > > > > > it as a dependacy of your webapp. > > > > > > > > > > > > > > > > > > > > > > > > Ben > > > > > > > > > > > > On 6/10/06, Mike Lundin <[EMAIL PROTECTED]> wrote: > > > > > > > I'm working on creating a new webapp project using maven and > the > > > > > > > archetype:create with the maven-archetype-webapp archetype. I > > may > > > > not > > > > > > > understand things correctly, but I don't see some directories > > that I > > > > > > would > > > > > > > assume would be in there. There is nothing for Java src files > > or > > > > > > anything > > > > > > > like that in there. > > > > > > > > > > > > > > Should those be in there, or is the preferred method to > created > > > > multiple > > > > > > > maven projects and make them all dependencies on each > other? I > > > > tried > > > > > > > creating archetypes within archetypes (by changing package to > > pom), > > > > but > > > > > > that > > > > > > > seem to disregard the archetype I sent in and only ever used > the > > > > > > quickStart > > > > > > >
Re: How to report public repository problems
So, provide an example of the missing pom.xml? Okey dokey, once I get a moment I will log an issue. Thx! On 6/13/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: But don't bother to complain without providing a solution or will be ignored. On 6/13/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > Issues like these are filed in the Maven JIRA at Codehaus under > component MEV (Maven Evangelism). > > Wayne > > On 6/13/06, Lyndon Washington <[EMAIL PROTECTED]> wrote: > > What is the procedure for reporting problems with missing pom.xmlfiles from > > the Ibiblio.org public repository? > > > > I tried to use the 1.3.03 version of the xml-apis component, > > http://www.ibiblio.org/maven2/xml-apis/xml-apis/1.3.03/, only to discover > > that no pom.xml was present in that directory. > > > > Cheers, > > -Lyndon- > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Building a project using Continuum + execute mvn site
Just change the default goal to "mvn deploy site" throught Continuum web interface. On 6/13/06, Tatiana Escovedo <[EMAIL PROTECTED]> wrote: Hi, I'm trying Continuum 1.0.3 and I can build my project through the web interface. However, I'd like to build and execute the goal mvn site, for example. Do you know how could I do this using Continnum? I know how to execute the goal directly from command line, but I like to execute multiple goals using continuum. I imagine that I have to add something on my POM, expliciting the goals I want to execute. Could anyone help me? Thanks, Tatiana - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: plexus-utils 1.1 giving me a hard time
Hi, I am not sure if this is similar to one I encountered couple of weeks ago. Can you try: 1) using the "-X " (debug) option and see what plexus-utils JAR is being loaded up and use from classpath. From what you mention it appears its the first one is getting picked up. 2) using 1.3-SNAPSHOT in the pom.xml and see if that makes a difference. What's the groupId on the plexus-utils for 1.1? Cheers, Rahul henrikwl wrote: Running Maven 2.0.4 release, and am trying to build the latest cobertura-maven-plugin from SVN. The compiler throws a "symbol not found" for the getDefaultExcludesAsList() method in the FileUtils class. This is regardless of the fact that plexus-utils-1.1.jar is present in my classpath, as well as in M2_HOME/core. I have also manually checked both of these, to verify that the method does indeed exist. The only thing that solves the problem is putting the jar file in JAVA_HOME/lib/ext, but this is rather an ugly hack, and I'm wondering what could make maven behave in this way. -- View this message in context: http://www.nabble.com/plexus-utils-1.1-giving-me-a-hard-time-t1778524.html#a4841995 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Building a project using Continuum + execute mvn site
Hi, I'm trying Continuum 1.0.3 and I can build my project through the web interface. However, I'd like to build and execute the goal mvn site, for example. Do you know how could I do this using Continnum? I know how to execute the goal directly from command line, but I like to execute multiple goals using continuum. I imagine that I have to add something on my POM, expliciting the goals I want to execute. Could anyone help me? Thanks, Tatiana - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: derby-maven-plugin
Hi! I am trying to get Derby to work just like Ian Stewart - with a new Derby database for each module. Your Spring example looks promising, sadly I have no experience with Spring (yet). Do I place to code below in the top level pom.xml? What else needed - an example with more information would be great. I don't want to use the Derby database under target in our shipped product - it's is strictly for testing. Also, we plan on setting up our Continous Integration environment so that it will run the tests on all support databases. What is the best approach for this? Does there exist a useful plugin? Do we use profiles? ...? Regards, Jimisola -- View this message in context: http://www.nabble.com/derby-maven-plugin-t1461715.html#a4855389 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to report public repository problems
But don't bother to complain without providing a solution or will be ignored. On 6/13/06, Wayne Fay <[EMAIL PROTECTED]> wrote: Issues like these are filed in the Maven JIRA at Codehaus under component MEV (Maven Evangelism). Wayne On 6/13/06, Lyndon Washington <[EMAIL PROTECTED]> wrote: > What is the procedure for reporting problems with missing pom.xml files from > the Ibiblio.org public repository? > > I tried to use the 1.3.03 version of the xml-apis component, > http://www.ibiblio.org/maven2/xml-apis/xml-apis/1.3.03/, only to discover > that no pom.xml was present in that directory. > > Cheers, > -Lyndon- > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: nice repos :-)
it has, MRM, check previous mails On 6/13/06, Srepfler Srgjan <[EMAIL PROTECTED]> wrote: Geoffrey De Smet wrote: > Any chance of linking both from maven.apache.org? > > Subhash Chandran wrote: >> There is another I know: >> >> http://www.mvnregistry.com/ >> >> Both seem to do their job well... >> >> Regards, >> Subhash. >> >> On 6/12/06, cameron101 <[EMAIL PROTECTED]> wrote: >>> >>> http://www.mvnrepository.com >>> >>> >> >> > Kudos to both teams, I hope the official maven project will have also something that will offer the same features (search and metadata view) and also be a tool for the external developers so that they can update their libs. We need to raise the number of projects that adopt maven and a healthy, rich and vibrant repository is a must. Srgjan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Antrun task config problems (Reference ${maven.dependency.cla sspa th} not found)
nm, I solved my own problem...and I made a typo in the first email...it wasn't this line that was causing the problem: ...it was: ...which I realized needed to be: -Dave -Original Message- From: Dave Comeau Sent: Tuesday, June 13, 2006 4:00 PM To: Maven list (E-mail) Subject: Antrun task config problems (Reference ${maven.dependency.classpa th} not found) I'm stuck with my first real Maven project, which is porting over an existing ant based build system. I'm trying to use the Antrun plugin to call an ant script to do my obfuscation. However, I get the Embedded error: The following error occurred while executing this line: C:\build-sandbox\d2e-vision\d2e-vision-engine\obfuscate.build.xml:10: Reference ${maven.dependency.classpath} not found. The root cause of the exception is: Caused by: Reference ${maven.dependency.classpath} not found. at org.apache.tools.ant.types.Reference.getReferencedObject(Reference.java:110) at org.apache.tools.ant.types.Path.dieOnCircularReference(Path.java:468) at org.apache.tools.ant.types.Path.dieOnCircularReference(Path.java:476) at org.apache.tools.ant.types.Path.list(Path.java:292) at com.plumbdesign.condensity.ant.CondensityTask.execute(CondensityTask.java:15 3) ... 31 more The line in question (line 10) of my obfuscate.build.xml is: Is there an easy way to get around this? I did find this thread: http://mail-archives.apache.org/mod_mbox/maven-users/200602.mbox/%3CBEEBLFKF [EMAIL PROTECTED] ... but it seems like a very awkward solution, especially since I'd have to write my own ant task to generate the classpath string from a java.util.List reference :(
Re: antrun classpaths
Kenney, Well ... you said it shouldn't matter and it didn't. I had checked that the -X showed it using 1.1 but who knows? Thanks. NOTE TO ALL: More ideas are welcome -- Lee On 6/13/06, Kenney Westerhof <[EMAIL PROTECTED]> wrote: On Tue, 13 Jun 2006, Lee Meador wrote: Try pasting this in the pom.xml in place of the tag. Shouldn't matter, but who knows. Maybe you're still using maven-antrun-plugin 1.0, try adding 1.1 below the tag. -- Kenney > > > > > /> > > > On 6/12/06, Kenney Westerhof <[EMAIL PROTECTED]> wrote: > > > > On Mon, 12 Jun 2006, Lee Meador wrote: > > > > Hi, > > > > I can't reproduce this with 'inheritRefs="true"'. > > > > What do you have in your build.xml? > > > > -- Kenney > > > > > I went to here to see how to let ant get to some maven classpaths: > > > > > > http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html > > > > > > I have a build.xml file that I run with this in my pom: > > > > > > > > > > > > > > > maven-antrun-plugin > > > > > > > > > generate-sources > > > > > > run > > > > > > > > > > > > > > target="axisWsdl2Java" antfile="build.xml" dir="." /> > > > > > > ${project.build.directory > > > }/generated-sources/java > > > > > > > > > > > > > > > > > > > > > > > > But it complains that: > > > > > > [ERROR] BUILD ERROR > > > [INFO] > > > > > > [INFO] Error executing ant tasks > > > > > > Embedded error: The following error occurred while executing this line: > > > [path here]\build.xml:31: Reference maven.runtime.classpath not > > > > > > Any ideas? Is the doc page up to date? > > > > > > Thanks. > > > > > > -- > > > -- Lee Meador > > > Sent from gmail. My real email address is [EMAIL PROTECTED] > > > > > > > -- > > Kenney Westerhof > > http://www.neonics.com > > GPG public key: http://www.gods.nl/~forge/kenneyw.key > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > -- Lee Meador > Sent from gmail. My real email address is [EMAIL PROTECTED] > -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Lee Meador Sent from gmail. My real email address is [EMAIL PROTECTED]
Re: How to report public repository problems
Issues like these are filed in the Maven JIRA at Codehaus under component MEV (Maven Evangelism). Wayne On 6/13/06, Lyndon Washington <[EMAIL PROTECTED]> wrote: What is the procedure for reporting problems with missing pom.xml files from the Ibiblio.org public repository? I tried to use the 1.3.03 version of the xml-apis component, http://www.ibiblio.org/maven2/xml-apis/xml-apis/1.3.03/, only to discover that no pom.xml was present in that directory. Cheers, -Lyndon- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to report public repository problems
What is the procedure for reporting problems with missing pom.xml files from the Ibiblio.org public repository? I tried to use the 1.3.03 version of the xml-apis component, http://www.ibiblio.org/maven2/xml-apis/xml-apis/1.3.03/, only to discover that no pom.xml was present in that directory. Cheers, -Lyndon-
How do I add pom version + snapshot version number to App About panel?
How do I add pom version + snapshot version number (and maybe SVN revision number) to About panel ? I have webstart application with an about panel. For debugging purposes while we work on the app, I'd like the About panel to display the application version along with that snapshot value that I don't know much about other than it changes everytime maven builds the application. :) We have the About panel populating itself from a properties file with an entry for the version. It has something like versionNumber= ??? So my question is, what's the easiest/best way to get my build to insert its version number, along with snapshot number into the panel? I see maven uses some filtering concepts, but I can't make sense of how to setup my project and pom to do what I want. Is there some sort of ${pom.version}${pom.snapshotNumber} value I can use? How do I turn this filtering on in the pom? As additional aside, it would also be highly useful if I could somehow include the SVN revision number that was used to create the build. If anyone has any thoughts on that, I'd appreciate it. Thanks, Skip -- View this message in context: http://www.nabble.com/How-do-I-add-pom-version-%2B-snapshot-version-number-to-App-About-panel--t1782334.html#a4853613 Sent from the Maven - Users forum at Nabble.com.
Antrun task config problems (Reference ${maven.dependency.classpa th} not found)
I'm stuck with my first real Maven project, which is porting over an existing ant based build system. I'm trying to use the Antrun plugin to call an ant script to do my obfuscation. However, I get the Embedded error: The following error occurred while executing this line: C:\build-sandbox\d2e-vision\d2e-vision-engine\obfuscate.build.xml:10: Reference ${maven.dependency.classpath} not found. The root cause of the exception is: Caused by: Reference ${maven.dependency.classpath} not found. at org.apache.tools.ant.types.Reference.getReferencedObject(Reference.java:110) at org.apache.tools.ant.types.Path.dieOnCircularReference(Path.java:468) at org.apache.tools.ant.types.Path.dieOnCircularReference(Path.java:476) at org.apache.tools.ant.types.Path.list(Path.java:292) at com.plumbdesign.condensity.ant.CondensityTask.execute(CondensityTask.java:15 3) ... 31 more The line in question (line 10) of my obfuscate.build.xml is: Is there an easy way to get around this? I did find this thread: http://mail-archives.apache.org/mod_mbox/maven-users/200602.mbox/%3CBEEBLFKF [EMAIL PROTECTED] ... but it seems like a very awkward solution, especially since I'd have to write my own ant task to generate the classpath string from a java.util.List reference :(
Shared properties across multiple modules
Ok - so I'm filtering resources here and there and now it's come to my attention that there are places where there is some duplication. Is there a way to share properties across multiple modules? If so where do you store this? Through tons of testing, I've found this: - properties defined in the parent's pom override everything else when the build is run from the parent poms level - properties defined in the parent's pom are unavailable when run from the actual modules working directory - settings in filter.properties override anything in profiles.xml - settings in profiles.xml are available to be expanded within the pom.xml file (settings in filter.properties are not) Note that some will be building at the parent pom level for things, some will be running from the module level. For example - the automated build will be running from the top level to do the "mvn install", then from the module level for one module to do the "mvn assembly:assembly". The other argument would be I only want to build ONE module, how can this one module use these shared properties? How do you do this?
Re: nice repos :-)
Geoffrey De Smet wrote: Any chance of linking both from maven.apache.org? Subhash Chandran wrote: There is another I know: http://www.mvnregistry.com/ Both seem to do their job well... Regards, Subhash. On 6/12/06, cameron101 <[EMAIL PROTECTED]> wrote: http://www.mvnrepository.com Kudos to both teams, I hope the official maven project will have also something that will offer the same features (search and metadata view) and also be a tool for the external developers so that they can update their libs. We need to raise the number of projects that adopt maven and a healthy, rich and vibrant repository is a must. Srgjan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] How to add extra manifest entries to jar with assembly plugin
I want to add an additional entry to the manifest of a jar I am creating using the assembly plugin in. It doesn't seem to work. Any idea what I am doing wrong? maven-assembly-plugin false package attached ${buildNumber} ${basedir}/src/main/assembly/w.xml ${project.build.directory} - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to designate pom filename in multi-level project?
Hello there. How can you designate the name of the child pom file from a parent pom? We'd like to have multiple root pom files to designate which modules to build. Some child modules will have different child modules themselves; enhance the need to designate pom filename. Current: projectA Obviously not allowed: projectA/pom_test.xml projectA/pom_no_test.xml Would be nice: root/pom_test.xml: projectA pom_test.xml root/pom_no_test.xml: projectA pom_no_test.xml Our ultimate object is to designate which modules to build. Hope that makes sense. Thanks. -Chris ___ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.
[m2] How to override a mirror in local settings
I have maven-proxy running on an internal server. I have also updated the parent pom.xml to include this: central Internal Mirror of Central Repository http://reposerver:/repository central Internal Mirror of Central Repository http://reposerver:/repository So now the project pom has defined which "central" repository to use. However, I noticed that if I put a entry in my local maven2 settings.xml config, then maven will go straight to the mirror instead of to the internal repo. I suppose this is by design, but I don't want developers to be able to override the project setting - at least not for this project. Is there a way to force maven to ignore a setting from a parent pom? Thanks Morgan
assembly moduleSet versus dependencySet
In an assembly, I am unclear how a moduleSet differs from a dependencySet. (I am referring to the documentation at http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html.) Anyone care to educate me? Thanks in advance, Bob -- Robert E. Newby Principal Software Engineer Vestmark, Inc. 100 Quannapowitt Parkway, Suite 205 Wakefield, MA 01880 [EMAIL PROTECTED] | 781.224.3640
[m2] How to exclude a class from WEB-INF/classes using war plugin
I have a single class I want to exclude from the my WAR file. It is named Installer.class and is in the root package (no package). I have tried this: maven-war-plugin **/Install* and this: maven-war-plugin **/Install* but neither work. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with repositories that not contain some artifacts
Hi there, I have a pom with two repositories. One is the maven repository at the apache foundation and the other is an internal repository at my institution. When my pom goes to fetch the pom's it first check in the internal repo. This repo returns a "missing page" if the artifact does not exist (an apache artifact, for instance), but maven things it has got "something" and tries to download that. Then it fails and blacklists the repository and does not try to fetch the file in the apache repo. So the result is that neither the dependencies from apache nor the ones at my internal repo are fetched. Any ideas? Thanks! Bruno - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Maven Archetype Plugin 1.0-alpha-4 Released
> > On 5/8/06, Brett Porter <[EMAIL PROTECTED]> wrote: > > The Maven team is pleased to announce the release of the Maven Archetype > > Plugin, version 1.0-alpha-4. > > > > http://maven.apache.org/plugins/maven-archetype-plugin/ > > If you svn co http://svn.apache.org/repos/asf/maven/archetype/trunk all the maven-archetype poms are still versioned at 1.0-alpha-4- SNAPSHOT. Shouldn't they be on 1.0-alpha-5-SNAPSHOT? J -- Julian Wood <[EMAIL PROTECTED]> Software Engineer Teaching & Learning Centre University of Calgary http://tlc.ucalgary.ca - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: javancss-maven-plugin-2.0-beta-1 released?
It's been voted on but I was waiting for Jean-Laurent to get committer privileges so he could do the release. I'll let him comment on his expected timeframe for the release. > -Original Message- > From: Stefan Hübner [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 13, 2006 10:31 AM > To: maven-users > Subject: javancss-maven-plugin-2.0-beta-1 released? > > Hi all, > > I'm wondering if this plugin has already been released? I > might be blind, but I do not find it anywhere in the release-repo. > > any hints appreciated! > > Cheers, > Stefan > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [surefire] single test case
Hi, You only need to put the goal "test" and i think you don't need the package in the classe name. Ex: mvn test -Dtest=TestCaseClass Fernando -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Wessendorf Sent: terça-feira, 13 de Junho de 2006 18:50 To: Maven Users List Subject: [surefire] single test case hey, mvn -Dtest=org.bla.TestCaseClass test seams not to work for me. Am I missing something ? thx, Matthias -- Matthias Wessendorf Aechterhoek 18 48282 Emsdetten blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SOLVED (Re: [surefire] single test case)
mvn -Dtest=TestCaseClass test did the trick ;-) -Matthias On 6/13/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: hey, mvn -Dtest=org.bla.TestCaseClass test seams not to work for me. Am I missing something ? thx, Matthias -- Matthias Wessendorf Aechterhoek 18 48282 Emsdetten blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com -- Matthias Wessendorf Aechterhoek 18 48282 Emsdetten blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [surefire] single test case
On 6/13/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: mvn -Dtest=org.bla.TestCaseClass test seams not to work for me. Am I missing something ? http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html test - Specify this parameter if you want to use the test pattern matching notation, Ant pattern matching, to select tests to run. The Ant pattern will be used to create an include pattern formatted like **/${test}.java When used, the includes and excludes patterns parameters are ignored So use just the class name: -Dtest=TestCaseClass . -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: 1.0.2->1.0.3 upgrade - JDODataStoreException: "...trying to shrink VARCHAR...ContinuumBuildExecutorE"
It's consistent during our builds. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: June 13, 2006 3:45 AM To: continuum-users@maven.apache.org Subject: Re: 1.0.2->1.0.3 upgrade - JDODataStoreException: "...trying to shrink VARCHAR...ContinuumBuildExecutorE" Do you have always this exception or is it only on one build? Chris Wall a écrit : > After upgrading from 1.0.2 to 1.0.3 (via > http://maven.apache.org/continuum/upgrade.html), we are experiencing the > stacktrace below. Is this an outdated schema issue? > > I saw two related responses in the archives ("we don't know why" and > "nothing to do with Maven or Continuum") and a couple open bugs. What > is the suggested workaround? > > Could this be related? Is it correct to overwrite 1.0.3 with 1.0.2?: > "Replace Continuum 1.0.3's apps/continuum/database with Continuum > 1.0.2's apps/continuum/database." yes, it's the normal way. > > Thanks! > > -Chris > > > Stacktrace > > javax.jdo.JDODataStoreException: Update request failed: UPDATE > BUILDRESULT SET ERROR=? WHERE ID=? >at > org.jpox.store.rdbms.request.UpdateRequest.execute(UpdateRequest.java:26 > 7) >at > org.jpox.store.rdbms.table.ClassTable.update(ClassTable.java:2200) >at > org.jpox.store.StoreManager.update(StoreManager.java:786) >at > org.jpox.state.StateManagerImpl.flush(StateManagerImpl.java:4596) >at > org.jpox.AbstractPersistenceManager.flush(AbstractPersistenceManager.jav > a:3167) >at > org.jpox.AbstractPersistenceManager.markDirty(AbstractPersistenceManager > .java:3126) >at > org.jpox.state.StateManagerImpl.postWriteField(StateManagerImpl.java:433 > 4) >at > org.jpox.state.StateManagerImpl.makeDirty(StateManagerImpl.java:1050) >at > org.jpox.state.AttachFieldManager.storeIntField(AttachFieldManager.java: > 255) >at > org.jpox.state.StateManagerImpl.providedIntField(StateManagerImpl.java:2 > 571) >at > org.apache.maven.continuum.model.project.Project.jdoProvideField(Project > .java) >at > org.apache.maven.continuum.model.project.Project.jdoProvideFields(Projec > t.java) >at > org.jpox.state.StateManagerImpl.provideFields(StateManagerImpl.java:2964 > ) >at > org.jpox.state.StateManagerImpl.internalAttachCopy(StateManagerImpl.java > :4028) >at > org.jpox.state.StateManagerImpl.attachCopy(StateManagerImpl.java:3963) >at > org.jpox.AbstractPersistenceManager.attachCopy(AbstractPersistenceManage > r.java:1336) >at > org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersi > stenceManager.java:1109) >at > org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceMa > nager.java:1201) >at > org.apache.maven.continuum.store.JdoContinuumStore.updateBuildResult(Jdo > ContinuumStore.java:238) >at > org.apache.maven.continuum.buildcontroller.DefaultBuildController.build( > DefaultBuildController.java:324) >at > org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec > uteTask(BuildProjectTaskExecutor.java:47) >at > org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut > orRunnable.run(ThreadedTaskQueueExecutor.java:103) >at java.lang.Thread.run(Thread.java:595) > NestedThrowablesStackTrace: > ERROR 22001: A truncation error was encountered trying to shrink VARCHAR > 'org.apache.maven.continuum.execution.ContinuumBuildExecutorE&' to > length 8192. >at > org.apache.derby.iapi.error.StandardException.newException(Unknown > Source) >at > org.apache.derby.iapi.types.SQLChar.hasNonBlankChars(Unknown Source) >at > org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source) >at > org.apache.derby.iapi.types.SQLVarchar.normalize(Unknown Source) >at > org.apache.derby.iapi.types.DataTypeDescriptor.normalize(Unknown Source) >at > org.apache.derby.impl.sql.execute.NormalizeResultSet.normalizeRow(Unknow > n Source) >at > org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unkn > own Source) >at > org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unkno > wn Source) >at > org.apache.derby.impl.sql.execute.UpdateResultSet.collectAffectedRows(Un > known Source) >at > org.apache.derby.impl.sql.execute.UpdateResultSet.open(Unknown Source) >at > org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown > Source) >at > org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown > Source) >at > org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unkno > wn S
[surefire] single test case
hey, mvn -Dtest=org.bla.TestCaseClass test seams not to work for me. Am I missing something ? thx, Matthias -- Matthias Wessendorf Aechterhoek 18 48282 Emsdetten blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: antrun classpaths
On Tue, 13 Jun 2006, Lee Meador wrote: Try pasting this in the pom.xml in place of the tag. Shouldn't matter, but who knows. Maybe you're still using maven-antrun-plugin 1.0, try adding 1.1 below the tag. -- Kenney > > > > > /> > > > On 6/12/06, Kenney Westerhof <[EMAIL PROTECTED]> wrote: > > > > On Mon, 12 Jun 2006, Lee Meador wrote: > > > > Hi, > > > > I can't reproduce this with 'inheritRefs="true"'. > > > > What do you have in your build.xml? > > > > -- Kenney > > > > > I went to here to see how to let ant get to some maven classpaths: > > > > > > http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html > > > > > > I have a build.xml file that I run with this in my pom: > > > > > > > > > > > > > > > maven-antrun-plugin > > > > > > > > > generate-sources > > > > > > run > > > > > > > > > > > > > > target="axisWsdl2Java" antfile="build.xml" dir="." /> > > > > > > ${project.build.directory > > > }/generated-sources/java > > > > > > > > > > > > > > > > > > > > > > > > But it complains that: > > > > > > [ERROR] BUILD ERROR > > > [INFO] > > > > > > [INFO] Error executing ant tasks > > > > > > Embedded error: The following error occurred while executing this line: > > > [path here]\build.xml:31: Reference maven.runtime.classpath not > > > > > > Any ideas? Is the doc page up to date? > > > > > > Thanks. > > > > > > -- > > > -- Lee Meador > > > Sent from gmail. My real email address is [EMAIL PROTECTED] > > > > > > > -- > > Kenney Westerhof > > http://www.neonics.com > > GPG public key: http://www.gods.nl/~forge/kenneyw.key > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > -- Lee Meador > Sent from gmail. My real email address is [EMAIL PROTECTED] > -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Best practices for multi-flavour build?
I'm still trying to understand why Maven doesn't support profile inheritance. Would that go again the Maven philosophy? Using settings.xml is fine to describe a developer's local environment, not to describe deployment properties. Let's say I have a project with two subprojects: one for the client and one for the server; and 2 environments: Production and Test. In addition to the Production and Test environments, each developer has his/her own development environment. I would expect to be able to define the test and production profiles in the parent POM; these profile would be inherited by the Test and Production POMs' (no additional files to check out to build/deploy the app, configuration is done all in one place); during development, these profiles would be merged with the same profiles defined in settings.xml to match the developer's environment. Am I missing something? Thanks, Theo. On 6/13/06, Kieran Brady <[EMAIL PROTECTED]> wrote: Hi Theo, You're correct, that solution does require duplication but in our case its only a couple of POMs so is manageable for the time being. I believe that a profiles.xml may be the solution for multiple POMs but I haven't yet had chance to test it out. Kieran - Original Message - From: "Toto Laricot" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Tuesday, June 13, 2006 5:51 AM Subject: Re: Best practices for multi-flavour build? Hi all, I have tried Kieran's solution myself; it works fine as long as the profiles are defined in the same POM that contains the variables that need to be injected. In other words –still using Kieran's example- if you define: dev […] dev […] in a parent POM, and this filter in a child POM: src/main/profiles/${delivery.name}/general-filter.properties src/main/profiles/${delivery.name}/${environment.name}- filter.properties src/main/resources/${operatingsys.name}-filter.properties The properties won't be injected. So, if you have a hierarchy of POM's, you have to duplicate you profile definitions into every POM, which is a maintenance nightmare. I'd be curious to find out how people deal with this issue. Is the ant plugin the only solution? I sure hope not. Theo. On 6/12/06, badaud <[EMAIL PROTECTED]> wrote: > > > I will try something like this, thanks. > -- > View this message in context: > http://www.nabble.com/Best-practices-for-multi-flavour-build--t1741483.html#a4826563 > Sent from the Maven - Users forum at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Subversion post-commit hook
yes On 6/13/06, Lee Meador <[EMAIL PROTECTED]> wrote: Do I remember right that you can build a tagged version? On 6/13/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > > No, it isn't possible to build a particular revision and I don't see the > interest to do it if the > code in subversion isn't the latest. > > Emmanuel > > Lee Meador a écrit : > > To make it work the way I hear you wanting, it looks like you need > > something > > that notices the changed Subverions revision number and knows the last > > revision number that continuum built. Then it causes Continuum to build > the > > version after the last one built and repeats builds after that of each > > subversion version number up to the current one. > > > > I'm not sure if you can tell Continuum to build a particular Subversion > > version number. > > > > I'm not sure what would happen if a lot of little changes get made all > at > > once. There could be quite a backlog of builds to do. > > > > It would even build a version where the only change was to add a space > in a > > pom, for example, or other change that wouldn't effect the build outcome > at > > all. Of course, all you would lose is the time. > > > > -- Lee > > > > On 6/13/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: > >> > >> On 6/13/06, Baron Reznik <[EMAIL PROTECTED]> wrote: > >> > On Fri, 2006-06-09 at 18:28 +0200, Carlos Sanchez wrote: > >> > > On 6/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > > > >> wrote: > >> > > > I know I'd find this useful as well, for several reasons: > >> > > > -If you simply let continuum build every 5 mins, there could > >> potentially be more than 1 commit during that time, and you would be > >> building multiple revisions worth of changes. Ideally, you would want > to > >> build once/revision so if the build breaks, you know which commit > >> broke it. > >> > > > >> > > > >> > > You are not considering here the time that it takes to build the > >> project. > >> > > a commits > >> > > continuum starts building > >> > > b commits > >> > > continuum can't start building, busy > >> > > c commits > >> > > continuum can't start building, busy > >> > > continuum finishes building > >> > > continuum starts building b and c changes > >> > > > >> > > > >> > > >> > ^^^ That's exactly what I'm talking about. Sometimes it will build 1 > >> > revision, and other times 2 or more revisions could be mixed into one > >> > build. I'd like to avoid that. > >> > > >> > >> You can't avoid this with a post commit hook > >> > >> > > > >> > > > -The continuum server would not be making as many hits to the svn > >> server. If you're building dozens and dozens of projects, this adds up > >> when > >> it's once every 5 mins. > >> > > > >> > > I don't realy know what is the overhead of getting the revision > >> number > >> > > to check for changes but shouldn't be heavy at all > >> > > > >> > > >> > I don't know how you verify this, but I got the impression that > >> > continuum was performing a 'svn update' (for subversion, anyways), > >> > which, could be rather heavy depending on how your repository is laid > >> > out. I'm not sure offhand if subversion provides a more efficient way > >> > though. > >> > > >> > >> svn info gives you the local revision > >> svn info URL gives you the remote one > >> > >> conitnuum may be improved to use this instead of a checkout if it does > >> not currently > >> > >> > > > > >> > > > If you got rather fancy, it would sure be nice to have the commit > >> check if there were new projects added, and automagically add them to > >> continuum as well. > >> > > > > >> > > > > >> > > > -Original Message- > >> > > > From: [EMAIL PROTECTED] on behalf of Carlos Sanchez > >> > > > Sent: Thu 6/8/2006 1:54 PM > >> > > > To: continuum-users@maven.apache.org > >> > > > Subject: Re: Subversion post-commit hook > >> > > > > >> > > > why do you need that, setting a short period like 5 min is not > >> enough? > >> > > > > >> > > > On 6/8/06, Chris Wall <[EMAIL PROTECTED]> wrote: > >> > > > > We'd like to trigger Continuum builds upon developer commits in > >> > > > > Subversion. It sounds like to do so we need to develop an > >> xml-rpc > >> > > > > client. > >> > > > > > >> > > > > Has anyone developed a post-commit hook into Continuum from > >> Subversion? > >> > > > > Is there related documentation available? > >> > > > > > >> > > > > Thanks. > >> > > > > > >> > > > > -Chris > >> > > > > > >> > > > > > >> > > > > > >> ___ > >> > > > > Notice: This email message, together with any attachments, may > >> contain > >> > > > > information of BEA Systems, Inc., its > >> subsidiaries and affiliated > >> > > > > entities, that may be > >> confidential, proprietary, copyrighted and/or > >> > > > > legally privileged, and is intended solely for the use of the > >> individual > >> > > > > or entity named in this message. If you are not the intended > >> recipient, > >> > > > > and
Re: Subversion post-commit hook
Do I remember right that you can build a tagged version? On 6/13/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: No, it isn't possible to build a particular revision and I don't see the interest to do it if the code in subversion isn't the latest. Emmanuel Lee Meador a écrit : > To make it work the way I hear you wanting, it looks like you need > something > that notices the changed Subverions revision number and knows the last > revision number that continuum built. Then it causes Continuum to build the > version after the last one built and repeats builds after that of each > subversion version number up to the current one. > > I'm not sure if you can tell Continuum to build a particular Subversion > version number. > > I'm not sure what would happen if a lot of little changes get made all at > once. There could be quite a backlog of builds to do. > > It would even build a version where the only change was to add a space in a > pom, for example, or other change that wouldn't effect the build outcome at > all. Of course, all you would lose is the time. > > -- Lee > > On 6/13/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: >> >> On 6/13/06, Baron Reznik <[EMAIL PROTECTED]> wrote: >> > On Fri, 2006-06-09 at 18:28 +0200, Carlos Sanchez wrote: >> > > On 6/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > >> wrote: >> > > > I know I'd find this useful as well, for several reasons: >> > > > -If you simply let continuum build every 5 mins, there could >> potentially be more than 1 commit during that time, and you would be >> building multiple revisions worth of changes. Ideally, you would want to >> build once/revision so if the build breaks, you know which commit >> broke it. >> > > >> > > >> > > You are not considering here the time that it takes to build the >> project. >> > > a commits >> > > continuum starts building >> > > b commits >> > > continuum can't start building, busy >> > > c commits >> > > continuum can't start building, busy >> > > continuum finishes building >> > > continuum starts building b and c changes >> > > >> > > >> > >> > ^^^ That's exactly what I'm talking about. Sometimes it will build 1 >> > revision, and other times 2 or more revisions could be mixed into one >> > build. I'd like to avoid that. >> > >> >> You can't avoid this with a post commit hook >> >> > > >> > > > -The continuum server would not be making as many hits to the svn >> server. If you're building dozens and dozens of projects, this adds up >> when >> it's once every 5 mins. >> > > >> > > I don't realy know what is the overhead of getting the revision >> number >> > > to check for changes but shouldn't be heavy at all >> > > >> > >> > I don't know how you verify this, but I got the impression that >> > continuum was performing a 'svn update' (for subversion, anyways), >> > which, could be rather heavy depending on how your repository is laid >> > out. I'm not sure offhand if subversion provides a more efficient way >> > though. >> > >> >> svn info gives you the local revision >> svn info URL gives you the remote one >> >> conitnuum may be improved to use this instead of a checkout if it does >> not currently >> >> > > > >> > > > If you got rather fancy, it would sure be nice to have the commit >> check if there were new projects added, and automagically add them to >> continuum as well. >> > > > >> > > > >> > > > -Original Message- >> > > > From: [EMAIL PROTECTED] on behalf of Carlos Sanchez >> > > > Sent: Thu 6/8/2006 1:54 PM >> > > > To: continuum-users@maven.apache.org >> > > > Subject: Re: Subversion post-commit hook >> > > > >> > > > why do you need that, setting a short period like 5 min is not >> enough? >> > > > >> > > > On 6/8/06, Chris Wall <[EMAIL PROTECTED]> wrote: >> > > > > We'd like to trigger Continuum builds upon developer commits in >> > > > > Subversion. It sounds like to do so we need to develop an >> xml-rpc >> > > > > client. >> > > > > >> > > > > Has anyone developed a post-commit hook into Continuum from >> Subversion? >> > > > > Is there related documentation available? >> > > > > >> > > > > Thanks. >> > > > > >> > > > > -Chris >> > > > > >> > > > > >> > > > > >> ___ >> > > > > Notice: This email message, together with any attachments, may >> contain >> > > > > information of BEA Systems, Inc., its >> subsidiaries and affiliated >> > > > > entities, that may be >> confidential, proprietary, copyrighted and/or >> > > > > legally privileged, and is intended solely for the use of the >> individual >> > > > > or entity named in this message. If you are not the intended >> recipient, >> > > > > and have received this message in error, please immediately >> return >> this >> > > > > by email and then delete it. >> > > > > >> > > > > >> > > > >> > > > >> > > > -- >> > > > I could give you my word as a Spaniard. >> > > > No good. I've known too many Spaniards. >> > > > -- The Princess Br
Re: dependency-maven-plugin issue?
Sound like you encounter http://jira.codehaus.org/browse/MDEP-6 Could you please patch it to your local install and see if it works? -D On 6/13/06, Gautham Pamu <[EMAIL PROTECTED]> wrote: Hi Dan, I downloaded the maven-dependency plugin and tried to use it, it giving following error. I got the same error with mvn 2.0.3 and 2.0.4 version. Does this plugin works with maven 2.0.3/4 versions ? What is the workaround for this plugin Thanks Gautham Pamu [INFO] [dependency:copy-dependencies {execution: copy-dependencies}] [debug] Including Transitive Dependencies. [INFO] [ERROR] FATAL ERROR [INFO] [INFO] org.apache.maven.project.artifact.ActiveProjectArtifactincompatible with org.apache.maven.artifact.DefaultArtifact [INFO] [INFO] Trace java.lang.ClassCastException: org.apache.maven.project.artifact.ActiveProjectArt ifact incompatible with org.apache.maven.artifact.DefaultArtifact at org.apache.maven.plugin.dependency.CopyDependenciesMojo.execute (CopyD ependenciesMojo.java:64) at org.apache.maven.plugin.DefaultPluginManager.executeMojo (DefaultPlugi nManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (Defa ultLifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle ( DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (Defau ltLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures ( DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute (DefaultLi fecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl. java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java :315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java :430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] [INFO] Total time: 13 seconds [INFO] Finished at: Tue Jun 13 10:48:17 CDT 2006 [INFO] Final Memory: 6M/20M [INFO] On 6/5/06, dan tran <[EMAIL PROTECTED]> wrote: > > I would like to suggest that we stop using depend-maven-plugin and move > forward with maven-dependency-plugin at Apache > > > http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-dependency-plugin > > > We definitely dont want to have concurrent development of > dependency-maven-plugin ( at mojo) and maven-dependency-plugin. > > I have committed bunch of enhancements only at apache since the > migragration > of mojo to apache > > -Dan > > > > On 6/5/06, Eugeny N Dzhurinsky <[EMAIL PROTECTED]> wrote: > > > > There was an issue in the plugin, thjanks to from > > [EMAIL PROTECTED] > > > > svn co > https://svn.codehaus.org/mojo/trunk/mojo/dependency-maven-pluginand > > then `mvn install' did the trick. > > -- > > Eugene N Dzhurinsky > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- -Gautham Pamu
Re: Subversion username and password
Hello, Emmanuel,Yes, I'm using scm plugin. Your solution worked pretty fine. Thank you so much,DouglasOn 6/13/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:Which plugin do you want to use? I think it's the scm plugin. You can use -Dusername=your_login -Dpassword=your_passwordor you can add an entry in your settings.xml like this: svn_host:svn_port your_login your_passwordEmmanuelDouglas José a écrit :> Hi,>> I'm not able to login to my SVN repository. I configured the tag > properly, but Maven returns an 'authorization failed' error message.> Where do I put my username and password? There is a way to configure> Maven to prompt for credentials when trying to connect to svn > repository? Can I configure such credentials in a user-specific file?>> Thanks,>> --> Douglas José> ICQ (UIN) 8024395> MSN: douglasjose[a]hotmail,com (prefer ICQ) > Yahoo!: douglasjose[a]yahoo,com>> - "Use free software. Help us make a free world."-- Douglas JoséICQ (UIN) 8024395MSN: douglasjose[a]hotmail,com (prefer ICQ) Yahoo!: douglasjose[a]yahoo,com- "Use free software. Help us make a free world."
Re: dependency-maven-plugin issue?
Hi Dan, I downloaded the maven-dependency plugin and tried to use it, it giving following error. I got the same error with mvn 2.0.3 and 2.0.4 version. Does this plugin works with maven 2.0.3/4 versions ? What is the workaround for this plugin Thanks Gautham Pamu [INFO] [dependency:copy-dependencies {execution: copy-dependencies}] [debug] Including Transitive Dependencies. [INFO] [ERROR] FATAL ERROR [INFO] [INFO] org.apache.maven.project.artifact.ActiveProjectArtifact incompatible with org.apache.maven.artifact.DefaultArtifact [INFO] [INFO] Trace java.lang.ClassCastException: org.apache.maven.project.artifact.ActiveProjectArt ifact incompatible with org.apache.maven.artifact.DefaultArtifact at org.apache.maven.plugin.dependency.CopyDependenciesMojo.execute(CopyD ependenciesMojo.java:64) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle( DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures( DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java :315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java :430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] [INFO] Total time: 13 seconds [INFO] Finished at: Tue Jun 13 10:48:17 CDT 2006 [INFO] Final Memory: 6M/20M [INFO] On 6/5/06, dan tran <[EMAIL PROTECTED]> wrote: I would like to suggest that we stop using depend-maven-plugin and move forward with maven-dependency-plugin at Apache http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-dependency-plugin We definitely dont want to have concurrent development of dependency-maven-plugin ( at mojo) and maven-dependency-plugin. I have committed bunch of enhancements only at apache since the migragration of mojo to apache -Dan On 6/5/06, Eugeny N Dzhurinsky <[EMAIL PROTECTED]> wrote: > > There was an issue in the plugin, thjanks to from > [EMAIL PROTECTED] > > svn co https://svn.codehaus.org/mojo/trunk/mojo/dependency-maven-pluginand > then `mvn install' did the trick. > -- > Eugene N Dzhurinsky > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- -Gautham Pamu
javancss-maven-plugin-2.0-beta-1 released?
Hi all, I'm wondering if this plugin has already been released? I might be blind, but I do not find it anywhere in the release-repo. any hints appreciated! Cheers, Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Subversion post-commit hook
No, it isn't possible to build a particular revision and I don't see the interest to do it if the code in subversion isn't the latest. Emmanuel Lee Meador a écrit : To make it work the way I hear you wanting, it looks like you need something that notices the changed Subverions revision number and knows the last revision number that continuum built. Then it causes Continuum to build the version after the last one built and repeats builds after that of each subversion version number up to the current one. I'm not sure if you can tell Continuum to build a particular Subversion version number. I'm not sure what would happen if a lot of little changes get made all at once. There could be quite a backlog of builds to do. It would even build a version where the only change was to add a space in a pom, for example, or other change that wouldn't effect the build outcome at all. Of course, all you would lose is the time. -- Lee On 6/13/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: On 6/13/06, Baron Reznik <[EMAIL PROTECTED]> wrote: > On Fri, 2006-06-09 at 18:28 +0200, Carlos Sanchez wrote: > > On 6/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I know I'd find this useful as well, for several reasons: > > > -If you simply let continuum build every 5 mins, there could potentially be more than 1 commit during that time, and you would be building multiple revisions worth of changes. Ideally, you would want to build once/revision so if the build breaks, you know which commit broke it. > > > > > > You are not considering here the time that it takes to build the project. > > a commits > > continuum starts building > > b commits > > continuum can't start building, busy > > c commits > > continuum can't start building, busy > > continuum finishes building > > continuum starts building b and c changes > > > > > > ^^^ That's exactly what I'm talking about. Sometimes it will build 1 > revision, and other times 2 or more revisions could be mixed into one > build. I'd like to avoid that. > You can't avoid this with a post commit hook > > > > > -The continuum server would not be making as many hits to the svn server. If you're building dozens and dozens of projects, this adds up when it's once every 5 mins. > > > > I don't realy know what is the overhead of getting the revision number > > to check for changes but shouldn't be heavy at all > > > > I don't know how you verify this, but I got the impression that > continuum was performing a 'svn update' (for subversion, anyways), > which, could be rather heavy depending on how your repository is laid > out. I'm not sure offhand if subversion provides a more efficient way > though. > svn info gives you the local revision svn info URL gives you the remote one conitnuum may be improved to use this instead of a checkout if it does not currently > > > > > > If you got rather fancy, it would sure be nice to have the commit check if there were new projects added, and automagically add them to continuum as well. > > > > > > > > > -Original Message- > > > From: [EMAIL PROTECTED] on behalf of Carlos Sanchez > > > Sent: Thu 6/8/2006 1:54 PM > > > To: continuum-users@maven.apache.org > > > Subject: Re: Subversion post-commit hook > > > > > > why do you need that, setting a short period like 5 min is not enough? > > > > > > On 6/8/06, Chris Wall <[EMAIL PROTECTED]> wrote: > > > > We'd like to trigger Continuum builds upon developer commits in > > > > Subversion. It sounds like to do so we need to develop an xml-rpc > > > > client. > > > > > > > > Has anyone developed a post-commit hook into Continuum from Subversion? > > > > Is there related documentation available? > > > > > > > > Thanks. > > > > > > > > -Chris > > > > > > > > > > > > ___ > > > > Notice: This email message, together with any attachments, may contain > > > > information of BEA Systems, Inc., its subsidiaries and affiliated > > > > entities, that may be confidential, proprietary, copyrighted and/or > > > > legally privileged, and is intended solely for the use of the individual > > > > or entity named in this message. If you are not the intended recipient, > > > > and have received this message in error, please immediately return this > > > > by email and then delete it. > > > > > > > > > > > > > > > > > -- > > > I could give you my word as a Spaniard. > > > No good. I've known too many Spaniards. > > > -- The Princess Bride > > > > > > > > > > > -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride
Re: Classloader problem with antrun with run from continuum
Hi Emmanuel, Thanks for responding to my question. I ran both using the root user id. Thanks Gautham Pamu On 6/13/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: Do you run continuum and mvn on the same machine with the same account. It's possible that maven launched by continuum doesn't use the same plugin version. Emmanuel Gautham Pamu a écrit : > Hi Everyone, > > I am using antrun plugin to run ant task during generate-resources > phase. I was able to run the task > outside continuum but when I run from continuum. I am getting > classnotfound errors.. Is this bug in maven > or the plugin or continuum. > > mvn version 2.0.3 > continuum version 1.0.3 > plugin version: antrun version 1.1 > > pom file details > > >org.apache.maven.plugins >maven-antrun-plugin > > > >generate-resources > > > > > > > > > run > > > > > >org.apache.ant >ant-antlr >1.6.5 > > >org.apache.ant >antlrall >2.7.4 > > > This is the output of mvn with -X option. when I run it outside > continuum, I clearly see the dependencies in > the artifacts list... from continuum I get following output.. you can > see from the artifacts list..that the dependencies > are missing.. > > [DEBUG] Found deletable paths: [] > [DEBUG] com.sample:sample:jar:1.0 (selected for null) > [DEBUG] Configuring mojo > 'org.apache.maven.plugins:maven-antrun-plugin:1.1:run' --> > [DEBUG] (f) artifacts = [ant:ant:jar:1.6.5:runtime, > ant:ant-launcher:jar:1.6.5:runtime, > org.apache.maven:maven-project:jar:2.0.1:runtime, > org.apache.maven:maven-plugin-api:jar:2.0.1:runtime] > [DEBUG] (f) project = [EMAIL PROTECTED] > [DEBUG] (f) tasks = > [DEBUG] -- end configuration -- > [INFO] [antrun:run] > [INFO] Executing tasks > [INFO] Executed tasks > [DEBUG] rpm-maven-plugin: resolved to version > 1.0-alpha-2-20060116.043106-1 from repository Maven Snapshots > [DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo-sandbox::1 for > project: null:rpm-maven-plugin:maven-plugin: 1.0-alpha-2-20060116.043106-1 > from the repository. > [DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::6 for project: > null:mojo-sandbox:pom:1 from the repository. > [DEBUG] rpm-maven-plugin: resolved to version > 1.0-alpha-2-20060116.043106-1 from repository Maven Snapshots > [DEBUG] changelog-maven-plugin: resolved to version > 2.0-beta-2-20060307.142230-7 from repository Maven Snapshots > [DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::7 for project: > null:changelog-maven-plugin:maven-plugin:2.0-beta-2-20060307.142230-7 > from the repository. > [DEBUG] changelog-maven-plugin: resolved to version > 2.0-beta-2-20060307.142230-7 from repository Maven Snapshots > [DEBUG] com.ibm.csdp.resources:csdp.resources:jar:1.0 (selected for null) > [DEBUG] Configuring mojo > 'org.apache.maven.plugins:maven-antrun-plugin:1.1:run' --> > [DEBUG] (f) artifacts = [ant:ant:jar:1.6.5:runtime, > ant:ant-launcher:jar:1.6.5:runtime, > org.apache.maven:maven-project:jar:2.0.1:runtime, > org.apache.maven:maven-plugin-api:jar:2.0.1:runtime] > [DEBUG] (f) project = [EMAIL PROTECTED] > [DEBUG] (f) tasks = > [DEBUG] -- end configuration -- > [INFO] [antrun:run {execution: default}] > [INFO] Executing tasks > [DEBUG] getProperty(ns=null, name=ant.reuse.loader, user=false) > [DEBUG] getProperty(ns=null, name=ant.executor.class, user=false) > [DEBUG] getProperty(ns=null, name=ant.file, user=false) > [INFO] --- > > > > Embedded error: The following error occurred while executing this line: > /opt/continuum/apps/working-directory/2/com.sample/src/build1.xml:4: > taskdef class com.sample.SampleTask cannot be found > [INFO] > > [DEBUG] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: Error > executing ant tasks > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycleExecutor.java:559) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:475) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:454) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:306) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:273) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:140) > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.jav
Re: dependency-maven-plugin issue?
Hi Dan, I know that we can checkout and isntall it but I would like to make it available for other developers in our group. It this snapshot hosted on any website currently ? Thanks Gautham Pamu On 6/5/06, dan tran <[EMAIL PROTECTED]> wrote: I would like to suggest that we stop using depend-maven-plugin and move forward with maven-dependency-plugin at Apache http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-dependency-plugin We definitely dont want to have concurrent development of dependency-maven-plugin ( at mojo) and maven-dependency-plugin. I have committed bunch of enhancements only at apache since the migragration of mojo to apache -Dan On 6/5/06, Eugeny N Dzhurinsky <[EMAIL PROTECTED]> wrote: > > There was an issue in the plugin, thjanks to from > [EMAIL PROTECTED] > > svn co https://svn.codehaus.org/mojo/trunk/mojo/dependency-maven-pluginand > then `mvn install' did the trick. > -- > Eugene N Dzhurinsky > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- -Gautham Pamu
AW: Wagon-webdav distribution - where to put username/password
Found the problem - I've been using m2eclipse version 0.7 to run all my maven tasks. Since the DefaultWagonManager is different in that version/the embedded maven version, this is why I was having problems using wagon-webdav with authentication. Upgrading to 0.9 also did not solve the problem - so the wagon-webdav plugin will NOT work existing m2eclipse integrations. The embedded maven version used is maven-embedder-2.0.4-dep.jar. -D - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Subversion post-commit hook
To make it work the way I hear you wanting, it looks like you need something that notices the changed Subverions revision number and knows the last revision number that continuum built. Then it causes Continuum to build the version after the last one built and repeats builds after that of each subversion version number up to the current one. I'm not sure if you can tell Continuum to build a particular Subversion version number. I'm not sure what would happen if a lot of little changes get made all at once. There could be quite a backlog of builds to do. It would even build a version where the only change was to add a space in a pom, for example, or other change that wouldn't effect the build outcome at all. Of course, all you would lose is the time. -- Lee On 6/13/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: On 6/13/06, Baron Reznik <[EMAIL PROTECTED]> wrote: > On Fri, 2006-06-09 at 18:28 +0200, Carlos Sanchez wrote: > > On 6/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I know I'd find this useful as well, for several reasons: > > > -If you simply let continuum build every 5 mins, there could potentially be more than 1 commit during that time, and you would be building multiple revisions worth of changes. Ideally, you would want to build once/revision so if the build breaks, you know which commit broke it. > > > > > > You are not considering here the time that it takes to build the project. > > a commits > > continuum starts building > > b commits > > continuum can't start building, busy > > c commits > > continuum can't start building, busy > > continuum finishes building > > continuum starts building b and c changes > > > > > > ^^^ That's exactly what I'm talking about. Sometimes it will build 1 > revision, and other times 2 or more revisions could be mixed into one > build. I'd like to avoid that. > You can't avoid this with a post commit hook > > > > > -The continuum server would not be making as many hits to the svn server. If you're building dozens and dozens of projects, this adds up when it's once every 5 mins. > > > > I don't realy know what is the overhead of getting the revision number > > to check for changes but shouldn't be heavy at all > > > > I don't know how you verify this, but I got the impression that > continuum was performing a 'svn update' (for subversion, anyways), > which, could be rather heavy depending on how your repository is laid > out. I'm not sure offhand if subversion provides a more efficient way > though. > svn info gives you the local revision svn info URL gives you the remote one conitnuum may be improved to use this instead of a checkout if it does not currently > > > > > > If you got rather fancy, it would sure be nice to have the commit check if there were new projects added, and automagically add them to continuum as well. > > > > > > > > > -Original Message- > > > From: [EMAIL PROTECTED] on behalf of Carlos Sanchez > > > Sent: Thu 6/8/2006 1:54 PM > > > To: continuum-users@maven.apache.org > > > Subject: Re: Subversion post-commit hook > > > > > > why do you need that, setting a short period like 5 min is not enough? > > > > > > On 6/8/06, Chris Wall <[EMAIL PROTECTED]> wrote: > > > > We'd like to trigger Continuum builds upon developer commits in > > > > Subversion. It sounds like to do so we need to develop an xml-rpc > > > > client. > > > > > > > > Has anyone developed a post-commit hook into Continuum from Subversion? > > > > Is there related documentation available? > > > > > > > > Thanks. > > > > > > > > -Chris > > > > > > > > > > > > ___ > > > > Notice: This email message, together with any attachments, may contain > > > > information of BEA Systems, Inc., its subsidiaries and affiliated > > > > entities, that may be confidential, proprietary, copyrighted and/or > > > > legally privileged, and is intended solely for the use of the individual > > > > or entity named in this message. If you are not the intended recipient, > > > > and have received this message in error, please immediately return this > > > > by email and then delete it. > > > > > > > > > > > > > > > > > -- > > > I could give you my word as a Spaniard. > > > No good. I've known too many Spaniards. > > > -- The Princess Bride > > > > > > > > > > > -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride -- -- Lee Meador Sent from gmail. My real email address is [EMAIL PROTECTED]
RE: [m2] [csharp-plugin] Need a release to run mvn release:prepar e/perform
Title: Message Hello, I'm still stuck with that issue and I would appreciate any hint to cope with it... On my side, I tried to make a local deployment (with "mvn deploy:deploy-file") of the maven-csharp-source-plugin, but I then had the following error: [INFO] [ERROR] BUILD ERROR[INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-csharp-source-plugin' does not exist or no valid version could be found[INFO] [INFO] For more information, run Maven with the -e switch[INFO] [INFO] Total time: 10 seconds[INFO] Finished at: Tue Jun 13 16:33:09 CEST 2006[INFO] Final Memory: 10M/17M[INFO] But the plugin is actually in my deploy repository?!? Any idea? Rgds, -Xavier -Original Message-From: Galleri, Xavier (CALYON) Sent: 09 June 2006 10:59To: 'Stevenson, Chris'; 'Maven Users List'Cc: Frontil, Alexandre (CALYON); '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'Subject: [m2] [csharp-plugin] Need a release to run mvn release:prepare/performImportance: High Is there anybody who could help me on this issue? In particular, I would expect a mean to tell the maven release plugin to "locally" perform a release on my own copy of the source tree. Is this possible as a general rule? Rgds, -Xavier -Original Message-From: Galleri, Xavier (CALYON) Sent: 02 June 2006 14:42To: 'Stevenson, Chris'; 'Maven Users List'Cc: Frontil, Alexandre (CALYON); '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'Subject: [m2] Need a release to run mvn release:prepare/perform Hi, I need a released version of the maven-csharp stuff in order to be able to use the maven release plugin. Indeed, with the SNAPSHOT version, the following occurs: > mvn release:prepare [INFO] [release:prepare] [INFO] Verifying that there are no local modifications... [INFO] Executing: svn --non-interactive status [INFO] Working directory: D:\dev\projects\ird-pricer [INFO] Checking dependencies and plugins for snapshots ... [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Can't release project due to non released dependencies : org.apache.maven.plugins:maven-vstudio-plugin:maven-plugin:1.0.RC6-SNAPSHOT:runtime in project 'IRD Pricer POM' (com.calyon.fovanille.ird-pricer.poms:ird-pricer:pom:0.1-SNAPSHOT) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 8 minutes 10 seconds [INFO] Finished at: Fri Jun 02 14:38:37 CEST 2006 [INFO] Final Memory: 8M/16M [INFO] What can you done asap? If this is not possible at the project level, is there a way to build a non-SNAPSHOT version on my own build environment? Is there any other suggestion? Best regards, Xavier Ce message et ses pièces jointes (le "message") est destiné à l'usage exclusif de son destinataire. Si vous recevez ce message par erreur, merci d'en aviser immédiatement l'expéditeur et de le détruire ensuite. Le présent message pouvant être altéré à notre insu, CALYON Corporate and Investment Bank ne peut pas être engagé par son contenu. Tous droits réservés. This message and/or any attachments (the "message") is intended for the sole use of its addressee. If you are not the addressee, please immediately notify the sender and then destroy the message. As this message and/or any attachments may have been altered without our knowledge, its content is not legally binding on CALYON Corporate and Investment Bank. All rights reserved. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Classloader problem with antrun with run from continuum
Do you run continuum and mvn on the same machine with the same account. It's possible that maven launched by continuum doesn't use the same plugin version. Emmanuel Gautham Pamu a écrit : Hi Everyone, I am using antrun plugin to run ant task during generate-resources phase. I was able to run the task outside continuum but when I run from continuum. I am getting classnotfound errors.. Is this bug in maven or the plugin or continuum. mvn version 2.0.3 continuum version 1.0.3 plugin version: antrun version 1.1 pom file details org.apache.maven.plugins maven-antrun-plugin generate-resources run org.apache.ant ant-antlr 1.6.5 org.apache.ant antlrall 2.7.4 This is the output of mvn with -X option. when I run it outside continuum, I clearly see the dependencies in the artifacts list... from continuum I get following output.. you can see from the artifacts list..that the dependencies are missing.. [DEBUG] Found deletable paths: [] [DEBUG] com.sample:sample:jar:1.0 (selected for null) [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-antrun-plugin:1.1:run' --> [DEBUG] (f) artifacts = [ant:ant:jar:1.6.5:runtime, ant:ant-launcher:jar:1.6.5:runtime, org.apache.maven:maven-project:jar:2.0.1:runtime, org.apache.maven:maven-plugin-api:jar:2.0.1:runtime] [DEBUG] (f) project = [EMAIL PROTECTED] [DEBUG] (f) tasks = [DEBUG] -- end configuration -- [INFO] [antrun:run] [INFO] Executing tasks [INFO] Executed tasks [DEBUG] rpm-maven-plugin: resolved to version 1.0-alpha-2-20060116.043106-1 from repository Maven Snapshots [DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo-sandbox::1 for project: null:rpm-maven-plugin:maven-plugin:1.0-alpha-2-20060116.043106-1 from the repository. [DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::6 for project: null:mojo-sandbox:pom:1 from the repository. [DEBUG] rpm-maven-plugin: resolved to version 1.0-alpha-2-20060116.043106-1 from repository Maven Snapshots [DEBUG] changelog-maven-plugin: resolved to version 2.0-beta-2-20060307.142230-7 from repository Maven Snapshots [DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::7 for project: null:changelog-maven-plugin:maven-plugin:2.0-beta-2-20060307.142230-7 from the repository. [DEBUG] changelog-maven-plugin: resolved to version 2.0-beta-2-20060307.142230-7 from repository Maven Snapshots [DEBUG] com.ibm.csdp.resources:csdp.resources:jar:1.0 (selected for null) [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-antrun-plugin:1.1:run' --> [DEBUG] (f) artifacts = [ant:ant:jar:1.6.5:runtime, ant:ant-launcher:jar:1.6.5:runtime, org.apache.maven:maven-project:jar:2.0.1:runtime, org.apache.maven:maven-plugin-api:jar:2.0.1:runtime] [DEBUG] (f) project = [EMAIL PROTECTED] [DEBUG] (f) tasks = [DEBUG] -- end configuration -- [INFO] [antrun:run {execution: default}] [INFO] Executing tasks [DEBUG] getProperty(ns=null, name=ant.reuse.loader, user=false) [DEBUG] getProperty(ns=null, name=ant.executor.class, user=false) [DEBUG] getProperty(ns=null, name=ant.file, user=false) [INFO] --- Embedded error: The following error occurred while executing this line: /opt/continuum/apps/working-directory/2/com.sample/src/build1.xml:4: taskdef class com.sample.SampleTask cannot be found [INFO] [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error executing ant tasks at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja
Re: antrun classpaths
On 6/12/06, Kenney Westerhof <[EMAIL PROTECTED]> wrote: On Mon, 12 Jun 2006, Lee Meador wrote: Hi, I can't reproduce this with 'inheritRefs="true"'. What do you have in your build.xml? -- Kenney > I went to here to see how to let ant get to some maven classpaths: > > http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html > > I have a build.xml file that I run with this in my pom: > > > > > maven-antrun-plugin > > > generate-sources > > run > > > > target="axisWsdl2Java" antfile="build.xml" dir="." /> > > ${project.build.directory > }/generated-sources/java > > > > > > > > But it complains that: > > [ERROR] BUILD ERROR > [INFO] > > [INFO] Error executing ant tasks > > Embedded error: The following error occurred while executing this line: > [path here]\build.xml:31: Reference maven.runtime.classpath not > > Any ideas? Is the doc page up to date? > > Thanks. > > -- > -- Lee Meador > Sent from gmail. My real email address is [EMAIL PROTECTED] > -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -- Lee Meador Sent from gmail. My real email address is [EMAIL PROTECTED]
Re: [M2] Kodo plugin
http://mojo.codehaus.org/kodo-maven-plugin/ Never used it though. Doug On 6/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Does anyone know where I can find Maven2 Kodo (Solarmetric's JDO) plugin binaries and doc? Cheers, J-F - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Subversion username and password
Which plugin do you want to use? I think it's the scm plugin. You can use -Dusername=your_login -Dpassword=your_password or you can add an entry in your settings.xml like this: svn_host:svn_port your_login your_password Emmanuel Douglas José a écrit : Hi, I'm not able to login to my SVN repository. I configured the tag properly, but Maven returns an 'authorization failed' error message. Where do I put my username and password? There is a way to configure Maven to prompt for credentials when trying to connect to svn repository? Can I configure such credentials in a user-specific file? Thanks, -- Douglas José ICQ (UIN) 8024395 MSN: douglasjose[a]hotmail,com (prefer ICQ) Yahoo!: douglasjose[a]yahoo,com - "Use free software. Help us make a free world."
Re: Newbie archetype question
Javed, That's what I tried originally, but when I do that the folders that would normally appear for Java sources are not created. The directory structure becomes: MavenWebAppEx src main resources webapp WEB-INF I still need to manually add the java source folders. I was thinking there was a way to run multiple archetypes in the same directory, but I have yet to get that to work (I end up getting subprojects with dependencies). Thanks much, Mike On 6/13/06, javed mandary <[EMAIL PROTECTED]> wrote: Assuming you want to create a webapp with 1. package : com.mymaven.example.web 2.war name: MavenWebAppEx Use the following command to have the maven-archetype-webapp create the webapp for you: mvn archetype:create -DgroupId=com.mymaven.example.web-DartifactId=MavenWebAppEx -Dpackagename= com.mymaven.example.web -DarchetypeArtifactId=maven-archetype-webapp hope that helps, Javed On 6/13/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > If you drill down in the Central (ibiblio) repo and the Snapshot repo, > you will find a number of Archetypes, including j2ee-simple, webapp, > portlet etc. > http://www.ibiblio.org/maven2/org/apache/maven/archetypes/ > > Give them all a try and see what kind of directories, poms, etc are > created by each one -- perhaps you will find what you were originally > looking for... > > But manually creating directories and modifying poms is the way I > personally create most of my projects. > > Wayne > > On 6/10/06, Mike Lundin <[EMAIL PROTECTED]> wrote: > > Ben, > > > > That's the kind of feedback I was looking for, yes. For some reason, I > had > > it in my head that you shouldn't touch the directory structure once the > > archetype did it's work, but as I think about it, the pom that both > > archetypes create is almost the same. Thinking along those lines, > adding > > the directories manually begins to make sense. > > > > Thanks much for your responses, > > Mike > > > > On 6/10/06, ben short <[EMAIL PROTECTED]> wrote: > > > > > > Mike, > > > > > > I have used maven for a couple of webapps, usally I use the webapp > > > archetype to generate the pom and initial structure then I create the > > > java directory manually. Once you have created them maven will compile > > > the jva source as normal, and the class files get moved to the correct > > > place in the produced war. > > > > > > I dont know of a archtype that does this for you, but that dosent mean > > > there isn't one. > > > > > > Also I have created a project that has a webapp module and a java > > > module. For this I used the quick start archetype to create the jar > > > module, and the webapp to create the webapp module. I then moved the > > > out directory's produced under a project directory and created the > > > project pom manually. > > > > > > I hope this is of some help... > > > > > > Ben > > > > > > > > > > > > On 6/10/06, Mike Lundin <[EMAIL PROTECTED]> wrote: > > > > Ben, > > > > > > > > I was assuming that there was an archetype out there that would > generate > > > > that structure for me. Is that not the case? > > > > > > > > Mike > > > > > > > > On 6/9/06, ben short <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Mike, > > > > > > > > > > You can just create the directorys you need from the link .. > > > > > > > > > > > > > > > > > > > http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html > > > > > > > > > > Or you can create a seperate project that has the java source and > add > > > > > it as a dependacy of your webapp. > > > > > > > > > > > > > > > > > > > > Ben > > > > > > > > > > On 6/10/06, Mike Lundin <[EMAIL PROTECTED]> wrote: > > > > > > I'm working on creating a new webapp project using maven and the > > > > > > archetype:create with the maven-archetype-webapp archetype. I > may > > > not > > > > > > understand things correctly, but I don't see some directories > that I > > > > > would > > > > > > assume would be in there. There is nothing for Java src files > or > > > > > anything > > > > > > like that in there. > > > > > > > > > > > > Should those be in there, or is the preferred method to created > > > multiple > > > > > > maven projects and make them all dependencies on each other? I > > > tried > > > > > > creating archetypes within archetypes (by changing package to > pom), > > > but > > > > > that > > > > > > seem to disregard the archetype I sent in and only ever used the > > > > > quickStart > > > > > > archetype. > > > > > > > > > > > > Any help on this would be greatly appreciated -- and feel free > to > > > point > > > > > me > > > > > > to a URL that has more information. I've looked through the > > > resources I > > > > > > know and am not finding anything definitive. > > > > > > > > > > > > Thanks much, > > > > > > Mike > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Mike Lundin > > > > > > > > > > > > > > > > > > > -- > > Mike Lundin > > > > > > -
Re: Subversion post-commit hook
On 6/13/06, Baron Reznik <[EMAIL PROTECTED]> wrote: On Fri, 2006-06-09 at 18:28 +0200, Carlos Sanchez wrote: > On 6/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I know I'd find this useful as well, for several reasons: > > -If you simply let continuum build every 5 mins, there could potentially be more than 1 commit during that time, and you would be building multiple revisions worth of changes. Ideally, you would want to build once/revision so if the build breaks, you know which commit broke it. > > > You are not considering here the time that it takes to build the project. > a commits > continuum starts building > b commits > continuum can't start building, busy > c commits > continuum can't start building, busy > continuum finishes building > continuum starts building b and c changes > > ^^^ That's exactly what I'm talking about. Sometimes it will build 1 revision, and other times 2 or more revisions could be mixed into one build. I'd like to avoid that. You can't avoid this with a post commit hook > > > -The continuum server would not be making as many hits to the svn server. If you're building dozens and dozens of projects, this adds up when it's once every 5 mins. > > I don't realy know what is the overhead of getting the revision number > to check for changes but shouldn't be heavy at all > I don't know how you verify this, but I got the impression that continuum was performing a 'svn update' (for subversion, anyways), which, could be rather heavy depending on how your repository is laid out. I'm not sure offhand if subversion provides a more efficient way though. svn info gives you the local revision svn info URL gives you the remote one conitnuum may be improved to use this instead of a checkout if it does not currently > > > > If you got rather fancy, it would sure be nice to have the commit check if there were new projects added, and automagically add them to continuum as well. > > > > > > -Original Message- > > From: [EMAIL PROTECTED] on behalf of Carlos Sanchez > > Sent: Thu 6/8/2006 1:54 PM > > To: continuum-users@maven.apache.org > > Subject: Re: Subversion post-commit hook > > > > why do you need that, setting a short period like 5 min is not enough? > > > > On 6/8/06, Chris Wall <[EMAIL PROTECTED]> wrote: > > > We'd like to trigger Continuum builds upon developer commits in > > > Subversion. It sounds like to do so we need to develop an xml-rpc > > > client. > > > > > > Has anyone developed a post-commit hook into Continuum from Subversion? > > > Is there related documentation available? > > > > > > Thanks. > > > > > > -Chris > > > > > > > > > ___ > > > Notice: This email message, together with any attachments, may contain > > > information of BEA Systems, Inc., its subsidiaries and affiliated > > > entities, that may be confidential, proprietary, copyrighted and/or > > > legally privileged, and is intended solely for the use of the individual > > > or entity named in this message. If you are not the intended recipient, > > > and have received this message in error, please immediately return this > > > by email and then delete it. > > > > > > > > > > > > -- > > I could give you my word as a Spaniard. > > No good. I've known too many Spaniards. > > -- The Princess Bride > > > > > > -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride
Re: Subversion post-commit hook
On Fri, 2006-06-09 at 18:28 +0200, Carlos Sanchez wrote: > On 6/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I know I'd find this useful as well, for several reasons: > > -If you simply let continuum build every 5 mins, there could potentially be > > more than 1 commit during that time, and you would be building multiple > > revisions worth of changes. Ideally, you would want to build once/revision > > so if the build breaks, you know which commit broke it. > > > You are not considering here the time that it takes to build the project. > a commits > continuum starts building > b commits > continuum can't start building, busy > c commits > continuum can't start building, busy > continuum finishes building > continuum starts building b and c changes > > ^^^ That's exactly what I'm talking about. Sometimes it will build 1 revision, and other times 2 or more revisions could be mixed into one build. I'd like to avoid that. > > > -The continuum server would not be making as many hits to the svn server. > > If you're building dozens and dozens of projects, this adds up when it's > > once every 5 mins. > > I don't realy know what is the overhead of getting the revision number > to check for changes but shouldn't be heavy at all > I don't know how you verify this, but I got the impression that continuum was performing a 'svn update' (for subversion, anyways), which, could be rather heavy depending on how your repository is laid out. I'm not sure offhand if subversion provides a more efficient way though. > > > > If you got rather fancy, it would sure be nice to have the commit check if > > there were new projects added, and automagically add them to continuum as > > well. > > > > > > -Original Message- > > From: [EMAIL PROTECTED] on behalf of Carlos Sanchez > > Sent: Thu 6/8/2006 1:54 PM > > To: continuum-users@maven.apache.org > > Subject: Re: Subversion post-commit hook > > > > why do you need that, setting a short period like 5 min is not enough? > > > > On 6/8/06, Chris Wall <[EMAIL PROTECTED]> wrote: > > > We'd like to trigger Continuum builds upon developer commits in > > > Subversion. It sounds like to do so we need to develop an xml-rpc > > > client. > > > > > > Has anyone developed a post-commit hook into Continuum from Subversion? > > > Is there related documentation available? > > > > > > Thanks. > > > > > > -Chris > > > > > > > > > ___ > > > Notice: This email message, together with any attachments, may contain > > > information of BEA Systems, Inc., its subsidiaries and affiliated > > > entities, that may be confidential, proprietary, copyrighted and/or > > > legally privileged, and is intended solely for the use of the individual > > > or entity named in this message. If you are not the intended recipient, > > > and have received this message in error, please immediately return this > > > by email and then delete it. > > > > > > > > > > > > -- > > I could give you my word as a Spaniard. > > No good. I've known too many Spaniards. > > -- The Princess Bride > > > > > >
Subversion username and password
Hi,I'm not able to login to my SVN repository. I configured the tag properly, but Maven returns an 'authorization failed' error message. Where do I put my username and password? There is a way to configure Maven to prompt for credentials when trying to connect to svn repository? Can I configure such credentials in a user-specific file? Thanks,-- Douglas JoséICQ (UIN) 8024395MSN: douglasjose[a]hotmail,com (prefer ICQ)Yahoo!: douglasjose[a]yahoo,com- "Use free software. Help us make a free world."
RE: War.bundle equivalent in maven 2
If I try that, I get compilation problems as I need some of the libraries at compilation time. My problem is that I need to make sure something ends up in WEB-INF/lib without being in the Class-Path of manifest.mf Have managed to do the other way in Class-Path but not in WEB-INF/lib with com.ubs.datait.rkyc.cim.busint cim-busint ${rkyc-version} compile cim-busint com.ubs.datait.rkyc.cim.busint true -Original Message- From: Ian Springer [mailto:[EMAIL PROTECTED] Sent: 13 June 2006 14:54 To: Maven Users List Subject: RE: War.bundle equivalent in maven 2 In Maven 2, you create a separate pom of type war, and then all dependencies in that pom that are scoped at runtime (the default) are bundled in the war. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 13, 2006 9:30 AM To: users@maven.apache.org Subject: War.bundle equivalent in maven 2 Hi, Does anyone have the answer to what maven 1.x has now become in Maven 2 ? Thanks Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: War.bundle equivalent in maven 2
In Maven 2, you create a separate pom of type war, and then all dependencies in that pom that are scoped at runtime (the default) are bundled in the war. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 13, 2006 9:30 AM To: users@maven.apache.org Subject: War.bundle equivalent in maven 2 Hi, Does anyone have the answer to what maven 1.x has now become in Maven 2 ? Thanks Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: dependentWarExcludes dependentWarIncludes maven-war-plugin
Thx. Does this work with a particular root directory in mind ? Can this be used instead of Maven 1.x ? A -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 13 June 2006 14:39 To: users@maven.apache.org Subject: RE: dependentWarExcludes dependentWarIncludes maven-war-plugin Hey Andrew, just add following in your configuration part of configuration (in build.maven-war-plugin) **/*.class,**/*.jar (or includes) regards -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: dinsdag 13 juni 2006 15:31 To: users@maven.apache.org Subject: dependentWarExcludes dependentWarIncludes maven-war-plugin Hi, Can dependentWarExcludes be used to specfically exclude jars in a WEB-INF/lib directory ? Can dependentWarIncludes be used to specfically include jars in a WEB-INF/lib directory ? Are there any examples out there ? This message is intended for the addressee or its representative only. Any form of unauthorized use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. If you are not the intended recipient of this e-mail message and its contents, please notify the sender immediately and delete this message and all its attachments subsequently. Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: dependentWarExcludes dependentWarIncludes maven-war-plugin
Hey Andrew, just add following in your configuration part of configuration (in build.maven-war-plugin) **/*.class,**/*.jar (or includes) regards -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: dinsdag 13 juni 2006 15:31 To: users@maven.apache.org Subject: dependentWarExcludes dependentWarIncludes maven-war-plugin Hi, Can dependentWarExcludes be used to specfically exclude jars in a WEB-INF/lib directory ? Can dependentWarIncludes be used to specfically include jars in a WEB-INF/lib directory ? Are there any examples out there ? This message is intended for the addressee or its representative only. Any form of unauthorized use, publication, reproduction, copying or disclosure of the content of this e-mail is not permitted. If you are not the intended recipient of this e-mail message and its contents, please notify the sender immediately and delete this message and all its attachments subsequently.
dependentWarExcludes dependentWarIncludes maven-war-plugin
Title: dependentWarExcludes dependentWarIncludes maven-war-plugin Hi, Can dependentWarExcludes be used to specfically exclude jars in a WEB-INF/lib directory ? Can dependentWarIncludes be used to specfically include jars in a WEB-INF/lib directory ? Are there any examples out there ? Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
War.bundle equivalent in maven 2
Title: War.bundle equivalent in maven 2 Hi, Does anyone have the answer to what maven 1.x has now become in Maven 2 ? Thanks Andy Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: NoClassDefFoundErrorfor a few classes that seems to be in the classp
One down, one to go.. A dependency in the third layer was missing. I think I have an idea of what is the problem with Jaxen: Xerces Jaxen has a dependency on Xerces, but JDK 1.5 uses a special edition of Xerces which might cause the problem. I'll post a create a new thread on potential Xerces and JDK 1.5 issues. -- View this message in context: http://www.nabble.com/NoClassDefFoundErrorfor-a-few-classes-that-seems-to-be-in-the-classpath-t1767398.html#a4846696 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Wagon-webdav distribution - where to put username/password
Disregard dependency problem - ibiblio was down :-( However, with the beta-1-snapshot binary jar from http://people.apache.org/maven-snapshot-repository/ my symptoms have NOT changed, and still getting the: = [DEBUG] not adding permissions to wagon connection = I have deleted all references to any previous wagon jars/installs before testing. It would be easy for me to give up and say maven sucks, but I want this to work :-) -D > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > > Carlos Sanchez > > Sent: Monday, June 12, 2006 4:30 PM > > To: Darren Hartford > > Cc: Maven Users List > > Subject: Re: Wagon-webdav distribution - where to put > > username/password > > > > It's not possible that this works for you at all. > > > > Check an example here > > http://docs.codehaus.org/display/HAUSMATES/Maven+Guide > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] Kodo plugin
Does anyone know where I can find Maven2 Kodo (Solarmetric's JDO) plugin binaries and doc? Cheers, J-F - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Wagon-webdav distribution - where to put username/password
Hmm... I tried changing to the http://people.apache.org/maven-snapshot-repository/ snapshot repository referenced in the link you sent me instead of http://svn.apache.org/maven-snapshot-repository/. (I just tested svn vs people, apparently the repos have been moved/renamed again). Unfortunately, the binary/jar for wagon-webdav is asking for org.apache.maven.wagon:wagon-provider-api:pom:1.0-alpha-5 which does not exist in the repos: Path to dependency: 1) org.apache.maven.plugins:maven-site-plugin:maven-plugin:2.0-beta-5 2) org.apache.maven:maven-project:jar:2.0 3) org.apache.maven:maven-artifact-manager:jar:2.0 Now, I still have not been able to get the SVN version working, but maybe if someone can check the binaries for dependencies such as above I could test with a known jar and known dependencies. Thanks, -D > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Carlos Sanchez > Sent: Monday, June 12, 2006 4:30 PM > To: Darren Hartford > Cc: Maven Users List > Subject: Re: Wagon-webdav distribution - where to put > username/password > > It's not possible that this works for you at all. > > Check an example here > http://docs.codehaus.org/display/HAUSMATES/Maven+Guide > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: exported pom encoding
Hi guys, please take a look at http://jira.codehaus.org/browse/MNG-2255 I think the effort should be focused in that aspect and will solve big part of the problem. On 6/13/06, Jörg Schaible <[EMAIL PROTECTED]> wrote: Hi Stefan, Stefan Hübner wrote on Monday, June 12, 2006 5:11 PM: > Hi Jörg, > > > 2006/6/12, Jörg Schaible <[EMAIL PROTECTED]>: >> >> Hi Stefan, >> >> Stefan Hübner wrote on Sunday, June 11, 2006 9:25 AM: >> >>> Hi all, >>> >>> an issue has been created on this over at >>> http://jira.codehaus.org/browse/MECLIPSE-56, already. Fixing it >>> decently seems to be quite a hassle though, because maven doesn't >>> care much about pom.xml's encoding. at the moment the developers >>> seem to consider rewriting the whole parsing stuff from scratch. >> >> well, this might be another effect of the encoding problem, > but this has nothing to do with Eclipse in special. As > stated, the deployed POM will have the entities (like > "ö") resolved and the XML is simply invalid. >> > [snip] > > you're absolutely right, Jörg. The encoding misery is not limited to > Eclipse at all. This is just one symptom of many. Maven doesn't read > POMs using their declared encoding properly. It's certainly able to > resolve all sorts of entities but only with the effect, that those > characters will lead to new problems during POM-exports. > > Maven simply uses the local system's default character set while > parsing or writing a POM. The same probably happens while writing > POMs. > > To me it seems, that lots of those different sorts of character set > problems will only be resolved, if Maven starts to fully take into > account the POM's declared encoding. > > You might have a look at http://jira.codehaus.org/browse/PLX-214 for > further discussions. Meanwhile I've created MNG-2362 (which contains a "related to" link to MNG-2255). If you take only POMs into consideration, it is IMHO absolutely fine, if they are written in utf-8 ... but then they have to detect non-ASCII characters and encode them with the numerical entity. But you're right, this is a complete different story for the complete Doxia path. - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Where to find plugin properties?
Quoting javed mandary <[EMAIL PROTECTED]>: Well you could try something like this: org.codehaus.mojo surefire-report-maven-plugin ${basedir}/target/myNewReportsDir cheers, Javed Well, 'target\surefire-reports' works fine, but it is a workaround. I would have liked to know/understand why ${project.build.directory} is not substituted. J-F - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cactus plugin?
Thanks anyway! 2006/6/13, Vincent Massol <[EMAIL PROTECTED]>: > -Original Message- > From: Stefan Hübner [mailto:[EMAIL PROTECTED] > Sent: mardi 13 juin 2006 13:37 > To: Maven Users List > Subject: Re: Cactus plugin? > > Hi Vincent, > > 2006/6/13, Vincent Massol <[EMAIL PROTECTED]>: > > > [SNIP] > > > > > > Do you meen the cargo-maven2-plugin? Does this actually help > "cactifying" > > > WARs? > > > > No it doesn't. This is the last missing piece of the puzzle. That said > it > > should be possible to do a manual cactification using the war plugin in > an > > or, as suggested by Kenney to use the Ant plugin to execute > the > > Cactus Ant tasks. > > > I was trying to do that, but couldn't get it working yet. Any examples > out there? No idea. I haven't done it myself. -Vincent ___ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cactus plugin?
> -Original Message- > From: Stefan Hübner [mailto:[EMAIL PROTECTED] > Sent: mardi 13 juin 2006 13:37 > To: Maven Users List > Subject: Re: Cactus plugin? > > Hi Vincent, > > 2006/6/13, Vincent Massol <[EMAIL PROTECTED]>: > > > [SNIP] > > > > > > Do you meen the cargo-maven2-plugin? Does this actually help > "cactifying" > > > WARs? > > > > No it doesn't. This is the last missing piece of the puzzle. That said > it > > should be possible to do a manual cactification using the war plugin in > an > > or, as suggested by Kenney to use the Ant plugin to execute > the > > Cactus Ant tasks. > > > I was trying to do that, but couldn't get it working yet. Any examples > out there? No idea. I haven't done it myself. -Vincent ___ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Where to find plugin properties?
Well you could try something like this: org.codehaus.mojo surefire-report-maven-plugin ${basedir}/target/myNewReportsDir cheers, Javed On 6/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: How can I access it? Should I use ${reportsDirectory}? Should I add any prefix? I have tried to configure surefire plugin like this: testReportsDir ${project.build.directory}/surefire-reports and my test class receives "${project.build.directory}/surefire-reports". The ${...} is not expanded. J-F - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cactus plugin?
Hi Vincent, 2006/6/13, Vincent Massol <[EMAIL PROTECTED]>: [SNIP] > > Do you meen the cargo-maven2-plugin? Does this actually help "cactifying" > WARs? No it doesn't. This is the last missing piece of the puzzle. That said it should be possible to do a manual cactification using the war plugin in an or, as suggested by Kenney to use the Ant plugin to execute the Cactus Ant tasks. I was trying to do that, but couldn't get it working yet. Any examples out there? -- Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cactus plugin?
> -Original Message- > From: Stefan Hübner [mailto:[EMAIL PROTECTED] > Sent: lundi 12 juin 2006 17:53 > To: Maven Users List > Subject: Re: Cactus plugin? > > Hi Raphael, > > 2006/6/12, Raphaël Piéroni <[EMAIL PROTECTED]>: > > There is one... > > check it at cargo.codehaus.org > > > > If you search for an example of use, the axistools archetype in the > > mojo.codehaus.org sandbox's use it for testing. > > > [SNIP] > > Do you meen the cargo-maven2-plugin? Does this actually help "cactifying" > WARs? No it doesn't. This is the last missing piece of the puzzle. That said it should be possible to do a manual cactification using the war plugin in an or, as suggested by Kenney to use the Ant plugin to execute the Cactus Ant tasks. -Vincent ___ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Where to find plugin properties?
How can I access it? Should I use ${reportsDirectory}? Should I add any prefix? I have tried to configure surefire plugin like this: testReportsDir ${project.build.directory}/surefire-reports and my test class receives "${project.build.directory}/surefire-reports". The ${...} is not expanded. J-F - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Where to find plugin properties?
Well if you go to the maven sure fire report page: http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html You will see that the name of this property is reportsDirectory . cheers, javed On 6/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Thanks a lot, but this was not the purpose of my question. I want to know where I can find what became the property 'maven.test.reportsDirectory' that was defined by Maven 1 junit-report plugin. J-F > Properties for plugins are defined within the configuration tag e.g > > >maven-pmd-plugin > > >/rulesets/basic.xml >/rulesets/controversial.xml > >xml >true >utf-8 >100 > > > > the tag format for example is a key and its value is xml . This is how > properties are passed to plugins. > > Hope that helps, > Javed > > > On 6/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I am migrating my build to Maven 2, and I face a little problem. >> >> I passed the value of ${maven.test.reportsDirectory} to some of my >> JUnit test cases as a system property 'testReportsDir'. >> >> I have found the way to pass a system property to surefire plugin, but >> I cannot find the equivalent of ${maven.test.reportsDirectory}. >> >> Could someone tell me which property to use? >> >> And to broaden the scope, I don't really understand if the concept of >> plugins properties exists in M2. >> >> Indeed, M1 plugins defined their properties. I don't see this in M2 >> plugins documentation. >> >> Am I going the wrong way by trying to find the equivalent? Maybe >> everything lies in the POM? >> >> Cheers, >> >> J-F >> >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie archetype question
Assuming you want to create a webapp with 1. package : com.mymaven.example.web 2.war name: MavenWebAppEx Use the following command to have the maven-archetype-webapp create the webapp for you: mvn archetype:create -DgroupId=com.mymaven.example.web-DartifactId=MavenWebAppEx -Dpackagename= com.mymaven.example.web -DarchetypeArtifactId=maven-archetype-webapp hope that helps, Javed On 6/13/06, Wayne Fay <[EMAIL PROTECTED]> wrote: If you drill down in the Central (ibiblio) repo and the Snapshot repo, you will find a number of Archetypes, including j2ee-simple, webapp, portlet etc. http://www.ibiblio.org/maven2/org/apache/maven/archetypes/ Give them all a try and see what kind of directories, poms, etc are created by each one -- perhaps you will find what you were originally looking for... But manually creating directories and modifying poms is the way I personally create most of my projects. Wayne On 6/10/06, Mike Lundin <[EMAIL PROTECTED]> wrote: > Ben, > > That's the kind of feedback I was looking for, yes. For some reason, I had > it in my head that you shouldn't touch the directory structure once the > archetype did it's work, but as I think about it, the pom that both > archetypes create is almost the same. Thinking along those lines, adding > the directories manually begins to make sense. > > Thanks much for your responses, > Mike > > On 6/10/06, ben short <[EMAIL PROTECTED]> wrote: > > > > Mike, > > > > I have used maven for a couple of webapps, usally I use the webapp > > archetype to generate the pom and initial structure then I create the > > java directory manually. Once you have created them maven will compile > > the jva source as normal, and the class files get moved to the correct > > place in the produced war. > > > > I dont know of a archtype that does this for you, but that dosent mean > > there isn't one. > > > > Also I have created a project that has a webapp module and a java > > module. For this I used the quick start archetype to create the jar > > module, and the webapp to create the webapp module. I then moved the > > out directory's produced under a project directory and created the > > project pom manually. > > > > I hope this is of some help... > > > > Ben > > > > > > > > On 6/10/06, Mike Lundin <[EMAIL PROTECTED]> wrote: > > > Ben, > > > > > > I was assuming that there was an archetype out there that would generate > > > that structure for me. Is that not the case? > > > > > > Mike > > > > > > On 6/9/06, ben short <[EMAIL PROTECTED]> wrote: > > > > > > > > Mike, > > > > > > > > You can just create the directorys you need from the link .. > > > > > > > > > > > > > > http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html > > > > > > > > Or you can create a seperate project that has the java source and add > > > > it as a dependacy of your webapp. > > > > > > > > > > > > > > > > Ben > > > > > > > > On 6/10/06, Mike Lundin <[EMAIL PROTECTED]> wrote: > > > > > I'm working on creating a new webapp project using maven and the > > > > > archetype:create with the maven-archetype-webapp archetype. I may > > not > > > > > understand things correctly, but I don't see some directories that I > > > > would > > > > > assume would be in there. There is nothing for Java src files or > > > > anything > > > > > like that in there. > > > > > > > > > > Should those be in there, or is the preferred method to created > > multiple > > > > > maven projects and make them all dependencies on each other? I > > tried > > > > > creating archetypes within archetypes (by changing package to pom), > > but > > > > that > > > > > seem to disregard the archetype I sent in and only ever used the > > > > quickStart > > > > > archetype. > > > > > > > > > > Any help on this would be greatly appreciated -- and feel free to > > point > > > > me > > > > > to a URL that has more information. I've looked through the > > resources I > > > > > know and am not finding anything definitive. > > > > > > > > > > Thanks much, > > > > > Mike > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Mike Lundin > > > > > > > > > > > > -- > Mike Lundin > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven 2 enterprise application package WAR and WEB-INF/lib and manifest classpath
Title: Maven 2 enterprise application package WAR and WEB-INF/lib and manifest classpath Problem description : In Maven 2, controlling dependencies within pom.xml files to control packaging within ear file plus controlling entries in the Manifest.mf file within the war file and the contents of WEB-INF/lib within the war Example project : - Ear file wrapping a jar, and a war file which in turn has a jar in it's WEB-INF/lib plus a manifest file class path referencing the jar held within ear file. This is useful for multiple war's in 1 ear. - -EAR - - - - frmw.jar - - - - ## - - # WebApp1 # - - # WEB-INF/lib # - - # x.jar # - - # # - - # # - - # Manifest.mf # - - # Class-Path: # - - # frmw.jar # - - ## - - - - Projects: - WebApp1 - frmw.jar - x.jar WebApp1 has dependency on frwm.jar and x.jar want to have frmw.jar appear as entry in Manifest.mf within war Class-Path: want to have x.jar appear in WEB-INF/lib but not as entry in manifest.mf Class-Path: Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Where to find plugin properties?
Thanks a lot, but this was not the purpose of my question. I want to know where I can find what became the property 'maven.test.reportsDirectory' that was defined by Maven 1 junit-report plugin. J-F Properties for plugins are defined within the configuration tag e.g maven-pmd-plugin /rulesets/basic.xml /rulesets/controversial.xml xml true utf-8 100 the tag format for example is a key and its value is xml . This is how properties are passed to plugins. Hope that helps, Javed On 6/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I am migrating my build to Maven 2, and I face a little problem. I passed the value of ${maven.test.reportsDirectory} to some of my JUnit test cases as a system property 'testReportsDir'. I have found the way to pass a system property to surefire plugin, but I cannot find the equivalent of ${maven.test.reportsDirectory}. Could someone tell me which property to use? And to broaden the scope, I don't really understand if the concept of plugins properties exists in M2. Indeed, M1 plugins defined their properties. I don't see this in M2 plugins documentation. Am I going the wrong way by trying to find the equivalent? Maybe everything lies in the POM? Cheers, J-F - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Parent vs. Multi Project super pom
On 6/13/06, Stefan Hübner <[EMAIL PROTECTED]> wrote: Hi Kenney, 2006/6/13, Kenney Westerhof <[EMAIL PROTECTED]>: > On Mon, 12 Jun 2006, Stephen Duncan wrote: > > Another advantage, more of convenience, of differ between parent and aggregating pom: you can have the parent pom at the same level as it's inherited poms. Thus in Eclipse I can edit at least the parent pom easily, since I can import it as a Eclipse project. This is not true for the aggregating pom, though. But since typically the parent pom is more often edited than the aggregating pom, this is fine by me. -- Stefan Note: With Eclipse 3.2, you can have overlapping projects, so it is possible to edit the aggregating pom that lives a directory above the modules. -- Stephen Duncan Jr www.stephenduncanjr.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Where to find plugin properties?
Properties for plugins are defined within the configuration tag e.g maven-pmd-plugin /rulesets/basic.xml /rulesets/controversial.xml xml true utf-8 100 the tag format for example is a key and its value is xml . This is how properties are passed to plugins. Hope that helps, Javed On 6/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I am migrating my build to Maven 2, and I face a little problem. I passed the value of ${maven.test.reportsDirectory} to some of my JUnit test cases as a system property 'testReportsDir'. I have found the way to pass a system property to surefire plugin, but I cannot find the equivalent of ${maven.test.reportsDirectory}. Could someone tell me which property to use? And to broaden the scope, I don't really understand if the concept of plugins properties exists in M2. Indeed, M1 plugins defined their properties. I don't see this in M2 plugins documentation. Am I going the wrong way by trying to find the equivalent? Maybe everything lies in the POM? Cheers, J-F - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Parent vs. Multi Project super pom
Hi Stephen, 2006/6/13, Stephen Duncan <[EMAIL PROTECTED]>: I personally do more as you do. I have team-wide "super-POMs" I have a primary one that has basic url, issue management, etc. type settings. Then I have a "core" POM with common dependencyManagment section to encourage use of the same versions of Jar's to prevent incompatibilities, as well as common reporting configuration. Then I have a "webapp" parent POM that specifically states the provided dependencies for webapps to be deployed to our target server, as well as webapp specific stuff, such as setting ${project.artifactId} to remove the version number from wars, and 1.0 for the Eclipse plugin. Right Stephen, that's the kind of pom inheritance, which I quite like about Maven. It gives me the chance to encourage reliable and maintenable project configurations throughout the company. -- Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] Where to find plugin properties?
Hi, I am migrating my build to Maven 2, and I face a little problem. I passed the value of ${maven.test.reportsDirectory} to some of my JUnit test cases as a system property 'testReportsDir'. I have found the way to pass a system property to surefire plugin, but I cannot find the equivalent of ${maven.test.reportsDirectory}. Could someone tell me which property to use? And to broaden the scope, I don't really understand if the concept of plugins properties exists in M2. Indeed, M1 plugins defined their properties. I don't see this in M2 plugins documentation. Am I going the wrong way by trying to find the equivalent? Maybe everything lies in the POM? Cheers, J-F - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Parent vs. Multi Project super pom
Hi Kenney, 2006/6/13, Kenney Westerhof <[EMAIL PROTECTED]>: On Mon, 12 Jun 2006, Stephen Duncan wrote: Hi, I'd thought I'd throw in a pair of $0.01.. Using the aggregating POM as the parent pom implies that the projects are structured in a directory structure matching the child->parent relationship. That means that the child->parent relationship is the inverse of the parent->module relationship. A simple sample is the grouping of a set of plugins. Since they're siblings in the directory structure, the parent pom can easily serve as the parent pom, defining all things common to plugins. "...the parent pom can easily serve as the parent pom..." ;-) Isn't there any more precise wording? But like you, I've also found that this sometimes gives problems, since there's no multiple inheritance. In my case it was when working on a project that consists of two applications, both EARs each containing a WAR using the same web framework (and thus sharing some settings and dependencies). The modules were grouped by application, and using the parent-as-aggregator there's no way to let both WAR projects have the same settings if they're not siblings in the directory structure. There's also some common POM configuration for the two applications (for instance the groupId's). Another advantage, more of convenience, of differ between parent and aggregating pom: you can have the parent pom at the same level as it's inherited poms. Thus in Eclipse I can edit at least the parent pom easily, since I can import it as a Eclipse project. This is not true for the aggregating pom, though. But since typically the parent pom is more often edited than the aggregating pom, this is fine by me. Basically, there are too many relations to fit into a tree (it becomes a graph), and you just have to pick the one that makes the most sense. In my experience, it's convenient to have the parent pom as an aggregator so your project tree is actually a tree. OK, understood. (But with the lack of not beeing able to edit the parent pom easily inside Eclipse.) On a side note, there are some plugins, like the site plugin, that currently kind of expect the parent->module relationship to be bidirectional (meaning modules must specify the aggregator as their parent). The behaviour of this plugin depends on whether it's run in reactor-mode or not, and when the modules define different parents, you get unexpected results. But this is being addressed. See, it's the implicit assumptions, that make me scratch my head. -- Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
M2 enterpise packaging wars, ears, manifest classpath and WEB-INF/lib
Title: M2 enterpise packaging wars, ears, manifest classpath and WEB-INF/lib Problem description : In Maven 2, controlling dependencies within pom.xml files to control packaging within ear file plus controlling entries in the Manifest.mf file within the war file and the contents of WEB-INF/lib within the war Example project : - Ear file wrapping a jar, and a war file which in turn has a jar in it's WEB-INF/lib plus a manifest file class path referencing the jar held within ear file. This is useful for multiple war's in 1 ear. - -EAR - - - - frmw.jar - - - - ## - - # WebApp1 # - - # WEB-INF/lib # - - # x.jar # - - # # - - # # - - # Manifest.mf # - - # Class-Path: # - - # frmw.jar # - - ## - - - - Projects: - WebApp1 - frmw.jar - x.jar WebApp1 has dependency on frwm.jar and x.jar want to have frmw.jar appear as entry in Manifest.mf within war Class-Path: want to have x.jar appear in WEB-INF/lib but not as entry in manifest.mf Class-Path: Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: mvn site-deploy out of memory
Thanks Mermod, That works fine, I thought there may have been a way to set it in the pom for the rest of the project team. Cheers Neil -- View this message in context: http://www.nabble.com/mvn-site-deploy-out-of-memory-t1778795.html#a4844077 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: mvn site-deploy out of memory
Hi You might try setting the enviroment variable MAVEN_OPTS=-Xmx1024M for instance (depending on how much memory you have) Hermod -Original Message- From: neilblue [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 13, 2006 11:05 AM To: users@maven.apache.org Subject: mvn site-deploy out of memory Hello, When running site-deploy, the build has an error running out of memory. Is there a way to increase the memory for this process. Thanks Neil -- View this message in context: http://www.nabble.com/mvn-site-deploy-out-of-memory-t1778795.html#a4842577 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please also be aware that the DnB NOR Group cannot accept any payment orders or other legally binding correspondence with customers as a part of an email. This email message has been virus checked by the anti virus programs used in the DnB NOR Group. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Book examples
I dont think the book says anything about building the wsappclient project first , hence the erratas.The POM does have the dependency clearly defined.For the purpose of making the book clearer , its worth mentioning On 6/13/06, Vincent Massol <[EMAIL PROTECTED]> wrote: Hi Jeff, > -Original Message- > From: Jeff Mutonho [mailto:[EMAIL PROTECTED] > Sent: mardi 13 juin 2006 10:49 > To: Maven Users List > Subject: Book examples > > Ho can I get these examples in chapter 4 to work?I saw there's an > errata for for the missing webservice jar > > "[INFO] -- > -- > [ERROR] BUILD ERROR > [INFO] --- > - > [INFO] Failed to resolve artifact. > > Missing: > -- > 1) org.apache.geronimo.samples.daytrader:daytrader-wsappclient:jar:1.0 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file - > DgroupId=org.apache.geronimo.samples.daytrader - > DartifactId=daytrader-wsappclient \ > -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) org.apache.geronimo.samples.daytrader:daytrader-ejb:ejb:1.0 > 2) org.apache.geronimo.samples.daytrader:daytrader- > wsappclient:jar:1.0" > > > > I want these examples to work. I'm not sure if anything is missing. AFAIK Maven is simply telling you that you haven't the wsappclient jar in your local repo. You need to build that project to get it in your local repo. Thus cd to the wsappclient project and build it (btw I think I recall that I mentioned this in the book somewhere). Another option is that you simply type "mvn install" at the top level (i.e. in the daytarder/ dir as it'll build the projects in the right order for you). Hope it helps, -Vincent ___ Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. Rendez-vous sur http://fr.yahoo.com/set - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mvn site-deploy out of memory
Hello, When running site-deploy, the build has an error running out of memory. Is there a way to increase the memory for this process. Thanks Neil -- View this message in context: http://www.nabble.com/mvn-site-deploy-out-of-memory-t1778795.html#a4842577 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
plexus-utils 1.1 giving me a hard time
Running Maven 2.0.4 release, and am trying to build the latest cobertura-maven-plugin from SVN. The compiler throws a "symbol not found" for the getDefaultExcludesAsList() method in the FileUtils class. This is regardless of the fact that plexus-utils-1.1.jar is present in my classpath, as well as in M2_HOME/core. I have also manually checked both of these, to verify that the method does indeed exist. The only thing that solves the problem is putting the jar file in JAVA_HOME/lib/ext, but this is rather an ugly hack, and I'm wondering what could make maven behave in this way. -- View this message in context: http://www.nabble.com/plexus-utils-1.1-giving-me-a-hard-time-t1778524.html#a4841995 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Book examples
Hi Jeff, > -Original Message- > From: Jeff Mutonho [mailto:[EMAIL PROTECTED] > Sent: mardi 13 juin 2006 10:49 > To: Maven Users List > Subject: Book examples > > Ho can I get these examples in chapter 4 to work?I saw there's an > errata for for the missing webservice jar > > "[INFO] -- > -- > [ERROR] BUILD ERROR > [INFO] --- > - > [INFO] Failed to resolve artifact. > > Missing: > -- > 1) org.apache.geronimo.samples.daytrader:daytrader-wsappclient:jar:1.0 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file - > DgroupId=org.apache.geronimo.samples.daytrader - > DartifactId=daytrader-wsappclient \ > -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file > > Path to dependency: > 1) org.apache.geronimo.samples.daytrader:daytrader-ejb:ejb:1.0 > 2) org.apache.geronimo.samples.daytrader:daytrader- > wsappclient:jar:1.0" > > > > I want these examples to work. I'm not sure if anything is missing. AFAIK Maven is simply telling you that you haven't the wsappclient jar in your local repo. You need to build that project to get it in your local repo. Thus cd to the wsappclient project and build it (btw I think I recall that I mentioned this in the book somewhere). Another option is that you simply type "mvn install" at the top level (i.e. in the daytarder/ dir as it'll build the projects in the right order for you). Hope it helps, -Vincent ___ Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. Rendez-vous sur http://fr.yahoo.com/set - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Book examples
Ho can I get these examples in chapter 4 to work?I saw there's an errata for for the missing webservice jar "[INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.apache.geronimo.samples.daytrader:daytrader-wsappclient:jar:1.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.geronimo.samples.daytrader - DartifactId=daytrader-wsappclient \ -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) org.apache.geronimo.samples.daytrader:daytrader-ejb:ejb:1.0 2) org.apache.geronimo.samples.daytrader:daytrader-wsappclient:jar:1.0" I want these examples to work. Jeff GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Struts and XDoclet
2006/6/12, Mick Knutson <[EMAIL PROTECTED]> : Are the beans getting generated by xdoclet? Hi Mick, No, I wrote it manually. My BookSearchForm.java file : /** * * @struts.form name ="BookSearchForm" * */ public class BookSearchForm extends AbstractForm { private String idBook = null; /** * ... */ public String getIdBook() { return idBook; } /** * @struts.validator type="required" * @struts.validator-args arg0resource="book.form.search.idBook.error" */ public void setIdBook(String idBook) { this.idBook = idBook; } 2006/6/13, Kenney Westerhof <[EMAIL PROTECTED]>: I see a lot of spaces in the POM, especially includes="**/* Form.java" This might prevent the Form files from being detected. Hi Kenney, I don't know why but the copy/paste has generated a lot spaces that is not in my pom.xml. It could be the solution ! Again, my pom.xml without added spaces by copy/paste 4.0.0 test library Project for managing a library 1.0-SNAPSHOT war junit junit 3.8.1 test log4j log4j 1.2.13 true struts struts 1.2.9 org.apache.geronimo.specs geronimo-j2ee_1.4_spec 1.0 provided org.codehaus.mojo xdoclet-maven-plugin javax.servlet servlet-api 2.4 provided generate-sources xdoclet
Re: problem with adding findbugs plugin
Hi Javed, Thanks for your reply. My problem is solved yesterday only. Yes...as you have said, I have added dependency for jaxen in my pom.xml but I have kept the scope as "compile". Also after doing this, you have to remove the tag for jaxen from pom of dom4j i.e. dom4j-1.6.1.pom. After doing all above steps, I am able to run and generate the report for finbugs. On 6/13/06, javed mandary <[EMAIL PROTECTED]> wrote: Hi Janhavi, clearly there is a missing jar in your classplath the jaxen jar try adding this dependency to your POM * jaxen jaxen 1.1-beta-9 runtime * cheers, Javed On 6/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > After pointing pluginsrepository to codehaus, I did "mvn install" and > then "mvn findbugs:findbugs". But I am getting the following error: > > >mvn findbugs:findbugs > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'findbugs'. > [INFO] > > - > --- > [INFO] Building Maven Quick Start Archetype > [INFO]task-segment: [findbugs:findbugs] > [INFO] > > - > --- > [INFO] Preparing findbugs:findbugs > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Nothing to compile - all classes are up to date > [INFO] [findbugs:findbugs] > [INFO] No threshold provided, using default threshold. > Jaws uses plugin: \C:\Documents and > Settings\janhavi.phirke\.m2\repository\findb > ugs\coreplugin\0.9.3\coreplugin-0.9.3.jar > [INFO] > > [ERROR] FATAL ERROR > [INFO] > > [INFO] org/jaxen/JaxenException > [INFO] > > [INFO] Trace > java.lang.NoClassDefFoundError: org/jaxen/JaxenException > at > org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230) > at > org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207) > at org.dom4j.tree.AbstractNode.valueOf(AbstractNode.java:189) > at edu.umd.cs.findbugs.PluginLoader.init(PluginLoader.java:125) > at edu.umd.cs.findbugs.PluginLoader.(PluginLoader.java:88) > at > edu.umd.cs.findbugs.DetectorFactoryCollection.loadPlugins(DetectorFac > toryCollection.java:188) > at > edu.umd.cs.findbugs.DetectorFactoryCollection.(DetectorFactoryC > ollection.java:52) > at > edu.umd.cs.findbugs.DetectorFactoryCollection.instance(DetectorFactor > yCollection.java:73) > at > edu.umd.cs.findbugs.config.UserPreferences.enableAllDetectors(UserPre > ferences.java:314) > at > org.codehaus.mojo.findbugs.FindBugsMojo.initialiseFindBugs(FindBugsMo > jo.java:312) > at > org.codehaus.mojo.findbugs.FindBugsMojo.executeReport(FindBugsMojo.ja > va:254) > at > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMaven > Report.java:98) > at > org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenR > eport.java:73) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi > nManager.java:412) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:534) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone > Goal(DefaultLifecycleExecutor.java:488) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau > ltLifecycleExecutor.java:458) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > dleFailures(DefaultLifecycleExecutor.java:306) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > ts(DefaultLifecycleExecutor.java:273) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > fecycleExecutor.java:140) > at > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > > Regards, > Janhavi Phirke > Accenture
Re: problem with adding findbugs plugin
Hi Janhavi, clearly there is a missing jar in your classplath the jaxen jar try adding this dependency to your POM * jaxen jaxen 1.1-beta-9 runtime * cheers, Javed On 6/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: After pointing pluginsrepository to codehaus, I did "mvn install" and then "mvn findbugs:findbugs". But I am getting the following error: >mvn findbugs:findbugs [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'findbugs'. [INFO] - --- [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [findbugs:findbugs] [INFO] - --- [INFO] Preparing findbugs:findbugs [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [findbugs:findbugs] [INFO] No threshold provided, using default threshold. Jaws uses plugin: \C:\Documents and Settings\janhavi.phirke\.m2\repository\findb ugs\coreplugin\0.9.3\coreplugin-0.9.3.jar [INFO] [ERROR] FATAL ERROR [INFO] [INFO] org/jaxen/JaxenException [INFO] [INFO] Trace java.lang.NoClassDefFoundError: org/jaxen/JaxenException at org.dom4j.DocumentFactory.createXPath(DocumentFactory.java:230) at org.dom4j.tree.AbstractNode.createXPath(AbstractNode.java:207) at org.dom4j.tree.AbstractNode.valueOf(AbstractNode.java:189) at edu.umd.cs.findbugs.PluginLoader.init(PluginLoader.java:125) at edu.umd.cs.findbugs.PluginLoader.(PluginLoader.java:88) at edu.umd.cs.findbugs.DetectorFactoryCollection.loadPlugins(DetectorFac toryCollection.java:188) at edu.umd.cs.findbugs.DetectorFactoryCollection.(DetectorFactoryC ollection.java:52) at edu.umd.cs.findbugs.DetectorFactoryCollection.instance(DetectorFactor yCollection.java:73) at edu.umd.cs.findbugs.config.UserPreferences.enableAllDetectors(UserPre ferences.java:314) at org.codehaus.mojo.findbugs.FindBugsMojo.initialiseFindBugs(FindBugsMo jo.java:312) at org.codehaus.mojo.findbugs.FindBugsMojo.executeReport(FindBugsMojo.ja va:254) at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMaven Report.java:98) at org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenR eport.java:73) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi nManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa ultLifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone Goal(DefaultLifecycleExecutor.java:488) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:458) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Regards, Janhavi Phirke Accenture - Mumbai Delivery Center, Direct Dial: +91-22-6600 7046 AIM: janhaviphirke Disclaimer "This e-mail and any attachments to it (in part or in whole the "Communication") are confidential, may constitute inside information and are for the use only of the addressee. The Communication is the property of Accenture and its affiliates and may contain copyright material or intellectual property of Accenture and/or any of its related entities or of third parties. If you are not the intended recipient of the Communication or have received the Communication in error, please notify the sender or Accenture immediate
Re: nice repos :-)
Any chance of linking both from maven.apache.org? Subhash Chandran wrote: There is another I know: http://www.mvnregistry.com/ Both seem to do their job well... Regards, Subhash. On 6/12/06, cameron101 <[EMAIL PROTECTED]> wrote: http://www.mvnrepository.com -- With kind regards, Geoffrey De Smet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Best practices for multi-flavour build?
Hi Theo, You're correct, that solution does require duplication but in our case its only a couple of POMs so is manageable for the time being. I believe that a profiles.xml may be the solution for multiple POMs but I haven't yet had chance to test it out. Kieran - Original Message - From: "Toto Laricot" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Tuesday, June 13, 2006 5:51 AM Subject: Re: Best practices for multi-flavour build? Hi all, I have tried Kieran's solution myself; it works fine as long as the profiles are defined in the same POM that contains the variables that need to be injected. In other words –still using Kieran's example- if you define: dev […] dev […] in a parent POM, and this filter in a child POM: src/main/profiles/${delivery.name}/general-filter.properties src/main/profiles/${delivery.name}/${environment.name}- filter.properties src/main/resources/${operatingsys.name}-filter.properties The properties won't be injected. So, if you have a hierarchy of POM's, you have to duplicate you profile definitions into every POM, which is a maintenance nightmare. I'd be curious to find out how people deal with this issue. Is the ant plugin the only solution? I sure hope not. Theo. On 6/12/06, badaud <[EMAIL PROTECTED]> wrote: I will try something like this, thanks. -- View this message in context: http://www.nabble.com/Best-practices-for-multi-flavour-build--t1741483.html#a4826563 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]