Re: Reactor never installs the master pom

2009-09-22 Thread Brett Porter
On 12/09/2009, at 10:05 AM, jemmer wrote: We are using a the reactor plugin extensively but have noticed that it never installs the master pom to the local repository. We manage all of our dependency version information in the master pom, so it is important that it be updated in the

war artifacts: copying dependent .jars elsewhere instead of bundling them?

2009-09-22 Thread Kristian Rink
Folks; maybe a strange use case again, however: We're using maven2 along with Spring and some other libraries included to build web applications, deployed to .war files, usually deployed to contain all the dependent .jars in WEB-INF/lib. While this is good in most situations, we found that in one

Re: war artifacts: copying dependent .jars elsewhere instead of bundling them?

2009-09-22 Thread Anders Hammar
I think you should have scope 'provided'. Your use case is what that's for. Regarding handling your dependencies for production, that's more of a server deployment issue isn't it? What I think you can use is the copy-dependensies mojo of the dependency plugin (

Re: webdav deployment fails with Access denied message with 2.2.1 (works with 2.0.10)

2009-09-22 Thread Brett Porter
I'm not sure if you got this resolved but I'm told this is a server side rule to prevent the bad checksums from 2.2.0 getting into the repository. It may need to be reviewed - in any case you should contact Atlassian about it as Maven is working with other WebDAV hosts.. - Brett On

Re: war artifacts: copying dependent .jars elsewhere instead of bundling them?

2009-09-22 Thread Kristian Rink
Hi Anders; and first, thanks a bunch for your comments, much appreciated. :) Anders Hammar schrieb: I think you should have scope 'provided'. Your use case is what that's for. Yes, that's what I thought as well, but, well, it's not always the case - we're using the same app code base for

Re: war artifacts: copying dependent .jars elsewhere instead of bundling them?

2009-09-22 Thread Anders Hammar
Anders Hammar schrieb: I think you should have scope 'provided'. Your use case is what that's for. Yes, that's what I thought as well, but, well, it's not always the case - we're using the same app code base for various deployments, but in not all situations the artifacts actually _are_

Re: war artifacts: copying dependent .jars elsewhere instead of bundling them?

2009-09-22 Thread Kristian Rink
Anders Hammar schrieb: You can have one project with a primary artifact (including all dependencies) and an extra artifact (w/o deps) using a classifier. I don't think you should worry about have many artifacts. If you do that, then you will have problems with maven...:-) I see. :) So by then

Re: Understanding Assembly Plugin

2009-09-22 Thread Luca Li Greci
2009/9/21 Neil Chaudhuri nchaudh...@potomacfusion.com I have that book, but it isn't clear to me if the assembly plugin actually builds and installs all the components. The way it reads, it seems like you simply describe where existing files live to be included in the assembly. It doesn't

Maven War Plugin

2009-09-22 Thread Barlow, Keith
Hiyas, I am trying to use the Maven War Plugin to move some resources into the WEB-INF/xsd directory instead of the WEB-INF/classes directory... The XSDs exist in the src/main/config directory along with some descriptive xml files which I do not want copied. I configured the Maven War

Corrupt repository? (spam html in .jar files)

2009-09-22 Thread Richard Taylor
Hi I am completely new to maven, just running through some ServiceMix tutorials (completely new to that too). Tracking down a 'mvn install' failure that said: [INFO] [ERROR] BUILD FAILURE [INFO]

Re: how do I include test-sources in the release:prepare and release:preform targets.

2009-09-22 Thread Nick Stolwijk
Add a second execution which executes the test-jar goal[1]. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-source-plugin/artifactId executions execution idtest-jar/id goals

Re: how do I include test-sources in the release:prepare and release:preform targets.

2009-09-22 Thread Stephen Connolly
Ahh much nicer... I should have guessed there was a second mojo! 2009/9/22 Nick Stolwijk nick.stolw...@gmail.com Add a second execution which executes the test-jar goal[1]. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-source-plugin/artifactId

Re: Corrupt repository? (spam html in .jar files)

2009-09-22 Thread Nick Stolwijk
As you are the first one to notice this, I would think it would be or your local computer or your company repository. Which repositories are you using for your project? With regards, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Tue,

Re: Corrupt repository? (spam html in .jar files)

2009-09-22 Thread Richard Taylor
Nick I have followed the tutorials on the ServiceMix site to the letter. The repositories in the pom.xml file are: repositories repository releases / snapshots enabledfalse/enabled /snapshots idapache/id nameApache Repository/name

Re: Corrupt repository? (spam html in .jar files)

2009-09-22 Thread Brett Porter
ServiceMix need to update their examples since they are pointing to an old domain name they apparently no longer own - you're going to need to ask them. BTW, a more robust set up you can work with is to put a repository manager in place - you can direct all your maven requests to it and

