AW: AW: Locking down default plugin versions

2011-07-14 Thread Moser, Christian
- Von: Barrie Treloar [mailto:baerr...@gmail.com] Gesendet: Donnerstag, 14. Juli 2011 01:35 An: Maven Users List; joerg.schai...@gmx.de Betreff: Re: AW: Locking down default plugin versions On Thu, Jul 14, 2011 at 1:27 AM, Jörg Schaible joerg.schai...@gmx.de wrote: Moser, Christian wrote

AW: how to enforce synchronization between source control and mvndeploy?

2011-07-14 Thread Moser, Christian
We wrote a custom enforcer rule for maven-enforcer-plugin to check whether there is a newer revisions while maven was in install lifecycle (deploy lifecycle is to late to enforce, already deployed..). It wasn't that difficult but very helpful, it was really worth the work. You could for example

Locking down default plugin versions

2011-07-13 Thread Moser, Christian
I start a release build with following cmd: Mvn -Darguments=-DskipTests=true -Denforcer.skip=true -Dmaven.javadoc.skip=${skipJavadoc} -Dtag=${tag} -Dmaven.javadoc.skip=${skipJavadoc} -Dgoals=deploy release:perform With maven-release-plugin:2.1:perform, maven 3.0.1 will print out:

AW: Locking down default plugin versions

2011-07-13 Thread Moser, Christian
14:32 An: Maven Users List Betreff: Re: Locking down default plugin versions On Wed, Jul 13, 2011 at 8:59 PM, Moser, Christian c...@metrohm.com wrote: I'm skipping javadoc, do you know  why javadoc-plugin is needed? Skipping a plugin isn't a built-in maven feature. Each plugin decides

Maven-Release-Plugin SVN locking

2011-05-27 Thread Moser, Christian
Hi, We are using subversion 1.6 as SCM. Is it possible to lock files during a release with maven release plugin ? I tried -DuseEditMode=true to lock the project files during goal :prepare and :perform with no luck, I was still able to commit into the trunk while the plugin was at work

Maven 3.0.1 curious hangs

2011-05-23 Thread Moser, Christian
Hi, We're using Maven 3.0.1 with Hudson 1.380 with a free style job and artifactory 2.3.1 as repo manager. We experienced that maven 3 would hang for several hours / or days (we) if we restart our artifactory server while a hudson was running. It seems like there's no timeout to break

AW: Maven Fitnesse plugin

2011-05-16 Thread Moser, Christian
Hi, I would be interested to test your plugin because it would really simplify our test environment. We were facing simular classpath problems and were forced to copy the needed artifacts by maven-dependency-plugin to the Fitnesse server classpath directory. We were then be able to execute

AW: subversion vs maven

2011-02-22 Thread Moser, Christian
..takes quite some time to build it ( 30-40 minutes ), which I need to do every morning after an svn update. I'm not sure why do you think that it's necessary to build the whole project locally every morning? After a commit, a maven project should be deployed as SNAPSHOT version into the remote

get MavenProject reference from module path

2011-02-01 Thread Moser, Christian
I'm currently developing a maven enforcer rule. How can I get object references to all modules of a parent pom ?

get MavenProject reference from module path

2011-02-01 Thread Moser, Christian
I'm currently developing a custom enforcer rule. How can I get object references to all modules of a parent pom ? final ListString modulesRelativePath = parentProject.getModules(); delivers only the relative path to the project pom. I need something like : final ListMavenProject

maven-release-plugin - lock files during release

2011-01-25 Thread Moser, Christian
According to the documentation: http://maven.apache.org/plugins/maven-release-plugin/examples/lock-files .html Am I right in assuming that I'd be able to lock files during a release with: release:prepare -DuseEditMode=true so that nobody could commit files/directories during the

no dependency information available

2010-12-16 Thread Moser, Christian
Hello I'm using maven 3.0.1 I got following ouput everytime I've built a child project. The missing dependencies are declared in the parent project. The curious thing is that the build never fails and the [WARNING] messages are displayed at the end of the build. Futhermore are all of those

AW: no dependency information available

2010-12-16 Thread Moser, Christian
with the Artifactory web-interface? -Chris -Ursprüngliche Nachricht- Von: Wendy Smoak [mailto:wsm...@gmail.com] Gesendet: Donnerstag, 16. Dezember 2010 15:03 An: Maven Users List Betreff: Re: no dependency information available On Thu, Dec 16, 2010 at 8:58 AM, Moser, Christian c...@metrohm.com

AW: no dependency information available

2010-12-16 Thread Moser, Christian
I've fixed the problem with the missing checksums in artifactory, I was able to generate them with admin rights. The problem with the missing pom still remains, it seems this is a maven 3.0.1 bug.. -Ursprüngliche Nachricht- Von: Moser, Christian [mailto:c...@metrohm.com] Gesendet

