Re: Broken mvn site

2010-05-20 Thread Kalle Korhonen
Yes, in 2.x reporting plugins don't use the pluginManagement section, I've never understood why. It's stated *somewhere* in the docs but whether you are going to read it before first hitting the issue is probably unlikely. The whole reporting is going to be revamped in 3.x and I'm sure this is one

Maven EAR + EJB ... jars with prefixed lib/ except for EJB

2010-05-20 Thread zm
Hi, I'm having some trouble setting up a basic maven project structure. In this case, I'm setting up an EAR project with an EJB and a WAR project inside. I can successfully build the project, but the problem is as follows: I define a defaultJavaBundleDir lib/ on the ear pom. I want every jar

Re: Error from maven deploy plugin during release:perform

2010-05-20 Thread Stijn Maller
Hi Ron, Did you end up solving this issue or did you perhaps find a workaround? I'm facing exactly the same issue. (The module deploys fine when using mvn deploy, but not when it is deployed during a mvn release:perform) In my case the project is an ear module in a multi module project. What

Re: Problem with the release:perform

2010-05-20 Thread Stijn Maller
Hi Guys, Sorry for the late reply, but I'm now facing the exact same issue as Jouko. (The module deploys fine when using mvn deploy, but not when it is deployed during a mvn release:perform) In my case the project is an ear module in a multi module project. What makes it even weirder is that

[ANN] Maven Project Info Reports Plugin 2.2 Released

2010-05-20 Thread Olivier Lamy
Hi, The Maven team is pleased to announce the release of the Maven 2.x Project Info Reports Plugin, version 2.2 NOTE : this version is site plugin 2.1+ required. http://maven.apache.org/plugins/maven-project-info-reports-plugin/ You should specify the version in your project's plugin

[ANN] Maven Shade Plugin 1.3.3 Released

2010-05-20 Thread Benjamin Bentmann
The Maven team is pleased to announce the release of the Maven Shade Plugin, version 1.3.3. This plugin provides the capability to package the artifact in an uber-jar, including its dependencies and to shade - i.e. rename - the packages of some of the dependencies. See the plugin's site for more

Re: Maven EAR + EJB ... jars with prefixed lib/ except for EJB

2010-05-20 Thread zm
More Info: In my war pom, I have the following: ... dependencies dependency groupIdcom.test/groupId artifactIdmy-ejb/artifactId typeejb-client/type /dependency ...

Re: Maven EAR + EJB ... jars with prefixed lib/ except for EJB

2010-05-20 Thread zm
More Info: In my war pom, I have the following: ... dependencies dependency groupIdcom.test/groupId artifactIdmy-ejb/artifactId typeejb-client/type /dependency ...

Re: Maven EAR + EJB ... jars with prefixed lib/ except for EJB

2010-05-20 Thread zm
More Info: In my war pom, I have the following: ... dependencies dependency groupIdcom.test/groupId artifactIdmy-ejb/artifactId typeejb-client/type /dependency ...

Re: Maven EAR + EJB ... jars with prefixed lib/ except for EJB

2010-05-20 Thread zm
More Info: In my war pom, I have the following: ... dependencies dependency groupIdcom.test/groupId artifactIdmy-ejb/artifactId typeejb-client/type /dependency ...

Re: Maven EAR + EJB ... jars with prefixed lib/ except for EJB

2010-05-20 Thread zm
More Info: In my war pom, I have the following: ... dependencies dependency groupIdcom.test/groupId artifactIdmy-ejb/artifactId typeejb-client/type /dependency ...

Re: Broken mvn site

2010-05-20 Thread Benson Margulies
Oh! That's what I originally expected, and then I got tanged up on stackoverflow with someone who seemed to be complaining of a much broader prohibition. On Thu, May 20, 2010 at 1:23 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: no variables in /project/parent/groupId

Mojo Command Line Properties

2010-05-20 Thread Sessizlik
Hi, How can I access command line properties via a Mojo SubClass. Now I had this: /** @parameter default-value=${project} */ private MavenProject mavenProject; However when I tried to get properties via mavenProject.getProperties(), I can not access command line properties that I

Re: Maven EAR + EJB ... jars with prefixed lib/ except for EJB

