Re: Problem svn when I build Maven 2.0 project

2007-10-25 Thread Saruqui
Yes, my path contains c:\svn-win32-1.4.5\bin; Have I included this path in other site? olamy wrote: try echo %PATH%. In my case it contains : ...;C:\Subversion\bin;... -- View this message in context:

Re: Problem svn when I build Maven 2.0 project

2007-10-25 Thread Vanja Petreski
Can you give the output of the command: svn --version --quiet

Re: Problem svn when I build Maven 2.0 project

2007-10-25 Thread Saruqui
1.4.5 Vanja Petreski wrote: Can you give the output of the command: svn --version --quiet -- View this message in context: http://www.nabble.com/Problem-svn-when-I-build-Maven-2.0-project-tf4689729.html#a13404102 Sent from the Continuum - Users mailing list archive at Nabble.com.

Re: configure build trigger ('after each commit') web-console

2007-10-25 Thread Vanja Petreski
I solved this issue with configuring OneMin scheduler. And that is enough good for me, because Continuum doesn't build if there is no changes in SVN. So, Continuum will update project from SVN and if there are changes he will build, otheriwise not. V On 10/25/07, aldana [EMAIL PROTECTED] wrote:

Re: Problem svn when I build Maven 2.0 project

2007-10-25 Thread Vanja Petreski
So svn IS in your PATH... On 10/25/07, Saruqui [EMAIL PROTECTED] wrote: 1.4.5 Vanja Petreski wrote: Can you give the output of the command: svn --version --quiet -- View this message in context:

Re: Problem svn when I build Maven 2.0 project

2007-10-25 Thread Saruqui
yes, but I have the same problem when I build my project I have the next error: Provider message: The svn command failed. Command output: --- svn no se reconoce como un comando interno o externo, programa o archivo por

Re: Problem svn when I build Maven 2.0 project

2007-10-25 Thread Emmanuel Venisse
How do you run Continuum? From the command line or as a service? If you use it as a service (I think it), you must define the user used to run it. Emmanuel Saruqui a écrit : yes, but I have the same problem when I build my project I have the next error: Provider message: The svn command

Re: configure build trigger ('after each commit') web-console

2007-10-25 Thread Emmanuel Venisse
OneMin scheduler isn't a good thing if you have lot of projets or big projects in Continuum and you consume lot of resources on your continuum server and svn server. Personally, I don't understand why some users need to run a build for each commit??? Emmanuel Vanja Petreski a écrit : I

Re: configure build trigger ('after each commit') web-console

2007-10-25 Thread Vanja Petreski
On 10/25/07, Emmanuel Venisse [EMAIL PROTECTED] wrote: OneMin scheduler isn't a good thing if you have lot of projets or big projects in Continuum and you consume lot of resources on your continuum server and svn server. Isn't that same as the developer who are doing svn update for every

version and artifact management

2007-10-25 Thread deckrider
I am new to maven and continuum, and have downloaded the latest stable version of continuum and done some simple tests. However, I would like to do the following, and I don't know how (barely even how to ask): Our version numbers are something like MAJOR.MINOR.MICRO. I would like each build to

Re: scm in pom?

2007-10-25 Thread Wendy Smoak
On 10/25/07, deckrider [EMAIL PROTECTED] wrote: It appears that I have to put scm information into my pom.xml in order to use a Maven 2 project in Continuum. Is this true? Yes. That's how Continuum knows how to find the source code to check it out. I can't imagine why you would add code from

Re: scm in pom?

2007-10-25 Thread Wendy Smoak
On 10/25/07, deckrider [EMAIL PROTECTED] wrote: Only Continuum uses scmconnection/connection/scm within pom.xml? Thus if its no longer valid, everything else would still work in the case that we needed to rebuild some artifacts from their original tags? It gets used when you generate the

Common reporting configuration for a set of projects / inheritance from super-pom

2007-10-25 Thread Martin Testrot
Hello, I would like to separate the reporting section for all of our projects in a common configuration file or pom to keep the projects pom as simple as possible. I already created a hierarchy of poms (java-pom, maven-plugin-pom and so on) for the different project types to externalize common

