Re: [PLEASE TEST] Maven 2.0.10-RC10

2008-08-26 Thread Peter Horlock
1.5 and 1.5, and yes, it's working with Maven 2.09. Sorry, the code of my company is classified, I can't provide a testcase.

Re: [PLEASE TEST] Maven 2.0.10-RC10

2008-08-26 Thread Paul Benedict
Peter, The Maven team isn't asking for your source code. The request is to provide a project -- any project -- that demonstrates the failure. Just create a mock project that helps rear the head of the ugly error. Paul On Tue, Aug 26, 2008 at 1:24 AM, Peter Horlock [EMAIL PROTECTED] wrote: 1.5

Re: JavaDoc-Report crashes with TestNG

2008-08-26 Thread WolfgangRoessler
Hi Brett, that works. If I set the scope to compile (or the default), the javadoc-generation works. Another solution is to configure a report without test-classes: reportSets reportSet reports reportjavadoc/report /reports /reportSet /reportSets Thanks and

Re: JavaDoc-Report crashes with TestNG

2008-08-26 Thread Brett Porter
Thanks - have you an identified an existing JIRA issue for this? - Brett 2008/8/26 WolfgangRoessler [EMAIL PROTECTED]: Hi Brett, that works. If I set the scope to compile (or the default), the javadoc-generation works. Another solution is to configure a report without test-classes:

Re: Dependency issue

2008-08-26 Thread Shakun Gupta
Thanks Jeudy, I used this and it worked, but the only concern for me is that I have to traverse through all the transitive dependencies of all the dependencies and then I have to add exclusions for each. Regards, Shakun Jeudy, Guillaume wrote: Shakun, try using dependency exclusions

Re: [PLEASE TEST] Maven 2.0.10-RC11

2008-08-26 Thread Peter Horlock
Well, my issue concerning the compiler seems to have been solved with RC11 - the entire build is working now. Maybe it had something to do with the fact that I am setting the compiler version by using a property: plugin artifactIdmaven-compiler-plugin/artifactId

Re: how to manage two different projects with similar project structures

2008-08-26 Thread Shakun Gupta
Hi Guillaume, Sorry, I did not provide a bit of clarification while asking the question. Actually, all our projects have a similar structure. For ex : - A (groupId) - entities (artifactId) - utilities (artifactId) etc.. B (groupId) - entities (artifactId) - utilities

Problem with Maven, Hudson, Archiva - Builds take very long

2008-08-26 Thread von Janowsky, Simon
Hello, I am having a Problem with a CI-System. We use Maven with Hudson and Archiva. The Archiva is configured with two repository groups (both virtualize several proxy connectors and repositories). One is for dependencies, the other for plugins. In Hudson the build goal is the following: mvn

Re: Problem with Maven, Hudson, Archiva - Builds take very long

2008-08-26 Thread Guang Sheng
Hi, I think *http://repo1.maven.org/maven2* http://repo1.maven.org/maven2 is down. Probably you can use a mirror for the central maven, e.g. http://mirrors.ibiblio.org/pub/mirrors/maven2/ On Tue, Aug 26, 2008 at 5:20 PM, von Janowsky, Simon [EMAIL PROTECTED] wrote: Hello, I am having a

Got any simple tutorial to learn Maven?

2008-08-26 Thread Henry Loke
As mention in http://docs.codehaus.org/display/GEOTOOLS/2+What+is+Maven+and+why+do+you+use+it It also manages (and downloads) any third party jars that are needed for a build. Is it mean that if the log4j.jar used in my project, the maven is configure in such the maven will go to repository to

Managing repositories.

2008-08-26 Thread Fredrik Alströmer
Hi! I'm trying to figure out if there's a way to control which repository is searched for what artifact. Is there a way, for example, to fetch everything from the central maven repository, except for all groupIds that match the pattern org.example.*? I googled a little, which turned up a

AW: Got any simple tutorial to learn Maven?

2008-08-26 Thread Glase, Stefan
Hello Henry, I would recommend you to read the book Maven: The Definitive Guide. You can get it for free from http://www.sonatype.com/community/definitive_guide.html and I like the examples that help to explain the concepts of maven. Speaking of dependency management as you mention in your