Re: Javascript support

2009-09-22 Thread Manos Batsis
Hi Minto, Minto van der Sluis wrote: Hi Manos, JavascriptDependencyFilter is a nice feature and a technical showcase, but I would not allow a feature like that to be activated in projects I control. With this feature I have no absolute control over my deliverables. As far as I can tell

RE: Javascript support

2009-09-22 Thread Sluis, M. van der (Minto)
Hi Manos, It seems I misunderstood the functionality. I thought .js files were pulled from outside the delivered EAR/WAR file straight from the maven repository. In this case the part you didn't get does not apply anymore. The same counts for my objections. Regards, Minto -Oorspronkelijk

Re: Corrupt repository? (spam html in .jar files)

2009-09-22 Thread Richard Taylor
Brett Would this be something like Nexus? Thanks Regards On Tue, 2009-09-22 at 18:32 +1000, Brett Porter wrote: ServiceMix need to update their examples since they are pointing to an old domain name they apparently no longer own - you're going to need to ask them. BTW, a more robust

Re: Javascript support

2009-09-22 Thread Manos Batsis
Sluis, M. van der (Minto) wrote: It seems I misunderstood the functionality. I thought .js files were pulled from outside the delivered EAR/WAR file straight from the maven repository. Truth is I need to make this clearer in the documentation. To provide an example, suppose you wanted to

Re: Corrupt repository? (spam html in .jar files)

2009-09-22 Thread Nick Stolwijk
Yes, Nexus is one of the repository managers, and the best imho. Others are Archiva or Artifactory. With regards, Nick Stolwijk ~Java Developer~ IPROFS BV. Claus Sluterweg 125 2012 WS Haarlem http://www.iprofs.nl On Tue, Sep 22, 2009 at 11:46 AM, Richard Taylor rjtay...@taz.qinetiq.com

Re: Javascript support

2009-09-22 Thread nicolas de loof
PS. Nicolas, 19 open issues in Jira, so there is some community feedback for your project. Half of them are Harlan Iverson todo list (also committer in this project) Some may get fixed quickly, but few of them has patch attached. By feedback I suggested mailing list activity on user or

Profile inheritance and activation in POM

2009-09-22 Thread Wush'
Hi, I have a parent POM with multiple profiles containing dependencyManagements. profiles profile idPROD-1.0/id dependencyManagement dependencies dependency

Re: how do I include test-sources in the release:prepare and release:preform targets.

2009-09-22 Thread Bill Brown
Greetings: I found the answer to my question in the maven-source-plugin wiki page here: http://docs.codehaus.org/display/MAVENUSER/Source+Plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-source-plugin/artifactId configuration attachtrue/attach /configuration

Re: Maven snapshot dependencies are not treated as snapshots

2009-09-22 Thread Paul Thomas-FMT
Sorry to ask again, but does anyone have any ideas? Is the question clear enough/have enough info? I cannot get snapshots to work... Thanks in advance, Paul -- Forwarded Message From: Paul Thomas-FMT paul.thom...@bbc.co.uk Reply-To: Maven Users List users@maven.apache.org Date: Thu, 17 Sep

UCM Clearcase + Changes on Site

2009-09-22 Thread raghu guru
Hi All, Is anyone successfully configured UCM clearcase using SCM plugin and created a source codes changes report from maven?? I couldn't configure nothing working for me, can you please any one point me to any available examples please!!! Thanks Jan

RE: Help with (sibling directory) modules

2009-09-22 Thread Barlow, Keith
If those projects have no dependencies upon each other... than you are best off declaring them as separate projects - you will then be able to check them out and build them as necessary. If those projects share common dependencies, you will want to establish as parent project which will

LATEST / RELEASE dependency version

