Re: building and installing a source only jar

2007-08-14 Thread Tim Kettler
Hi, have a look at the maven-source-plugin[1] and possibly the maven-javadoc-plugin[2] and configure the maven-eclipse-plugin as shown here [3]. -Tim [1] http://maven.apache.org/plugins/maven-source-plugin/ [2] http://maven.apache.org/plugins/maven-javadoc-plugin/ [3] http://maven.apache.or

Re: Version numbering

2007-08-14 Thread Achim Abeling
Hi, I think you can just omit the version element in the child pom. Best regards Achim EJ Ciramella wrote: Is there any way for a child pom to simply inherit the version number from the parent? We have a few use cases where this would be very helpful. ---

Re: Maven2 / Surefire problem

2007-08-14 Thread Tim Kettler
Hi, I'm currently sticking with Surefire-Plugin 2.3 / TestNG 5.1 this combination is working for me: [...] [...] org.testng testng 5.1 jdk15 test [...] [...] org.apache.maven.plugins ma

Re: Maven2 / Surefire problem

2007-08-14 Thread Wayne Fay
(these DNS issues are really starting to annoy me now...) Without your complete code/project, its nearly impossible to say whether your pom files will work or not. And I don't use TestNG currently in any of my code, so I have nothing to test against... Wayne On 8/14/07, Philip S. Constantinou <[E

RE: [m2] urgent issue with modules and sub-modules for initial builds

2007-08-14 Thread Brian E. Fox
Or just switch to "enforce" instead of "enforce-once". As noted in the issue, the aggregator portion of enforce-once isn't working (never has) so the two goals are effectively the same in terms of performance. (enforce-once runs on each child, the intent is for it to just run once) -Original M

Re: Maven2 / Surefire problem

2007-08-14 Thread Philip S. Constantinou
Wayne - The problems still occur after I've made the additions. Do the simpler pom work for you? Neither work for me. Wayne Fay wrote: (another resend...) In your "real" one, you aren't configuring Surefire at all. You need to copy the configuration (the ... node for Surefire) into your "rea

Re: Maven2 / Surefire problem

2007-08-14 Thread Wayne Fay
(another resend...) In your "real" one, you aren't configuring Surefire at all. You need to copy the configuration (the ... node for Surefire) into your "real" pom, and try again. Wayne On 8/14/07, Philip S. Constantinou <[EMAIL PROTECTED]> wrote: > Thanks so much... I'll attach two. One strippe

Re: Urgent: PMD errors after adding modules

2007-08-14 Thread Wayne Fay
Looking at the error, it seems like perhaps the problem is coming from something related to your PMD rule sets... Do you have any rule sets configured in that module? And why is PMD even running on these modules without code -- are they inheriting the config from a parent module? Wayne On 8/14/07

[m2.0.5] Why does site:site run my modules 3-4 times?

2007-08-14 Thread Mick Knutson
The release notes said there was something fixed in 205 but I still see my modules being run 3-4 times when I try to run site:site -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson http://www.myspace.com/djmick

Re: embedded jetty in maven test phase classpath problem.

2007-08-14 Thread Wayne Fay
I have been using the jspc plugin for some time now very successfully. I agree with Andy -- you should check it out. Wayne On 8/13/07, Andrew Williams <[EMAIL PROTECTED]> wrote: > > On 1 Aug 2006, at 17:14, Meghan Pike wrote: > > [snip] > > > > Does anybody know if this is the case and how I can

Re: Maven2 / Surefire problem