Re: Got any simple tutorial to learn Maven?

2008-08-26 Thread Henry Loke
I just read some post on this link http://www.nabble.com/new-bee-to19132548.html http://www.nabble.com/new-bee-to19132548.html It quite good but I still cannot code it. Can we have a hand on coding Thanks Henry Loke wrote: As mention in

RE: Got any simple tutorial to learn Maven?

2008-08-26 Thread Saket Lakshminarayan Chiluveru
Hi Henry, Try the draft book available, Maven: The Definitive Guide (Readable HTML alpha release) * Covers:Maven 2.0.x * Published:Not yet * Authors: Sonatype (Jason van Zyl, John Casey, Eric Redmond) Better Builds with Maven (Free PDF Download) * Covers:Maven 2.0.4 *

Re: JavaDoc-Report crashes with TestNG

2008-08-26 Thread WolfgangRoessler
No, otherwise I wouldn't have asked here *g*. Could you create one? Greets Wolfgang Brett Porter wrote: Thanks - have you an identified an existing JIRA issue for this? - Brett 2008/8/26 WolfgangRoessler [EMAIL PROTECTED]: Hi Brett, that works. If I set the scope to compile (or

Re: JavaDoc-Report crashes with TestNG

2008-08-26 Thread Brett Porter
I created http://jira.codehaus.org/browse/MJAVADOC-214 2008/8/26 WolfgangRoessler [EMAIL PROTECTED]: No, otherwise I wouldn't have asked here *g*. Could you create one? Greets Wolfgang Brett Porter wrote: Thanks - have you an identified an existing JIRA issue for this? - Brett

Re: Managing repositories.

2008-08-26 Thread Brett Porter
There's not currently a way to do this directly - the only such control you have is described here: http://maven.apache.org/guides/mini/guide-mirror-settings.html This is certainly a situation for a repository manager such as Archiva, Nexus, or Artifactory (not sure if this one has group Id

site:deploy / hibernate3:hbm2doc

2008-08-26 Thread Karl Heinz Marbaise
Hi there, i have a working configuration and creation of and hbm2doc which produces javadoc for Hibernate-mappings... but how can i integrated the generated javadoc (Hibernate) into the site:deploy process or does exist a way to integrated the generated javadoc (Hibernate) into a site... Some

Re: Managing repositories.

2008-08-26 Thread Martijn Dashorst
On Tue, Aug 26, 2008 at 12:55 PM, Brett Porter [EMAIL PROTECTED] wrote: This is certainly a situation for a repository manager such as Archiva, Nexus, or Artifactory (not sure if this one has group Id filtering like the others, but it may). For more information:

Maven Archetype tutorials?

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
Hi Where can I find some tutorials on howto do archetypes? It would be really cool with an tutorial on howto make multimodule archetypes. Im wanting todo a archetype for Apache Wicket which includes 2 modules, web and core both being switchable with a parameter. Forexample if you want a

Re: Maven Archetype tutorials?

2008-08-26 Thread Raphaël Piéroni
Hi Nino, The best way to start creating an archetype is to : - create a project (in your case a multi-module with a switch) - call mvn archetype:create-from-project on your example project you then try your archetype by : - moving in target/generated-sources/archetype from your example project -

Re: Maven Archetype tutorials?

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
I'll try it out, examples would be nice though:) It would be really cool if there were more tutorials on creating advanced archetypes. Raphaël Piéroni wrote: Hi Nino, The best way to start creating an archetype is to : - create a project (in your case a multi-module with a switch) What do

release:prepare and multi-module projects

2008-08-26 Thread David Roussel
I've been trying to run release:prepare on a nested project and I keep running into the same SVN related issues. Has anyone else got it working? I can supply the full trace, but the basic problem I get is: ... [INFO] Executing: svn --non-interactive copy --file

Re: release:prepare and multi-module projects

2008-08-26 Thread Stephen Duncan Jr
Sounds like the same problem many are facing with a bug in SVN 1.5.1 See these threads on the SVN Maven mailing lists: http://www.nabble.com/Mac-OS-X-%2B-SVN-1.5.1-%3D-Branch-problem-td19017538.html#a19142776 http://www.nabble.com/Release-fails-during-SVN-commit-td19084270.html I'm still

Re: Maven Archetype tutorials?

2008-08-26 Thread Raphaël Piéroni
Answers inlined Raphaël 2008/8/26 Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]: I'll try it out, examples would be nice though:) It would be really cool if there were more tutorials on creating advanced archetypes. Please capture your experimentation to improve the documentation ;-)

Re: Maven Archetype tutorials?

2008-08-26 Thread Raphaël Piéroni
2008/8/26 Raphaël Piéroni [EMAIL PROTECTED]: Answers inlined Raphaël 2008/8/26 Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]: I'll try it out, examples would be nice though:) It would be really cool if there were more tutorials on creating advanced archetypes. I found this page on

Resolving dependency properties

2008-08-26 Thread Sven Vlieghe
Hi there, I am trying to centralize the version-numbers of all projects/dependencies in our system. My approach for this, is to centralize the settings.xml-file add all versions as profile-properties. This worked perfectly at first sight, but resulted in errors when trying to use the project as

Re: Transitive dependencies in multi-module projects

2008-08-26 Thread Trevor Harmon
On Aug 25, 2008, at 7:25 PM, Wendy Smoak wrote: If you establish a parent pom, and list all five of your projects as modules, Maven will figure out what order to build them in, and compile the changed sources. Thanks for your suggestion, but unfortunately it does not accomplish my goal.

Re: [PLEASE TEST] Maven 2.0.10-RC11

