RE: Maven - POM repository, Freemind, Confluence

2009-04-07 Thread sigi9009
and why doesn't it work? I tried to follow this instructions: http://confluence.atlassian.com/display/CONFEXT/FreeMind+Plugin I want to add a plugin for (confleunce) wiki, which runs on tomcat. I set up Confleunce but i have no idea about this plugin installation over marven... thanks for

RE: Maven - POM repository, Freemind, Confluence

2009-04-07 Thread Edelson, Justin
Did you read the comment thread on that page? From: sigi9009 [mailto:sigi9...@web.de] Sent: Tue 4/7/2009 3:29 AM To: users@maven.apache.org Subject: RE: Maven - POM repository, Freemind, Confluence and why doesn't it work? I tried to follow this

Different build result in two different machine (same project)

2009-04-07 Thread florian.cavagnini
Hello I have the same maven project copied in two different machines: my local machine and my build machine. When I try mvn clean compile test on my local machine everything's fine. But on my build machine I get the error: org.apache.maven.surefire.booter.SurefireExecutionException:

Understanding SNAPSHOTS

2009-04-07 Thread Todd Thiessen
I have been thinking alot lately about SNAPSHOTS and how to best utilize them. I think I perhaps have misunderstood them and I wanted to see what kind of responses I get from the community, particularly from the guys at Sonatype. I took a look at Nexus (which I am using as a good example of a

Repository problems

2009-04-07 Thread Jon Strayer
After building correctly 28 times since I added at dependency on iText, my build just stared failing with this error message: [INFO] artifact com.lowagie:itext: checking for updates from central [WARNING] repository metadata for: 'artifact com.lowagie:itext' could not be retrieved from

Re: Repository problems

2009-04-07 Thread Brett Porter
Maven 2.1.0+ shows the error inline, but you can run with -X to see the cause of the transfer error. It's likely not a content problem. - Brett On 08/04/2009, at 12:17 AM, Jon Strayer wrote: After building correctly 28 times since I added at dependency on iText, my build just stared

Re: Repository problems

2009-04-07 Thread Jon Strayer
I ran mvn dependency:tree and it didn't list itext 1.02 (we use 2.08). After that the build worked. It's very strange. Is dependency information cached somewhere? That can't be it because it failed on the build server and on my laptop. After I ran dependency:tree on my laptop it worked there

RE: JSP Precompile and WebSphere

2009-04-07 Thread asokan02
Hello Jerry Is it possible to precompile JSPs for WebSphere using the jspc-maven plugin without a WebSphere installation on the machine that the comipation is done on? We do not have WAS installed on the our continuum servers and hence have been stuck compiling JSPs at deployment time.

Release Plugin scmCommentPrefix issues

2009-04-07 Thread Mykel Alvis
When performing a release, I want to place an identifier into the release tag commit message (in subversion, in my case). Pasted directly from my command line running maven 2.0.9 with release plugin 2.0-beta-9: $ mvn -B -DscmCommentPrefix=CM-524 release:prepare

RE: Understanding SNAPSHOTS

2009-04-07 Thread Sergey Shcherbakov
Hi Todd, I came to exactly same conclusions as you did and even applied that approach in our team. I have set up our projects to use local intranet repository for snapshot builds and external production repository for released builds. But it has definitely some inconveniences. And I am wondering

RE: Understanding SNAPSHOTS

2009-04-07 Thread Todd Thiessen
Thanks for the comments Sergey. You can distinguish between snapshots by marking them as unique. I believe there is an option in the pom somewhere for this. If a developer is doing a build, I would think he would always want to build the latest version of the source. You can ensure that deployed

Question concerning settings-security.xml location

2009-04-07 Thread solo1970
Hello All, In Maven 2.1, there is a new feature to encrypt passwords found in the settings.xml file. They say that the master-password should be kept in settings-security.xml file which resides under ~/.m2/, we currently share the settings.xml file and so we set the

Re: Repository problems

2009-04-07 Thread Jon Strayer
Here is what I'm seeing now: [DEBUG] Retrieving parent-POM: org.apache.commons:commons-parent::5 for project: commons-logging:commons-logging:jar:1.1.1 from the repository. [DEBUG] commons-logging:commons-logging:jar:1.1.1:compile (range restricted from: [1.0,) and: 1.1 to: 1.1 ) [INFO]

RE: Understanding SNAPSHOTS

2009-04-07 Thread Sergey Shcherbakov
All right, thank you, Todd, I'll try that. Best Regards, Sergey Shcherbakov. -Original Message- From: Todd Thiessen [mailto:thies...@nortel.com] Sent: Tuesday, April 07, 2009 5:41 PM To: Maven Users List Cc: Guillaume Goulet; Kevin Coupland; Kyle Blaney Subject: RE: Understanding

Re: Different build result in two different machine (same project)

2009-04-07 Thread Wayne Fay
I have the same maven project copied in two different machines: my local machine and my build machine. When I try mvn clean compile test on my local machine everything's fine. Same exact version of Maven? Same exact version of JDK? Same exact amount of physical memory on both machines? Wayne

Re: Different build result in two different machine (same project)

2009-04-07 Thread Mick Knutson
Same settings.xml ? --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring Agile Consulting p. (866) BLiNC-411: (254-6241-1) f. (415) 685-4233 Website: http://baselogic.com Linked IN: http://linkedin.com/in/mickknutson Twitter:

Re: Question concerning settings-security.xml location

2009-04-07 Thread Wayne Fay
is there something similar for the settings-security.xml file?  It's impossible to manage everyone having a settings-security.xml file in their home directory. If everyone is sharing all the settings etc, then why are you concerned about encrypting passwords?? What's the use case?

How to include extra files with maven-source-plugin?

2009-04-07 Thread Eric B.
Hi, I'm using the maven-source-plugin with a basic configuration: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-source-plugin/artifactId executions execution goals goaljar/goal goaltest-jar/goal /goals /execution /executions

Re: How to include extra files with maven-source-plugin?

2009-04-07 Thread Wayne Fay
However, I'd like to include some extra external files in my sources.jar file but am not quite sure how to do this (for reference purposes).  From what I can tell the source-plugin gets it resource list from the build resources.  However, I don't want to put the resources directly in the build

Re: How to include extra files with maven-source-plugin?

2009-04-07 Thread Stephen Connolly
[Hack alert] You could put them in a separate folder tree e.g. src/main/example-java/ and then use the build-helper-maven-plugin to add this as an extra source directory *but bind the execution to a phase in the lifecycle after compile but before package* [/Hack alert] -Stephen 2009/4/7 Eric

RE: Question concerning settings-security.xml location

2009-04-07 Thread florian.cavagnini
Ok thanks for your help, but I found the problem and it has nothing to do with my configuration. It's a bug in the spring bean definition xml file that causes an OutOfMemory error in initialization Florian Cavagnini IT / Gestion de Configuration Immeuble Lumière 40 avenue des Terroirs de

Re: How to include extra files with maven-source-plugin?

2009-04-07 Thread Eric B.
Wayne Fay wayne...@gmail.com wrote in message news:52bab8690904071004o5150adafl8aa4a53d7f8c7...@mail.gmail.com... However, I'd like to include some extra external files in my sources.jar file but am not quite sure how to do this (for reference purposes). From what I can tell the

Re: How to include extra files with maven-source-plugin?

2009-04-07 Thread Wayne Fay
I don't know if it has anything to do with the maven-war-plugin settings which specifically excludes the **/*.jsp files from my war, but I figured the war plugin was seperate from the source plugin, and shoulnd't be sharing configuration information. I don't know for sure either, but go ahead

buildpath probleme with eclipse:eclipse goal

2009-04-07 Thread florian.cavagnini
Hello Since two days, I don't know why but when I generate the eclipse configuration files (.classpath and .project) of my maven project with the eclipse plugin (goal eclipse:eclipse), it don't add all the dependencies listed in my pom.xml! And one in particular: org.aspectj.aspectjrt-1.5.4 I

RE: Question concerning settings-security.xml location

2009-04-07 Thread Martin Gainty
please elaborate how your Spring configuration causes OOM? veuillez élaborer comment votre configuration de ressort cause OOM ? arbeitn Sie bitte aus, wie Ihre Frühlingskonfiguration OOM verursacht ? Martin __ Verzicht und Vertraulichkeitanmerkung

RE: Maven - POM repository, Freemind, Confluence

2009-04-07 Thread sigi9009
yes i read it. and i changed the repositiry (i tried both urls in the postings on the buttom). I changed the url tag bellow the repository tag. but i still get fatal errors. any ideas? - thanks for help justinedelson wrote: Did you read the comment thread on that page?

RE: Repository problems

2009-04-07 Thread Martin Gainty
looks like the HttpWagon saw an EOF.. can you post the pom.xml also I would validate the pom.xml for well-formed Martin __ Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht

Re: How to include extra files with maven-source-plugin?

2009-04-07 Thread Eric B.
Wayne Fay wayne...@gmail.com wrote in message news:52bab8690904071035w265d4dfbwe7b4fa1b1121e...@mail.gmail.com... I don't know if it has anything to do with the maven-war-plugin settings which specifically excludes the **/*.jsp files from my war, but I figured the war plugin was seperate from

Re: Question concerning settings-security.xml location

2009-04-07 Thread solo1970
Here is the use case: With Archiva 2.1, they've added a Delete Artifact possibility in the UI, as long as you are a Repository Manager, you have access to it. In the past, we used the guest logon for everyone which was Repository manager for our snapshots and development repositories, hence no

Help with custom file filtering requested

2009-04-07 Thread rynam0
Hello... I am hoping someone may point me in the right direction in regards to how to approach writing a custom filter operation for a custom plugin. I am currently filtering resources using the war and resources plugins but I am faced with a situation where i need to do some very specific

Re: Help with custom file filtering requested

2009-04-07 Thread rynam0
Well I think the maven-filtering jar may be what i'm looking for. Ill give that a go. Thanks folks. rynam0 wrote: Hello... I am hoping someone may point me in the right direction in regards to how to approach writing a custom filter operation for a custom plugin. I am currently

Re: How to include extra files with maven-source-plugin?

2009-04-07 Thread Wayne Fay
According to the java sources for the sources plugin, it gets its resource list from MavenProject.getResources(), which is infact the build.getResources() list.  Is there anyway to modify the build resources for that particular plugin only? I'd suggest you rethink this entirely. Go back to

Re: Question concerning settings-security.xml location

2009-04-07 Thread Brett Porter
On 08/04/2009, at 4:57 AM, solo1970 wrote: Here is the use case: With Archiva 2.1, they've added a Delete Artifact possibility in the UI, as long as you are a Repository Manager, you have access to it. In the past, we used the guest logon for everyone which was Repository manager for

Re: buildpath probleme with eclipse:eclipse goal

2009-04-07 Thread Arnaud HERITIER
there are several thread and issues opened about problem in the release 2.6 of the plugin with aspectj projects.Set the version of the maven-eclipse-plugin to 2.5.1 in the dependencyManagement part of your pom to use the previous version while we are fixing it. On Tue, Apr 7, 2009 at 7:39 PM,

RE: Understanding SNAPSHOTS

2009-04-07 Thread Brian Fox
Hello, We have our CI system setup to build after every commit for verification. It happens to build on a grid with multiple OS's and one of them deploys a snapshot to our Nexus repo. Our QA grabs the latest snapshot of the application at various times and validates the fixes against it. (they

RE: Understanding SNAPSHOTS

2009-04-07 Thread Brian Fox
1. How to distinguish snapshot build versions correctly? So that one snapshot build would not overwrite previous one in the repository. You don't, that's not the purpose. If you truly care about a particular snapshot version, then it should have been a release. It's meant only for looking at the

RE: Understanding SNAPSHOTS

2009-04-07 Thread Todd Thiessen
Thanks Brian. I appreciate you taking the time to respond in such detail. --- Todd Thiessen -Original Message- From: Brian Fox [mailto:bri...@sonatype.com] Sent: Tuesday, April 07, 2009 5:11 PM To: Maven Users List Cc: Goulet, Guillaume (CAR:LSBA); Coupland, Kevin (BVW:9T16);

RE: Understanding SNAPSHOTS

2009-04-07 Thread Todd Thiessen
...that is we decide when a release is ready and use the release plugin to do this. The CI is only producing snapshots on a constant basis. So your formal releases are produced by manually running the release plugin? And if it fails, you manually do a rollback, depending on the failure?

Re: How to include extra files with maven-source-plugin?

2009-04-07 Thread Eric B.
Stephen Connolly stephen.alan.conno...@gmail.com wrote in message news:88c1b40904071005m3b1b53feg3b0edf4222b4...@mail.gmail.com... [Hack alert] You could put them in a separate folder tree e.g. src/main/example-java/ and then use the build-helper-maven-plugin to add this as an extra

Re: How to include extra files with maven-source-plugin?

2009-04-07 Thread Eric B.
Wayne Fay wayne...@gmail.com wrote in message news:52bab8690904071352j405c495fpb240864012d1c...@mail.gmail.com... According to the java sources for the sources plugin, it gets its resource list from MavenProject.getResources(), which is infact the build.getResources() list. Is there

Re: Understanding SNAPSHOTS

2009-04-07 Thread Stephen Connolly
2009/4/7 Todd Thiessen thies...@nortel.com ...that is we decide when a release is ready and use the release plugin to do this. The CI is only producing snapshots on a constant basis. So your formal releases are produced by manually running the release plugin? And if it fails, you

Re: How to include extra files with maven-source-plugin?

2009-04-07 Thread Stephen Connolly
Are you running a version of maven that has the prepare-package phase? Since it's a hack I'd just hack it in to the test phase that phase is after all the compile phases and before the package phase (note I'm assuming that the source-jar packaging runs in the packaging phase... -Stephen

Re: How to include extra files with maven-source-plugin?

2009-04-07 Thread Wayne Fay
I'm not quite sure I understand what you mean...  It's not really sample code; it is the jsp code for the application that I am building.  Currently just the compiled jsp's are being included in the source jar.  I'd like the original source jsps to be included as well. For some reason, and I

Re: buildpath probleme with eclipse:eclipse goal

2009-04-07 Thread Robert Hanson
You can also set the AJDT version to none. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId configuration ajdtVersionnone/ajdtVersion /configuration /plugin References:

How I can include execution of some goals in the pom file instead of passing it as parameter?

2009-04-07 Thread legolas
Hi Thank you for reading my post. Is there any way to include some goals like *mvn jetty:run* into the pom file to ensure that we just need to call for example mvn install and then be sure that all other goals like *mvn jetty:run* will be executed? Also, is there any way to create a super goal

Multiple artifactId elements in one dependency?

2009-04-07 Thread David M. Karr
As the POM schema has 'minOccurs=0' for the artifactId element, does that mean that something like this: dependencies dependency groupIdorg.hibernate/groupId artifactIdhibernate-annotations/artifactId version3.3.0.ga/version /dependency dependency groupIdorg.hibernate/groupId

Surefire forking using junit 3 even with junit 4 dependency?

2009-04-07 Thread Tim
Why do I see Forking command line: /usr/lib/jvm/jdk1.6.0_13/jre/bin/java -classpath

Re: Multiple artifactId elements in one dependency?

2009-04-07 Thread Brett Porter
No, that won't work. Note that the default value of maxOccurs in xsd is 1. - Brett On 08/04/2009, at 9:04 AM, David M. Karr wrote: As the POM schema has 'minOccurs=0' for the artifactId element, does that mean that something like this: dependencies dependency

Re: Surefire forking using junit 3 even with junit 4 dependency?

2009-04-07 Thread Brett Porter
have you confirmed that dependency:list only shows junit 4? On 08/04/2009, at 9:18 AM, Tim wrote: Why do I see Forking command line: /usr/lib/jvm/jdk1.6.0_13/jre/bin/java -classpath /home/tich/.m2/repository/org/apache/maven/surefire/surefire-booter/

Re: Multiple artifactId elements in one dependency?

2009-04-07 Thread David M. Karr
Brett Porter wrote: No, that won't work. Note that the default value of maxOccurs in xsd is 1. - Brett Oh, duh. Never mind. On 08/04/2009, at 9:04 AM, David M. Karr wrote: As the POM schema has 'minOccurs=0' for the artifactId element, does that mean that something like this:

Re: Surefire forking using junit 3 even with junit 4 dependency?

2009-04-07 Thread Tim
Yea. It's showing up as [INFO]junit:junit:jar:4.4:test with no version 3 in the list.This is with maven 2.1.0 AND 2.0.10 btw. The reason that I noticed this was because I have a base test class in a dependency that surefire was not able to find. But compilation was fine. On Tue, Apr 7, 2009

Re: Surefire forking using junit 3 even with junit 4 dependency?

2009-04-07 Thread Brett Porter
Can you try the latest version of the surefire plugin? (v2.4.3) On 08/04/2009, at 10:15 AM, Tim wrote: Yea. It's showing up as [INFO]junit:junit:jar:4.4:test with no version 3 in the list.This is with maven 2.1.0 AND 2.0.10 btw. The reason that I noticed this was because I have a base

Re: Surefire forking using junit 3 even with junit 4 dependency?

2009-04-07 Thread Tim
It doesn't show the junit 3 jar but has the same problem: Forking command line: /bin/sh -c cd /home/tich/data/bps_trunk/bps-api /usr/lib/jvm/jdk1.6.0_13/jre/bin/java -jar /tmp/surefirebooter2137625950913122347.jar /tmp/surefire4278370938049229367tmp /tmp/surefire3389360321643705255tmp

Re: Surefire forking using junit 3 even with junit 4 dependency?

2009-04-07 Thread Brett Porter
That sounds like a separate problem, however I can't tell what is wrong from the info here. Are you able to check the surefire temporary files to see if the arguments look reasonable? - Brett On 08/04/2009, at 10:27 AM, Tim wrote: It doesn't show the junit 3 jar but has the same problem:

Re: LATEST and RELEASE release version management

2009-04-07 Thread Tim
http://jira.codehaus.org/browse/MNG-4089 I need to read over the bug that was linked as a duplicate more closely but I don't think it's the same thing. What I asked for was the same as what you said with 1.0-LATEST. Doing something like that or 1.0-RELEASE would actually be very beneficial to

Re: Surefire forking using junit 3 even with junit 4 dependency?

2009-04-07 Thread Tim
yea the tmp files look fine. In fact I see the correct junit jar version and all the dependency jars correctly in them.Still, I have no clue why it can't find a test class directly in it's classpath. On Tue, Apr 7, 2009 at 7:35 PM, Brett Porter br...@apache.org wrote: That sounds like a

What does it mean when a plugin element doesn't have a groupId element?

2009-04-07 Thread David M. Karr
In Maven: The Definitive Guide, there is a pom.xml sample like this: - plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration testFailureIgnoretrue/testFailureIgnore /configuration /plugin plugin

Re: Surefire forking using junit 3 even with junit 4 dependency?

2009-04-07 Thread Brett Porter
Is there more of a trace supplied from within Surefire? Have you searched to see if anyone else encountered this problem? Thanks, Brett On 08/04/2009, at 10:47 AM, Tim wrote: yea the tmp files look fine. In fact I see the correct junit jar version and all the dependency jars correctly in

Re: What does it mean when a plugin element doesn't have a groupId element?

2009-04-07 Thread Wayne Fay
I noticed that all the references to maven-assembly-plugin do not have a groupId value.  Why doesn't this have a groupId value, and what is the impact of that? The default for plugins is o.a.m.p (org.apache.maven.plugins). Its generally a good idea to include groupIds, but not absolutely

RE: Understanding SNAPSHOTS

2009-04-07 Thread Brian Fox
So your formal releases are produced by manually running the release plugin? And if it fails, you manually do a rollback, depending on the failure? Yes, we manually roll it back. It's not too bad with svn, but a bit annoying I'll admit. We haven't tackled the release tools yet. Some of our

JavaFX Support - Discussion

2009-04-07 Thread Andrew Hughes
Hi All, I'll openly admit that I'm stumped with the best way to implement support for JavaFX in maven. However all existing support seems to be quite old ~13months (i.e. not based on the latest final releases of javafx, or a little heavy to work with). In the hope of putting a few things on the

Re: JavaFX Support - Discussion

2009-04-07 Thread Milos Kleint
do you konw if there are any issues filed against javafx development tools with regard to maven support? Milos On Wed, Apr 8, 2009 at 7:09 AM, Andrew Hughes ahhug...@gmail.com wrote: Hi All, I'll openly admit that I'm stumped with the best way to implement support for JavaFX in maven.