1.0 Beta2

2007-09-25 Thread Julien Graglia
I'am running archive 1.0 beta2. when i run a db update I get this error : 17688224 [SocketListener0-5] WARN org.apache.maven.archiva.consumers.DatabaseUnprocessedArtifactConsumer:update-db-project - Project Model groupId = 'com.netceler.iv' artifactId = 'com.netceler.iv.spring' version =

Re: When builds are done in multi-module projects ?

2007-09-25 Thread Emmanuel Venisse
Damien Lecan a écrit : Can you send your logs when a projects is building without changes in SCM and dependencies (scheduled mode)? Here are logs filtered by thread pool-1-thread-1. 2007-09-22 13:00:00,648 [pool-1-thread-1] INFO BuildController:default- Initializing build

Configure Continuum to use an HTTP proxy

2007-09-25 Thread Jochen Wiedmann
Hi, I would like to load an external pom.xml into Continuum. To connect to the SVN server, an HTTP proxy must be used. However, I've got no idea how to tell Continuum that it must use a proxy server? Thanks, Jochen -- View this message in context:

Re: Configure Continuum to use an HTTP proxy

2007-09-25 Thread Emmanuel Venisse
You can add java proxy properties in wrapper.conf Emmanuel Jochen Wiedmann a écrit : Hi, I would like to load an external pom.xml into Continuum. To connect to the SVN server, an HTTP proxy must be used. However, I've got no idea how to tell Continuum that it must use a proxy server?

Re: Configure Continuum to use an HTTP proxy

2007-09-25 Thread Emmanuel Venisse
already done by olivier: http://jira.codehaus.org/browse/CONTINUUM-1489 Emmanuel Emmanuel Venisse a écrit : ok, it doesn't work :( Please file an issue and we'll look at it for a fix. Emmanuel Jochen Wiedmann a écrit : Ashley Williams-5 wrote: Does this mean you got it to work? I added

Re: Configure Continuum to use an HTTP proxy

2007-09-25 Thread Ashley Williams
For my installation, it's to load the pom via http when you add a project. I thought it was continuum doing the pom download rather than delegating to maven. I changed the maven settings files in any case, but still no luck. [EMAIL PROTECTED] wrote on 25/09/2007 13:32:43: It's to load pom

Re: svn: Directory 'target\.svn' containing working copy admin area is missing

2007-09-25 Thread Emmanuel Venisse
It's independant of Continuum. svn:ignore must be defined and committed AND files added in svn:ignore must be removed in svn Emmanuel Raffaele a écrit : Sorry but when you use maven with Continuum, how do you configure your env to globally ignore the target folder? In cvs the cvsignore was

Re: svn: Directory 'target\.svn' containing working copy admin area is missing

2007-09-25 Thread Christian Gruber
I would recommend removing it from the repository not the workspace since your local workspace is in an unstable state (you have a target folder under SCM, but maven deletes it as part of its process). If your svn repo was https://my.repo.com/repo/project/trunk then you could remove it by

Accessing a POM in CVS in Continuum 1.1

2007-09-25 Thread Val Tarasyuk
Hi, I am trying to add a Maven 2 project to Continuum 1.1, but my POM is in CVS. Now I know that 1.0.3 does not allow using an SCM address for the POM url, but I read in an earlier posting that this may be fixed for 1.1. When I try to do this, I get the more vague The specified resource cannot be

Re: Accessing a POM in CVS in Continuum 1.1

2007-09-25 Thread Emmanuel Venisse
scm urls aren't allowed in 1.1, but you can install a cvsweb to have an http interface for your cvs. Emmanuel Val Tarasyuk a écrit : Hi, I am trying to add a Maven 2 project to Continuum 1.1, but my POM is in CVS. Now I know that 1.0.3 does not allow using an SCM address for the POM url, but

RE: Continuum Emails

2007-09-25 Thread Robert O
Hi I've tried to follow your explanation on how to configure the mailnotifier, but I can't get it to work. Just keeps getting the errormessage: Error while trying to use the mailnotifier. I thought the mailnotifier would work more or less out of the box when installing Continuum? Do i need to

Re: Error while starting continuum beta-2

