Re: [ANN] Maven Reactor Plugin 1.0 Released

2008-09-30 Thread Dan Fabulich
Wim Deblauwe wrote: 1) You spawn a different maven process are thoses processing using MAVEN_OPTS by default (most important would be the memory settings I have set)? Yes. It launches "mvn" with the current environment variables specified. 2) How does it know how to stop walking up the inhe

Re: Enforcer configuration external to the pom

2008-09-30 Thread Brett Porter
There is some plexus hokus-pokus for achieving this, though whether adding that complexity to the enforcer plugin to achieve this is worth it, I'm not so sure. - Brett 2008/10/1 Brian E. Fox <[EMAIL PROTECTED]>: > It won't be possible to inject the rule config external to the pom, > unless there'

RE: "The Definitive Guide": online vs. print

2008-09-30 Thread Brian E. Fox
The online one will naturally continue to evolve, but sometimes people like to have the book by their side, or for offline reading etc. -Original Message- From: Trevor Harmon [mailto:[EMAIL PROTECTED] Sent: Thursday, September 25, 2008 4:19 PM To: Maven Users List Subject: "The Definitive

Re: Unable to download artifact sources

2008-09-30 Thread Thor
Thanks a lot Sam... It worked like a charm! My regards... On Tue, Sep 30, 2008 at 4:33 PM, Samuel Le Berrigaud <[EMAIL PROTECTED]>wrote: > Hi Thor, > > the downloadSources flag is only used by some specific plugins. None > of them being bound to the clean or package lifecycles. > Depending wheth

Re: Unable to download artifact sources

2008-09-30 Thread Thor
Yes I've already checked that... On Tue, Sep 30, 2008 at 4:30 PM, Wayne Fay <[EMAIL PROTECTED]> wrote: > Maven can only download that which has been uploaded and is available. > Are you certain the Struts files (sources and javadoc) corresponding > to this version are available? > > If you aren'

Re: Unable to download artifact sources

2008-09-30 Thread Samuel Le Berrigaud
Hi Thor, the downloadSources flag is only used by some specific plugins. None of them being bound to the clean or package lifecycles. Depending whether you're using Eclipse or IntellIiJ IDEA you can run: mvn eclipse:eclipse -DdownloadSources or mvn idea:idea -DdownloadSources This will create th

Re: Unable to download artifact sources

2008-09-30 Thread Wayne Fay
Maven can only download that which has been uploaded and is available. Are you certain the Struts files (sources and javadoc) corresponding to this version are available? If you aren't sure, you can walk the directory at http://repo1.maven.org/maven2/ to see for yourself. Wayne On Tue, Sep 30, 2

Unable to download artifact sources

2008-09-30 Thread Thor
Hello everyone. Thanks for reading. I know this is really basic, but here goes... I'm having trouble downloading the sources from the central maven repo. I just created a project using the struts2-archetype-starter, updated the pom to the struts2's latest version (2.0.11.2) Then, when I ran mvn

Deprecated plugin goals

2008-09-30 Thread Trevor Harmon
The following command: mvn help:describe -Dplugin= where is the name of a plugin, shows that every goal of the plugin is deprecated. For example: # mvn help:describe -Dplugin=compiler ... compiler:compile Description: Compiles application sources Deprecated. No reason given ... Why is

RE: Are we blocked by central Maven repo?

2008-09-30 Thread Brian E. Fox
The balancer should have a static ip, the machines behind it will be transparent to you. -Original Message- From: Ed Hillmann [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2008 8:49 PM To: Maven Users List Subject: Re: Are we blocked by central Maven repo? On Tue, Sep 30, 2008 at

RE: Are we blocked by central Maven repo?

2008-09-30 Thread Brian E. Fox
>For one, with rsync, if the network goes down, and an artifact that a >developer wants that hasn't yet been used is requested, nexus is useless. >He's still stuck. With an rsync everything is available. Only if you run rsync fairly often and kill us with bandwidth. And does every home

Re: FileNotFoundException when using Maven dependencies report

2008-09-30 Thread Stevo Slavić
Hello Brett, I've created JIRA issue for this ( http://jira.codehaus.org/browse/MPIR-143). I would have created a patch too, at least for "dependencies-mojo.html", but I wasn't able to find it or how it is being generated - Maven project is huge. Regards, Stevo. 2008/9/30 Brett Porter <[EMAIL PR

Re: [ANN] Maven Reactor Plugin 1.0 Released

2008-09-30 Thread Wim Deblauwe
Hi Dan, seems extremely usefull to me. 2 questions I did not find an answer to in the documentation: 1) You spawn a different maven process are thoses processing using MAVEN_OPTS by default (most important would be the memory settings I have set)? 2) How does it know how to stop walking up the i

RE: Enforcer configuration external to the pom

2008-09-30 Thread Brian E. Fox
It won't be possible to inject the rule config external to the pom, unless there's some plexus hokus-pokus I'm not aware of. You would be better off extending the rule to read from some property/xml file and leaving just the rule declaration in the pom. -Original Message- From: Jim Sellers

Re: Reason: POM 'org.apache.maven.plugins:maven-install-plugin' not found in repository

2008-09-30 Thread tommyk
NEVER MIND. I was using a mirror that didn't have the install plugin, and Maven 2 is new to this machine. Duh. tommyk wrote: > > I'm getting a BUILD ERROR trying to manually install an artifact into my > repository. WTF does Maven 2 mean, it can't find the install plugin? > WhyTF isn't th

Reason: POM 'org.apache.maven.plugins:maven-install-plugin' not found in repository

2008-09-30 Thread tommyk
I'm getting a BUILD ERROR trying to manually install an artifact into my repository. WTF does Maven 2 mean, it can't find the install plugin? WhyTF isn't that already part of Maven? And why can't I find anything in their docs or on the web that tells me how to install this mysterious "install"

Enforcer configuration external to the pom

2008-09-30 Thread Jim Sellers
Hi all. The problem that I am trying to solve is to identify what projects in our CI server have given dependencies or inherit from a given corporate parent pom. For example, if we found a security problem with com.example:myArtifact:1.2.3, then I'd like to be able to run a command to easily find

Re: javaee.jar issues

2008-09-30 Thread Mykel Alvis
I haven't but that does sound like a good plan. I'll give it a try. Thanks! On Tue, Sep 30, 2008 at 11:30, Stephen Connolly < [EMAIL PROTECTED]> wrote: > have you tried the glassfish mailing list? If this was glassfish 3 I'd say > email sahoo directly too... but i'm not sure if v2 is his bag > >

Re: javaee.jar issues

2008-09-30 Thread Wayne Fay
I completely agree w/Stephen. The Glassfish mailing list is a good place to report this bug. Wayne On Tue, Sep 30, 2008 at 9:30 AM, Stephen Connolly <[EMAIL PROTECTED]> wrote: > have you tried the glassfish mailing list? If this was glassfish 3 I'd say > email sahoo directly too... but i'm not su

Re: javaee.jar issues

2008-09-30 Thread Stephen Connolly
have you tried the glassfish mailing list? If this was glassfish 3 I'd say email sahoo directly too... but i'm not sure if v2 is his bag 2008/9/30 Mykel Alvis <[EMAIL PROTECTED]> > As my original post indicated, I couldn't find a place to do so. > If you happen to know how to contact them regardi

Re: javaee.jar issues

2008-09-30 Thread Mykel Alvis
Upon re-reading, I see that I didn't clearly indicate that at all and that my English isn't so hot today. But I'd be very interested in how to report such a thing if anyone knows the correct method. On Tue, Sep 30, 2008 at 11:23, Mykel Alvis <[EMAIL PROTECTED]> wrote: > As my original post indica

Re: javaee.jar issues

2008-09-30 Thread Mykel Alvis
As my original post indicated, I couldn't find a place to do so. If you happen to know how to contact them regarding this sort of matter, I'd love that have that information and I'll immediately start the contact process. On Tue, Sep 30, 2008 at 11:13, Martin Gainty <[EMAIL PROTECTED]> wrote: > >

Re: Build error with jython plugin !!??

2008-09-30 Thread miata
It's works !!! Thank you very much :drunk: Andrew Robinson-5 wrote: > > Set the groupId of the plugin: > com.servprise.maven.plugins > > Their instructions seem odd to me (creating a dependency instead of > setting the version and group in the plugin tag). Give this a try > instead of using a

RE: javaee.jar issues

2008-09-30 Thread Martin Gainty
if there is a duplicate manifest.mf on javaee.jar from their distro did you contact sun on this issue and what was the response? Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official busin

Re: javaee.jar issues

2008-09-30 Thread Stephen Connolly
Thankfully the borked jar does not appear to be in the public repo... only in sun's maven 1 repo 2008/9/30 Mykel Alvis <[EMAIL PROTECTED]> > I think you're right (that it's not the same issue), but is that in the > public repo anywhere (i.e. repo1.maven.org/maven2) ? If so, do you know > the > s

Re: javadoc plugin fails during mvn release:perform ?

2008-09-30 Thread Tobias Gierke
Hi, First of all, thanks Brad for your elaborate answer ! Some more details about your project would probably help. The mentioned multi-module project is part of a really large system with more than 100 different modules/projects. We're currently performing a major POM clean-up / refactorin

Re: javaee.jar issues

2008-09-30 Thread Mykel Alvis
I think you're right (that it's not the same issue), but is that in the public repo anywhere (i.e. repo1.maven.org/maven2) ? If so, do you know the signature of it? On Tue, Sep 30, 2008 at 10:53, Stephen Connolly < [EMAIL PROTECTED]> wrote: > I know there's a borked javaee.jar in the sub maven

unpackOptions in dependencySet not working

2008-09-30 Thread pkbhavani
dist jar false / true com.coslp.lifepath:smds-ui org.jdesktop:jdic

Re: javaee.jar issues

2008-09-30 Thread Stephen Connolly
I know there's a borked javaee.jar in the sub maven repository... it's completely useless and is just a stub for compiling... no running unit tests with it as they will all fail to class-load. However, I don't think that this is the broked jar you have 2008/9/30 Mykel Alvis <[EMAIL PROTECTED]> >

javaee.jar issues

2008-09-30 Thread Mykel Alvis
I'm having an issue with some things I got from Sun and I believe it might have been encountered by people here. I downloaded the Linux JavaEE SDK from [1] . I did this in order to have javaee.jar available as an internal dependency. Upon examination of this jar, I noticed a second MANIFEST.MF in

Re: Build error with jython plugin !!??

2008-09-30 Thread Andrew Robinson
Set the groupId of the plugin: com.servprise.maven.plugins Their instructions seem odd to me (creating a dependency instead of setting the version and group in the plugin tag). Give this a try instead of using a : maven-jython-plugin com.servprise.maven.plugins 0.3

Re: copy libraries to classpath

2008-09-30 Thread Norbert Lazzeri
that solved the problem, thx! now my plugin-configuration looks like org.apache.maven.plugins maven-dependency-plugin ${project.build.directory}/lib/ false false

RE: Is there a way to obtain the caller's goal from within a Mojo?

2008-09-30 Thread Tibor Kiss
I have situation when I can use attachements, but the team wants some backward compatibility with the previous system where we explicitly placed that svnstatus information into META-INF. I also see this as a stupid idea, but now we have applications which reads that metainformation to help the

RE: the meaning of component.xml?

2008-09-30 Thread Brian E. Fox
Most plugins don't need a manual component.xml like this. The dependency plugin has one to provide additional mappings for the unarchiver that were not at the time included in the unarchiver component itself. -Original Message- From: 陈思淼 [mailto:[EMAIL PROTECTED] Sent: Sunday, September

RE: copy libraries to classpath

2008-09-30 Thread Brian E. Fox
The ArtifactItem construct is only used for copy/unpack not copy-dependencies/unpack-dependencies. More likely is that you are running this from the command line like mvn dependency:copy-dependencies and it's not configured that way. If you want it to work from the command line, don't put it in

project site with two languages

2008-09-30 Thread Matthias Dorfner
I got one question, concerning the internationalization of the site generation plugin. Is there a preset ref like it is for reports ... ... ... ... also existing for different languages? I generated the site in en and de locales (I got two versions except the index.htm

Build error with jython plugin !!??

2008-09-30 Thread miata
Hi, I'm new user of maven and I want use the jython plugin but I have a problem at compilation... This is the error : The plugin 'org.apache.maven.plugins:maven-jython-plugin' does not exist or no valid version could be found It's use in a new project and his configuration pom is very simple :

Re: FileNotFoundException when using Maven dependencies report

2008-09-30 Thread Brett Porter
Thanks - can you create an issue in JIRA for that? - Brett 2008/9/30 Stevo Slavić <[EMAIL PROTECTED]>: > Hello Brett, > > Thank you for your attention! > > If I understood you well, then maybe > thismaven >

Re: FileNotFoundException when using Maven dependencies report

2008-09-30 Thread Stevo Slavić
Hello Brett, Thank you for your attention! If I understood you well, then maybe thismaven dependencies report page should be updated as it currently in attributes section mentions test and not package phase.

Re: FileNotFoundException when using Maven dependencies report

2008-09-30 Thread Brett Porter
It is trying to treat directories as zip files. This is because the reactor has picked up the compilation results, not the packaging results. IT can be worked around by making sure the reactor ran to at least the package phase. - Brett 2008/9/30 Stevo Slavić <[EMAIL PROTECTED]>: > Hello all, > >

Re: Is there a way to obtain the caller's goal from within a Mojo?

2008-09-30 Thread Brett Porter
This is by design to prevent the artifacts in the local repository being different from the ones in the remote repository :) Does it make more sense to deploy the results as a separate attachment, rather than putting it inside META-INF? Otherwise, I would suggest using a profile to enable it when

Re: How to let xmlbean generate jar file?

2008-09-30 Thread Michael McCallum
One might argue that questions that are answered easily by reading the documentation are SPAM. Theres lots of people reading this who can help people who have real problems. If you find the docs don't work quote them and tell us about the problems and we can help. http://en.wikipedia.org/wik

Re: How to let xmlbean generate jar file?

2008-09-30 Thread Ram
U can use outputJar tag to do the same Sent from my iPod On Sep 30, 2008, at 2:09 PM, youhaodeyi <[EMAIL PROTECTED]> wrote: Will this add it to the dependency tree automatically? Stephen Connolly-2 wrote: you need to attach it to the lifecycle and execute upto at least the package phase

Re: How to let xmlbean generate jar file?

2008-09-30 Thread youhaodeyi
Will this add it to the dependency tree automatically? Stephen Connolly-2 wrote: > > you need to attach it to the lifecycle and execute upto at least the > package > phase in the lifecycle > > 2008/9/30 youhaodeyi <[EMAIL PROTECTED]> > >> >> I use xmlbean plugin in a Maven project. When doing

RE: Is there a way to obtain the caller's goal from within a Mojo?

2008-09-30 Thread Tibor Kiss
Hi, My usecase is the following. The team want to enforce a svn status check against source codes before deploying into repository. But not for install! I wrote a maven plugin which does the checking. The only missing piece is that until now I just solved the problem by a configuration paramete

FileNotFoundException when using Maven dependencies report

2008-09-30 Thread Stevo Slavić
Hello all, When I try to generate a maven site with maven dependencies report for a "multi-level" multi-module project I receive a lot of FileNotFoundException's like following: java.io.FileNotFoundException: D:\work\java\workspace\project1\module1\submodule11\target\classes (Access is denied)

Anyone using Synergy in SCM Plugin under Linux ?

2008-09-30 Thread mac-systems
Hello, anyone using Synergy unter Linux ? I facing a Problem that i cannot figure out how to provide a path to the database. Running Synergy under Windows causes no Problem. A command like that should be generated : ccm start -nogui -m -q -n user -pw secret -d /path/to/db/skm/ccm_databases/ But

Re: reactor plugin "Embedded error: Roots differ"

2008-09-30 Thread Jorg Heymans
On Mon, Sep 29, 2008 at 9:34 PM, Dan Fabulich <[EMAIL PROTECTED]> wrote: Wait, no, actually, I'm wrong. MREACTOR-1 is perfectly real, but the > "Different roots" error you're getting is surprising to me; I can't > reproduce it even following your directions. > > Note that, in the system you showe

Re: How to let xmlbean generate jar file?

2008-09-30 Thread Stephen Connolly
you need to attach it to the lifecycle and execute upto at least the package phase in the lifecycle 2008/9/30 youhaodeyi <[EMAIL PROTECTED]> > > I use xmlbean plugin in a Maven project. When doing mvn xmlbeans:xmlbeans, > it > will generate source and classes but not jar. How can I let it produce

How to let xmlbean generate jar file?

2008-09-30 Thread youhaodeyi
I use xmlbean plugin in a Maven project. When doing mvn xmlbeans:xmlbeans, it will generate source and classes but not jar. How can I let it produce jar file? -- View this message in context: http://www.nabble.com/How-to-let-xmlbean-generate-jar-file--tp19737290p19737290.html Sent from the Maven