Re: new to maven

2007-10-25 Thread Giancarlo Degani
hi, you can try with the eclipse plugin: http://maven.apache.org/plugins/maven-eclipse-plugin/ Giancarlo 2007/10/25, Ian Godman [EMAIL PROTECTED]: Hi I am new to Maven 2. I have been converting an application consisting of 4 eclipse projects, 3 producing library jars the the final one

using ${pom.version} in assembly.xml

2007-10-25 Thread baumar
I found a strange effect when using the property ${pom.version} in an assembly.xml. Within the file element, it is inserted corrected within the sourceelement, but not in outputDirectory. What we try to achieve is to add a directory name containing the version number in front of the path in the

Re: release:prepare failure during scm-tag : Server certificate verification failed: issuer is not trusted

2007-10-25 Thread Rémy Sanlaville
Hi Jason, Not sure, but if you can access to your svn repo with different URLs ( https://www.domain-ommitted.com and http://www.domain-ommitted.com for instance) it's possible that you made a checkout via one URL (http://www.domain-ommitted.com for instance) and maven-release-plugin try with

maven-project-info-reports-plugin do not include Javadoc when using

2007-10-25 Thread Mac-Systems
Hello, im using maven 2.0.7 on a large multiproject. Since last week i generate javadoc for all project with success, later i added the changelog report. Since i added the Changelog i miss the generated Javadoc for the Project, the Javadoc is generated but it is not linked from the (sub)

Re: using ${pom.version} in assembly.xml

2007-10-25 Thread baumar
We found a solution - and maybe a bug? We are using windows XP Professional 2002, ServicePack 2 When we write - (as documented in http://maven.apache.org/guides/introduction/introduction-to-the-pom.html finalName${pom.artifactId}-${pom.version}/finalName) file

RE: maven-project-info-reports-plugin do not include Javadoc when using

2007-10-25 Thread nick_stolwijk
Could you post your pom file and the output of mvn -X site? With regards, Nick Stolwijk -Original Message- From: Mac-Systems [mailto:[EMAIL PROTECTED] Sent: Thu 10/25/2007 11:30 AM To: Maven Users List Subject: Re: maven-project-info-reports-plugin do not include Javadoc when using

Re: The OpenJPA Enhancer tool exited with a non-null exit code.

2007-10-25 Thread Milos Kleint
hello, do you get it only when running from within netbeans? or from the command line as well? if netbeans only, try to configure the project to use the command-line version of maven for compilation. The maven version embedded in netbeans is close to 2.0.4, so maybe the plugin works correctly

Transitivity on/off

2007-10-25 Thread Antonio Parolini
Hello, I found this note on the maven wiki: snip Attachments and Transitive Resolution We also need a way to distinguish the dependencies that apply when resolved transitively via an attached artifact, rather than the main one. For example, while the server-side component of an EJB may need

Re: maven-project-info-reports-plugin do not include Javadoc when using

2007-10-25 Thread Mac-Systems
Well, i have the javadoc included in reporting section of the parent pom. Looks like this: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-javadoc-plugin/artifactId configuration links

Problem svn when I build Maven 2.0 project

2007-10-25 Thread saruqui
I'm newby with Continuum and I have the following error when I build my Maven 2.0 project: Provider message: The svn command failed. Command output: --- svn no se reconoce como un comando interno o externo, programa o

Re: maven-project-info-reports-plugin do not include Javadoc when using

2007-10-25 Thread Mac-Systems
Ok, there is the parent POM for the Project:, regards, Jens ?xml version=1.0 encoding=UTF-8? !-- $Id$ Maven benoetigt zur Installation MAVEN_OPTS=-Xmx384M mvn -U help:effective-pom -Doutput=effective.pom -- project xmlns=http://maven.apache.org/POM/4.0.0;

Re: Problem svn when I build Maven 2.0 project

2007-10-25 Thread olivier lamy
Hi, Not really familiar with the language :-) But looks svn is not in the path. 2007/10/25, [EMAIL PROTECTED] [EMAIL PROTECTED]: I'm newby with Continuum and I have the following error when I build my Maven 2.0 project: Provider message: The svn command failed. Command output:

Re: Problem svn when I build Maven 2.0 project

2007-10-25 Thread Vanja Petreski
Probably ;) You have to set up integration (Continuum) platform as any other development platform. In your case, you have to install and setup: JDK, SVN, Maven2. Vanja On 10/25/07, olivier lamy [EMAIL PROTECTED] wrote: Hi, Not really familiar with the language :-) But looks svn is not in

