Error on adding indexing context local

2008-10-07 Thread Wolfgang.Winter
On starting Eclipse with Maven plugin I get always these error messages, saying system cannot find file _y.fnm: 08.10.08 08:01:10 CEST: Error on adding indexing context local; D:\projekte\.metadata\.plugins\org.maven.ide.eclipse\nexus\local\_y.fnm (Das System kann die angegebene Datei nicht fin

Re: Can't I define the parent pom's version is LATEST?

2008-10-07 Thread Stephen Connolly
I know this does not answer your question, but have a look at the versions-maven-plugin specifically, running mvn versions:update-parent it may be an alternative solution for the problem you have Sent from my iPod On 8 Oct 2008, at 04:07, "陈思淼" <[EMAIL PROTECTED]> wrote: I create a parent

Re: Best practice for branching projects?

2008-10-07 Thread Stephen Connolly
actually I think it's a side effect of doing [1,2-!) and not [1,2.0.0-!) but I could be wrong Sent from my iPod On 8 Oct 2008, at 03:27, "Barrie Treloar" <[EMAIL PROTECTED]> wrote: On Wed, Oct 8, 2008 at 11:05 AM, Michael McCallum <[EMAIL PROTECTED]> wrote: oh and never start your version

Re: Ant Tasks for Maven on Windows Error

2008-10-07 Thread Brett Porter
it looks like the repository ID being used is incorrect. There should be a short, textual identifier, and then the full URL is the one given above. It seems the URL has been duplicated in your case. - Brett 2008/10/8 Andrew Ochsner <[EMAIL PROTECTED]>: > Hi: > > I am trying to add Spring (as an e

Re: Problem with mvn release:prepare

2008-10-07 Thread Brett Porter
It seems the current version of the project you are trying to release is already a release, ie the version does not end in SNAPSHOT. Cheers, Brett 2008/10/8 <[EMAIL PROTECTED]>: > > Hi, > > I'm having some problems on running mvn release:prepare in a multi-module > project. Can anyone help? > >

Ant Tasks for Maven on Windows Error

2008-10-07 Thread Andrew Ochsner
Hi: I am trying to add Spring (as an example) as a dependency using Ant Tasks for Maven (inlining in the Ant build.xml). I've been able to do this without any problems w/ other dependencies. Here's the error I get: runtime-dependencies: [artifact:dependencies] [INFO] artifact org.springframewor

Problem with mvn release:prepare

2008-10-07 Thread mgois
Hi, I'm having some problems on running mvn release:prepare in a multi-module project. Can anyone help? Error message: D:\matheus\workspace2\TesteMaven>mvn -e release:prepare + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] TesteMaven [INFO

Re: Best practice for branching projects?

2008-10-07 Thread Stefan Fritz
Hi Simone, Thanks a lot haven't thought about ranges for this but now it seems to be the obvious solution :-) I still might have a challenge when I have multiple branches of one artifact (e.g. 1.0-patch-customer1, 1.0-patch-customer2) but in all the other cases it should solve my problem. Re

Re: where should I put my config file?

2008-10-07 Thread 陈思淼
can you give me a example? 2008/10/8 陈思淼 <[EMAIL PROTECTED]> > thanks for Brett 's advice. can you make it more specific? I'm Interesting > about you mention about:locate from the repository。 > can you give me some example,how can I put the checktyle.xml in the > repository, and the plugin get it

Re: where should I put my config file?

2008-10-07 Thread 陈思淼
thanks for Brett 's advice. can you make it more specific?I'm Interesting about you mention about:locate from the repository。 can you give me some example,how can I put the checktyle.xml in the repository, and the plugin get it thought a URL。 2008/10/8 Brett Porter <[EMAIL PROTECTED]> > I suggest

Re: Can't I define the parent pom's version is LATEST?

2008-10-07 Thread 陈思淼
I've vote for this issue, I think the automatic parent pom version range is reasonable request! 2008/10/8 Brett Porter <[EMAIL PROTECTED]> > The parent does not accept any form of version range. > > Please refer to the following issue: > http://jira.codehaus.org/browse/MNG-624 > > Cheers, > Brett

Re: Can't I define the parent pom's version is LATEST?

2008-10-07 Thread Brett Porter
The parent does not accept any form of version range. Please refer to the following issue: http://jira.codehaus.org/browse/MNG-624 Cheers, Brett 2008/10/8 陈思淼 <[EMAIL PROTECTED]>: > I create a parent pom which contain the repository url and the common > plugin, all my pom are derived from this p

Can't I define the parent pom's version is LATEST?

2008-10-07 Thread 陈思淼
I create a parent pom which contain the repository url and the common plugin, all my pom are derived from this pom, my define like this: > > > com.mycompany > parent > LATEST I want to define the version is LATEST so all the project can get the latest parent pom, but the maven do

Re: Best practice for branching projects?

2008-10-07 Thread Barrie Treloar
On Wed, Oct 8, 2008 at 11:05 AM, Michael McCallum <[EMAIL PROTECTED]> wrote: > oh and never start your version as 1.0 always start at 1.1 if you expect > ranges to work properly... Is this a bug that needs fixing? - To unsubscrib

Re: maven plugin depedency issue

2008-10-07 Thread Simone Gianni
Hi Ashish, the dependencies of the project-pom are not part of the maven classpath. That means that your plugin does not run in a JVM where that jars have been loaded. Your plugin will run having its own dependencies loaded (those of plugin-pom), not those of the project that is currently under bui

Re: evaluation report-history tools (e.g. xradar, sonar)

2008-10-07 Thread Michael McCallum
no experience but from having looked at the projects they all follow a similar flawed approach... store the results of runs in a database somewhere the tools are good according to people i know who have used them... On Wed, 08 Oct 2008 10:52:41 aldana wrote:

Re: Best practice for branching projects?

2008-10-07 Thread Michael McCallum
I would give you approach a big thumbs up with one exception... use [1,2-!) not [1.0.0,) otherwise you can't carry out concurrent development and patching... you need to be able to isolate the major version with ranges... oh and never start your version as 1.0 always start at 1.1 if you expect

Re: Best practice for branching projects?

2008-10-07 Thread Simone Gianni
Hi Stefan, I don't know if I got the problem right and if this could be a solution, but I do as follows (obviously, we are talking about "maven branching", not SVN or CVS branching, which is another story) : - setup a developers only maven repository - setup a production only maven repository - use

Re: Maven SCM (CVS) usage

2008-10-07 Thread Marvin Froeder
Yes, and if I add -Dmaven.scm.provider.cvs.implementation=cvs_native It works. Any thoughts? VELO On Tue, Oct 7, 2008 at 8:50 PM, Brett Porter <[EMAIL PROTECTED]> wrote: > Are you able to run other cvs commands from the command line? Is your > home directory set consistently? > > 2008/10/8

Re: Maven SCM (CVS) usage

2008-10-07 Thread Brett Porter
Are you able to run other cvs commands from the command line? Is your home directory set consistently? 2008/10/8 Marvin Froeder <[EMAIL PROTECTED]>: > Hi folks, > > I'm using maven SCM to develop a maven plugin. > > And I got this exception: > org.apache.maven.scm.ScmException: password is require

Re: toolchains in maven 2.1

2008-10-07 Thread Brett Porter
I believe this is already fully implemented in 2.0.9, and is just pending plugin releases to fully utilise it. - Brett 2008/10/8 Michal Hlavac <[EMAIL PROTECTED]>: > Hello, > > is this feature planned to be fixed in version 2.1? > In my opinion Netbeans really needs to choose JDK platform for mav

Re: where should I put my config file?

2008-10-07 Thread Brett Porter
I suggest looking at the Checkstyle plugin and similar for examples of how to do this. They tend to offer the option of: - built in (the example you gave) - download from an URL (for a single file) - locate from the repository (better since it makes it easy to relocate/manage) Cheers, Brett 2008/

Re: Some source missing from servlet-api-2.3

2008-10-07 Thread Brett Porter
That sounds like an incorrect source bundle, not a licensing problem. - Brett 2008/10/8 Antony Stubbs <[EMAIL PROTECTED]>: > > It appears that there is some source missing from the servlet-api-2.3-source > package? > Namely FilterConfig.java - however i could google for it. > > Why is some source

Re: maven repository update.

2008-10-07 Thread Wayne Fay
This thread should be evidence to just about anyone that Maven is sufficiently complex that ANY attempt to dumb it down for a quick description via --help is almost guaranteed to fail. I think Maven should be *primarily* documented online, minimally documented via --help, and a version-specific UR

Re: Maven Reactor

2008-10-07 Thread Lee Meador
if you go to the parent project location and do mvn bad-command it will fail because the command is illegal but it will print the names of the child projects in build order. -- Lee On Tue, Oct 7, 2008 at 11:03 AM, Brian E. Fox <[EMAIL PROTECTED]>wrote: > Validate is the first phase that usuall

Re: maven repository update.

2008-10-07 Thread Lee Meador
How about: -U Update and use new SNAPSHOT versions. Use new release versions if no specific version is supplied or a version range allows it in the pom . On Tue, Oct 7, 2008 at 4:46 PM, Stephen Connolly < [EMAIL PROTECTED]> wrote: > The problem is that -U will also update any plugins that have n

evaluation report-history tools (e.g. xradar, sonar)

2008-10-07 Thread aldana
hi, we need some historic tracking for metrics. for that i considered using http://sonar.codehaus.org/ and http://xradar.sourceforge.net/issue-tracking.html. before doing an evaluation, has anybody had good/bad experience with these products? or can you recommend any other similar tool? thanks.

Re: maven repository update.

2008-10-07 Thread Stephen Connolly
The problem is that -U will also update any plugins that have not been locked down... so it is not just check for new snapshots 2008/10/7 Marco Villalobos <[EMAIL PROTECTED]>: > > hi, > > A dependency requires a specific version of an artifact to be declared > explicitly in the pom. > > mvn -U do

RE: maven repository update.

2008-10-07 Thread Marco Villalobos
hi, A dependency requires a specific version of an artifact to be declared explicitly in the pom. mvn -U does not "change" the version that is explicitly declared in the pom. For this reason, stating that -U will update releases makes people think that it will actually check if an artifact in

Maven SCM (CVS) usage

2008-10-07 Thread Marvin Froeder
Hi folks, I'm using maven SCM to develop a maven plugin. And I got this exception: org.apache.maven.scm.ScmException: password is required. You must run a 'cvs -d :pserver:[EMAIL PROTECTED]:2401/cvsroot/eclipse login' first or provide it in the connection url. at org.apache.maven.scm.prov

Re: maven repository update.

2008-10-07 Thread Stephen Connolly
2008/10/7 Wayne Fay <[EMAIL PROTECTED]>: >> Perhaps the wording: Forces a check for new snapshots on remote >> repositories. >> >> Is better, because the words "updated releases" makes people think the short >> version of -U will also "update releases", not just snapshots. > > But its not just s

Re: maven repository update.

2008-10-07 Thread Wayne Fay
> Perhaps the wording: Forces a check for new snapshots on remote repositories. > > Is better, because the words "updated releases" makes people think the short > version of -U will also "update releases", not just snapshots. But its not just snapshots, its also new versions of releases (updates

RE: maven repository update.

2008-10-07 Thread Marco Villalobos
Also, mvn --help -U,--update-snapshots Forces a check for updated releases and snapshots on remote repositories Implies that a release can be updated, which it cannot. Perhaps the wording: Forces a check for new snapshots on remote repositories. Is bett

maven plugin depedency issue

2008-10-07 Thread Sahni, Ashish
Hi, I have a custom maven plugin that does not seem to be picking up a compile time dependency. The project structure is something like super-pom: defines the plugin build usage - goal/phase(generate-sources) project-pom: inherits from super-pom. defines a default(compile scope)

Re: zip instead of jar

2008-10-07 Thread Olivier Lamy
Hi, Have a look at source here [1] it's in the sandbox. -- Olivier [1] https://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-zip-plugin/ 2008/10/6 buters <[EMAIL PROTECTED]>: > > Hi all, > > how can I create a zip-Archive instead of jar-one with Maven? > > Thanks beforehand, > rega

RE: maven repository update.

2008-10-07 Thread Marco Villalobos
Well, think from the perspective of the lay developer, which I am :) First thing that'll happen is that a developer will notice that the repository version of an artifact is actually different than what is in his local repository. Then he'll think, "how can I update my repository?" He might go

toolchains in maven 2.1

2008-10-07 Thread Michal Hlavac
Hello, is this feature planned to be fixed in version 2.1? In my opinion Netbeans really needs to choose JDK platform for maven project... http://jira.codehaus.org/browse/MNG-468 thanks, m. -- [ michal hlavac ][ [EMAIL PROTECTED] ][ http://www.hlavki.eu ] [ icq:94900232 ][ [EMAIL PROTECTED]

Using custom properties in archetypes

2008-10-07 Thread Andre Dantas Rocha
Hi all, Is that possible to use custom properties during the archetype creation? My pom.xml has the structure below and I'm typing mvn archetype:generate -DarchetypeArtifactId=myArchetypeName -DsystemName=, but the "systemName" property is ignored... ... MySystem

Re: Installing a checked-out JAR, not the packaged one

2008-10-07 Thread Michael Hüttermann
I setup a comprehensive integration build. One part of it is retrieving some legacy artifacts (which are not Maven-enabled) and deploy them into a proxy repository. I do not want to do this only a single time by hand, I want to do this continuously as part of the reproducable full-fledged enterpris

Re: Installing a checked-out JAR, not the packaged one

2008-10-07 Thread Wayne Fay
There may be a way to accomplish this, but this is simply not a use case I've ever encountered myself, so I have no idea if its possible or how to do so. To be honest, I don't understand your use case here either. I would probably use install:install-file and deploy:deploy-file rather than what yo

Re: Installing a checked-out JAR, not the packaged one

2008-10-07 Thread Michael Hüttermann
Thanks! Isn't there any way to jump into the lifecycle and prevent Maven to deploy the packaged jar ?? Or: to prevent Maven to package the jar? > Use build-helper plugin to attach the checked-out jar to your build, > so it is installed and deployed alongside other artifacts. > > This will not, h

Re: PropertyPlaceholderConfigurer and

2008-10-07 Thread David C. Hicks
Well, you might know that as soon as I get the email sent I find the nature of my issue. Never mind. The user was being blonde. Thanks, anyway. :-) David C. Hicks wrote: I'm having problems with a PropertyPlaceholderConfigurer. It's actually a class of my own that overrides some of the base

PropertyPlaceholderConfigurer and

2008-10-07 Thread David C. Hicks
I'm having problems with a PropertyPlaceholderConfigurer. It's actually a class of my own that overrides some of the base functionality of PropertyPlaceholderConfigurer. So, it's possible that I've screwed something up, but here's the problem: I define the configurer in a Spring XML file. T

Re: Installing a checked-out JAR, not the packaged one

2008-10-07 Thread Wayne Fay
Use build-helper plugin to attach the checked-out jar to your build, so it is installed and deployed alongside other artifacts. This will not, however, prevent Maven from deploying your packaged jar as well. Wayne On Tue, Oct 7, 2008 at 5:37 AM, Michael Hüttermann <[EMAIL PROTECTED]> wrote: > He

Re: maven repository update.

2008-10-07 Thread Wayne Fay
On Tue, Oct 7, 2008 at 10:51 AM, Marco Villalobos <[EMAIL PROTECTED]> wrote: > > This convention makes sense. I wish it was more clearly documented though, > and easier > to find the rule behind this convention. Where specifically would you expect to see such documentation? As a new user to Mave

RE: maven repository update.

2008-10-07 Thread Marco Villalobos
This convention makes sense. I wish it was more clearly documented though, and easier to find the rule behind this convention. Even the command line --help almost suggest that it is possible to do this update. Regardless, I agree with this convention, and the reason behind it. Thank you very

Re: Can I deploy my own packaging type into my own repository?

2008-10-07 Thread Edelson, Justin
Yes, of course. Maven wouldn't work if you couldn't. - Original Message - From: 陈思淼 <[EMAIL PROTECTED]> To: Maven Users List Sent: Tue Oct 07 12:42:58 2008 Subject: Can I deploy my own packaging type into my own repository? for example, I define a new packaging type called jcar, and buil

Re: Help with assembly (?) plugin

2008-10-07 Thread Thomas Lutz
Hi, this could be done using profiles and resource filtering (google for resource filtering, in the maven book there's some info about that as well)... or If it really needs to be two artifacts another way would be to have three modules, one doing the work, and two "cache-access" and "no-ca

Re: Problem moving property file around

2008-10-07 Thread Jon Strayer
No, GWT requires it to be in the source tree. On Tue, Oct 7, 2008 at 9:52 AM, Brett Porter <[EMAIL PROTECTED]> wrote: > Is it possible to process the file into the target directory and use > it from there so the original (which is the defaults) can remain > unmodified? > > - Brett > > 2008/10/8 Jo

where should I put my config file?

2008-10-07 Thread 陈思淼
I have write a plugin which read from a config some mapping information and do some thing.Of cause I can put the config file into src/resources, but I will and more and more mapping information into the config file. I dont want to deploy the plugin artifact after I modify the config file. Can I put

Can I deploy my own packaging type into my own repository?

2008-10-07 Thread 陈思淼
for example, I define a new packaging type called jcar, and build the my-own-output.jcar, can the deploy plugin deploy this type of file into the repository?

Re: Question on release plugin

2008-10-07 Thread L. J.
That sounds a normal Maven behavior as it should pull jar from your local/remote repo rather than target during any build cycle. On Tue, Oct 7, 2008 at 6:25 AM, M. Hansen <[EMAIL PROTECTED]> wrote: > Hi, > > In svn we have our projects organized in a flat hierarchy like this: > > myproject/myarti

RE: Help with assembly (?) plugin

2008-10-07 Thread Martin Gainty
the algorithm to get a fresh copy for each DB access should be independent of the cached DB algorithm? so when the oper thinks they are getting a fresh copy when in fact they're getting the copy from cache would not be good? is there a architecture document available which reflects the 2 testc

Help with assembly (?) plugin

2008-10-07 Thread Andy Law
All, Can someone first of all either confirm that I am on the right track or tell me that I am an idiot and point me in the right direction. If I *am* on the right track, can someone give me a shove towards the right configuration. I have a module that is part of a larger project. It is require

RE: Maven Reactor

2008-10-07 Thread Brian E. Fox
Validate is the first phase that usually has nothing bound to it. (only the enforcer does that I know of) so you could use that. -Original Message- From: solo1970 [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2008 6:52 AM To: users@maven.apache.org Subject: Maven Reactor Is there

Re: Problem moving property file around

2008-10-07 Thread Brett Porter
Is it possible to process the file into the target directory and use it from there so the original (which is the defaults) can remain unmodified? - Brett 2008/10/8 Jon Strayer <[EMAIL PROTECTED]>: > Well, the configuration I have for the scm plugin didn't work: > >org.apache.maven.plugin

Maven Reactor

2008-10-07 Thread solo1970
Is there a way to call Maven to get the output of the Reactor only? I am interested in knowing the order in which the various POMs will be built only as information first -- View this message in context: http://www.nabble.com/Maven-Reactor-tp19858666p19858666.html Sent from the Maven - Users ma

Re: Problem moving property file around

2008-10-07 Thread Jon Strayer
Well, the configuration I have for the scm plugin didn't work: org.apache.maven.plugins maven-scm-plugin developerConnection tag tag

Question on release plugin

2008-10-07 Thread M. Hansen
Hi, In svn we have our projects organized in a flat hierarchy like this: myproject/myartifactparent/pom.xml myproject/myartifactjar/pom.xml myproject/myartifactear/pom.xml myproject/myartifactwar/pom.xml myproject/myartifactparent/pom.xml looks like this: ... 4.0.0 mygroup myartifac

Some source missing from servlet-api-2.3

2008-10-07 Thread Antony Stubbs
It appears that there is some source missing from the servlet-api-2.3-source package? Namely FilterConfig.java - however i could google for it. Why is some source missing? Some bizarre license problems? - ___ http://stubbisms.wordpress.com http://stubbisms.wordpress.

Installing a checked-out JAR, not the packaged one

2008-10-07 Thread Michael Hüttermann
Hello experts, during a build lifecycle I want to checkout a whole eclipse project from SVN which also contains an already available and packaged JAR. I copy this JAR from outside the checkout-directory to the root of my Maven project. This copied jar must be distributed by install/deploy. The Mav

Re: Site deployment to sourceforge.net broken

2008-10-07 Thread Thiago Moreira (timba)
Voted! On Tue, Oct 7, 2008 at 4:52 AM, Marat Radchenko <[EMAIL PROTECTED] > wrote: > Done: http://jira.codehaus.org/browse/MDEPLOY-86 > > 2008/10/6 Wayne Fay <[EMAIL PROTECTED]>: > > Then file a bug in JIRA, and get lots of people to vote on it. > > > > Complaining about bugs on the Maven Users

Re: make maven work in sun solaris 10

2008-10-07 Thread Patrizio Munzi
Hi, I've finally managed to make maven work on my sun solaris machine Since I haven't got either a proxy or a firewall to configure, I was strongly convicted that there were some DNS configuration to do. There you go... I just had to add the following to lines to the file: /etc/nsswitch.conf -

Re: make maven work in sun solaris 10

2008-10-07 Thread Daniele De Francesco
Hi, I experienced such an issue when rying to make maven work in a proxied environment... do you know whether there is a specific proxy configuration of that box or perhaps a firewall that you should take account for? If so...you know well how to get rid of the problem... -- Daniele De Francesc

Re: Site deployment to sourceforge.net broken

2008-10-07 Thread Marat Radchenko
Done: http://jira.codehaus.org/browse/MDEPLOY-86 2008/10/6 Wayne Fay <[EMAIL PROTECTED]>: > Then file a bug in JIRA, and get lots of people to vote on it. > > Complaining about bugs on the Maven Users list is certainly not > guaranteed to have them addressed. > > Wayne > > On Mon, Oct 6, 2008 at 3

Re: Iterating profiles

2008-10-07 Thread 陈思淼
maven just provide the core function like the dependce management. the other task if you want to complete, you need to write your own plug in, that not hard work actually. 2008/10/7 Simone Tripodi <[EMAIL PROTECTED]> > yes I already thought about it, > but I was curious if maven provides a featur

Re: how to remove de default task in the life phase?

2008-10-07 Thread 陈思淼
I know what's your guys meaning, I decide to bind my own plugin to instal phase, that's more sensible. 2008/10/7 Nick Stolwijk <[EMAIL PROTECTED]> > And if you really want to skip the normal execution of > maven-deploy-plugin, you can use the skip parameter. [1] > > [1] > http://maven.apache.org/p

Re: Problem when mvn site:site `Generating "Dependencies" report'

2008-10-07 Thread Lukas Theussl
see http://jira.codehaus.org/browse/MPIR-142 -Lukas qrtt1 wrote: Hello, I try use maven site plugin and it can generate project site well, but something wrong with dependencies report. there are some message : = [INFO] Generating "P

Re: automatically go offline

2008-10-07 Thread Reto Bachmann-Gmür
Wayne Fay wrote: > On Mon, Oct 6, 2008 at 1:07 PM, Reto Bachmann-Gmür <[EMAIL PROTECTED]> wrote: >> I would like to automatically switch betwenn online and offline mode >> depending on the network interface that i have activated. I've >> configured NetworkManager to create a file (/tmp/fast-network

Re: automatically go offline

2008-10-07 Thread Reto Bachmann-Gmür
Wendy Smoak wrote: > On Mon, Oct 6, 2008 at 1:07 PM, Reto Bachmann-Gmür <[EMAIL PROTECTED]> wrote: >> I would like to automatically switch betwenn online and offline mode >> depending on the network interface that i have activated. I've >> configured NetworkManager to create a file (/tmp/fast-netwo

Re: Problem with release plugin

2008-10-07 Thread Samuli Saarinen
Ok, I found the issue http://jira.codehaus.org/browse/MRELEASE-295 Brett Porter wrote: That sounds like a bug. It is generally uncommon to use the release plugin to simultaneously release projects of different versions, but it should work. - Brett 2008/10/7 Samuli Saarinen <[EMAIL PROTECTED]>: