Maven Resources Query

2007-09-25 Thread Kram
Hi guys, a simple on here. I do have another thread that was similar to this, but it was getting off topic and cluttered. Does anyone know how to copy many similar resources using the war plug-in, like so: if my dir structure is like this: /webApp/admin/tiles/some JSP files /webApp/other/tiles/

Re: mojo inheritance

2007-09-25 Thread Rune Flobakk
I also find this quite interesting. I did some plugin development this spring, and I several times thought to myself "this is already done in . If I am doing this I am duplicating code". In particular I was making a plugin which should compile some intermediary AspectJ sources without the user

Re: Retro-fitting existing project to use Maven

2007-09-25 Thread Tim Kettler
Hi, James Depaul schrieb: We have an existing project that we're trying to configure to use Maven 2.x. The goal is to simply be able to compile and Test the project using existing test cases. I've configured the pom.xml for basic project configuration, but have run into an issue already: it

Re: how to inherit provided to transitive dependencies

2007-09-25 Thread Tim Kettler
Hi, can it be, that the unwanted dependencies get pulled in as transitive depenendencies of some other depenendency than 'neethi', that has not scope 'provided'? -Tim aldana schrieb: hi, i am deploying an axis2 app to tomcat. i need some libraries for compile time but do not need to packag

Re: Debugging Maven in Netbeans

2007-09-25 Thread Milos Kleint
Ravi Luthra wrote: I get the same Exception when I try to set a main class in the properties of a project. Almost all of the projects I open are not created from the archetype, but custom edited. Same configuration too 5.5.1 and latest Mevenide listed on the Mevenide 2 website. I actually upgrad

Re: Why Maven is Hard?

2007-09-25 Thread Kevin Jackson
Hi, I've been reading this thread with interest. > 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 the

RE: filter plugin?

