could not resolve the parent pom - Maven3

2011-12-07 Thread Pradeep Fernando
Hi folks, Environment: Apache Maven 3.0.3 (r1075438; 2011-02-28 23:01:09+0530) / Linux My project structure is similar to, Carbon-Parent.pom \ orbit-bundles.pom (this has several modules) \ service-stubs.pom (this has several modules) * modules in Both projects

Checksum issue with webdav deploy

2011-12-07 Thread Julien HENRY
Hi, I was bitten by bug OutOfMemory when deploying big files (http://jira.codehaus.org/browse/WAGON-272) so I decided to switch to dav protocol. In my pom I have added dav: in front of URL in distributionManagement section, and also added webdav wagon this way: build   pluginManagement    

Re: Maven Enforcer Rule for Having annotation

2011-12-07 Thread Oliver Fischer
If you are going to write such tests, you should also have a look at refelctions (http://code.google.com/p/reflections). It is pretty forward and very easy to use if you are looking for specific classes or annotations... Am 17.10.2011 13:34, schrieb Ansgar Konermann: You might want to

How to run a plugin across all modules during release:perform

2011-12-07 Thread Ben Tatham
Hi, We have a custom plugin that runs whenever we release a project. Most of our projects are _not_ multi-module, so it generally works fine by adding that plugin to the release-plugin goals. However, when I add that into the root pom of a multi-module build, it only runs on the top-level

Re: How to run a plugin across all modules during release:perform

2011-12-07 Thread Julien HENRY
Hi, Maybe it is related to @aggregator on the goal of the plugin? http://maven.apache.org/developers/mojo-api-specification.html Regards, Julien - Mail original - De : Ben Tatham bentat...@nanometrics.ca À : users@maven.apache.org Cc : Envoyé le : Mercredi 7 Décembre 2011 15h41

Re: How to run a plugin across all modules during release:perform

2011-12-07 Thread Anders Hammar
I don't think that you approach is good. If you want it to happen together with release:perform, it MUST happen after deploy as the deploy to the repo could fail. If that fails, you mustn't update any project depending on it as it doesn't exist in the repo. Also, if you're using some kind of

Migrating from Maestro to Apache Maven - Archiva

2011-12-07 Thread Alex.
Hi , We would to migrate from Maetro 1.1 to Apache Maven 3.0 -Archiva. Any one have a good installation - configuration - integration guide? Best regards, Alex.

Maven site documentation problem

2011-12-07 Thread Jim McCaskey
Hello all, As a sort of public service announcement I would like to point out a problem with the docs here: http://maven.apache.org/plugins/maven-site-plugin/maven-3.html#Old_configuration_Maven_2__3 It has this little snippet at the top: reporting excludeDefaultstrue/excludeDefaults

Re: How to run a plugin across all modules during release:perform

2011-12-07 Thread Ben Tatham
I agree that there are many ways to solve the problem of updating libraries in various projects. I had this discussion a few years back with John Casey and Tim O'Brien, although coming at it from a different angle.

Re: How to run a plugin across all modules during release:perform

2011-12-07 Thread Ben Tatham
@aggregator does not do what I need. The plugin still only runs on the top-level module.Am I missing something incredibly obvious about the core of maven multi-module builds? mvn ca.nanometrics.maven:nmx-pom-plugin:1.5.5-SNAPSHOT:parent [INFO] Scanning for projects... [INFO]

Re: [nexus-user] Checksum issue with webdav deploy

2011-12-07 Thread Richard Seddon
This is actually a maven wagon issue: http://jira.codehaus.org/browse/MNG-4301 Try using the extension specified in that issue, it seems to solve it for me: extension groupIdorg.apache.maven.wagon/groupId artifactIdwagon-webdav/artifactId

Possible to limit enforcer plugin to a lifecycle phase?

2011-12-07 Thread laredotornado-3
Hi, I'm using Maven 3.0.3. If my Maven run includes the verify phase, I want to check to see if certain properties were included at the command line. I've found the Maven enforcer plugin to be useful for this purpose (guaranteeing things are included and conform to a certain value), but I can't

Building war for different project structure from maven j2ee statndard one

2011-12-07 Thread AK-47
Hi i want to create any EAR build which suppose to have web module as well but my issue is i am having different folder sturcture then the standard given by maven i have java source and web module in two different folders, usually it happens as in java web project (WTP) root POM-1 F1

Re: Building war for different project structure from maven j2ee statndard one

2011-12-07 Thread Cai Wei
I am not sure I have caught you very well, but to my understanding, by setting POM-3 as one of POM-4's dependencies would get java source in POM-3 inside war module (POM-4). Hope it helps. 2011/12/7 AK-47 akshay.learn...@gmail.com Hi i want to create any EAR build which suppose to have web

Re: [CALL FOR TEST] Apache Maven 3.0.4-RC3 staged

2011-12-07 Thread Mark Derricutt
I'm +1ing this - have been doing releases all day without issue. Someone did make a comment about memory usage the other day, I am seeing OOM exceptions more often in my large reactor build under the RC, but that's mostly Rhino stuff that has an evil leak in it. I did see a Permgen in Javac

Re: Building war for different project structure from maven j2ee statndard one

2011-12-07 Thread AK-47
Hi i want to make me more clear setting only deppendencies will not work, i got full java source com.comp.abc in JavaModule i want to get WAR to be done WebContent module so i need all complied java class files must be available in WebContent before building was now the question here is - 1)

APT: How to add relative links with special symbols?

2011-12-07 Thread Tsz-Wo Nicholas Sze
Hi, I tried to add relative links with special symbols (e.g. '%', ' ', '(') to apt docs.  However, the special symbols are removed/replaced in the generated doc and so the link does not work.  For examples,   * {{{../api/Test.html#foo(int, String)}Unespaced relative url}} ~~  BAD: It becomes a

Using maven to modify a vendor supplied war/ear

2011-12-07 Thread Bruce Albrecht
Our company has several projects where we have received a war or ear from a vendor, and we need to insert jars or configuration files into the vendor artifact before deploying them. Is there an existing maven plugin that can handle this? If there is such a plugin, can it manage

Re: APT: How to add relative links with special symbols?

2011-12-07 Thread Lukas Theussl
That's a known issue and discussed here: http://jira.codehaus.org/browse/DOXIA-397 HTH, -Lukas Tsz-Wo Nicholas Sze wrote: Hi, I tried to add relative links with special symbols (e.g. '%', ' ', '(') to apt docs. However, the special symbols are removed/replaced in the generated doc and

Re: Building war for different project structure from maven j2ee statndard one

2011-12-07 Thread Stephen Connolly
if you are not allowed to change the web app structure in any way, don't use maven... use ant. maven is opinionated... maven's opinion is the structure you want to follow is a load of rubbish... maven will fight you all the way... and any time you fight maven, you will loose. btw. with some

SV: Using maven to modify a vendor supplied war/ear

2011-12-07 Thread Johan Erlands
Hello, I don't know of a plugin that does what you want, but I have used several plugins to repack an ear. I used the dependency plugin to unpack the ear. The maven-config-processor-plugin to change application.xml and the assembly-plugin to pack the ear again. Regards, Johan