2007-09-25 Thread Wendy Smoak
On 9/25/07, I am Who i am [EMAIL PROTECTED] wrote: I could n't start continuum coz of following error, any one has any idea jvm 1| The JVM option is invalid: -XX:MaxPermSize=128m jvm 1| Could not create the Java virtual machine. Please provide more information about your environment

Re: Error while starting continuum beta-2

2007-09-25 Thread Wayne Fay
Don't suppose there's an easy way we can detect non-Sun JDKs to avoid this in the future? We'd probably just need to call java -version or similar and look for HotSpot -- if its there, its Sun and we can use -XX. If not, we just leave that out in the call. I've seen this a couple times now on

Re: attached tests dependency error

2007-09-25 Thread Tim Kettler
Grmph. But I can always say it was on purpose, to tell if someone is actually reading that far ;-) Wayne Fay schrieb: It was almost perfect, Tim. Then you screwed up the last example. ;-) dependency groupIdcom.myco.app/groupId artifactIdfoo/artifactId

Re: selective modules build

2007-09-25 Thread Tim Kettler
Hi, $ mvn --help usage: mvn [options] [goal(s)] [phase(s)] Options: [...] -P,--activate-profilesComma-delimited list of profiles to activate -Tim Sonar, Nishant schrieb: Hi, I want to run a selective modules when I am building, my pom hierarchy

Re: junit test ok, maven test fails , waiting online

2007-09-25 Thread Nick Stolwijk
I (and many other users) would be happy to help you with any problem, but, please, could you read the How To Ask Questions The Smart Way article[1] or any other document about asking questions on user lists? With regard, Nick Stolwijk [1] http://www.catb.org/~esr/faqs/smart-questions.html [2]

Re: problem setting up servlet and jsp api dependencies as provided scope

2007-09-25 Thread Tim Kettler
thebugslayer schrieb: Hi all, My problem is finally resolved! There are couple feedbacks I like to give back to Maven users/developers: 1. The archetype:create plugin generate webapp that has web descriptor(web.xml) set to version 2.3!!! big nono if you want EL stuff to work. Would be nice to

Re: Maven 2 and Cobertura - 100% coverage???

2007-09-25 Thread tarry
I've tried this (using 2.1 with 1.7) but the test results still incorrectly show 100% for all classes Steve Shucker wrote: I just had the same problem. I've got my standard reporting suite declared in a parent pom for several projects. The plugin is supposed to check the package type

Re: Repos Managers : Archiva, artifactory, proximity, file://

2007-09-25 Thread Julien Graglia
Brett Porter a écrit : Just on this particular one: On 25/09/2007, Julien Graglia [EMAIL PROTECTED] wrote: Archiva : pro store artifact on file cons : SLOW, very slow We've heard this from a couple of people, but no concrete details about what is slow. I

Re: Maven 2 and Cobertura - 100% coverage???

2007-09-25 Thread Sven Panko
Hello all, I'm successfully using cobertura 1.8 with cobertura-maven-plugin 2.1 in a project where aspectj is also used. For those interested, these are the relevant parts of my pom.xml configuration: build plugins plugin

Re: Why Maven is Hard?

2007-09-25 Thread Gisbert Amm
Dennis Lundberg wrote: Don't let the fact that you're not a native English speaker stop you from contributing to the documentation. I'm not a native English speaker myself and started out here at the Maven project by improving the documentation. Reading your mails on this list, I can say

Re: When builds are done in multi-module projects ?

2007-09-25 Thread Damien Lecan
Can you send your logs when a projects is building without changes in SCM and dependencies (scheduled mode)? Here are logs filtered by thread pool-1-thread-1. 2007-09-22 13:00:00,648 [pool-1-thread-1] INFO BuildController:default- Initializing build 2007-09-22 13:00:00,673

Re: Why Maven is Hard?

2007-09-25 Thread Gisbert Amm
Gisbert Amm wrote: O.k., I'll try it. I assume the current online docs are for the version 2.0.7 of Maven and I should create patches using that branch. Just immediately after that posting I found out that the maintainance branch obviously is maven-2.0.x Never mind. -Gisbert -- Gisbert

Re: Repos Managers : Archiva, artifactory, proximity, file://