2007-08-14 Thread Philip S. Constantinou
Thanks so much... I'll attach two. One stripped down one that seems like a cut and paste from the documentation at: http://testng.org/doc/maven.html I've also attached my real one. Cheers - Phil Wayne Fay wrote: (Let's try this again... sent this response 2hrs ago and it bounced due to DNS

Re: SVN,Eclipse and Maven

2007-08-14 Thread Wayne Fay
Most of your questions are covered in the free Maven pdf/ebooks available from www.devzuz.com and www.sonatype.com. Please check them out, then come back with specific problems. Wayne On 8/14/07, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > Hi! I'm totally new to Maven so please bare with

Re: Display lifecycle phases during a build

2007-08-14 Thread Eric Redmond
Not currently... that is something that should be available in 2.1. -- Eric Redmond http://blog.propellors.net On 8/13/07, William Ferguson <[EMAIL PROTECTED]> wrote: > > Is there any way to get Maven to output the liefecycle pahsaes as it is > executing them? > > It displays the plugin and goal

Re: Maven2 / Surefire problem

2007-08-14 Thread Wayne Fay
(Let's try this again... sent this response 2hrs ago and it bounced due to DNS problems...) Maven plus TestNG has been and continues to be a source of difficulty. Only specific versions of Surefire (Snapshots, iirc) and TestNG will work together. Send us your pom for further review, and the URL w

building and installing a source only jar

2007-08-14 Thread EJ Ciramella
Is there any way to build a source only jar and install that to our internal remote repository? We're trying to get more modular with our builds and would like to still allow eclipse users to hop to the source of a particular dependency. Even after I'm able to build a source only jar, is there

Urgent: PMD errors after adding modules

2007-08-14 Thread Mick Knutson
I have some modules that do not have any actual java code in them, and now I can't seem to stop getting this fatal PMD error: [INFO] [site:site] [WARNING] Error loading report org.codehaus.mojo.surefire.SurefireReportMojo- AbstractMethodError: canGenerateReport() [DEBUG] maven-default-skin: reso

Re: SVN,Eclipse and Maven

2007-08-14 Thread Mathias P.W Nilsson
Ok I found a link on apache maven. I have now changed my POM.xml to include distributionManagement and this in the settings.xml test test test I get the response that Authentication failed. I found this rather odd because I can check out the project using the same password and u

Version numbering

2007-08-14 Thread EJ Ciramella
Is there any way for a child pom to simply inherit the version number from the parent? We have a few use cases where this would be very helpful.

SVN,Eclipse and Maven

2007-08-14 Thread Mathias P.W Nilsson
Hi! I'm totally new to Maven so please bare with me. I have set up an SVN server that requires login. Many developers share, commits and updates to the SVN server. Many of our applications are libs ( jar files ) wich would be included into our other projects. My question is. How do I create jar

Maven2 / Surefire problem

2007-08-14 Thread Philip S. Constantinou
Hi folks - I'm getting an exception running the "test" goal. I'm using testNG following all the instructions (hopefully correctly) both on the Maven2 site and testNG maven site. Google hasn't turned up anything useful so I figured I'd turn to the experts. I've run both on Linux and Windows u

Publishing to Tomcat from Eclipse, my filtered files aren't being filtered

2007-08-14 Thread Jared Blitzstein
I have a few configuration files that need to be filtered when run. When I run in jetty or build a war for deployment, they are filtered correctly. But when I deploy to tomcat from eclipse, they are not. Is there a way I can make sure eclipse publishes / tomcat uses a filtered set of values

Re: Resources and JUnit

2007-08-14 Thread Steven Rowe
Ray Wenderlich wrote: > I am using Maven 2.0.8. Wow, where can I get me one of them? :) (2.0.7 is the most recent release.) Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: assembly-plugin: exlude a file from dependent jar

2007-08-14 Thread aldana
Zarick Lau wrote: > > Have you try the unpackOptions under dependencySet? > no, i did not. But using your advice works :) Must have been blind, because I did not see this in assembly-descriptor description. -- View this message in context: http://www.nabble.com/assembly-plugin%3A-exlude-a

Re: Eclipse: "Unable to update POM" - Could not write file

2007-08-14 Thread Juan Ignacio Garzón
Yes, it is writable. I have advanced with this problem, and I discovered that if I edit pom.xml using the eclipse editor, *sometimes* I cannot save it (it shows a message saying "Could not write file") . This does not happen with any other file, only with pom.xml. Very strange... Im not sharing th

Re: Eclipse: "Unable to update POM" - Could not write file

2007-08-14 Thread John Casey
Stupid question maybe, but is the pom.xml file writable on the filesystem? -john On Aug 14, 2007, at 9:44 AM, Juan Ignacio Garzón wrote: Hi! Im first trying Maven using the eclipse plugin, but I'm getting this error when I add a dependency to my project: Unable to update POM: I:\SHARED\xxx