2010-05-20 Thread Anders Hammar
Does it work (when deploying in the app server) if you just skip the manifest config part of the war plugin? I was under the impression that the manifest file doesn't really matter for war files, but I could be wrong. (You'd be accessing the classes from the classpath and that's handled by the

How do you mavenize projects ? (EJB, Webapp, JPA under Eclipse)

2010-05-20 Thread Celinio Fernandes
Hi, I am using Eclipse Galileo. Initially I created several projects (one webapp, one EJB project, one JPA project) in Eclipse, without Maven. The output of these projects is a single EAR file (containing the JAR, WAR files ...). There is no ANT build file. The compilation and creation of the

Setting environment variables in the exec plugin

2010-05-20 Thread Thiébault Benoît
Hi everyone, I'm trying to execute a Java program accessing native components, following the very good blog post http://www.buildanddeploy.com/node/17 I however have a problem setting environment variables within the exec plugin. Here is an extract of my POM : plugin

Re: How do you mavenize projects ? (EJB, Webapp, JPA under Eclipse)

2010-05-20 Thread Thiébault Benoît
Hi Celinio, You should download the book http://repo.exist.com/dist/maestro/1.7.0/BetterBuildsWithMaven.pdf Chapter 8 gives an example of Maven migration Hope this helps Benoît Le 20 mai 2010 à 15:46, Celinio Fernandes a écrit : Hi, I am using Eclipse Galileo. Initially I created several

Re: Mojo Command Line Properties

2010-05-20 Thread Sessizlik
I thought that I could not be here but It was at here: System.getProperties() Thanks -- View this message in context: http://old.nabble.com/Mojo---Command-Line-Properties-tp28619934p28621731.html Sent from the Maven - Users mailing list archive at Nabble.com.

Re: How do you mavenize projects ? (EJB, Webapp, JPA under Eclipse)

2010-05-20 Thread Celinio Fernandes
Thanks very much for these helpful pointers. --- On Thu, 5/20/10, Jeff Jensen jeffjen...@upstairstechnology.com wrote: From: Jeff Jensen jeffjen...@upstairstechnology.com Subject: Re: How do you mavenize projects ? (EJB, Webapp, JPA under Eclipse) To: Maven Users List users@maven.apache.org,

Dependency on assembly?

2010-05-20 Thread C. Benson Manica
Let's say I have a dependency that looks something like dependency groupIdcom.foo/groupId artifactIdbar/artifactId version1.0/version /dependency This artifact gets deployed with an additional assembly, baz.tar.gz, that I want to make use of in

Re: How do you mavenize projects ? (EJB, Webapp, JPA under Eclipse)

2010-05-20 Thread Elliot Huntington
http://repo.exist.com/dist/maestro/1.7.0/BetterBuildsWithMaven.pdf appears to be a broken link. Maybe the server is just down temporarily. On Thu, May 20, 2010 at 8:32 AM, Celinio Fernandes cel...@yahoo.com wrote: Thanks very much for these helpful pointers. --- On Thu, 5/20/10, Jeff Jensen

Re: Maven EAR + EJB ... jars with prefixed lib/ except for EJB

2010-05-20 Thread zm
Anders Hammar wrote: Does it work (when deploying in the app server) if you just skip the manifest config part of the war plugin? I was under the impression that the manifest file doesn't really matter for war files, but I could be wrong. (You'd be accessing the classes from the classpath

Re: Maven EAR + EJB ... jars with prefixed lib/ except for EJB

2010-05-20 Thread zm
Anders Hammar wrote: Does it work (when deploying in the app server) if you just skip the manifest config part of the war plugin? I was under the impression that the manifest file doesn't really matter for war files, but I could be wrong. (You'd be accessing the classes from the classpath

Re: Maven EAR + EJB ... jars with prefixed lib/ except for EJB

2010-05-20 Thread zm
Anders Hammar wrote: Does it work (when deploying in the app server) if you just skip the manifest config part of the war plugin? I was under the impression that the manifest file doesn't really matter for war files, but I could be wrong. (You'd be accessing the classes from the classpath

Re: Maven EAR + EJB ... jars with prefixed lib/ except for EJB