2007-09-25 Thread Julien Graglia
Julien Graglia a écrit : May be I have to do a clean install, and reconfigure archiva by hand... Well , i just did it: I perform a clean install, I only modify the jetty port. I did NOT install my old conf/archiva.xml I start archiva and... i found my 3 managed repos, my 2 remote repo.. I force

Re: problem setting up servlet and jsp api dependencies as provided scope

2007-09-25 Thread Gisbert Amm
Tim Kettler wrote: thebugslayer schrieb: 1. The archetype:create plugin generate webapp that has web descriptor(web.xml) set to version 2.3!!! big nono if you want EL stuff to work. Would be nice to upgrade to latest, or at least 2.4 You should file a request for it in jira [1]. I just

maven-jar-plugin - manifest customization

2007-09-25 Thread Guillaume Boucherie
Hi, On my system I have two java installed : JAVA_HOME that point to a jdk1.5 JAVA_1_4_HOME that point to a jdk1.4 So when I run maven it use jdk1.5 and in my project I configure maven-compiler-plugin to use my jdk1.4. But when maven create the manifest for my project he use jdk1.5 for the

org.apache.maven.plugins:maven-site-plugin does NOT exist

2007-09-25 Thread Raffaele
Hi all! I'm trying to execute the exmple in chapter 7 from Better Builds with Maven, that example uses jetty and then after Continuum I am blocked before running Continuum and so I'm in the right mailing list ;-) I've set my internal repository under jetty (http://localhost:8081/internal).

Report API and lifecycle questions

2007-09-25 Thread Manos Batsis
Hello, Hope someone can help me with two basic questions :-) A) I use org.apache.maven.reporting.AbstractMavenReport#getOutputName() for the site renderer to create an appropriate link but could not find any way to provide the file extension. How can i tell it to point to foo.htm instead of

filter plugin?

2007-09-25 Thread John Coleman
Hi, We have a scenario where we want to build a WAR, but whereas the plugin will copy in and filter additional web resources during the package phase, we want to filter template source during an earlier source phase so that we can then use these processed templates during the package phase.

Re: filter plugin?

2007-09-25 Thread Kevin Jackson
Hi, Is there a plain filter plugin we can use just to do replacements for the templated code at a phase we designate earlier in the lifecycle? We use the ant-run plugin at the gen-sources phase to filter resources before the package phase (when the war plugin executes) Kev

Re: Maven custom project directory

2007-09-25 Thread Michael McCallum
1) source control... you can keep your history if you move to subversion 2) so you have to deploy a different war to dev, staging and prod?? how do you know its the same? there are better methods for parameterising config than that try spring ;-) 3) you can pre-compile the jsps with

Re: filter plugin?

2007-09-25 Thread Tim Kettler
Hi, have you looked at the web-resources feature of the war plugin [1]? Somthing like this should work: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId configuration webResources resource !-- this is relative to the

Re: filter plugin?

2007-09-25 Thread Tim Kettler
Sorry, I probably misread your post. Just ignore what I wrote. -Tim Tim Kettler schrieb: Hi, have you looked at the web-resources feature of the war plugin [1]? Somthing like this should work: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId

Just a quick one..

2007-09-25 Thread chumbobumbo
Guys, I wonder what am I doing wrong here ;-) I have a multiproject set up (one of them being 'package' ebj3) yet when I try to mvn install I get this: [INFO] The plugin 'org.apache.maven.plugins:maven-ejb3-plugin' does not exist or no valid version could be found Any ideas are greatly

RE: filter plugin?

