RE: SCM plugin password encryption
We just need to add this feature to maven-scm-plugin. We could use maven-sql-plugin as an example, it can read encrypted DB password in the same manner as repository credentials. Andrei Solntsev, Software Developer, HireRight Estonia -Original Message- From: KURT TOMETICH [mailto:boomtow...@msn.com] Sent: Thursday, August 13, 2009 7:07 PM To: users@maven.apache.org Subject: SCM plugin password encryption I feel like I must be missing something because I have yet found a way to encrypt my SCM password in my Maven POM. I am using the maven release plugin and need to use some credentials on the CI server, but I don't want to store the password in clear text. Is there a way to encrypt the password and reference it in the Maven SCM plugin? I've tried using the Maven encryption guide (http://maven.apache.org/guides/mini/guide-encryption.html) which works well for encrypting Maven repository credentials. The problem is that you can't (from what I've seen) reference the id for a server in the Maven SCM plugin. Here's an example of what I'd like to see in the POM: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-scm-plugin/artifactId configuration usernamekurt.tometich/username password{encrypted password here}/password /configuration /plugin Any ideas of how to do this would be welcome. Thanks in advance. Kurt - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: [ANN] Maven 2.2.0 Released
Maven main site hasn't link to 2.2.0 Release Notes: Get Maven * Download * Release Notes (2.1.0) * Release Notes (2.0.10) * License Andrei Solntsev, Software Developer HireRight Estonia AS -Original Message- From: Mark Struberg [mailto:strub...@yahoo.de] Sent: Wednesday, July 01, 2009 2:29 AM To: Maven Users List Subject: RE: [ANN] Maven 2.2.0 Released Works for me. Sometimes it takes a bit for all mirrors to get synced. Please try it again in a a few hours. LieGrue, strub --- Jason Chaffee jason.chaf...@zilliontv.tv schrieb am Mi, 1.7.2009: Von: Jason Chaffee jason.chaf...@zilliontv.tv Betreff: RE: [ANN] Maven 2.2.0 Released An: Maven Users List users@maven.apache.org, annou...@maven.apache.org annou...@maven.apache.org Datum: Mittwoch, 1. Juli 2009, 1:04 I have not been able to download this release. It seems the artifact(s) are not at the specified URL. -Original Message- From: John Casey [mailto:jdca...@apache.org] Sent: Tuesday, June 30, 2009 3:21 PM To: annou...@maven.apache.org; Maven Users List Subject: [ANN] Maven 2.2.0 Released The Maven team is pleased to announce the release of the Maven 2.2.0. Maven is a software project management and comprehension tool. It offers users the ability to build project binaries, generate a project website, and more. http://maven.apache.org/ Release Notes - Maven 2 - Version 2.2.0 ** Sub-task * [MNG-4144] - document escape character for curly braces in clear-text passwords for settings.xml password security * [MNG-4145] - switch to released versions of plexus-sec-dispatcher (and by ext. plexus-cipher) once they're available ** Bug * [MNG-2258] - Wrong execution order of plugins in same phase * [MNG-3401] - Plugin parameters must be specified outside an execution block when they are invoked from the command line * [MNG-3553] - cannot resolve dependency with scope import * [MNG-3776] - Namespace misspelled in settings.xml * [MNG-4074] - cyclic reference with 2.1.0-RC1 that doesn't occur with 2.0.10 * [MNG-4082] - Encryption is triggered if passwords merely contain curly braces * [MNG-4126] - [regression] Properties defined in profiles.xml of parent are not inherited during multimodule build * [MNG-4137] - NPE in DefaultLIfecycleExecutor when run from within Hudson builds * [MNG-4140] - Properties incorrectly replaced in pom * [MNG-4146] - password security doesn't work with custom password providers * [MNG-4147] - very long passwords cause LightweightHTTP wagon to line-wrap the Base64-encoded Authorization header * [MNG-4165] - http session cookies rejected with non-lightweight http wagon (maybe with lightweight one too) * [MNG-4166] - Problem parsing command-line options in release:perform * [MNG-4167] - version-expression transformation interferes with plugins like GPG * [MNG-4168] - String index out of range: 43807 * [MNG-4179] - [regression] Artifact download hangs upon transfer failure * [MNG-4184] - [regression] maven2.1 fails with cyclic dependency in case of extension/dependency for report-plugin to reactor-project * [MNG-4207] - Plugins that use ArtifactResolver with http repositories AND depend on log4j run into ExceptionInInitializerError * [MNG-4213] - preemptive auth in non-lightweight http wagon causes Unauthorized responses from some servers * [MNG-4219] - update plexus-utils to avoid leaking processes in CommandLineUtils.getSystemEnvars() ** Improvement * [MNG-2979] - Cross module dependencies for multi-module site * [MNG-3203] - maven should execute compiler:compile and :test-compile in separate executions, to allow separate configuration * [MNG-3834] - Improve error message when dependency with classifier is missing version * [MNG-4210] - Remove log4j configuration warning ** Task * [MNG-4143] - Update Java requirement to 1.5 * [MNG-4169] - Remove invocation of maven-plugin-plugin:updatePluginRegistry from default lifecycle bindings ** Wish * [MNG-4139] - avoid the schema location in generated maven-metadata*.xml Enjoy, -The Maven team -- John Casey Developer, PMC Member - Apache Maven (http://maven.apache.org) Blog: http://www.ejlife.net/blogs/buildchimp/ - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional
RE: automatically calling install target for projects which are not in the repository
Hi Blackbird, I am also interested how to make Maven automatically build dependencies. In our company, we created a proxy-scm provider for that purpose. I created Jira ticket http://jira.codehaus.org/browse/SCM-367, but it seems that community is not interested. Andrei Solntsev, Software Developer HireRight Estonia AS -Original Message- From: Blackbird [mailto:panzrku...@yahoo.fr] Sent: Wednesday, May 06, 2009 1:23 PM To: users@maven.apache.org Subject: automatically calling install target for projects which are not in the repository Hi, I have an application composed of 10 Eclipse projects, which depend on each other. One of them is a webapp and it depends on several Eclipse projects, and some of these Eclipse projects depend on others, so the dependency tree is quite complex. In good-old Eclipse build, I don't have to care about that dependencies tree: as long as the necessary projects are specified in the Required projects on the build path section, my webapp will build successfully in 1 user task. In Maven even though the dependencies are defined in the POM, if the required projects don't exist in the local repository, calling mvn clean install for my webapp will fail. As a result, I have to mvn install every single Maven project on the build path first. Is there a way of calling mvn install on projects if they don't exist in the local repository? -- View this message in context: http://www.nabble.com/automatically-calling-%22install%22-target-for-pro jects-which-are-not-in-the-repository-tp23403861p23403861.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: Retrieving current revision from SCM
Allan, In our company we also need to know exact revision number of each file in project. The proposed buildnumber doesn't suit well, we need exactly revision numbers! We have created a custom version of maven-scm-plugin which supports this feature. I am going to commit patch to maven-scm 1.3-SNAPSHOT soon. Andrei Solntsev, Software Developer HireRight Estonia AS -Original Message- From: Allan Ditzel [mailto:allan.dit...@gmail.com] Sent: Tuesday, May 05, 2009 5:12 PM To: users@maven.apache.org Subject: Retrieving current revision from SCM Hi all, I'm trying to do the following: We're using subversion and we need to extract the revision number of the working copy and put that in a properties file. Is there an existing plugin available to do this? I looked at the documentation for the SCM plugin and it doesn't seem to quite fit the bill in order to do this. Thanks! Allan - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: How to use maven to gather all (or some) dependent jar files
Hi Steve, There is a simple answer: mvn dependency:copy-dependencies Please refer to http://maven.apache.org/plugins/maven-dependency-plugin/ Andrei Solntsev, Software Developer HireRight Estonia AS -Original Message- From: Steve Lihn [mailto:stevel...@gmail.com] Sent: Wednesday, May 06, 2009 6:10 AM To: Maven Users List Subject: How to use maven to gather all (or some) dependent jar files Hi, When maven builds a project, it figures out all the dependent jar files, adds them to the classpath, produces the project's jar file under target/. My question is -- is there a way to ask maven also puts all (or some) those dependent jar files under target/ too. The origin of the issue is that we have a project that builds a jar for Mule. However, when deploying this jar file to Mule, we still have to collect all the dependent jar files that Mule does not have and place them under Mule's lib/user/ folder. So every time we upgrade a dependency, for instance, json-lib from 2.2.2 to 2.2.3, we not only have to modify the pom.xml, but also look for json-lib 2.2.3 jar and make sure we upgrade it in lib/user/. Wouldn't it be easier if maven can figure these all out for us since it is all in pom.xml ? Thanks, Steve - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org