2010-05-20 Thread zm
Anders Hammar wrote: Does it work (when deploying in the app server) if you just skip the manifest config part of the war plugin? I was under the impression that the manifest file doesn't really matter for war files, but I could be wrong. (You'd be accessing the classes from the classpath

Re: Maven EAR + EJB ... jars with prefixed lib/ except for EJB

2010-05-20 Thread zm
Anders Hammar wrote: Does it work (when deploying in the app server) if you just skip the manifest config part of the war plugin? I was under the impression that the manifest file doesn't really matter for war files, but I could be wrong. (You'd be accessing the classes from the classpath

Re: Mojo Command Line Properties

2010-05-20 Thread Olivier Lamy
Hi, Try with /** * The Maven Session Object * * @parameter expression=${session} * @required * @readonly */ protected MavenSession session; session.getExecutionProperties() 2010/5/20 Sessizlik cem.koc@gmail.com: Hi, How can I access command line properties via a Mojo SubClass.

javadoc throws NPE

2010-05-20 Thread Denis Kranjčec
I am trying to generate javadoc for a project but javadoc throws NPE without any information. Maven output: Generating C:/ci/svn/project/project-name/trunk/target/site/apidocs\package-use.htm l... Generating C:/ci/svn/project/project-name /trunk/target/site/apidocs\mypackage/\package-use.ht ml...

Re: Is there a way to disable transitive dependencies?

2010-05-20 Thread chetan mehrotra
There is a bug logged for it. Vote for it at http://jira.codehaus.org/browse/MNG-2315 Chetan Mehrotra On Tue, May 18, 2010 at 7:48 PM, AVSUNIL sunil...@infosys.com wrote: Hi Ron, I want to do something similar.. but I want to tell maven to exclude all dependencies instead of listing 9 to

RE: javadoc throws NPE

2010-05-20 Thread Martin Gainty
Denis- http://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html can you provide us the configuration parameters for: outputDirectory reportOutputDirectory thanks, Martin-- __ Jogi és Bizalmassági kinyilatkoztatás Ez az üzenet

Re: Maven EAR + EJB ... jars with prefixed lib/ except for EJB

2010-05-20 Thread Anders Hammar
I'm not sure we understand each other. I'm asking you to just skip this part of the war-plugin configuration: archive manifest addClasspathtrue/addClasspath classpathPrefixlib//classpathPrefix

Re: Maven EAR + EJB ... jars with prefixed lib/ except for EJB

2010-05-20 Thread Wayne Fay
On Thu, May 20, 2010 at 10:41 AM, zm _m...@hotmail.com wrote: zm, can you PLEASE hit the send button ONLY ONE TIME in the future?? This is ridiculous. If you aren't sure if a message made it through to the list, check the list archive at Nabble.com. Wayne

Re: [ANN] Maven Project Info Reports Plugin 2.2 Released

2010-05-20 Thread Kalle Korhonen
Thanks! I tried 2.2 with the site plugin (2.1), but I'm getting: [INFO] Trace java.lang.ArrayIndexOutOfBoundsException: 1 at org.apache.maven.doxia.module.xhtml.XhtmlSink.tableCell(XhtmlSink.java:791) which seems to be caused by: http://jira.codehaus.org/browse/DOXIA-215 Assuming the

Re: [ANN] Maven Project Info Reports Plugin 2.2 Released

2010-05-20 Thread Michael Delaney
I'm using Maven 2.2.1 and didn't upgrade to the new version of the project info reports and all of my site calls are broken with the same issue. On 5/20/2010 3:37 PM, Kalle Korhonen wrote: Thanks! I tried 2.2 with the site plugin (2.1), but I'm getting: [INFO] Trace

Preventing an inherited report from running

2010-05-20 Thread Timothy Mcginnis
I have a master pom that specifies the reports to be run. In one of the child projects I do not want to run one of those reports. How do I prevent it from running? Tim McGinnis 717 720-1962 Web Development AES/PHEAA

Re: Preventing an inherited report from running

2010-05-20 Thread Wendy Smoak
On Thu, May 20, 2010 at 4:25 PM, Timothy Mcginnis tmcgi...@aessuccess.org wrote: I have a master pom that specifies the reports to be run.  In one of the child projects I do not want to run one of those reports.  How do I prevent it from running? In general you can't un-inherit things, but