2007-09-25 Thread John Coleman
Hi, How does an ant-run task perform filtering- can you share an example pelase? John -Original Message- From: Kevin Jackson [mailto:[EMAIL PROTECTED] Sent: 25 September 2007 11:16 To: Maven Users List Subject: Re: filter plugin? Hi, Is there a plain filter plugin we can use just to

Re: Generating manifest file

2007-09-25 Thread Tim Kettler
Hi, the ejb-plugin accepts the same archive/ configuration as the jar-plugin: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ejb-plugin/artifactId configuration archive manifest addClasspathtrue/addClasspath /manifest /archive

Re: Just a quick one..

2007-09-25 Thread Tim Kettler
Hi, the ejb3-plugin was never released as far as I know and is depricated. It never left the sandbox [1]. Just use the ejb-plugin and specify the ejb version you want to use: plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ejb-plugin/artifactId

RE: Generating manifest file

2007-09-25 Thread Denis Bessmertniy
Why it is not well documented. I can see only archive option. But what does it mean for me, if I'm newbie? -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 2:10 PM To: Maven Users List Subject: Re: Generating manifest file Hi, the

Re: ejb3-plugin: no valid version could be found? (was: Just a quick one..)

2007-09-25 Thread Gisbert Amm
Please spend a little more thoughts when choosing a subject line. Just a quick one.. is telling nothing about your question at all. -Gisbert chumbobumbo wrote: Guys, I wonder what am I doing wrong here ;-) I have a multiproject set up (one of them being 'package' ebj3) yet when I try to mvn

RE: Generating manifest file

2007-09-25 Thread Denis Bessmertniy
And can I specify someway not jar file names, but artifact names? -Original Message- From: Denis Bessmertniy [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 2:16 PM To: 'Maven Users List' Subject: RE: Generating manifest file Why it is not well documented. I can see only

Re: Repos Managers : Archiva, artifactory, proximity, file://

2007-09-25 Thread Brett Porter
Cool - you'll likely find the configuration in ~/.m2/archiva.xml. You can move it into the conf directory if you'd prefer. As for the slowness - is this consistent if you return to previous pages, or is it just the first time on each page? We're currently not pre-compiling the JSPs, which is a

maven release plugin

2007-09-25 Thread alexsil
Hi all, is it possible to pass as command line the new version that I want to set instead of insert manually when prompted ? Alex -- View this message in context: http://www.nabble.com/maven-release-plugin-tf4514980s177.html#a12877761 Sent from the Maven - Users mailing list archive at

Re: Generating manifest file

2007-09-25 Thread Tim Kettler
There is the 'Configure Archive Plugins' Guide [1], the 'Working with Manifests' Guide [2] and the section on manifest customization [3] in the jar-plugin documentation which points to the javadoc of the ArchiveConfiguration class. So it should be possible to find the information you were

Re: Configure Continuum to use an HTTP proxy

2007-09-25 Thread Jochen Wiedmann
Emmanuel Venisse wrote: You can add java proxy properties in wrapper.conf Thanks! -- View this message in context: http://www.nabble.com/Configure-Continuum-to-use-an-HTTP-proxy-tf4514961.html#a12877931 Sent from the Continuum - Users mailing list archive at Nabble.com.

Re: Generating manifest file

2007-09-25 Thread Tim Kettler
What exactly do you mean? Where do you want to specify artifact names? Denis Bessmertniy schrieb: And can I specify someway not jar file names, but artifact names? -Original Message- From: Denis Bessmertniy [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 2:16 PM To:

Re: maven release plugin

2007-09-25 Thread Nick Stolwijk
I only know of a parameter to automatically take the default: mvn --batch-mode release:prepare I don't know it that's enough for you? Hth, Nick Stolwijk alexsil wrote: Hi all, is it possible to pass as command line the new version that I want to set instead of insert manually when prompted

RE: Generating manifest file

2007-09-25 Thread Denis Bessmertniy
archive manifestEntries Class-Pathhere I want -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 2:55 PM To: Maven Users List Subject: Re: Generating manifest file What exactly do you mean? Where do you want to

FTP plugin for deploying a directory, _not_ an artifact

2007-09-25 Thread mrox
Hi, I need to be able to deploy an entire directory to an ftp server. Is anyone working on such a plugin? The only solutions I have googled so far use ant run, and include som creativity to include a dependency which ant needs. This seems very ugly. Either that or they use maven1 I can

Re: Why Maven is Hard?

2007-09-25 Thread Lally Singh
Documentation is 100% the largest weakpoint of maven. On 9/24/07, Steve Mactaggart [EMAIL PROTECTED] wrote: Case in point http://maven.apache.org/guides/mini/guide-multi-module.html Something that is really useful, but still non existant. Another datapoint: I've read both books, been using

Re: Configure Continuum to use an HTTP proxy

2007-09-25 Thread Jochen Wiedmann
Ashley Williams-5 wrote: Does this mean you got it to work? I added the proxy properties as Emmanuel suggested, even changed the property names to camel case and it still refused to work... No, this means I wanted to be polite. :-) In fact, I can't see it working even after adding

unit-testing of code-generating maven plugin

2007-09-25 Thread Thomas Fischer
Hi all, we have a maven plugin which generates java code, and we would like to unit-test it. One obvious test for such a plugin is to let it generate some code, compile that code, and unit-test the generated code. For this, the following steps need to be executed: 1) compile the plugin mojo 2)

