Maven *.ear build for SAP Web AS

2010-09-09 Thread torsten . reinhard
Hi, actually we´re trying to get our *.ear built by Maven to be deployable und executable on SAP Web Application Server. We run into problems, caused by a classpath in (for example) javax.xml.soap saaj-api 1.3 This jar has a MANIFEST.MF containing Class-Path: jaxp-api.jar jax-qname.jar activ

Re: Plans to release Maven 3.0

2010-09-09 Thread Dennis Lundberg
On 2010-09-09 22:07, John Singleton wrote: > Unfortunately, our bcel dependency is a transitive dependency from a jBoss > pom, so I can't easily change that one either. You can exclude the transitive bcel dependency from the jboss dependency and add a dependency on the version of the bcel that you

Re: Plans to release Maven 3.0

2010-09-09 Thread Wayne Fay
> If you had a repo manager proxying central this could be fixed in a minute > or two... He is using Artifactory. He just doesn't want to have to manage artifacts that should be OK, and I don't disagree with him. Wayne - To unsu

Re: Plans to release Maven 3.0

2010-09-09 Thread Anders Hammar
If you had a repo manager proxying central this could be fixed in a minute or two... /Anders On Thu, Sep 9, 2010 at 22:07, John Singleton wrote: > Unfortunately, our bcel dependency is a transitive dependency from a jBoss > pom, so I can't easily change that one either. > > For the record, I do

Re: Plans to release Maven 3.0

2010-09-09 Thread John Singleton
Unfortunately, our bcel dependency is a transitive dependency from a jBoss pom, so I can't easily change that one either. For the record, I do not disagree that strict pom validation is a good idea, nor do I disagree that it is the responsibility of the artifact producer to produce a correct pom.

Re: Plans to release Maven 3.0

2010-09-09 Thread Wayne Fay
> bcel/bcel/5.1 and ant-contrib/ant-contrib/1.0b3.  Both of these poms are > structurally incorrect: bcel moved to o.a.bcel and has a 5.2 release with a proper pom file: http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/bcel/bcel/5.2/bcel-5.2.pom ant-contrib 1.03b does look to be wrong, yo

Re: Antwort: Re: mvn site - inherit src/site/site.xml in child modules instead of copy/paste?

2010-09-09 Thread Dennis Lundberg
This sounds like http://jira.codehaus.org/browse/MSITE-456 Which version of the Site Plugin are you using? 2.1.1 should work for you. On 2010-09-09 09:16, torsten.reinh...@gi-de.com wrote: > thanx, I already read this section, but > > my question is more this: > > Do I need to have a > > src\

Re: Plans to release Maven 3.0

2010-09-09 Thread John Singleton
Thanks, Yoav. This was indeed the case, at least for this pom. I'm not happy about turning off consistency checks but it did get me beyond the colt 1.2.0 problem. Unfortunately, two other errors were not solved by this fix: bcel/bcel/5.1 and ant-contrib/ant-contrib/1.0b3. Both of these poms are

[ANN] Maven Compiler Plugin 2.3.2 Released

2010-09-09 Thread Benjamin Bentmann
The Maven team is pleased to announce the release of the Maven Compiler Plugin, version 2.3.2. This plugin is used to compile the sources of your project. See the plugin's site for more details: http://maven.apache.org/plugins/maven-compiler-plugin/ To use the updated plugin in your projects

Re: How to contact uploader to maven central of org.eclipse.core artifacts

2010-09-09 Thread Brian Fox
This should be fixed now. On Tue, Sep 7, 2010 at 12:27 PM, Marshall Schor wrote: >  Today, Maven central was updated with incomplete uploads of several eclipse > artifacts: > > see http://repo2.maven.org/maven2/org/eclipse/core > > and within that directory are the following subdirectories: > > o

Re: How to fail Maven build when exec started Ant build fails?

2010-09-09 Thread Brian Fox
Well short of figuring out how to make the exec plugin detect the ant failure, which could be tricky because of how ecodes are handled at times...you could use the enforcer to check for the existence of certain files produced by that build. On Thu, Sep 9, 2010 at 6:45 AM, NickDeGraeve wrote: > >

Re: Maven Enforcer Plugin, requirePluginVersions, and Maven 3.0

2010-09-09 Thread Brian Fox
True. When I have time, I'll implement a Maven3 Specific rule to have the same functionality. On Wed, Sep 8, 2010 at 2:34 PM, Anders Hammar wrote: > The difference is that the enforcer rule will prevent a build if plugin > versions aren't locked down. Maven will only give warnings. My experience

Re: Maven Enforcer Plugin, requirePluginVersions, and Maven 3.0

2010-09-09 Thread Brian Fox
No, those are still covered by the enforcer as intended. On Wed, Sep 8, 2010 at 2:37 PM, Trevor Harmon wrote: > On Sep 8, 2010, at 11:14 AM, Brian Fox wrote: > >> The workaround is to not use >> this rule in M3 anymore since the core will throw warnings at you >> anyway. > > For the requireMavenV