Re: Preventing an inherited report from running

2010-05-20 Thread Timothy Mcginnis
The skip helps. But there is one I'd like to get rid of, the Cobertura report. And it doesn't have a skip. Tim McGinnis 717 720-1962 Web Development AES/PHEAA From: Wendy Smoak wsm...@gmail.com To: Maven Users List users@maven.apache.org Date: 05/20/2010 04:33 PM Subject: Re: Preventing an

This project has been banned...?

2010-05-20 Thread Laird Nelson
What are the conditions under which the following error message is output by Maven: This project has been banned from the build due to previous failures I am seeing it in a Hudson build. It happens to be marked as --fail-at-end, but I'm not sure if that's the trigger, and I'm not sure how to

enforcer BeanShell script, retrieving escaped stuff from ExpressionEvaluator

2010-05-20 Thread lukewpatterson
evaluateBeanshell rule: http://maven.apache.org/plugins/maven-enforcer-plugin/rules/evaluateBeanshell.html want to do something like this: directoryScanner = new org.codehaus.plexus.util.DirectoryScanner(); directoryScanner.setBasedir(new java.io.File(${project.basedir})); ... but

unable to run jetty

2010-05-20 Thread fachhoch
I added this plugin to my pom plugin groupIdorg.mortbay.jetty/groupId artifactIdjetty-maven-plugin/artifactId version7.0.0.pre5/version configuration scanIntervalSeconds10/scanIntervalSeconds

Re: Preventing an inherited report from running

2010-05-20 Thread Nick Stolwijk
It is an easy fix to create that parameter. I guess your best change is to create a jira issue with the plugin and provide a patch. In the mean time, release your own version if you have an artifact repository so each developer can get your own version. With regards, Nick Stolwijk ~Java

Re: Dependency on assembly?

2010-05-20 Thread Marshall Schor
On 5/20/2010 11:29 AM, C. Benson Manica wrote: Let's say I have a dependency that looks something like dependency groupIdcom.foo/groupId artifactIdbar/artifactId version1.0/version /dependency This artifact gets deployed with an

Re: Preventing an inherited report from running

2010-05-20 Thread Marshall Schor
One technique I've had work in the normal build plugins, that probably would work in the reporting ones, is this: Let's say the Cobertura report you're inheriting (from some parent pom, I presume) is configured there with an execution idxyz/id (If it doesn't have this, then it is using some

Re: Setting environment variables in the exec plugin

2010-05-20 Thread Marshall Schor
Maybe you need to set the environmentVariables this way (see [1]): environmentVariables DYLD_LIBRARY_PATH ${project.build.directory}/thirdparty/vtk/lib/vtk-5.4/ /DYLD_LIBRARY_PATH /environmentVariables -Marshall Schor [1]

Maven 2 WebSphere AS and Portal Plugins

2010-05-20 Thread D D
Hello, I'm setting up a build for a series of projects that reference WebSphere Application Server 6 and Portal 6.1. Does anyone know of maven plugin that deals with those products? Please share your experiences. Thanks in advance! Dave PS. I queried the user group through google (websphere

Re: Maven 2 WebSphere AS and Portal Plugins

2010-05-20 Thread Balazs Tothfalussy
Hi Dave, in the past I had some experiences with was6-maven-plugin ( http://mojo.codehaus.org/was6-maven-plugin/) and successfully used it to generate the needed codes for simple EJB and Webservice projects. You have to know, that this plugin actually delegates this work to the tools created by

Re: Release Plugin and local working copy changes

2010-05-20 Thread Mark Derricutt
Finally got around to catching up with the guy who reported this problem to me originally - they were running 2.0-beta-8 which I think was fixed in the master pom - adding a dependency block to use 2.0 solved the problems.. Looks like at some point they had their subversion server updated. I was

Re: Is there a way to disable transitive dependencies?

2010-05-20 Thread AVSUNIL
Hi all, Somehow I fixed this after manual comparision of every maven files between the 2 environments. The environment where this problem was present, had incorrect settings.xml. The mirrorID was incorrectly mentioned same as server repository id. I changed to proxy repository id and it started