Re: Configure Continuum to use an HTTP proxy

2007-09-25 Thread olivier lamy
It's to load pom via http right when you add a project ? Or using the proxy for svn commands ? If the first you must configure your proxy in .m2/settings.xml. For the second it's a other trouble. -- Olivier 2007/9/25, Jochen Wiedmann [EMAIL PROTECTED]: Ashley Williams-5 wrote: Does

RE: Why Maven is Hard?

2007-09-25 Thread Denis Bessmertniy
Now I'm making build procedure with maven for a large j2ee project. We use WebSphere 6. And I cannot find maven plugin fo it. Only for 5 is available. I spend more than a week for this build procedure and I see that it will be hard to use it for our team. Maven docs are time consuming. Now I

Re: Why Maven is Hard?

2007-09-25 Thread Nick Stolwijk
I always find this [1] a good starting point for the internal lifecycle and packaging workings of Maven. Hth, Nick Stolwijk [1] http://cvs.peopleware.be/training/maven/maven2/buildLifecyclePhases.html In maven, so much of it is implicit (but un/under documented) that it's tough to see what's

Re: Generating manifest file

2007-09-25 Thread Tim Kettler
What do you expect to happen with the specified artifact names? The extra entries defined in the manifestEntries/ tag are copied verbatim (with expressions like ${project.version} interpolated) to the manifest. So if you specify a artifact name (groupId:artifactId:version for example) it will

Re: maven release plugin

2007-09-25 Thread alexsil
Hi Nick, this parameter only prevent manual inserts but use default values. I need to modify this default values. Bye Nick Stolwijk-3 wrote: I only know of a parameter to automatically take the default: mvn --batch-mode release:prepare I don't know it that's enough for you? Hth,

Re: maven-jar-plugin - manifest customization

2007-09-25 Thread Jim Sellers
Do you just need to compile to 1.4 or do you actually need to use a different jdk (sun vs ibm)? If you just need 1.4, this might help: http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html Jim On 9/25/07, Guillaume Boucherie [EMAIL PROTECTED] wrote:

different flavours of the same artefact

2007-09-25 Thread Richard Chamberlain
Hi There, I'm just porting a build to maven2, and I'm wondering what is the best way to produce different flavours of an application. For example we produce different versions of a jar: optimized, debug and obfuscated. (sometimes for different versions of java) All 3 are built in one

Re: Configure Continuum to use an HTTP proxy

2007-09-25 Thread Emmanuel Venisse
ok, it doesn't work :( Please file an issue and we'll look at it for a fix. Emmanuel Jochen Wiedmann a écrit : Ashley Williams-5 wrote: Does this mean you got it to work? I added the proxy properties as Emmanuel suggested, even changed the property names to camel case and it still refused

Re: org.apache.maven.plugins:maven-site-plugin does NOT exist

2007-09-25 Thread Wayne Fay
Try mvn -U install. Wayne On 9/25/07, Raffaele [EMAIL PROTECTED] wrote: Hi all! I'm trying to execute the exmple in chapter 7 from Better Builds with Maven, that example uses jetty and then after Continuum I am blocked before running Continuum and so I'm in the right mailing list ;-)

Re: Why Maven is Hard?

2007-09-25 Thread Ryan Moquin
No it's not a catch 22. I will clarify what I was saying in my other statement. People have exactly 2 choices when faced with a problem such as documentation. The first one is to say, Boy this product is too hard for me to learn and there isn't enough documentation, so I'll go find something

Re: Why Maven is Hard?

2007-09-25 Thread Roger Ye
Thanks for the recommendation of this page, I think before reading that I even don't understand what I was asking to maven to let it work. :P In the build lifecycle introduction on maven site, there's a table which lists the phase - goal mapping for jar packaging, but that table doesn't have