Re: Transitivity on/off

2007-10-25 Thread Graham Leggett
On Thu, October 25, 2007 11:50 am, Antonio Parolini wrote: I totally agree with this. Transitivity is great, but sometime it is just a pain... especially with ejb-clients.. Is there a plan to adress this issue on the futur release of maven ? Like to add a flag to turn on/off transitivity

Re: Problem svn when I build Maven 2.0 project

2007-10-25 Thread Saruqui
I think that svn isn't in the path but.. where I configure it? I included it in environment Windows path variable and it don't work :( olamy wrote: Hi, Not really familiar with the language :-) But looks svn is not in the path. 2007/10/25, [EMAIL PROTECTED] [EMAIL PROTECTED]: I'm

Re: Problem svn when I build Maven 2.0 project

2007-10-25 Thread olivier lamy
try echo %PATH%. In my case it contains : ...;C:\Subversion\bin;... 2007/10/25, Saruqui [EMAIL PROTECTED]: I think that svn isn't in the path but.. where I configure it? I included it in environment Windows path variable and it don't work :( olamy wrote: Hi, Not really familiar with

RE: Maven profile properties

2007-10-25 Thread Roshan A. Punnoose
From reading the documentation it looks like the profile/activation/property only looks at system properties. Is it possible to use a project property? Roshan -Original Message- From: Roshan A. Punnoose [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 24, 2007 12:27 PM To: Maven Users

Re: configure build trigger ('after each commit') web-console

2007-10-25 Thread Emmanuel Venisse
Vanja Petreski a écrit : On 10/25/07, Emmanuel Venisse [EMAIL PROTECTED] wrote: OneMin scheduler isn't a good thing if you have lot of projets or big projects in Continuum and you consume lot of resources on your continuum server and svn server. Isn't that same as the developer who are

Re: configure build trigger ('after each commit') web-console

2007-10-25 Thread Vanja Petreski
Isn't that same as the developer who are doing svn update for every project every one minute? I'm not sure the developer run a svn update every minute ;) :)) Personally, I don't understand why some users need to run a build for each commit??? Isn't that one of the feature

LATEST, SNAPSHOT and RELEASE

2007-10-25 Thread Nigel Magnay
I could have sworn I'd read somewhere that it was possible to use dependency versions of LATEST, RELEASE and SNAPSHOT in a pom dependency to not have to specify which particular version I needed. Did I just dream that? Or does it not apply to dependencies?

dependency:purge-local-repository

2007-10-25 Thread zalym
how does this work? if I give -DreResolve as false, then all the dependencies of the project shud be deleted from the local repo right? That is not happening. Has anyone got any experience in this? -- View this message in context:

Re: Problem svn when I build Maven 2.0 project

2007-10-25 Thread Saruqui
Finally, I reinstall all... continuum, svn, maven in my pc and reset server and my computer and it's working :) Thanks all people for your help =^D -- View this message in context: http://www.nabble.com/Problem-svn-when-I-build-Maven-2.0-project-tf4689729.html#a13407110 Sent from the

[m2] how to make my custom packaging recognized by the eclipse plugin?

2007-10-25 Thread Adrian Herscu
Hi all, I am using Maven 2 to build projects based on my own framework. Because the framework requires different tools and dependency resolving mechanism, I had to create a dedicated lifecycle. Now I am thinking about some way to integrate the build of my framework with the build of a

Canoo WebTest Plugin 0.2 for M2 is available for field testing ...