2008-08-26 Thread Daniel Kulp
RC11 is looking pretty good to me. I've built several things with it, re-setup my eclipse workspaces from fresh checkouts (eclipse:eclipse), etc... Haven't done a deploy yet (that's next), but everything else is looking pretty good to me. Performance is also excellent. My test case

Second Try on JUnit Classpath Etc

2008-08-26 Thread Michael McGrady
Sorry to repost but I did not get a nibble on this. Thanks for any assistance. Mike On Aug 24, 2008, at 10:47 AM, Michael McGrady wrote: Below is my POM and the error log. How do I get maven to seem my junit jar? Mike Here is the POM project

AW: Second Try on JUnit Classpath Etc

2008-08-26 Thread Mark Struberg
Hi Michael! src/main/java and scopetest/scope dingeling? Is CellarDoorChannelReadWrite.java a Test? If so, move it under src/test/java. If not, why does it need JUnit? If it does, remove the scopetest/scope from the dependency, since the default 'compile' is what you need. LieGrue,

Re: Transitive dependencies in multi-module projects

2008-08-26 Thread Wendy Smoak
On Tue, Aug 26, 2008 at 6:37 AM, Trevor Harmon [EMAIL PROTECTED] wrote: As I said, I want to be able to go to appA's directory and type: mvn compile Since Maven knows appA's dependencies, it should be able to figure out that if a source file in libB is out-of-date, it should compile libB

Re: artifact built from maven-nuxeo-plugin being installed before execution of following plugins

2008-08-26 Thread Julien CARSIQUE
Thanks, You have 3 alternatives: - put the nuxeo plugin in the install phase (though I assume since it's also producing an installable artifact you don't want that) Of course not, I often need to call only the package phase. - change the nuxeo plugin to look up the artifact from the already

Hibernate3 plugin : problem with mapping generatting

2008-08-26 Thread MedElb
Hi all i'm using Hibernate3 plugin for generation mapping classes and HBM for an oracle schema the probleme that the goal mvn hibernate3:hbm2cfgxml or the the other vlable goal checks also system table and the exceution take many time, at the and i get that trace error : 16:05:50,780 DEBUG

Re: Resolving dependency properties

2008-08-26 Thread Wendy Smoak
On Tue, Aug 26, 2008 at 6:31 AM, Sven Vlieghe [EMAIL PROTECTED] wrote: I am trying to centralize the version-numbers of all projects/dependencies in our system. My approach for this, is to centralize the settings.xml-file add all versions as profile-properties. This worked perfectly at first

Re: Resolving dependency properties

2008-08-26 Thread Sven Vlieghe
Wendy Smoak-3 wrote: On Tue, Aug 26, 2008 at 6:31 AM, Sven Vlieghe [EMAIL PROTECTED] wrote: I am trying to centralize the version-numbers of all projects/dependencies in our system. My approach for this, is to centralize the settings.xml-file add all versions as profile-properties.

Re: AW: Release fails during SVN commit

2008-08-26 Thread David Roussel
Stefan, If it works for you, is it because it's a single module with no nested modules? I have maven 2.0.9, svn 1.5.1 (trigis.org build), Java 1.6.0_06, Windows XP SP2, It's interesting that the command that fails: svn --non-interactive copy --file

Re: [PLEASE TEST] Maven 2.0.10-RC11

2008-08-26 Thread John Casey
Great to hear. Thanks for checking. -john Peter Horlock wrote: Well, my issue concerning the compiler seems to have been solved with RC11 - the entire build is working now. Maybe it had something to do with the fact that I am setting the compiler version by using a property:

Second try: Using optional packages with EARs

2008-08-26 Thread Vogel,Chris
I'm re-posting because I didn't get any response the first time. Any help would be greatly appreciated. Just to let you know, I know that I have the option of hand generating the manifest file, but I'd prefer that it be generated. Thanks, Chris -Original Message- From: Vogel,Chris

Profile for different JVMs

2008-08-26 Thread Peter Horlock
Hi, we have several projects, all of which or developed and compiled in java 5. However, we have one project, which is run by a client on Java 6, and to make it run, we have to exclude a dependency (JAXB) that is part of Java 6. However, without this dependency it's not running on Java 5. In

AW: AW: Release fails during SVN commit

2008-08-26 Thread Glase, Stefan
Hello David, I just updated to Subversion version 1.5.1 (r32289) and now i am running into the same problem as you. Stephen refered to similar issues today in this list. Regards Stefan -Ursprüngliche Nachricht- Von: David Roussel [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 26.

Re: Resolving dependency properties

2008-08-26 Thread Geoffrey Wiseman
On Tue, Aug 26, 2008 at 10:30 AM, Sven Vlieghe [EMAIL PROTECTED]wrote: I agree, that was a setup I was originally planning to do. However, each time a dependency-version increases, this would result in having to increase the base-pom too. That pom would have to be released to a final version,

Re: AW: Release fails during SVN commit

2008-08-26 Thread Arnaud HERITIER
Same error for me with SVN 1.5.1 on windows. It's not a MAC only issue Coming back to 1.4.6 solves the issue Arnaud On Tue, Aug 26, 2008 at 5:17 PM, Glase, Stefan [EMAIL PROTECTED] wrote: Hello David, I just updated to Subversion version 1.5.1 (r32289) and now i am running into the same

Re: release:prepare and multi-module projects

2008-08-26 Thread Geoffrey Wiseman
On Tue, Aug 26, 2008 at 9:18 AM, David Roussel [EMAIL PROTECTED]wrote: If I repeat that svn command on the comand line it does fail again. The So has anyone else got the release plugin to work in multi-module projects using svn? I've done lots of releases of multi-module projects with the

Re: release:prepare and multi-module projects

2008-08-26 Thread David Roussel
Are you trying to release a nested project? I am? What kind of authentication are you using? I'm using windows authetication, via Apache 2.2 and mod_sspi. Not sure if that makes a difference. David jrduncans wrote: Sounds like the same problem many are facing with a bug in SVN 1.5.1

Re: AW: Got any simple tutorial to learn Maven?

2008-08-26 Thread Henry Loke
U follow the java World tutorial from this link http://www.javaworld.com/javaworld/jw-12-2005/jw-1205-maven.html?page=3 I just start for a first create command as below

I can has Velocity and Archetypes?

2008-08-26 Thread Mykel Alvis
I have created a couple of very basic archetypes, but I have a new need. I read several places that I can use velocity templates with archetypes, but none of the examples seem to indicate how this is accomplished. Is there an existing archetype that uses velocity that I can go cannibalize?

Re: Profile for different JVMs

2008-08-26 Thread Wayne Fay
Use profile activation based on the JDK. Read more here: http://maven.apache.org/guides/introduction/introduction-to-profiles.html I would simply set my pom dependencies to the minimum set, and then a profile which adds dependencies as needed based on the JDK being used. Wayne On 8/26/08, Peter

Re: how to manage two different projects with similar project structures

2008-08-26 Thread Wayne Fay
Unless something has changed (regression), this is automatically handled by recent releases of the EAR and WAR plugins (jars are renamed to be unique). Give it a try and report back. Wayne On 8/26/08, Shakun Gupta [EMAIL PROTECTED] wrote: Hi Guillaume, Sorry, I did not provide a bit of

Maven Assembly Help

2008-08-26 Thread Adam
Greetings: Earlier I had posted about getting duplicate .class files in a Jar-with-dependencies. The fix I found was to exclude the ${project.groupId}:${project.artifactId} from the current project. However, I am getting duplicates it seems from transitively dependent JARs and am finding it

Re: Maven Archetype tutorials?

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
Raphaël Piéroni wrote: Answers inlined Raphaël 2008/8/26 Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]: I'll try it out, examples would be nice though:) It would be really cool if there were more tutorials on creating advanced archetypes. Please capture your

Re: Maven Archetype tutorials?

2008-08-26 Thread Nino Saturnino Martinez Vazquez Wael
Raphaël Piéroni wrote: 2008/8/26 Raphaël Piéroni [EMAIL PROTECTED]: Answers inlined Raphaël 2008/8/26 Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]: I'll try it out, examples would be nice though:) It would be really cool if there were more tutorials on creating advanced

