maven 3.0.1 doesn't download sources

2010-11-29 Thread Moser, Christian
Hi Maven 3.0.1 and artifactory 2.3.1 with unique (non-unique won't work) snapshot repository doesn't UPDATE sources from the repository. Calling mvn -U dependency:sources with an empty local repository will resolve all sources correctly. After a newer artifact was deployed and the maven was cal

Re: Add parent pom project to repos?

2010-11-29 Thread Ron Wheeler
If "Yes" is not sufficiently reassuring, I will add the following. Yes. You just create the required version of the parent POM project and "deploy" it to your repo. When you refer to it by GAV, Maven will get the right version of the POM and apply it the way that you intended. This works for b

Re: Add parent pom project to repos?

2010-11-29 Thread Benson Margulies
Yes. On Mon, Nov 29, 2010 at 4:51 PM, ginni wrote: > > We're thinking of using Nexus for an internal repository and would like to > know if it is possible (and how) to host parent pom projects there?  We have > a (grand)parent pom project "aero" with a parent pom child project "common" > and then

Add parent pom project to repos?

2010-11-29 Thread ginni
We're thinking of using Nexus for an internal repository and would like to know if it is possible (and how) to host parent pom projects there? We have a (grand)parent pom project "aero" with a parent pom child project "common" and then modules within that which all reference common as their paren

[ANN] Maven Indexer version 3.1.0 Released

2010-11-29 Thread Brian Demers
The Maven team is pleased to announce the release of the Maven Indexer, version 3.1.0 This is the first release after moving the code from Sonatype to Apache. This release will allow integrators to update their projects with the new package names. There are no functional changes since the last S

Wagon-SCM, and Mercurial... Help?

2010-11-29 Thread Cliff Hill
*I am hoping I am getting to the right people here... Anyway, here's the situation: Attempting to set up Maven to be able to deploy a site to a mercurial repository on Google Code, which from what I have read, should be done through the wagon-scm plugin, which in turn relies upon the maven-scm plug

[CVE-2010-3449] Apache Archiva CSRF Vulnerability

2010-11-29 Thread Deng Ching
CVE-2010-3449: Apache Archiva CSRF Vulnerability Severity: Important Vendor: The Apache Software Foundation Versions Affected: Archiva 1.0 to 1.0.3 (end of life) Archiva 1.1 to 1.1.4 (end of life) Archiva 1.2 to 1.2.2 (end of life) Archiva 1.3 to 1.3.1 Description: Apache Archiva doesn't check

Re: XJC/XSD dependancies

2010-11-29 Thread Jon Paynter
Yes thats something we struggle with here as well. But since a lot of the XSD files are shared across multiple modules, and the entire project is released as one unit -- the issues are less than one would expect. Another suggestion is to break up the xsd files such that files which depend on each

RE: XJC/XSD dependancies

2010-11-29 Thread Joel Schuster
I'm concerned as this means that the XSD is versioned/released separately from the POJOs that they create. - Joel -Original Message- From: Jon Paynter [mailto:kittl...@gmail.com] Sent: Monday, November 29, 2010 2:43 PM To: Maven Users List Subject: Re: XJC/XSD dependancies Our project

Re: Getting phase in a plugin

2010-11-29 Thread Eric Rotick
OK I will have to use configuration then. In that case, if there are multiple instances of the plugin in a single pom hierarchy with multiple executions, is it true that there is only one instance of the plugin mojo object which is reconfigured for each execution? On 29 November 2010 18:41, Steph

Re: XJC/XSD dependancies

2010-11-29 Thread Jon Paynter
Our project uses xsd files as well. before moving to maven, what we did was to put ALL the xsd files into a single component -- now a maven project. Then any project needing the xsd files just adds a dependency in the usual way. Granted this makes for extra overhead when you have multiple teams o

XJC/XSD dependancies

2010-11-29 Thread Joel Schuster
I have a couple projects in that use XJC via the org.jvnet.jaxb2.maven2 plugin. The problem I'm running into is when the XSD of one project depends on the XSD of another. I can't seem to find a good 'maven-esq' way to deal with this. Right now I'm unpacking the xsds from the dependency jars (v

[ANN] Apache parent 8, Maven Parent 18, apache-source-release-assembly-descriptor 1.0.3 Released

2010-11-29 Thread Brian Demers
The Maven team is pleased to announce the following releases: apache-source-release-assembly-descriptor 1.0.3 Apache Parent 8 Maven Parent 18 This release allows for apache projects to optionally create zip and tar source bundles by setting the property: 'sourceReleaseAssemblyDescriptor' to 'sour

Re: Getting phase in a plugin

2010-11-29 Thread Stephen Connolly
You currently cannot - Stephen --- Sent from my Android phone, so random spelling mistakes are a direct result of using swype to type on the screen On 29 Nov 2010 18:39, "Eric Rotick" wrote: I have created a plugin and I would like to do slightly different things based on the phase in which th

Re: Scripting the versions plugin via a profile

2010-11-29 Thread Stephen Connolly
The reason is it modifies the pom, so you need to re-invoke maven afterwards - Stephen --- Sent from my Android phone, so random spelling mistakes are a direct result of using swype to type on the screen On 29 Nov 2010 18:03, "Benson Margulies" wrote: [INFO] Mojo: 'use-latest-versions' require

Getting phase in a plugin

2010-11-29 Thread Eric Rotick
I have created a plugin and I would like to do slightly different things based on the phase in which the plugin is executing. How can I determine the phase at execute time? Many thanks.

Scripting the versions plugin via a profile

2010-11-29 Thread Benson Margulies
[INFO] Mojo: 'use-latest-versions' requires direct invocation. It cannot be used as part of the lifecycle (it was included via the POM). I tried to make a profile to run versions:use-latest-versions, and was rewarded with the above. Is there a way around this, or do I need a shell script? ---

Re: FYI Repo "hacked"?

2010-11-29 Thread Jon Strayer
Thanks for the reply. I checked my Nexus logs and it showed a similar problem but for a different repository. The Java.Net proxy didn't show the problem. I cleared my local repository and Nexus. Perhaps that will clear the problem. On Mon, Nov 29, 2010 at 9:52 AM, Brian Fox wrote: > Lets loo

hi

2010-11-29 Thread per-henrik hedman
Hi , long time no seeing you ! There is good news I want to share . For a long time , I want to buy a laptop , one that is high quality but low price . This morning I got my laptop , just one week after I put the order on the site ( www.olcekn0.com ) . The site has many kinds of electric products

Build failure

2010-11-29 Thread El Arbi ABOUSSOROR
Hi, I’m trying to create an archetype from existing project but fail to. D:\apps\FlightsV2>mvn archetype:create-from-project -e + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] ---