Re: error: IO exception sun.io.MalformedInputException

2007-08-14 Thread John Casey
Just another idea...if you're using an alternative encoding on purpose, you might try something like: [...] maven-compiler-plugin -encoding UTF-8 Just FWIW. -john On Aug 14, 2007, at 8:54 AM, Enri

Re: plugins for source languages besides java

2007-08-14 Thread jblack
A quick search found two solutions for c# that might work: 1) [m2] http://incubator.apache.org/nmaven/ NMaven 2) [m2] Compiler plugin has a c# http://maven.apache.org/plugins/maven-compiler-plugin/non-javac-compilers.html compilerId Still curious about ADA, though. Jeff jblack wrote:

plugins for source languages besides java

2007-08-14 Thread jblack
specifically, any compiling/packaging/testing plugins that anyone knows about for either ADA or c#? if not maven, then any recommendations on a build tool? Jeff -- View this message in context: http://www.nabble.com/plugins-for-source-languages-besides-java-tf4267673s177.html#a12145654 Sent fr

Buildnumber plugin and svn

2007-08-14 Thread DCVer
I use the maven buildnumber plugin and it works fine on my local pc. But on the Continuum server (checked out from the same svn repository) i receive an error (in fact Continuum/Maven2 generates it): [INFO] [buildnumber:create {execution: default}] Provider message: The svn command failed. Comman

Eclipse: "Unable to update POM" - Could not write file

2007-08-14 Thread Juan Ignacio Garzón
Hi! Im first trying Maven using the eclipse plugin, but I'm getting this error when I add a dependency to my project: Unable to update POM: I:\SHARED\xxx\pom.xml; Could not write file: I:\SHARED\xxx\pom.xml. If I create a new Maven project within eclipse and I add a dependency in the wizard, the

Re: Feedback on maven repository managers

2007-08-14 Thread Joakim Erdfelt
Farhan Sarwar wrote: Hello Guys, Well we are in the process of moving over our applications/modules on maven 2 and hence setting up a maven repository, as I do so I wanted to hear your experiences with different repository managers out there, so far I just have explored Artifactory and uptil

RE: multi-module project generates invalid pom ?