2007-10-25 Thread Siegfried Goeschl
Hi folks, I created a rough cut of a M2 plugin to be downloaded from http://people.apache.org/~sgoeschl/download/maven-plugins/ Krystian Novak did some field testing - thanks a lot :-) A few points to keep in mind +) it is my very first M2 plugin so it could be quite shaky ... +) Canoo

maven phase to be executed in and continuous integration

2007-10-25 Thread aldana
hi, we are working with maven and cruise control. until now i always executed 'mvn clean verify'. we are working with snapshots and we experienced problems that the artifacts on the internal repository weren't up to date (they would succeed verify but developers sometimes forgot to execute a

RE: Error running Javadoc plugin under CruiseControl

2007-10-25 Thread Simon Kingaby
I upgraded to Java SDK 6 update 3 yesterday and my issues with JavaDoc were solved. There seems to have been a bug in the JavaDoc utility that caused it to fail when running from CruiseControl. Thanks for your suggestions. -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED]

Re: maven phase to be executed in and continuous integration

2007-10-25 Thread aldana
forgot some more reservation. when working with SNAPSHOTS and doing lots of has somebody experienced problems with just too many SNAPSHOT-libraries? aldana wrote: hi, we are working with maven and cruise control. until now i always executed 'mvn clean verify'. we are working with

Re: [m2] help getting jboss to start...

2007-10-25 Thread Catalin Croitoru
Hi, do you have a pom example for starting an existing jboss 4.2.0 with cargo? Thanks, Catalin On 10/25/07, Daniele De Francesco [EMAIL PROTECTED] wrote: Hi, try using maven cargo plugin instead of the maven-jboss-plugin *http://cargo*.codehaus.org/*Maven*2+*plugin* and for a

Re: Error running Javadoc plugin under CruiseControl

2007-10-25 Thread Wayne Fay
For the benefit of other people who might search the archives for this same bug, can you tell us what JDK version you were running before that was giving you the problem? Then we can tell people to avoid that JDK, perhaps in the m-javadoc-p documentation or something. Wayne On 10/25/07, Simon

Debugging failes junit test

2007-10-25 Thread Jan Torben Heuer
Hi, I have a problem with a junit test that failes when I run mvn test - but it does not fail when I run the test by the eclipse-junit-plugin. My problem ist, that there are no information: [...] Running ogcoperations.SubscriptionTest Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time

Re: Debugging failed junit-test

2007-10-25 Thread Jan Torben Heuer
Jan Torben Heuer wrote: I have a problem with a junit test that failes when I run mvn test - but it does not fail when I run the test by the eclipse-junit-plugin. Ok, I have another guess: Could it be, that dependencies to other modules are only to sources in /src/main/java/ but not to the

Issues with connecting to Oracle database when running schema generator via AndroMDA

2007-10-25 Thread Jerrold E. Eads
Team, I am new to both AndroMDA and Maven. I have setup an Oracle database to be used for the Timetracker AndroMDA example. After setting up the database I started the Oracle service and listener and I can invoke SQLPlus from the command line with: sqlplus

RE: Junit 4 or TestNG 5 suite support

2007-10-25 Thread Joel Wiegman
Found a relatively reasonable work-around for this problem (by not using surefire at all). I can now use the @BeforeSuite and @AfterSuite functionality of TestNG (and probably the suite functionality of Junit if I ever need to switch). Instead of using surefire, I'm using the maven antrun

maven-assembly-plugin

2007-10-25 Thread pdelaney
Hello; I am trying to build a jar file from our maven2 build. The project is a web project and we have a process that runs on the server as a Java application. I have been fooling around with the maven-assembly-plugin to try to get it to build a batch.jar file that I can use to execute a Java

Re: Issues with connecting to Oracle database when running schema generator via AndroMDA

2007-10-25 Thread Wayne Fay
The stacktrace makes it very clear that the AndroMDA plugin can't get a connection to your database. Make sure you have configured things properly per the plugin docs. It doesn't seem to be picking up your jdbc.url etc properties. Wayne On 10/25/07, Jerrold E. Eads [EMAIL PROTECTED] wrote:

[m2] can anyone help me get Intellij 7 to hot deploy my Maven 2 multi-module project to JBoss 4.2?

2007-10-25 Thread Mick Knutson
I want to hot deploy my maven 2.0.7 multi-module project to JBoss 4.2 from Intellij 7. I have 1 jar, 1 ejb3 jar, 1 war inside an ear. -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com http://www.myspace.com/mickknutson

Re: maven-assembly-plugin

2007-10-25 Thread Nick Stolwijk
Let's split it in two sections: My ultimate goal is to have a batch.jar file created with all of the dependencies in the project placed into this jar as .class files NOT jar files. This is a easy one, if you have the right plugin. Although the assembly plugin has an unpack goal, you'd want

Re: [m2] help getting jboss to start...

2007-10-25 Thread Daniele De Francesco
Hi, I'm sorry for replying so shortly, but you could see i.e. http://www.nabble.com/JBoss-Remote-Deployment-workaround-for-HTTP-500-error-t3607694.html just for the pom Besides of course, you could refer to http://cargo.codehaus.org/JBoss+4.x Just google a little... ;-) Regards

Re: Issues with connecting to Oracle database when running schema generator via AndroMDA

2007-10-25 Thread Wayne Fay
Also, I looked at the AndroMDA plugin documentation and it seems to be a Maven1 plugin. Are you sure this plugin works in M2 at all? You should probably talk to the AndroMDA people about your issues and make sure you haven't made any incorrect assumptions... For the future benefit of others,

How to override an activeByDefault profile?

2007-10-25 Thread Morris Jones
Say I have a settings.xml file with three profiles, dev qa and production. The active profile will set variables that determine which database to use and things like that. I have activations so that I can use -Denv=qa or -Denv=dev to get the right profile. But I'd like to have one of the

Re: How to override an activeByDefault profile?

2007-10-25 Thread Nick Stolwijk
I thought I had a solution, but it didn't work. I think it should work, but I'm not certain. This could be a bug. This is what I had: properties dev-activetrue/dev-active /properties profiles profile iddev/id activation property

Re: How to override an activeByDefault profile?

2007-10-25 Thread Ian Springer
I recall reading somewhere in the Maven docs or wiki that activeByDefault has higher precedence than even properties specified on the command line. Have you tried using: settings ... activeProfiles activeProfiledev/activeProfile /activeProfiles ... /settings ? Nick Stolwijk wrote: I

Re: version and artifact management

2007-10-25 Thread deckrider
Doh! I see it now, thanks. On 10/25/07, Nick Stolwijk [EMAIL PROTECTED] wrote: You can change the tasks continuum executes in a Maven 2 project. For example, every 5 minutes, check for a change in your SCM and if changed, run mvn test phase, and every day, run mvn release. Hth, Nick

Re: [m2] help getting jboss to start...

2007-10-25 Thread Mick Knutson
Well, this seems harder than I thought. I have a dev machine with JBoss 4.2.1.GA installed and configured already at c:/jboss-4.2.1.GA/ and I use this plugin: plugin groupIdorg.codehaus.cargo/groupId artifactIdcargo-maven2-plugin/artifactId

Re: How to override an activeByDefault profile?