Re: Inheritance of distributionManagement

2010-11-29 Thread Anders Hammar
Do the module projects declare a parent, from which the distMgmt will be inherited? /Anders (mobile) Den 2010 11 29 16:27 skrev "Pazmiño Mazón, Iván Andrés" : > Hi, > > I'm having problems with a composite maven 2 project. I have set up a > base project which carries the configuration. > When it'

Inheritance of distributionManagement

2010-11-29 Thread Pazmiño Mazón , Iván Andrés
Hi, I'm having problems with a composite maven 2 project. I have set up a base project which carries the configuration. When it's extended by another project without modules it works just fine. But now I happened to need to extend the base project from another project which has some modules decl

RE: Best practices for dependency management for multiply projects

2010-11-29 Thread Yanko, Curtis
I found this article to be very helpful http://olex.openlogic.com/wazi/2010/creating-intelligent-projects-with-m aven/ Curt Yanko | Continuous Integration Services | UnitedHealth Group IT Making IT Happen, one build at a time, 600 times a day > -Original

Re: FYI Repo "hacked"?

2010-11-29 Thread Brian Fox
Lets look at this closely: On Mon, Nov 29, 2010 at 8:36 AM, Jon Strayer wrote: > On the 24th of November my reports build failed.  The failure message is: > Unable to read local copy of metadata: Cannot read metadata from > 'e:\repo\org\apache\maven\skins\maven-default-skin\maven-metadata-java.ne

Best practices for dependency management for multiply projects

2010-11-29 Thread ilya.mayzel
Hi, I have more then 100 maven projects and each of then has .jar dependencies. I can put dependencies directly into each application POM file or keep them separately as a separate POMs. In the second scenario I may be able to share the dependency POM files between few apps, however downside will

Re: maven-release-plugin: computed releaseVersion used as property?

2010-11-29 Thread João Ferreira
Hello. I was also interested in a solution for this. Currently i have to use -Dtag= Regrads João Ferreira 2010/11/25 Lars Fischer > Hello, > > I would like to use the maven-release-plugin and set a different > release tag without the need of interacting. > Additional I need to use the com

FYI Repo "hacked"?

2010-11-29 Thread Jon Strayer
On the 24th of November my reports build failed. The failure message is: Unable to read local copy of metadata: Cannot read metadata from 'e:\repo\org\apache\maven\skins\maven-default-skin\maven-metadata-java.net.xml': end tag name must be the same as start tag from line 7 (position: TEXT seen .

Re: How to make sure the local repository contains the latest versionof a specific artifact?

2010-11-29 Thread Stephen Connolly
Once I get my changes to m-release-p out and add two goals to v-m-p we'll be able to develop with ranges and release locked down to pinned versions - Stephen --- Sent from my Android phone, so random spelling mistakes are a direct result of using swype to type on the screen On 29 Nov 2010 08:54,

Re: How to make sure the local repository contains the latest versionof a specific artifact?

2010-11-29 Thread Anders Hammar
I agree, I don't like version ranges either. But, for some reason he wants to always use the latest version and then specifying with no upper limit could do the trick. However, I would never use that for any build I'd like to be able to reproduce. In my case that would be everything I use Maven for

Re: Assembly Plugin 2.2 File Filtering

2010-11-29 Thread Gérald Quintana
It already exists, please vote for http://jira.codehaus.org/browse/MASSEMBLY-528 Gérald 2010/11/26 Simone Tripodi : > I got *exactly* the same issue, I suppose we should fill a new Issue on > Jira!!! > Simo > > http://people.apache.org/~simonetripodi/ > http://www.99soft.org/ > > > > On Fri, Nov