2007-08-14 Thread Joel COSTIGLIOLA (Services DPT SYSTEME D INFORMATION METIER)
Just want to add that SapiensSpringCommon, despite his name, is not a module of sapiens ! It's just a project depending on sapiens child module SapiensCommonsCore. Hope things are clearer now -Message d'origine- De : Joel COSTIGLIOLA (Services DPT SYSTEME D INFORMATION METIER) [mailto

Re: Testing a webapp with perl

2007-08-14 Thread Roland Asmann
Thanks, I'll look into that! On Tuesday 14 August 2007 13:07, Jochen Wiedmann wrote: > On 8/14/07, Roland Asmann <[EMAIL PROTECTED]> wrote: > > I am working an a plugin that access a webapp that is written in Perl. > > The plugin seems to work alright, but I can't really test everything I > > want

multi-module project generates invalid pom ?

2007-08-14 Thread Joel COSTIGLIOLA (Services DPT SYSTEME D INFORMATION METIER)
Hi there, I have been reporting few weeks ago some VERY annoying warning like this one : [WARNING] POM for 'sapiens:SapiensCommonsCore:pom:2.6.0:test' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM for project sapiens:SapiensCommonsCore at Artifact [sapiens

Re: Retrieving subversion revision number

2007-08-14 Thread DCVer
Ok it works fine now, thanks. I've put the plugin configurations in pluginManagement - not in "pure" plugins section. That's why it failed before. Dirk Olmes-4 wrote: > >> The problem has changed a bit. I would like to get the revision number of >> the working copy checked out from the svn repo

Re: error: IO exception sun.io.MalformedInputException

2007-08-14 Thread Enrique Gaona
Patrick, Thanks for the info and the link. I'm using the IBM JDK 1.4.2. I'll definitely try your suggestion and let you know the results. Thanks again. Enrique "Patrick

Re: Resources and JUnit

2007-08-14 Thread Ray Wenderlich
Wow you are right - there was an error in my test itself, lol! Sorry for the confusion, I thought I had everything set up right :] On 8/14/07, Lalor, Brian <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Ray Wenderlich [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, August 14, 20

RE: Resources and JUnit

2007-08-14 Thread Lalor, Brian
> -Original Message- > From: Ray Wenderlich [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 14, 2007 12:44 AM > To: users@maven.apache.org > Subject: Resources and JUnit > > Hi all, > > I am testing a class that is using a .properties file that I have > placed in src\main\resources. I

[M2] Maven2 integration for JBuilder X (and higher)

2007-08-14 Thread CodingPlayer
Hi All, - is there any working plugin for the JBuilder IDE that supports Maven2? i already posted this question about one year ago: http://www.nabble.com/JBuilder-Plugin-for-Maven2-tf2009003s177.html#a5519383 just wanted to check if somebody has implemented it yet, and might want to let us kno

Re: Testing a webapp with perl

2007-08-14 Thread Jochen Wiedmann
On 8/14/07, Roland Asmann <[EMAIL PROTECTED]> wrote: > I am working an a plugin that access a webapp that is written in Perl. The > plugin seems to work alright, but I can't really test everything I want on > the webapp. > Does anybody know of a webserver that can run Perl and has the possibility

Generated Email shows localhost - where to change ?

2007-08-14 Thread Mac-Systems
Hello, i asked it already whout luck of answer. Where can i configure that Continuum generates Email with correct link to the Server ? For example: Online report : http://localhost:8080/continuum/servlet/continuum/target/ProjectBuild.vm/view/ProjectBuild/id/1/buildId/125 Build statistics:

Testing a webapp with perl

2007-08-14 Thread Roland Asmann
Hi all! I am working an a plugin that access a webapp that is written in Perl. The plugin seems to work alright, but I can't really test everything I want on the webapp. Does anybody know of a webserver that can run Perl and has the possibility to be plugged into Maven at the testing-phase (sim

Questions about mvn archetype-plugin additional

2007-08-14 Thread Beelen, M. - SPLXL
Hello, In my previous email I stated that the package-structure beneath archetype-resource/src/main/java not is being used when generating the ..java-file. I need to refining this remark: The file do get placed in the correct directory structure, but the ${package} placeholder in the template ja

Questions about mvn archetype-plugin

2007-08-14 Thread Beelen, M. - SPLXL
Hello, While developing my own custom archetype, I also started to explore all the options of the mvn archetetype plugin and it's create target, because I hope I can get that to create my project, exactly like I want them. Since my software development project usually consist of multiple tiers,

Re: Feedback on maven repository managers

2007-08-14 Thread Franck Smith
I have used both Archiva and Artifactory. Artifactory is simple to use, install and configure and have a good ui (based on wicket). But here the reasons that make me change for the last Archiva (1.0-beta-1) - for me the main disadvantage is that the repository is save on a database and not in a ma

Re: Retrieving subversion revision number

2007-08-14 Thread Dirk Olmes
> The problem has changed a bit. I would like to get the revision number of > the working copy checked out from the svn repository (don't have to be the > actual rev number - may be "out of date"). So.. I think this number can be > received from .svn/entries file. Does the maven buildnumber plugin

Re: Retrieving subversion revision number

2007-08-14 Thread DCVer
Hi again, The problem has changed a bit. I would like to get the revision number of the working copy checked out from the svn repository (don't have to be the actual rev number - may be "out of date"). So.. I think this number can be received from .svn/entries file. Does the maven buildnumber plu

Re: Feedback on maven repository managers

2007-08-14 Thread Paul Smith
On 14/08/2007, at 5:05 PM, Brett Porter wrote: http://mail-archives.apache.org/mod_mbox/maven-users/200707.mbox/% [EMAIL PROTECTED] I have some more detailed notes I've been meaning to post, will get around to it some time this month. Archiva has just had another (beta) release too, and is n

Re: Feedback on maven repository managers

2007-08-14 Thread Brett Porter
http://mail-archives.apache.org/mod_mbox/maven-users/200707.mbox/[EMAIL PROTECTED] I have some more detailed notes I've been meaning to post, will get around to it some time this month. Archiva has just had another (beta) release too, and is now feature complete for an upcoming 1.0 and the known