*** CHECKSUM FAILED

2007-09-25 Thread Angel Sotirov
Hi, Is there a way to resolve the annoying *** CHECKSUM FAILED from internal remote archiva repository? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

What is a used, undeclared dependency?

2007-09-25 Thread Torsten Schlabach
Hi? I am analyzing my project with the dependency plugin: http://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html It says I have used, undeclared dependencies. Does that mean, my code depends on libs which I have failed to declare as a dependency, but Maven applied some

Re: Repos Managers : Archiva, artifactory, proximity, file://

2007-09-25 Thread Julien Graglia
Brett Porter a écrit : Cool - you'll likely find the configuration in ~/.m2/archiva.xml. You can move it into the conf directory if you'd prefer. As for the slowness - is this consistent if you return to previous pages, or is it just the first time on each page? We're currently not

RE: What is a used, undeclared dependency?

2007-09-25 Thread Brian E. Fox
Torsten, You got it. Because compile picks up transitive dependencies, you are actually relying on someone else's dependency to get compiled. That means you lose control over which version is used and the actual dependency tree isn't accurately reflecting your project. --Brian -Original

Re: What is a used, undeclared dependency?

2007-09-25 Thread Tim Kettler
Hi, Torsten Schlabach schrieb: Hi? I am analyzing my project with the dependency plugin: http://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html It says I have used, undeclared dependencies. Does that mean, my code depends on libs which I have failed to declare as a

Copying files after a build

2007-09-25 Thread Gordon Dickens
Hello, I have a multi project build with Maven 2 and when it is complete, I want to copy several files to a common directory. Currently I am using the Ant plugin to do this. Is there a more Maven appropriate implementation? snippet plugins plugin

RE: Why Maven is Hard?

2007-09-25 Thread Siegmann Daniel, NY
Maven docs are time consuming. Now I recall words from one of our team member: I my last project we started to use maven and then we refused to use it because it was hard. Then we started to use Ant, and that is ok. Maven has a steep learning curve, no doubt. However, once you've gotten

Re: What is a used, undeclared dependency?

2007-09-25 Thread Torsten Schlabach
Thanks Tim! So there is nothing wrong with having a used but undeclared dependency? Regards, Torsten Original-Nachricht Datum: Tue, 25 Sep 2007 16:07:59 +0200 Von: Tim Kettler [EMAIL PROTECTED] An: Maven Users List users@maven.apache.org Betreff: Re: What is a used,

Re: svn: Directory 'target\.svn' containing working copy admin area is missing

2007-09-25 Thread Raffaele
Thanks but it doesn't works! I tried also to restart Continuum... I have executed the following command starting from each directory of my modules containing the target directory: svn propedit svn:ignore directory then it opens a editor where I write target as pattern to ignore. In fact if I

Dependency analysis: dependency:analyze and dependency-analyzer:analyze

2007-09-25 Thread Torsten Schlabach
Hi! I am trying to analyze dependencies of a quite complex Maven project. Obviouosly there is http://maven.apache.org/plugins/maven-dependency-plugin/index.html But is the stuff mentioned here: http://www.mail-archive.com/users@maven.apache.org/msg61356.html the same? If not, what happened

RE: What is a used, undeclared dependency?

2007-09-25 Thread Brian E. Fox
It should be declared if you are using it. If not, and that dependency goes away because it's not used by your dependency anymore, your build will suddenly fail. -Original Message- From: Torsten Schlabach [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 10:24 AM To:

Re: svn: Directory 'target\.svn' containing working copy admin area is missing

2007-09-25 Thread Emmanuel Venisse
You can see all files/directories that aren't svn files and not in svn:ignores by running svn st Emmanuel Raffaele a écrit : Thanks but it doesn't works! I tried also to restart Continuum... I have executed the following command starting from each directory of my modules containing the

Re: Why Maven is Hard?

2007-09-25 Thread Ryan Moquin
Exactly, I'll never turn back. I'll also mention again, I don't know who uses netbeans, but I really find this Maven2 netbeans plugin to be invaluable: http://mevenide.codehaus.org/m2-site/ It has a lot of context sensitive input for the pom.xml, for dependencies and treats a maven2 project as

RE: Dependency analysis: dependency:analyze and dependency-analyzer:analyze

2007-09-25 Thread Brian E. Fox
It was merged into the dependency plugin, so yes they are the same. -Original Message- From: Torsten Schlabach [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 10:29 AM To: users@maven.apache.org Subject: Dependency analysis: dependency:analyze and dependency-analyzer:analyze

Re: svn: Directory 'target\.svn' containing working copy admin area is missing

2007-09-25 Thread Raffaele
I believe perhaps the problem is in the continuum working directory...here the target folder was versioned despite I put it in the ignore list but I'm new to Continuum and so I stop the service, I cleaned the C:\continuum-1.1-alpha-2\apps\continuum\webapp\WEB-INF\working-directory and I

Re: svn: Directory 'target\.svn' containing working copy admin area is missing

2007-09-25 Thread Nick Stolwijk
I think you're on the good way, but not to the end. 1. Did you actually remove all the target folders? (svn rm target) 2. Did you actually check in the removal and the propset svn stat target should give: target: (Not a versioned resource) So this are real repository changes, not only in

Re: svn: Directory 'target\.svn' containing working copy admin area is missing

2007-09-25 Thread Raffaele
Sorry but when you use maven with Continuum, how do you configure your env to globally ignore the target folder? In cvs the cvsignore was committed with the project and so anybody checked out that project had already the cvsignore. But with subversione I don't understand how achieve this! I

Re: maven-jar-plugin - manifest customization

2007-09-25 Thread Guillaume Boucherie
My problem is not on jdk version. I just want to test maven. And when you use the fork mode in compiler the jdk's manifest entry is not correct. So I want to know how to get the correct value in manifest. Thanks -- CletteBou clettebou.miniville.fr 2007/9/25, Jim Sellers [EMAIL PROTECTED]: Do

RE: Generating manifest file

2007-09-25 Thread Denis Bessmertniy
I have a promlem with this. Now I use addClasspath/ and maven adds all jars enumeration to manifest.mf this way, for example, Class-Path: log4j-1.0.jar But my in lib dir and I need to have this in manifest lib/log4j-1.0.jar. How I may have it? -Original Message- From: Tim Kettler

Re: Generating manifest file

2007-09-25 Thread Tim Kettler
This will do: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ejb-plugin/artifactId configuration archive manifest addClasspathtrue/addClasspath classpathPrefixlib/classpathPrefix /manifest /archive

Re: What is a used, undeclared dependency?

2007-09-25 Thread Tim Kettler
Wouldn't this be a useful rule for the enforcer plugin? -Tim Brian E. Fox schrieb: It should be declared if you are using it. If not, and that dependency goes away because it's not used by your dependency anymore, your build will suddenly fail. -Original Message- From: Torsten

mojo inheritance

2007-09-25 Thread Stuart McCulloch
Hi, I've developed a small plugin that lets you extend mojos from other maven plugins by merging the plugin metadata: http://www.ops4j.org/projects/pax/construct/maven-inherit-plugin/index.html I've successfully used this to extend various core plugins - is anyone interested in this approach

Re: What is a used, undeclared dependency?

2007-09-25 Thread Mark Hobson
On 25/09/2007, Tim Kettler [EMAIL PROTECTED] wrote: Wouldn't this be a useful rule for the enforcer plugin? It can be used in a similar manner to the enforcer rules:

Re: mvn site doesn't run JUnits configured to run during 'integration-test' phase

2007-09-25 Thread PeteTh
Anyone ? PeteTh wrote: Just wanted to ask whether there is any plan for supporting 'Integration Tests' in Maven Site Reporting. Currently although there is a well know 'integration-test' phase in Maven, if Surefire JUnits are configured to run during this phase, they are not executed

Re: maven-jar-plugin - manifest customization

2007-09-25 Thread Tim Kettler
Hi, this is because the compilation of the sources (compiler-plugin) and the packaging (jar-plugin) is done in two steps. Even if you fork the compiler, the jar-plugin execution isn't forked and thus runs under the java version you invoked maven with. You can override the maven generated

Re: What is a used, undeclared dependency?

2007-09-25 Thread Tim Kettler
Mark Hobson schrieb: On 25/09/2007, Tim Kettler [EMAIL PROTECTED] wrote: Wouldn't this be a useful rule for the enforcer plugin? It can be used in a similar manner to the enforcer rules:

how to inherit scopeprovided/scope to transitive dependencies

2007-09-25 Thread aldana
hi, i am deploying an axis2 app to tomcat. i need some libraries for compile time but do not need to package them because they are provided by webapp-container. that's why i use scopeprovided/scope. in my case this is for instance: dependency groupIdorg.apache.ws.commons.neethi/groupId

Re: different flavours of the same artefact

2007-09-25 Thread Wayne Fay
Maven uses classifiers for this flavoring concept. The default naming is groupId/artifactId-version-classifier.packaging. So in your example, it would be product-1.0-obfuscated.jar, and the dependency declaration would be: dependency groupIdname/groupId artifactIdproduct/artifactId

Re: maven-jar-plugin - manifest customization

2007-09-25 Thread Wayne Fay
The other approach of course is to change your JAVA_HOME and use the jdk4 compiler to run your Java process. Then everything will match up and you won't need any extra configuration. Wayne On 9/25/07, Tim Kettler [EMAIL PROTECTED] wrote: Hi, this is because the compilation of the sources

Re: FTP plugin for deploying a directory, _not_ an artifact

2007-09-25 Thread Wayne Fay
I don't know of any such plugin. As you suggested, it would probably be easy to write something with Antrun, or even call out to a shell script with Exec plugin, etc. Wayne On 9/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I need to be able to deploy an entire directory to an ftp

Re: Why Maven is Hard?

2007-09-25 Thread Lee Meador
One problem is that you only want to document some of the internal workings of Maven. If you document it in too much detail, you lose the ability to innovate and make it better. It's difficult, though, to find the correct amount of detail to document. -- Lee On 9/25/07, Ryan Moquin [EMAIL

Re: Copying files after a build

2007-09-25 Thread Wayne Fay
I was thinking about this the other day, and ran across this blog that might be helpful: http://www.gridshore.nl/blog/index.php?/archives/46-Luntbuild-and-Maven-2,-the-ideal-couple.html Wayne On 9/25/07, Gordon Dickens [EMAIL PROTECTED] wrote: Hello, I have a multi project build with Maven 2

fresh lookup for snapshots with pom-packaging fails

2007-09-25 Thread aldana
hi, working with snapshots with packaging pom type does not work. it does not lookup on internal repository whether there is a new snapshot version available. is that a wished behaviour? i would expect the same lookup semantics as with package type 'jar' (every build servers are looked if there

[m2] Where to put custom BaseTestCase.java ?

2007-09-25 Thread Mick Knutson
I want to create and use my own BaseTestCase classes but want to know where I should put them in a multi-module setup? -- 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_dot_com

howto express that plugin should only execute with certain package type

2007-09-25 Thread aldana
i want to execute/load a plugin only if a pom is of a certain packaging. i want to express this in a parent pom which all my projects are inheriting from. for instance: my assembly plugin should use a different assembly descriptor if the packaging is set to war. for avoiding duplication i would

Re: 1.0 Beta2

2007-09-25 Thread Julien Graglia
Hi, I'm quite sure my poms are ok but here is was I got when i use Show Reports from archiva web app, for my managed repo : [top] / com / netceler / iv / com.netceler.iv.core / 0.2 Project Model groupId = 'com.netceler.iv' artifactId = 'com.netceler.iv.spring' version = '0.2'

RE: Why Maven is Hard?

2007-09-25 Thread Marziou, Gael
I also think that Maven is hard because it has not been endorsed by large vendors like BEA. BEA WebLogic comes with a set of ant tasks and conventions like the split directory project structure. There is a WebLogic plugin on codehaus that encapsulates these ant tasks but using it is difficult

Re: [m2] Where to put custom BaseTestCase.java ?

2007-09-25 Thread Dan Tran
put it in a separate module .. and link it to othe modules via test scope On 9/25/07, Mick Knutson [EMAIL PROTECTED] wrote: I want to create and use my own BaseTestCase classes but want to know where I should put them in a multi-module setup? -- Thanks, Mick Knutson

  1   2   >