2007-10-25 Thread Morris Jones
Hi Ian, thanks. Yes, I've tried that. It has the same effect as specifying a different profile on the command line. In this case, the one set in activeProfiles is _always_ active, and can't be overridden at all. :( Mojo Ian Springer wrote: I recall reading somewhere in the Maven docs or

Generating Test Sources

2007-10-25 Thread Brandon Enochs
Where should plugins place generated test sources? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

scm in pom?

2007-10-25 Thread deckrider
It appears that I have to put scm information into my pom.xml in order to use a Maven 2 project in Continuum. Is this true? The reason I'm concerned about this, is suppose I'm in CVS, and create a lot of branches and tags in each of my projects. Now I want to convert to Subversion. My job of

Re: Generating Test Sources

2007-10-25 Thread Tomasz Pik
On 10/25/07, Brandon Enochs [EMAIL PROTECTED] wrote: Where should plugins place generated test sources? Choose an arbitrary named directory under ${project.build.directory, (${project.build.directory/generated/myplugin for example), put tests there and then add this directory to

Re: Generating Test Sources

2007-10-25 Thread Michael McCallum
why are you generating tests? On Friday 26 October 2007 08:52, Brandon Enochs wrote: Where should plugins place generated test sources? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Generating Test Sources

2007-10-25 Thread Lee Meador
I would use src/test/generated-source. But as Tomasz mentioned you have to add that folder to compileSourceRoot. (The antrun plugin will let you do that.) You can only add one folder to compileSourceRoot as I remember. On 10/25/07, Brandon Enochs [EMAIL PROTECTED] wrote: Where should plugins

Re: maven-project-info-reports-plugin do not include Javadoc when using

2007-10-25 Thread Dennis Lundberg
You have aggregatetrue/aggregate in your javadoc-plugin configuration. That means that your site will only have one aggregated set of javadocs, and they will be created for the parent project. Mac-Systems wrote: Ok, there is the parent POM for the Project:, regards, Jens ?xml

Re: scm plugin and perforce

2007-10-25 Thread Dennis Lundberg
EJ Ciramella wrote: Is anyone using the scm plugin and perforce? Additionally, is anyone using the maven-changelog-plugin? I'm struggling to get any worthwhile output from this bugger... Did you read the FAQ? http://maven.apache.org/plugins/maven-changelog-plugin/faq.html -- Dennis

Re: Generating Test Sources

2007-10-25 Thread Brandon Enochs
Michael McCallum wrote: why are you generating tests? On Friday 26 October 2007 08:52, Brandon Enochs wrote: Where should plugins place generated test sources? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Generating Test Sources

2007-10-25 Thread Brandon Enochs
Lee Meador wrote: I would use src/test/generated-source. But as Tomasz mentioned you have to add that folder to compileSourceRoot. (The antrun plugin will let you do that.) You can only add one folder to compileSourceRoot as I remember. On 10/25/07, Brandon Enochs [EMAIL PROTECTED] wrote:

Re: scm in pom?

2007-10-25 Thread deckrider
On 10/25/07, Wendy Smoak [EMAIL PROTECTED] wrote: On 10/25/07, deckrider [EMAIL PROTECTED] wrote: It appears that I have to put scm information into my pom.xml in order to use a Maven 2 project in Continuum. Is this true? Yes. That's how Continuum knows how to find the source code to

[newbie] Pass path to jar dependency to Ant

2007-10-25 Thread Kevin Lawrence
The AntRun plugin gives me a way to pass a maven classpath to ant: property name=test_classpath refid=maven.test.classpath/ Is there a way get the path to an arbitrary jar in my local repository? My ant script requires a taskdef and I want to install the required jar into my repository and

How does maven resolve plugin dependencies

2007-10-25 Thread alexworden
Hi - this is a plea to someone with good command of the English language and deep understanding of the guts of Maven 2... if such a person exists. Please can explain what maven does to resolve a dependency. Currently when I try: mvn eclipse:eclipse It fails miserably with the cryptic

Re: How does maven resolve plugin dependencies

2007-10-25 Thread Wayne Fay
The plugin 'org.apache.maven.plugins:maven-eclipse-plugin' does not exist or no valid version could be found There are several reasons why this will happen. In short, Maven is unable to find the plugin. For new users, this generally means that you're behind some kind of Internet proxy and

Re: Debugging failed junit-test

2007-10-25 Thread Wayne Fay
I'm not sure that I understand you entirely, but here goes If you have shared test files, you will need to create a test-jar artifact and add it as a dependency to any projects that need to use it. This is documented in a mini-guide:

Re: How does maven resolve plugin dependencies

2007-10-25 Thread alexworden
Wayne Fay wrote: The plugin 'org.apache.maven.plugins:maven-eclipse-plugin' does not exist or no valid version could be found There are several reasons why this will happen. In short, Maven is unable to find the plugin. For new users, this generally means that you're behind some kind