Re: Eear libraries classpath

2010-02-01 Thread Maruf Aytekin
Hi Wayne Thanks for your response on this. >> Is this a problem; having ModuleB as ModuleB.jar in ear package? Can >> ModuleA fsee ModuleB on the classpath? > > When you tested this EAR with your target Java EE app server, what > happened? Did things deploy and work properly, or no? No this did

Re: what does it mean with this error when trying to run mvn eclipse:eclipse (Cannot find mojo descriptor for: 'eclipse:eclipse' - Treating as non-aggregator.)

2010-02-01 Thread Anders Hammar
I'm quite sure you must have reconfigured something since last time it worked. The plugin exists in central, and for some reason your build isn't looking there. Run mvn help:effective-pom and find the section and paste it in a reply. Also, you might want to consider locking the version of the pl

RE: JAVADOC-plugin: include comments from local dependent projects

2010-02-01 Thread Jeff Jensen
Possibly what you are looking for is not a Maven related thing at all but how Javadoc works. If you add /** * {...@inheritdoc} */ above the methods in the implementation classes that implement the interface methods, Javadoc copies it from the interface to the implementing class' generated

Re: antrun plugin dependency disappearance

2010-02-01 Thread Brett Porter
On 02/02/2010, at 1:46 PM, Benson Margulies wrote: > On Mon, Feb 1, 2010 at 9:06 PM, Brett Porter wrote: >> In Maven 2, only to ensure that the first plugin declaration encountered >> (usually by putting it in the root) contains all of the desired plugin >> dependencies. > > It was in the roo

Re: antrun plugin dependency disappearance

2010-02-01 Thread Benson Margulies
On Mon, Feb 1, 2010 at 9:06 PM, Brett Porter wrote: > In Maven 2, only to ensure that the first plugin declaration encountered > (usually by putting it in the root) contains all of the desired plugin > dependencies. It was in the root. However, since modules run first, the instance in a module

Re: antrun plugin dependency disappearance

2010-02-01 Thread Brett Porter
In Maven 2, only to ensure that the first plugin declaration encountered (usually by putting it in the root) contains all of the desired plugin dependencies. I believe that Maven 3 has already fixed the problem. - Brett On 02/02/2010, at 12:46 PM, Benson Margulies wrote: > I think I'm hitting

Re: antrun plugin dependency disappearance

2010-02-01 Thread Wayne Fay
> In an aggregate POM, I've got a use of the maven-antrun-plugin that > needs custom dependencies. Yes, this is a known issue. Copy your dependencies into all uses of m-antrun-p OR figure out which one will run first and copy them there. The Maven classloader only pays attention to the dependencie

antrun plugin dependency disappearance

2010-02-01 Thread Benson Margulies
I think I'm hitting an known issue, but I'm stumped in working around it. In an aggregate POM, I've got a use of the maven-antrun-plugin that needs custom dependencies. They are disappearing. The reason, I suspect, is that several of the modules that the aggregate POM aggregates are themselves u

Re: Any way to place a JAR so that I am guaranteed its classes get loaded first?

2010-02-01 Thread laredotornado
Actually I found it. Placing the updated JAR there solved the problem. Much thanks once again! - Dave ps - I am anxious for our company to move to the newest version of Maven. Sadly this issue is out of my control right now. laredotornado wrote: > > Thanks for this suggestion. How do I

Re: JAVADOC-plugin: include comments from local dependent projects

2010-02-01 Thread Wayne Fay
> project (B). E.g. A contains interfaces, and B implementations. The question > is: how can I build docs for B so that, if none specified, method > descriptions are inherited from A? There's a good chance your specific usage of the Javadoc plugin is not currently supported. I've certainly never n

Re: Any way to place a JAR so that I am guaranteed its classes get loaded first?