Re: Problem using checkstyle with a remote config file for site generation

2010-09-09 Thread Dominique Jean-Prost
Here is the pom I use : org.apache.maven.plugins maven-checkstyle-plugin 2.5 org.codehaus.plexus plexus-resources 1.0-alpha-7 as mentionned in the

Re: SFTP wagon host key requires user input

2010-09-09 Thread Brett Porter
On 09/09/2010, at 10:46 PM, fhomasp wrote: > > Thanks for the answer, > > a quick question about that though before I try. Won't this deny access to > my buildserver? No... you're on the build server, modifying known_hosts which is outgoing. On 09/09/2010, at 11:06 PM, fhomasp wrote: > >

Re: Deploy goal with maven3?

2010-09-09 Thread Kalle Korhonen
On Thu, Sep 9, 2010 at 1:35 AM, motes motes wrote: > I have build the below MANIFEST first project using maven3 with tycho: > Any suggestion on how to deploy a project (like the one at the above > link) which consists of: > parent > ->bundle > ->feature > ->target definition > ->update site Do al

Problem using checkstyel with a remote config file for site generation

2010-09-09 Thread Dominique Jean-Prost
Hello, I'm meeting a problem using the checkstyle plugin for generating a report during site generation. My problem seems to be that I'm using a remote config file accessed by http. I raised an issue http://jira.codehaus.org/browse/MCHECKSTYLE-135, but I'm wondering if someone else met the probl

Re: access local repository by api

2010-09-09 Thread Anders Hammar
Eh, it's a Java API. AFAIK the impl for maven repos is part of Maven 3, but that shouldn't really matter as you'll be accessing everything through Java (you will not be running Maven CLI or similar). /Anders On Thu, Sep 9, 2010 at 13:32, Ernst, Andreas wrote: > Yeabut it requires maven 3, do

RE: access local repository by api

2010-09-09 Thread Ernst, Andreas
Yeabut it requires maven 3, doesn't it? -Original Message- From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] On Behalf Of Anders Hammar Sent: Thursday, September 09, 2010 1:29 PM To: Maven Users List Subject: Re: access local repository by api https://docs.sonatype

Re: access local repository by api

2010-09-09 Thread Anders Hammar
https://docs.sonatype.org/display/AETHER/Home /Anders On Thu, Sep 9, 2010 at 11:32, Ernst, Andreas wrote: > Hi, > > Does anybody have a simple example how to request model infromation from > the local repository via the maven api? > I need to compute alle parent artifacts given a root artifact.

How to fail Maven build when exec started Ant build fails?

2010-09-09 Thread NickDeGraeve
How can I make the Maven build fail if the Ant build that was starten via exec-maven-plugin fails? I'm modifying an existing Ant build so it will build on Bamboo. The easiest way to get all the dependecies sorted out was to wrap it in a Maven build. An added complication was that some added tasks

access local repository by api

2010-09-09 Thread Ernst, Andreas
Hi, Does anybody have a simple example how to request model infromation from the local repository via the maven api? I need to compute alle parent artifacts given a root artifact... Thanxs, Andreas Andreas Ernst System Architect Technology Management Phone: +49(0)221/2077-2278 Fax: +49(0)2

Re: ScriptRunner exception when calling Rhino script in Ant build from maven antrun plugin

2010-09-09 Thread Armin Ehrenfels
Hi Jacob, you can see from the error message that an optional ant functionality is missing. Now, you have to find the ant-xxx.jar that contains this class and add it to ant-run's dependencies. HTH Armin Am 09.09.2010 05:09, schrieb Jacob Beard: Hi, It actually seems that including the Be

Deploy goal with maven3?

2010-09-09 Thread motes motes
I have build the below MANIFEST first project using maven3 with tycho: http://mattiasholmqvist.se/2010/06/building-with-tycho-part-3-testing-code-coverage-and-easier-development-using-target-definitions/ But I am trying to figure out what the best practices of the deploy goal should do for this k

Maven webstart plugin and SNAPSHOT dependencies

2010-09-09 Thread Markus Binsteiner
Hi. I started to use the maven webstart plugin (the servlet configuration) and managed to setup everything so it builds and deploys nicely. The only thing I noticed is, that if I have SNAPSHOT dependencies those are not redownloaded by the webstart client (I assume because the version in the versi

Re: Mavin Dependency Management on Dynamic Web Project

2010-09-09 Thread relliott
Thanks justin, Obviously I'm a newbie of MavEn also :) I needed to add the maven war plugin to my pom.xml and specify the location of the web-inf directory as follows: maven-war-plugin

Antwort: Re: mvn site - inherit src/site/site.xml in child modules instead of copy/paste?

2010-09-09 Thread torsten . reinhard
thanx, I already read this section, but my question is more this: Do I need to have a src\site\site.xml \resources\images in all of my (multi-module) projects to get a complete site? When my projects miss these folders, an incomplete site is generated, missing the "modules" section