AW: maven 3.0.1 doesn't download sources

2010-11-30 Thread Moser, Christian
be a problem with either Maven or Artifactory. However, I do vaguely recall seeing a ticket regarding something similar to this. Couldn't find it in jira when I searched though. /Anders On Tue, Nov 30, 2010 at 08:25, Moser, Christian c...@metrohm.com wrote: Hi Maven 3.0.1 and artifactory 2.3.1

AW: maven 3.0.1 doesn't download sources

2010-11-30 Thread Moser, Christian
-DoverWriteSnapshots=true -DoverWriteReleases=true solved the problem :-) -Ursprüngliche Nachricht- Von: Moser, Christian [mailto:c...@metrohm.com] Gesendet: Dienstag, 30. November 2010 09:38 An: Maven Users List Betreff: AW: maven 3.0.1 doesn't download sources Thanks for your

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

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

2010-11-28 Thread Moser, Christian
Don't use ranges at all, sooner or later they will lead to ugly problems.. I would recommend to use the maven version plugin with or without properties as version placeholder. http://mojo.codehaus.org/versions-maven-plugin/examples/display-dependency-updates.html

AW: Maven 3.0 doesn't update snapshot artifacts

2010-11-26 Thread Moser, Christian
AM, Moser, Christian c...@metrohm.com wrote: I'm unable to download the newest artifacts (compiled jar) with maven 3.0 and 3.0.1-RC1  from cmd line. The artifacts were deployed to artifactory 2.3.1. After calling mvn -U on a dependend artifact, maven just updates the metadata, but doesn't

AW: Maven 3.0 doesn't update snapshot artifacts

2010-11-26 Thread Moser, Christian
CM's. -Patrick On Tue, Nov 23, 2010 at 9:43 AM, Moser, Christian c...@metrohm.com wrote: I'm unable to download the newest artifacts (compiled jar) with maven 3.0 and 3.0.1-RC1 from cmd line. The artifacts were deployed to artifactory 2.3.1. After calling mvn -U on a dependend

AW: Maven 3.0 doesn't download sources

2010-11-25 Thread Moser, Christian
side, better ask on the Artifactory user list and we'll be happy to assist you there. Thanks, On Wed, Nov 24, 2010 at 8:34 AM, Moser, Christian c...@metrohm.com wrote: I could imagine the culprit could be artifactory. We were forced to update from 2.2.2 to 2.2.3, otherwise we weren't be able

Maven 3.0 timestamp

2010-11-24 Thread Moser, Christian
I wonder in which specific time/timezone maven 3.0 writes the timestamp into maven-metadata for local and remote artifacts? Is it supposed to write GMT + 0:0 or the same time set on the local machine, in my case GMT + 1:0? There could be a problem because recently I had a different timestamp in

Maven 3.0 doesn't download sources

2010-11-23 Thread Moser, Christian
I'm unable to download artifact sources with maven 3.0 and 3.0.1-RC1 with following command. Sources classifier is: -sources (default) mvn -U validate dependency:sources -DoverWriteSnapshots=true -DoverWriteReleases=true the artifacts with classifier -sources are available in the

AW: Maven 3.0 doesn't download sources

2010-11-23 Thread Moser, Christian
the maven metadata my not be letting maven 3 find the artifacts. IIRC Maven 3 pays more attention to the metadata, whereas Maven 2 might not trust it as much (but I could be wrong, my recollection is fuzzy) -Stephen On 23 November 2010 12:13, Moser, Christian c...@metrohm.com wrote: I'm unable

Maven 3.0 doesn't update snapshot artifacts

2010-11-23 Thread Moser, Christian
I'm unable to download the newest artifacts (compiled jar) with maven 3.0 and 3.0.1-RC1 from cmd line. The artifacts were deployed to artifactory 2.3.1. After calling mvn -U on a dependend artifact, maven just updates the metadata, but doesn't override the old artifacts contained in the local

AW: Maven 3.0 doesn't download sources

2010-11-23 Thread Moser, Christian
it should be but I think we may have found a possible culpret. Check with Benjamin Bentmann, he'd know what m3 is supposed to do -Stephen On 23 November 2010 14:30, Moser, Christian c...@metrohm.com wrote: They are from snapshot artifacts. We use non-unique snapshots in artifactory

AW: Maven overrides up to date artifacts

2010-11-15 Thread Moser, Christian
2010/11/11 Moser, Christian c...@metrohm.com: I've got the following problem with maven 3.0 and artifactory 2.2.3 (2.2.1 won't let maven 3.0 deploy without legacy-mode flag -- metadata problem). A quick look in the maven output shows that at the beginning of the build maven downloads an old

Maven overrides up to date artifacts