2009-09-22 Thread james.shute
Looking in the Sonatype Maven book I see mention of the ability to specify the version of a dependency as LATEST or RELEASE (http://www.sonatype.com/books/maven-book/reference/pom-relationships-se ct-pom-syntax.html , 9.3.1.3) However when I try this (I'm using 2.0.9 and Nexus) it doesn't seem

RE: LATEST / RELEASE dependency version

2009-09-22 Thread Martin Gainty
James they are both versions so as the same level you have 1.0.0. create a folder called LATEST and a folder called RELEASE and put the latest pom and jar into LATEST and release pom and jar into RELEASE so your directory tree should look something like Repository/groupId/artifactId/LATEST

Re: LATEST / RELEASE dependency version

2009-09-22 Thread Stephen Connolly
these are *deprecated* features they never do what you think they do! LATEST picks the last version to be deployed... RELEASE picks the last non-SNAPSHOT to be deployed now imagine you have two development streams in progress... 1.x and 2.x as each stream deploys their releases, RELEASE

[ANN] Maven Verifier 1.2 Released

2009-09-22 Thread John Casey
The Maven team is pleased to announce the release of the Maven Verifier, version 1.2 This is a shared library for use in testing various Maven components. It allows the user to execute Maven builds as part of the testing process, with methods supporting test preparation and assertion of results.

[ANN] Maven Artifact Resolver (Shared Library) 1.0 Released

2009-09-22 Thread John Casey
The Maven team is pleased to announce the release of the Maven Artifact Resolver, version 1.0 This is a shared library that aims to simplify as much as possible the task of resolving dependency artifacts for one or more projects (MavenProject instances) all at once.

[ANN] Maven Remote Resources Plugin 1.1 Released

2009-09-22 Thread John Casey
The Maven team is pleased to announce the release of the Maven Remote Resources Plugin, version 1.1 This plugin uses configurable sets of template files stored in the Maven repository, combined with project and dependency POM information, to generate files such as DEPENDENCIES or LICENSE

Pom type dependency behavior

2009-09-22 Thread David Hoffer
I notice that specifying a pom type dependency on a pom that has child modules (e.g. it's a pom type) does not include those dependencies nor their transitive dependencies. However a pom type dependency on a pom that is not of pom type itself does bring in that dependency and its transitive

Maven on AIX getting Authentication Denied errors

2009-09-22 Thread Jim McCaskey
Hello all, I'm in a very mixed environment which has me doing a variety of things on Native platforms. I have been able to get this to work reliably on Solaris, HPUX, Linux, Win32, and Win64. However, I am having some trouble with AIX. I have a local Maven repository which requires

Re: Maven on AIX getting Authentication Denied errors

2009-09-22 Thread Wayne Fay
I'm not using a repository manager, just a file system exported via IIS. Can you set up Nexus (or Archiva, Artifactory, etc) just to see if that works? Then, if it does, you're all set to run a real MRM instead of IIS/file system. ;-) If it doesn't work, that gives some additional useful

using my own archtype

2009-09-22 Thread Manuel Grau
I have created my own archetype, to use with google app engine projects. I have packaged it and installed to my local repository usin mvn package install command. I've navigated in my repo to test if the jar is installed, and it is. But when I try to create a project using my archetype I

RE: Maven on AIX getting Authentication Denied errors

2009-09-22 Thread Jim McCaskey
Wayne, I knew this was the answer I was going to get. I should have prefaced with Use a repository manager answers need not apply. :) The answer is I would rather not spin my wheels on that exercise as I won't use it ultimately for a variety of reasons. I suppose your hoping to prove that

RE: using my own archtype

2009-09-22 Thread Edelson, Justin
You need to specify the archetype repository: http://maven.apache.org/plugins/maven-archetype-plugin/generate-mojo.html#archetypeRepository Justin From: Manuel Grau [mailto:mang...@gmail.com] Sent: Tue 9/22/2009 5:47 PM To: users@maven.apache.org Subject:

some maven basic problem

2009-09-22 Thread maven apache
I am new in using maven , so some basic problem confusing me: 1 When I create a new maven project how do I know which plugin to use? 2 the artifaceID and groupID respent what? 3 I have not use ant or other build tool before,so the pom.xml is stange to me . 4 what is the difference between the

Issues with maven-android-plugin with maven-proguard-plugin

2009-09-22 Thread prenaud76
Hi all. I am having all sorts of issues with maven-android-plugin together with maven-proguard-plugin. I managed to sort out most of them, but I just can't get rid of this final one. And I just don't understand what's happening really. It works well if I call android:dex separately from

RE: java.lang.NoClassDefFoundError: org/apache/log4j/Appender

2009-09-22 Thread GANDZ
Hello, Thanks for your reply. But if I add the org.apache to the group ID, i am having the following error: [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [ERROR] BUILD FAILED [ERROR] Failed to validate POM for project sg.com.star.amrts:amrts-svc at

Re: some maven basic problem

2009-09-22 Thread Anders Hammar
A good introduction to Maven is this book: http://www.sonatype.com/products/maven/documentation/book-defguide It's free! /Anders On Wed, Sep 23, 2009 at 04:22, maven apache apachemav...@gmail.com wrote: I am new in using maven , so some basic problem confusing me: 1 When I create a new maven

Re: Pom type dependency behavior

2009-09-22 Thread Anders Hammar
A project having (child) modules is a different story than a project having dependencies. Modules are not dependencies. So, you declaring a dependencu on an aggregating project (a project with modules) will not add the modules as transitive dependencies. If you have dependencies on any of the