2010-02-01 Thread laredotornado
Thanks for this suggestion. How do I locate the JRE's endorsed folder? Wayne Fay wrote: > >> "NoSuchMethodError" (due to an older class version).  Is there anywhere I >> can place my xalan jar such that I'm guaranteed its classes will get >> loaded >> first into the classpath? > > Maybe you c

Re: Any way to place a JAR so that I am guaranteed its classes get loaded first?

2010-02-01 Thread Wayne Fay
> "NoSuchMethodError" (due to an older class version).  Is there anywhere I > can place my xalan jar such that I'm guaranteed its classes will get loaded > first into the classpath? Maybe you could put it in the endorsed folder of your JRE. Other than that, I'm unsure of any way to "guarantee" it,

RE: relocation tags

2010-02-01 Thread EJ Ciramella
Nvm - I found this mini-site: http://maven.apache.org/guides/mini/guide-relocation.html I'd love a shot at updating that tho ;-) -Original Message- From: EJ Ciramella [mailto:ecirame...@upromise.com] Sent: Monday, February 01, 2010 3:51 PM To: users@maven.apache.org Subject: RE: relocat

what does it mean with this error when trying to run mvn eclipse:eclipse (Cannot find mojo descriptor for: 'eclipse:eclipse' - Treating as non-aggregator.)

2010-02-01 Thread Rick R
running mvn eclipse:eclipse used to work.. now I'm getting... [INFO] Unable to find resource 'org.apache.maven.plugins:maven-eclipse-plugin:maven-plugin:2.8-SNAPSHOT' in repository codehaus-plugins (http://dist.codehaus.org/) [INFO] Cannot find mojo descriptor for: 'eclipse:eclipse' - Treating as

Any way to place a JAR so that I am guaranteed its classes get loaded first?

2010-02-01 Thread laredotornado
Hi, I'm using an older version of Maven (1.1). I'm having a problem whereby an old Xalan class is somehow getting loaded into my classpath and I wish to use the classes available through Xalan 2.7.1. I have tried placing this dependency xalan

RE: SiteToolException: ArtifactNotFoundException: The skin does not exist: Unable to determine the release version

2010-02-01 Thread Thomas Harris
I have been using version 2.1 of the maven-site-plugin all along; When I had no site.xml file, I got all my menu items and they all worked. Now, without the site.xml file, the 'site' build fails as described. With the site.xml file detailed below, the 'site' build succeeds, however the resulting

RE: relocation tags

2010-02-01 Thread EJ Ciramella
Also - how do you really leverage these tags? Do you put it in a version of the module in its old location? -Original Message- From: EJ Ciramella [mailto:ecirame...@upromise.com] Sent: Monday, February 01, 2010 3:35 PM To: users@maven.apache.org Subject: relocation tags So if we've rel

relocation tags

2010-02-01 Thread EJ Ciramella
So if we've relocated a library here - and deployed once to archiva, is it too late to use the relocation tag? We've corrected a bunch of group ids, and wanted to break the build. Instead, by not using the relocate tags, we've gained other errors and some silent inclusions of the same jar (twi

Re: SiteToolException: ArtifactNotFoundException: The skin does not exist: Unable to determine the release version