2010-11-11 Thread Moser, Christian
I've got the following problem with maven 3.0 and artifactory 2.2.3 (2.2.1 won't let maven 3.0 deploy without legacy-mode flag -- metadata problem). Project A depends on Project B. I created a new class in Project B and installed it into my local repository so I can use the class in project A.

maven-versions-plugin version comparism

2010-10-21 Thread Moser, Christian
I've got following effect with the maven versions plugin 1.2. If we release a milestone of our software, we declare the components which are included in the milestone with [version]-[unrel]-[revision]. When the software is in the release process, we remove the additional declaration. For

AW: maven-versions-plugin version comparism

2010-10-21 Thread Moser, Christian
[mailto:stephen.alan.conno...@gmail.com] Gesendet: Donnerstag, 21. Oktober 2010 13:14 An: Maven Users List Betreff: Re: maven-versions-plugin version comparism Did you read the FAQ? http://mojo.codehaus.org/versions-maven-plugin/faq.html#comparisonMethod On 21 October 2010 11:56, Moser, Christian c...@metrohm.com wrote

call enforcer rule at first in phase deploy

2010-09-16 Thread Moser, Christian
Is it possible to call a custom enforcer rule at first in lifecycle phase deploy. I know I could create a custom lifecycle, but this is a bit of an overhead for this problem, though.. The rule should prevent changes being deployed to the artifactory if there are newer versions in the scm

Maven-Release-Plugin deploy after release

2010-05-05 Thread Moser, Christian
I've got a multi-module project build and release it with the release plugin. After executing release:prepare release:perform, the project poms have changed to -SNAPSHOT and the release version of the projects is correct deployed. Why does the plugin only deploy the release versions in the

AW: Maven-Release-Plugin deploy after release

2010-05-05 Thread Moser, Christian
, Moser, Christian c...@metrohm.com wrote: Why does the plugin only deploy the release versions in the release:perform goal and doesn't deploy the -SNAPSHOT project pom after the release, too? Is there a possibility to do so? I don't think it's a job for the release plugin, but all you have

AW: Maven subsystem automation

2010-04-21 Thread Moser, Christian
subsystem automation Did you try the release plugin? -Original Message- From: Moser, Christian [mailto:c...@metrohm.com] Sent: Thursday, April 08, 2010 11:25 AM To: Maven Users List Subject: Maven subsystem automation I am currently working on subsystem automation. I've got

Maven subsystem automation

2010-04-08 Thread Moser, Christian
I am currently working on subsystem automation. I've got following situation: http://www.christian-moser.ch/fx/subsystems_v2.pdf e.g. depmgmt-x contains all dependencies of a subsystem and exist only once (there are two just for illustration in the diagram). As a release version, it holds all

AW: Profile activation with maven subsystems

2010-02-16 Thread Moser, Christian
a release or dev (SNAPSHOT). /Anders On Tue, Feb 16, 2010 at 08:44, Moser, Christian c...@metrohm.com wrote: Thanks a lot for your fast response! The file can be found here: http://www.christian-moser.ch/fx/subsystems.pdf Yes im using depmgmt poms with import. Every of the five subsystems

AW: Profile activation with maven subsystems

2010-02-16 Thread Moser, Christian
you'll have different version of this pom, but it's still just one import pom (artifact). The version will determine if it's a released version of the dep mgmt set or a dev version (SNAPSHOT). /Anders On Tue, Feb 16, 2010 at 10:51, Moser, Christian c...@metrohm.com wrote: Every component

AW: Profile activation with maven subsystems

2010-02-16 Thread Moser, Christian
that, it is always possible to override in a childs dependencies section. /Anders On Tue, Feb 16, 2010 at 14:26, Moser, Christian c...@metrohm.com wrote: Ok I agree with your solution, it will make it less complicated and more maintainable. Ok if I go ahead and add depmgmt-x:1.0.0

AW: Profile activation with maven subsystems

2010-02-16 Thread Moser, Christian
:58, Moser, Christian c...@metrohm.com wrote: I think you misunderstood me. I won't put dependency depmgmt-x into the parent of Z(what would be mnet-parent). I will put it into component Z. -Ursprüngliche Nachricht- Von: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] Im

Profile activation with maven subsystems

2010-02-15 Thread Moser, Christian
We've trouble creating a concept for maven using subsystems. In the attached pdf you can see a maven/subsystem concept. In short, we've got a component based software which is based on quiet a lot of components (each component is a maven project). Those components are bundled in subsystems.

AW: Profile activation with maven subsystems

2010-02-15 Thread Moser, Christian
, Moser, Christian c...@metrohm.com wrote: We've trouble creating a concept for maven using subsystems. In the attached pdf you can see a maven/subsystem concept. In short, we've got a component based software which is based on quiet a lot of components (each component is a maven project