2007-09-25 Thread Brian E. Fox
The resource plugin does filtering as part of the normal lifecycle (things in /src/main/resources by default). You can bind it to other phases if you want. -Original Message- From: John Coleman [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 6:15 AM To: Maven Users List Subjec

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

2007-09-25 Thread Brian E. Fox
To my knowledge, only the scp wagon supports directory copying (hence the inability to deploy sites any other way besides file). It would seem that the ftp wagon would need to support this first and then a plugin could leverage it. --Brian -Original Message- From: [EMAIL PROTECTED] [mailt

RE: mojo inheritance

2007-09-25 Thread Brian E. Fox
This is interesting functionality that the dev team should be aware of. I know it's frequently asked how to extend a plugin. --Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart McCulloch Sent: Tuesday, September 25, 2007 11:21 AM To: Maven User

RE: fresh lookup for snapshots with pom-packaging fails

2007-09-25 Thread Brian E. Fox
By default maven only looks for new snapshots once a day. You can force it to check by using the -U flag and you can adjust the frequency in your repository section of pom or settings. -Original Message- From: aldana [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 1:02 PM To:

RE: How to list all goals

2007-09-25 Thread Brian E. Fox
http://maven.apache.org/plugins/maven-help-plugin/describe-mojo.html -Original Message- From: jweekend [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 3:09 PM To: users@maven.apache.org Subject: How to list all goals Many new http://wicket.apache.org Wicket users are getti

RE: selective modules build

2007-09-25 Thread Brian E. Fox
Put each module in a profile and then you could do mvn -P1,2 or -P3. If you put all of them in a profile with then this one will go if nothing else is active but is deactivated if something else is. -Original Message- From: Sonar, Nishant [mailto:[EMAIL PROTECTED] Sent: Tuesday, Septembe

RE: copy-dependencies and sources

2007-09-25 Thread Brian E. Fox
The sources mojo doesn't have that even though I swore it did. You can use the copy dependencies instead, set the classifier to sources, and set the failOnMissingClassifierArtifact = false. This will take the list of dependencies (filtered optionally) and then try to retrieve the classified version

RE: Copying files after a build

2007-09-25 Thread Brian E. Fox
Use the maven-dependency-plugin copy mojo: http://maven.apache.org/plugins/maven-dependency-plugin Copying files is exactly how it got started, but it can do much more than that now. -Original Message- From: Gordon Dickens [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 10:09

RE: Maven custom project directory

2007-09-25 Thread Brian E. Fox
Yep, I use it fairly frequently. The newer versions are much easier to use with a config file and smarter options. -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 8:09 PM To: Maven Users List Subject: Re: Maven custom project directory We us

RE: Dependency resolution for modules...

2007-09-25 Thread Brian E. Fox
Hi Jim, Install is actually a phase in the lifecycle. Maven executes all previous phases up to the one requested. See here for more info: http://www.sonatype.com/book/lifecycle.html --Brian -Original Message- From: Jim Sellers [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 8

RE: Dependency resolution for modules...

2007-09-25 Thread Brian E. Fox
Maven passes around Artifact objects (really objects that implement Artifact) for dependencies and this object contains a file handle to the jar in normal cases. In multimodules, when only mvn compile is run, the file handle actually points to the target/classes folder of the dependency. (thus the

Re: maven-scm-provider-starteam

2007-09-25 Thread Dan Tran
mvn scm:checkout -DconnectionUrl=see-your-scmurl-in-pom -DscmVersion=yourtagname -D On 9/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > It is not entirely clear from the site documentation how you checkout by > label (although the scmVersion and scmVersionType look like good > candidates),

maven-scm-provider-starteam

2007-09-25 Thread robert . egan
It is not entirely clear from the site documentation how you checkout by label (although the scmVersion and scmVersionType look like good candidates), or is this an area still requiring development? If so, I will create a request in JIRA and even begin working on it. Thanks Robert Egan This e

Re: Why Maven is Hard?

2007-09-25 Thread Wendy Smoak
On 9/25/07, Brian E. Fox <[EMAIL PROTECTED]> wrote: > It's not an immediate help, but go back to your vendors and tell them > you want maven integration. I know many of them are working on it but > just like any product, customer demand can help drive it. I doubt the > big guys were first in line w

Re: how to configure module site report?

2007-09-25 Thread Yan Huang
let me rephrase my 1st question: is there a way to configure the generated directory name when I run "mvn site:stage"? It seems to me that it uses the "name" tag in pom.xml from the top directory. For example, if I have this defined in the top level: mycompany myexample-pom 1.0-SNAPSHOT Ex

Re: how to configure module site report?

2007-09-25 Thread Jim Sellers
1) "auto generate" and modify it manually later? Isn't the point not to manually edit any generated artifacts? I'm assuming that I'm not understanding that question so I'm going to skip that... 2) I don't believe that you can skip any phases of the lifecycle. I don't see how maven could use dat

Re: Maven custom project directory

2007-09-25 Thread Wayne Fay
We used it very successfully on a number of projects over a year ago. If anyone is stuck running CVS only because they are worried about losing their history, you should check it out. Wayne On 9/25/07, Kram <[EMAIL PROTECTED]> wrote: > > > Thanks for the info, although like I said, I cant really

Re: Dependency resolution for modules...

2007-09-25 Thread Jim Sellers
mvn install will just compile the source. I don't think that it will even compile the tests (you need mvn test-compile or something like that) If you want to "install" your artifact into your local repo, you need to run "mvn install". HTH Jim On 9/25/07, James Depaul <[EMAIL PROTECTED]> wrote

Re: plugin for XML properties file read?

2007-09-25 Thread Jim Sellers
Are you trying to use an external xml file or are you just talking about using properties? In your pom you can use properties like this: 4.0.0 ... bar bar1 ... ... Then you can use them like ${foo1} in the rest of your pom. Not sure if that solves your issue. HTH Jim On 9/25/07, Sonar,

Re: how to configure module site report?

2007-09-25 Thread Yan Huang
Thanks, That works. Two more questions:) 1. is there a way to auto-generate a site descriptor based on the info in pom.xml? later, I can just alter that descriptor if needed. 2. is there a way (on the command line) to skip all previous phases but just "site" one when I just want to get the report

missing files for site generation

2007-09-25 Thread Gregory Kick
between one build and the next, maven is suddenly failing to copy maven-base.css, print.css, site.css, and maven-feather.png. does anyone have any idea why this might be? there's nothing in the output with or without -X. i'm at a loss. -- Gregory Kick http://kickstyle.net/ ---

Dependency resolution for modules...

2007-09-25 Thread James Depaul
Hi all - I'm a little confused about how maven resolves dependencies that I have defined for my project modules. I have the following project directory structure: cods (main dir ) CodsCommon (sub-dir) CodsWeb (sub-dir) I have a pom.xml file setup in cods director

Re: Maven custom project directory

2007-09-25 Thread Kram
Thanks for the info, although like I said, I cant really get the time to migrate for a while, so Im going to just have to bookmark this link for now... Thorsten Heit-3 wrote: > > Hi, > > http://cvs2svn.tigris.org/ > > (although I have to admit that I never used it) > > HTH > > Thorsten >

Re: Maven custom project directory

2007-09-25 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > I didn't know that, but either way, moving to a different source control > system is not really a possible option, at least not for a few months. > > So there is a way to migrate from CVS to subversion, keeping all the > history, then, changing

Re: Maven custom project directory

2007-09-25 Thread Kram
I didn't know that, but either way, moving to a different source control system is not really a possible option, at least not for a few months. So there is a way to migrate from CVS to subversion, keeping all the history, then, changing around the directory strucutre of the system, and still kee

[ANN] grails-maven-plugin 0.2

2007-09-25 Thread Arnaud HERITIER
Hi Communities, The second release of the grails-maven-plugin is now available. You'll find the full list of changes on jira : http://forge.octo.com/jira/secure/ReleaseNote.jspa?version=10331&styleName=Html&projectId=10120&Create=Create In this release you can now use the plugin with grails

RE: Why Maven is Hard?

2007-09-25 Thread Brian E. Fox
It's not an immediate help, but go back to your vendors and tell them you want maven integration. I know many of them are working on it but just like any product, customer demand can help drive it. I doubt the big guys were first in line with Ant either. --Brian -Original Message- From: M

Re: selective modules build

2007-09-25 Thread Wayne Fay
I don't need that functionality, so I'd say no thanks. But I don't want to stop you or anyone else from working on it. If you need it, you're welcome to add it and contribute it back to the project for possible inclusion in a future version of the tool. Wayne On 9/25/07, Sonar, Nishant <[EMAIL P

Error while starting continuum beta-2

2007-09-25 Thread I am Who i am
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. jvm 1| jvm 1| Usage: java [-options] class [args...] jvm 1|(to execute a class) jvm 1

RE: selective modules build

2007-09-25 Thread Sonar, Nishant
There should be a command line option to selectively build modules. Like a module set only. What do you think? -Nishant -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 5:21 PM To: Maven Users List Subject: Re: selective modules build That is

Re: Debugging Maven in Netbeans

2007-09-25 Thread Ravi Luthra
I get the same Exception when I try to set a main class in the properties of a project. Almost all of the projects I open are not created from the archetype, but custom edited. Same configuration too 5.5.1 and latest Mevenide listed on the Mevenide 2 website. I actually upgraded from 5.5 to see if

RE: Copying files after a build

2007-09-25 Thread Sonar, Nishant
You can use copy plugin de.qu.maven.maven-plugins copy-maven-plugin 1.0.3 install

Re: selective modules build

2007-09-25 Thread Wayne Fay
That is the only available option at this time. Wayne On 9/25/07, Sonar, Nishant <[EMAIL PROTECTED]> wrote: > Thanks tim, > > But for this I need to add for all kind of > combinations for modules. > > e.g. > > > 1n2 > >

plugin for XML properties file read?

2007-09-25 Thread Sonar, Nishant
Hi Does anyone knows an XML Properties file plugin , like we had XML property file in ANT I catch up with properties plugin from Zarar Siddiqui but it doesn't solve my problem Thanks Nishant

RE: selective modules build

2007-09-25 Thread Sonar, Nishant
Thanks tim, But for this I need to add for all kind of combinations for modules. e.g. 1n2 Ch1

Re: Maven not compiling source under generated-sources

2007-09-25 Thread Wayne Fay
Or use build-helper-m-p to attach gen-src to build... Wayne On 9/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > That's by design. ;) Seriously, the plugins, which generates sourcecode > normally place their code in a subdirectory of target/generated-sources and > add that directory to th

RE: Maven not compiling source under generated-sources

2007-09-25 Thread nick_stolwijk
That's by design. ;) Seriously, the plugins, which generates sourcecode normally place their code in a subdirectory of target/generated-sources and add that directory to the compiler. Your ant task doesn't add a directory to the compiler plugin. Can you take a look at the axis2 maven plugin[1]?

Maven not compiling source under generated-sources

2007-09-25 Thread Andrew Strickland
Hi all, I am developing a "wsdl first" web service ( and client ). I use the Axis2 ant task to generate the java source for the web service from the wsdl and place it in the target/generated-sources directory. However, Maven is not compiling the generated source under the target/generate

Re: *** CHECKSUM FAILED

2007-09-25 Thread Jim Sellers
Another hack (that I've seen, but can't take credit for) is to walk the directory of your corp repo and regenerate the checksums. Call this in a cron. #!/bin/sh # Recurse through subdirectories, creating missing checksums needed for Maven. export REPO_ROOT=/path/to/corp/repo cd $REPO_ROOT for

Re: how to inherit provided to transitive dependencies

2007-09-25 Thread Michael McCallum
solution 1 try... standard OO principles to encapsulate the depedency you wish to mask and use excludes to keep it from the war e.g. war -> b -> a gives you war(a,b) to war -> c -> (exlude a) b ->a gives you war(c,b) c can be a jar or even just a pom project, jars are b

Re: unit-testing of code-generating maven plugin

2007-09-25 Thread Insitu
Thomas Fischer <[EMAIL PROTECTED]> writes: > 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 ste

Re: *** CHECKSUM FAILED

2007-09-25 Thread Martin Pruefer
Hi, try setting the checksum policy in your repository definition, like in this snippet from a pom.xml: [...] true ignore internal-m2repo Internal Maven2 Repository http://mavenrep.mycompany.com

How to list all goals

2007-09-25 Thread jweekend
Many new http://wicket.apache.org Wicket users are getting their first experience of using maven too, so we try to provide some simple guidelines for them at our http://jweekend.co.uk/dev/LWUGReg/ London Wicket User Group meetings. We start by building a quickstart project (using your very use

Re: how to configure module site report?

2007-09-25 Thread Dennis Lundberg
Yan Huang wrote: Hello, I have a bunch of modules under the top project. When I run the site report, the report link to the modules are defined as "target/site/module1/index.html". How do I configure project-info plug-in to generate the link to "module1/target/site/index.html" instead? The sho

Fwd: Cobertura fails

2007-09-25 Thread Marco Mistroni
Hello all, i have a webapp in which i am using maven2. My webapp should produce reports... one of which is cobertura.. but unfortunately, whenever cobertura gets called (either by mvn site, mvn install, mvn cobertura:check as example) it fails miserably with a NUllPOInterException and i cannot f

how to configure module site report?

2007-09-25 Thread Yan Huang
Hello, I have a bunch of modules under the top project. When I run the site report, the report link to the modules are defined as "target/site/module1/index.html". How do I configure project-info plug-in to generate the link to "module1/target/site/index.html" instead? Thanks Yan

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

2007-09-25 Thread Mick Knutson
Thanks! On 9/25/07, Dan Tran <[EMAIL PROTECTED]> wrote: > > 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

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 > > http://www.

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: 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' artif

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 l

[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 htt

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

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 Mave

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 PROTEC

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: 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: 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: name product 1.0 obfuscated Wayne On 9/25/07, Richard Chambe

how to inherit provided 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 provided. in my case this is for instance: org.apache.ws.commons.neethi neethi 2.0 true provided neethi

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: https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/faili

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 en

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: 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: https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/failing-the-build-on-depende

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 (o

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 Schlabac

Re: Generating manifest file

2007-09-25 Thread Tim Kettler
This will do: org.apache.maven.plugins maven-ejb-plugin true lib -Tim Denis Bessmertniy schrieb: I have a promlem with this. Now I use and maven adds all jars enumeration to manifest.mf this way, for exam

RE: Generating manifest file

2007-09-25 Thread Denis Bessmertniy
I have a promlem with this. Now I use 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 [mailto:[EMAIL PROT

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]>: > >

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 beli

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 i

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 restar

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: 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 i

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 "tar

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: users@maven

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 t

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

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 > Betreff: Re: What is a used, undeclared dependency?

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 got

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 maven-antrun-plugin

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 depend

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 Messa

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 > pre-

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 magi

*** 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]

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 head

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 el

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 l

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

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 bu

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

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? > >

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 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 appear as is in

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

  1   2   >