2010-02-01 Thread Dennis Lundberg
On 2010-02-01 21:24, Thomas Harris wrote: > I attempted the workaround listed in the ticket > (http://jira.codehaus.org/browse/MNG-3139), namely: > > 1. Create a /src/site/site.xml file in the top-level maven project, > containing: > > [Code] > > > org.apache.maven.skins > maven-def

RE: SiteToolException: ArtifactNotFoundException: The skin does not exist: Unable to determine the release version

2010-02-01 Thread Thomas Harris
I attempted the workaround listed in the ticket (http://jira.codehaus.org/browse/MNG-3139), namely: 1. Create a /src/site/site.xml file in the top-level maven project, containing: [Code] org.apache.maven.skins maven-default-skin 1.0 [/Code] Now the "mvn site site-deploy" wor

plugin for cactus

2010-02-01 Thread mark babcock
Could someone point me to how to install the cactus plugin for maven?

Re: Mysterious download failure sequence

2010-02-01 Thread Stephen Connolly
well I'll try and fix animal sniffer Sent from my [rhymes with tryPod] ;-) On 1 Feb 2010, at 18:15, Benson Margulies wrote: Friends don't let friends design a separate pluginRepository set, and then produce completely mysterious messages that neglect to mention that a failure related to looki

Re: Errors after upgrade to 2.2.1

2010-02-01 Thread tharrisx
We will drop the dependency reports for now. I'll just tell the developers on our teams to use the JDepend Eclipse plugin interactively on a regular basis until Maven gets fixed. Of course, now, the whole "site" shebang is broken anyway because of some 'missing skin' error, so until that gets fi

Re: JAVADOC-plugin: include comments from local dependent projects

2010-02-01 Thread Andrey Razumovsky
Sorry, but I don't understand. I already have small library (A) and main project (B). E.g. A contains interfaces, and B implementations. The question is: how can I build docs for B so that, if none specified, method descriptions are inherited from A? 2010/2/1 Ron Wheeler > Andrey Razumovsky wrot

Re: Plugin for updating external XML file content

2010-02-01 Thread Wayne Fay
> If something could be solved using maven only -- we should do so. Ant-script > at least requires ant to be installed on platform. > If something cannt be solved using existing maven plugins -- we should make Except that you can use Ant as a Maven plugin which does not require Ant to be installed

RE: Plugin for updating external XML file content

2010-02-01 Thread Gorham-Engard, Frank
Hi Ilya Yes, I agree, keeping it simple is a positive value. Perhaps you haven't noticed that ant is an "existing maven plugin". It is possible to run inline ant tasks or external scripts without having an "ant installation" on your system. Maven will get ant from the Maven repositories for you

SiteToolException: ArtifactNotFoundException: The skin does not exist: Unable to determine the release version

2010-02-01 Thread Thomas Harris
Friday, I was able to run the 'site' build on our project. This morning, I get the following error: [INFO] SiteToolException: ArtifactNotFoundException: The skin does not exist: Unable to determine the release version Try downloading the file manually from the project website. Then, install it

Re: Mysterious download failure sequence

2010-02-01 Thread Benson Margulies
Friends don't let friends design a separate pluginRepository set, and then produce completely mysterious messages that neglect to mention that a failure related to looking for something in it. In other words, this happens when you add the repo to repositories instead of pluginRepositories and then

RE: Plugin for updating external XML file content

2010-02-01 Thread Ilya Kazakevich
Hello Frank. Using too many tools could make project too complicated. I saw a project with maven, ant and .bat files. It was tricky:) If something could be solved using maven only -- we should do so. Ant-script at least requires ant to be installed on platform. If something cannt be solved using e

RE: Plugin for updating external XML file content

2010-02-01 Thread Gorham-Engard, Frank
What do you see as the value of completely eliminating ant use from your Maven project. I see ant as a tool that is supported and may be appropriate for some situations. To have a policy that rules out a useful tool seems counterproductive.

RE: Plugin for updating external XML file content

2010-02-01 Thread Ilya Kazakevich
Excelent! Thanks, Aleksey. -Original Message- From: Aleksey Didik [mailto:di...@magenta-technology.ru] Sent: Monday, February 01, 2010 6:53 PM To: Maven Users List Subject: Re: Plugin for updating external XML file content But I have found this one: http://code.google.com/p/maven-rep

RE: Plugin for updating external XML file content

2010-02-01 Thread Ilya Kazakevich
Thanks. Actually, I wanna get rid of ant in our project, but this can work. We are also looking at xml-maven-plugin. We can generate XML file each time using XSL while passing information we need to insert as parameters. Ilya. -Original Message- From: Aleksey Didik [mailto:di...@magen

Re: Plugin for updating external XML file content

2010-02-01 Thread Aleksey Didik
But I have found this one: http://code.google.com/p/maven-replacer-plugin/ 01.02.2010 19:42, Ilya Kazakevich пишет: Hi all, I have a slightly weird situation: I need to update contents of some external XML file each time I do deploy. I wonder if there is a plugin that could be installed in "de

Re: Plugin for updating external XML file content

2010-02-01 Thread Aleksey Didik
I don't see anything with this functionality. May be better to use /maven-antrun-plugin/ and write necessary ant script. Best regards, Aleksey. 01.02.2010 19:42, Ilya Kazakevich ?: Hi all, I have a slightly weird situation: I need to update contents of some external XML file each time I do

Plugin for updating external XML file content

2010-02-01 Thread Ilya Kazakevich
Hi all, I have a slightly weird situation: I need to update contents of some external XML file each time I do deploy. I wonder if there is a plugin that could be installed in "deploy" phase and do that for me? Plugin should be able to replace some token in text file for example or something like

Re: JAVADOC-plugin: include comments from local dependent projects

2010-02-01 Thread Ron Wheeler
Andrey Razumovsky wrote: Hello, Imagine I have two projects, A and B. Both are mine projects and aren't published anywhere on the internet (don't have url). A is referenced from B. Classes from B inherit a lot from classes from A. The goal is to build docs for B, and include there only B sources

Maven Release Plugin Fix

2010-02-01 Thread Vach, Matthias
Hi maven-release-plugin committer, There is an issue for the maven-release-plugin (http://jira.codehaus.org/browse/MRELEASE-495) which is prerequisite for the osgi-release-plugin (patch https://issues.sonatype.org/browse/TYCHO-214). Do you plan to take care for that issue? If not now, when do y

Re: Automatic updates from repository

2010-02-01 Thread Wayne Fay
> I don't want to use snapshot for every pom because it brings ugly postfixes > for artifacts e.g. when I deploy them to server, and i don't want to > configure new names for every artifact in my POM's deploy to server > executions. Maven is opinionated and doesn't care about what you think is ugl

Re: Implementing an installer, which is maven-based

2010-02-01 Thread Dmitry Katsubo
Stephen Connolly wrote on 01/02/2010 11:50: > have you tried izpack-maven-plugin? Hi Stephan! I had a look at IzPack shortly, and as I understood, IzPack creates an installer for your maven project. So, your maven targets artifacts have to be packaged before creating an installation. What I ideal

Re: Maven and WTP integration

2010-02-01 Thread Antonio Petrelli
2010/2/1 Martin Schayna : > run Eclipse, > convert WTP configuration (Ctrl+1 QuickFix), > add Maven dependecies to WTP (Ctrl+1 QuickFix), Why all of this stuff? Does not your "Checkout as Maven project" work? If you do it in the POM project, it should download and create all subprojects automatica

Re: Maven and WTP integration

2010-02-01 Thread Martin Schayna
Eclipse Platform 3.5.1 Eclipse WST/JST 3.1.1 m2eclipse 0.9.9 (but very same with stable 0.9.8) Maven 2.0.9 Java 1.6.0_14 When I try to append WTP support into war application project by this $ mvn -Dwtpversion=2.0 eclipse:m2eclipse and then: run Eclipse, convert WTP configuration (Ctrl+1 Quick

Very mysterious checkstyle failure

2010-02-01 Thread Benson Margulies
On only one of our many build machines, we're suffering from: Embedded error: /basis/users/nightly/autobuild/clients/nightly-trunk-2010013119/rlp/rlp/source/java/obj/amd64-glibc23-gcc40/site/checkstyle.html (No such file or directory) Note that we redirect the target directory in our builds.

Re: Automatic updates from repository

2010-02-01 Thread Aleksey Didik
I will write a mail in Russian to your gmail account. It will be more useful to speak about this problem. Aleksey Didik. 01.02.2010 17:06, Andrey Razumovsky пишет: Hi, Thanks for an answer. I don't want to use snapshot for every pom because it brings ugly postfixes for artifacts e.g. when I de

Re: Automatic updates from repository

2010-02-01 Thread Andrey Razumovsky
Hi, Thanks for an answer. I don't want to use snapshot for every pom because it brings ugly postfixes for artifacts e.g. when I deploy them to server, and i don't want to configure new names for every artifact in my POM's deploy to server executions. Removing artifact from local repo isn't fine be

RE: Automatic updates from repository

2010-02-01 Thread Ilya Kazakevich
Hello, Why do not you want to use SNAPSHOT? Fixed version should never be changed but snapshot can. You have SNAPSHOT while you develop your artifact, and when you're ready to release it -- you give it version number. Other artifacts may depend on your snapshot. If so -- maven knows that snapsh

RE: Automatic updates from repository

2010-02-01 Thread Ilya Kazakevich
Hello, Why do not you want to use SNAPSHOT? Fixed version should never be changed but snapshot can. You have SNAPSHOT while you develop your artifact, and when you're ready to release it -- you give it version number. Other artifacts may depend on your snapshot. If so -- maven knows that snapsh

Re: Maven and WTP integration

2010-02-01 Thread Manuel Grau
Hi Martin, My setup is similar to yours. Enter each appN folder and type this: mvn -Dwtpversion=2.0 eclipse:m2eclipse Is what I did and it works for me. 2010/2/1 Martin Schayna > Hi all, > > we have pretty large project, successfully "mavenized" with Maven 2, > split into several module proje

Re: Maven and WTP integration

2010-02-01 Thread Antonio Petrelli
2010/2/1 Martin Schayna : > we have pretty large project, successfully "mavenized" with Maven 2, > split into several module projects under one parent pom. We are using > m2eclipse plugin in Eclipse 3.5. What version? I am a happy user of the 0.9.9 development version, it seems that versions prior

Maven and WTP integration

2010-02-01 Thread Martin Schayna
Hi all, we have pretty large project, successfully "mavenized" with Maven 2, split into several module projects under one parent pom. We are using m2eclipse plugin in Eclipse 3.5. Project tree looks like: parent/ (pom project) +-- lib-core/ (jar project) +-- lib-web/ (jar project, wi

Re: Implementing an installer, which is maven-based

2010-02-01 Thread Stephen Connolly
have you tried izpack-maven-plugin? 2010/2/1 Dmitry Katsubo > Hi all! > > Sorry, that my question seems to have been asked in maven user list > > http://mail-archives.apache.org/mod_mbox/maven-users/200710.mbox/%3c2fbbcb49-65d3-4258-906f-e252372e9...@massol.net%3e > but I have the situation, sim

Implementing an installer, which is maven-based

2010-02-01 Thread Dmitry Katsubo
Hi all! Sorry, that my question seems to have been asked in maven user list http://mail-archives.apache.org/mod_mbox/maven-users/200710.mbox/%3c2fbbcb49-65d3-4258-906f-e252372e9...@massol.net%3e but I have the situation, similar to that. I hope you can help me, as you might know what are the lates

Automatic updates from repository

2010-02-01 Thread Andrey Razumovsky
Hello, In our company we've got a local repository. There's an artifact (packaged as POM or as JAR), which is deployed by me and used by other projects. It is changing frequently, so we don't want referencing POM to change often (i.e. version changes rarely). Now it seems new versions are not down

JAVADOC-plugin: include comments from local dependent projects

2010-02-01 Thread Andrey Razumovsky
Hello, Imagine I have two projects, A and B. Both are mine projects and aren't published anywhere on the internet (don't have url). A is referenced from B. Classes from B inherit a lot from classes from A. The goal is to build docs for B, and include there only B sources. But also I want comments