Hibernate3 plugin : problem with mapping

2008-08-26 Thread MedElb
i relance my request :) i'm using Hibernate3 plugin for generation mapping classes and HBM for an oracle schema the probleme that the goal mvn hibernate3:hbm2cfgxml or the the other available goals checks also system table and the exceution take many time, at the and i get that trace error :

RE: how to manage two different projects with similar project structures

2008-08-26 Thread Jeudy, Guillaume
Hi Shakun, I think you should review your naming conventions so that any submodule can be uniquely identified within your organization projects. For example in our company we use the following pattern for groupIds: companyName.projectname so in your case you would have: groupId:

Wrong output of mvn help:describe?

2008-08-26 Thread Rintcius
Hi, I wanted to check the used version of the surefire plugin. I got: mvn help:describe -Dplugin=surefire ... [INFO] [help:describe] [INFO] Plugin: 'org.apache.maven.plugins:maven-surefire-plugin:2.2' --- Group Id: org.apache.maven.plugins Artifact

Re: Problem of resolving eclipse swt linux library

2008-08-26 Thread Carfield Yim
I see... thanks, now I can resolve and download the correct swt library. However, we would like to make the test running with maven correctly for Windows and Linux. How can I tell maven to use correct platform of library? lukewpatterson wrote: These are in the repo

Re: Problem of resolving eclipse swt linux library

2008-08-26 Thread Carfield Yim
Actually what I like to do is to tell maven to use System.getProperty(user.os) and select the right dependence, is that possible? Carfield Yim wrote: I see... thanks, now I can resolve and download the correct swt library. However, we would like to make the test running with maven correctly

Re: Problem of resolving eclipse swt linux library

2008-08-26 Thread Andrew Robinson
I used the maven assembly plugin to pull in the correct Jar. I have all 3 jars (linux, Mac and Windows) as provided so that they are there for compilation but they don't get automatically included in the release. You can also have a profile to trigger on the correct current OS, but that will not

[ANNOUNCE] Nexus Maven Repository Manager 1.0 Released!

2008-08-26 Thread Jason van Zyl
After 5 months of very intense work the Sonatype Nexus team is very pleased to announce Nexus 1.0! Woo hoo! You can read about it in Brian's post here: http://blogs.sonatype.com/brian/2008/08/26/1219764133092.html You can download it from here: http://nexus.sonatype.org/download.html You can

http repository references from pom

2008-08-26 Thread Dharmendra Desai (dhdesai)
I have a http repository set up and it's referenced in the distributionManagement tag in each pom. I want to take the http-repository reference out of the poms and put it in settings.xml or externalize it in some properties file. What's the best way to do this? thanks.

RE: Hibernate3 plugin : problem with mapping generatting

2008-08-26 Thread Johann Reyes
Hi That's explained here http://www.velocityreviews.com/forums/t298010-jboss-ide-using-hibernate-tool s-getting-jdbcbinderexception.html Basically you need to specify your schema in a hibernate.reveng.xml file. Regards Johann Reyes -Original Message- From: MedElb [mailto:[EMAIL

Re: How do I override a plugin dependency?

2008-08-26 Thread Brian Fox
Hi, I blogged about this with examples. I can't copy and paste on the iPhone but you can find it at http://blogs.Sonatype.com/brian Sent from my iPhone On Aug 23, 2008, at 8:08 AM, Graham Leggett [EMAIL PROTECTED] wrote: Hi all, I have a need to override a specific dependency used by the

Re: How to prevent child pom from exec'ing parent pom ant plugin tasks

2008-08-26 Thread gotama
Brett Porter wrote: Yes, I think so. I wanted to follow up on this post with something I found in the release notes of Maven 2.0.9: # MNG-3286 - The inherited field in a plugin execution block is now functioning correctly. Previously you could only dis-inherit an entire plugin

Re: artifact built from maven-nuxeo-plugin being installed before execution of following plugins

2008-08-26 Thread Brett Porter
2008/8/27 Julien CARSIQUE [EMAIL PROTECTED]: Our implementation rely on org.apache.maven.artifact.resolver.ArtifactResolver.resolve() Is there a reason why default implementation do not look up to from attached artifacts on project ? The artifact code doesn't have any awareness of the Maven

Re: Maven Assembly Help

2008-08-26 Thread Brett Porter
You should be able to remove entire artifacts, but not individual classes. If the latter is what you are trying to do, a better solution might be to use the dependency plugin to unpack them artifacts into a temporary location in target, then use the assembly descriptor with filesets to pick up the

Re: Wrong output of mvn help:describe?

2008-08-26 Thread Brett Porter
I think somewhere in the child POM or its parent hierarchy the plugin version must be set to 2.2, perhaps outside of pluginManagement. Is that the case? - Brett 2008/8/27 Rintcius [EMAIL PROTECTED]: Hi, I wanted to check the used version of the surefire plugin. I got: mvn help:describe

Re: AW: Got any simple tutorial to learn Maven?

2008-08-26 Thread Guang Sheng
Hi, I just started to learn Maven one month ago and now successfully migrated my company's new project to maven, which has 8 sub-modules, using GWT, Gigaspaces, spring, hibernate, etc.. Just want to share with you my experience. Although there are some archetypes to help you get started easily,

Re: http repository references from pom

2008-08-26 Thread Brett Porter
Yes, you can see an example here: http://maven.apache.org/developers/release/releasing.html You can put the property straight into distrbutionManagement too if you prefer. - Brett 2008/8/27 Dharmendra Desai (dhdesai) [EMAIL PROTECTED]: I have a http repository set up and it's referenced in the

How to encrypt properties as part of resource filtering

2008-08-26 Thread Florian Kirchhoff
Hi, I am looking for a way to encrypt certain property values in a property file when I am building my application with maven 2. I would like to be able to use different encryption keys depending on the profile used for the build. Is there a way to configure the resources filter mojo to do some

Re: Profile for different JVMs

2008-08-26 Thread Peter Horlock
No, you don't understand, I want Maven to change the JDK itself! To release a new version for this client, I have to change my JDK from 1.5 to 1.6, and all this manually. Wouldn't it be possible to automate this with Maven?! Thanks, Peter