Re: Could we delete old version jar in local repository by mvn ?

2012-01-04 Thread Ansgar Konermann
Am 05.01.2012 02:07 schrieb "zuxiong lin" : > > Because of my not enough disk space... Then it's okay. Maven will re-download what it needs. A. > > 2012/1/5 Ansgar Konermann > > > Am 04.01.2012 05:02, schrieb zuxiong lin: > > > Append > > > like: > > > repository\org\springframework\spring-core

Re: Could we delete old version jar in local repository by mvn ?

2012-01-04 Thread zuxiong lin
Because of my not enough disk space... 2012/1/5 Ansgar Konermann > Am 04.01.2012 05:02, schrieb zuxiong lin: > > Append > > like: > > repository\org\springframework\spring-core > > -3.0.5.RELEASE > > -3.0.6.RELEASE > > -3.1.0.RELEASE > > > > I want to remove 3.0.5 and 3.0.6. > > The local maven

Re: Could we delete old version jar in local repository by mvn ?

2012-01-04 Thread Ansgar Konermann
Am 04.01.2012 05:02, schrieb zuxiong lin: > Append > like: > repository\org\springframework\spring-core > -3.0.5.RELEASE > -3.0.6.RELEASE > -3.1.0.RELEASE > > I want to remove 3.0.5 and 3.0.6. The local maven repository is an artifact cache. Why do you want to remove anything from this cache? This

Re: How to configure properties-maven-plugin to report built in properties/variables

2012-01-04 Thread Guillaume Polet
You can achieve this very easily by using the maven-ant-plugin combined with the echoproperties Ant task (http://ant.apache.org/manual/Tasks/echoproperties.html). Cheers, Guillaume Le 3/01/2012 17:22, David Hoffer a écrit : How can I get project variables/properties exported to property file?

Re: How to configure properties-maven-plugin to report built in properties/variables

2012-01-04 Thread Ansgar Konermann
Am 03.01.2012 17:22 schrieb "David Hoffer" : > > How can I get project variables/properties exported to property file? What are you going to do with these properties files? Depending on your use case, there might be quite easy solutions for you, without putting a lot of properties into files. A

Re: How to configure properties-maven-plugin to report built in properties/variables

2012-01-04 Thread Karl Heinz Marbaise
Hi, if you create a site and using the project-info-report-plugin will show a page with the information about the source repository which contains exactly the information about the area... http://maven.apache.org/plugins/maven-project-info-reports-plugin/ Example of this: http://maven.apa

Re: Exact meaning of -U command line option

2012-01-04 Thread Robert Scholte
If a repository becomes blacklisted for some reason you can use the -U to force an update. With Maven3 you will see a message explaining it if such a situation occurs. -Robert On Wed, 04 Jan 2012 14:38:56 +0100, Peter Niederwieser wrote: "mvn --help" says (both in Maven 2.2.1 and 3.0.2

RE: Maven is using SNAPSHOT versions of plugins

2012-01-04 Thread Nord, James
Most likely because you are using a repository manager (nexus / artifactory?) and a settings.xml that is incorrect configured. http://maven.40175.n5.nabble.com/Plugins-snapshot-resolution-td4833804.html and http://maven.40175.n5.nabble.com/settings-xml-td131025.html for a solution that "works f

Re: Maven is using SNAPSHOT versions of plugins

2012-01-04 Thread Jeff MAURY
SNAPSHOT are not available in central repository. Jeff MAURY On Wed, Jan 4, 2012 at 2:17 PM, Abid Hussain wrote: > Hi all, > > trying to create a project using the archetype-plugin fails because maven > tries to use a SNAPSHOT version of the plugin: > [INFO] Unable to find resource > 'org.apach

Exact meaning of -U command line option

2012-01-04 Thread Peter Niederwieser
"mvn --help" says (both in Maven 2.2.1 and 3.0.2): ... -U,--update-snapshots Forces a check for updated releases and snapshots on remote repositories ... What is "updated releases" supposed to mean here? Cheers, Peter -- View this message in context: http://maven.40175.n5.nabble.com/Exact-me

Re: Maven3 release:prepare for TFS

2012-01-04 Thread Karl Heinz Marbaise
Hi, first you should fix the warning at the beginning of the output (missing versions) furthermore you should define the maven-release-plugin with a higher version that 2.0 (pluginManagement)... Kind regards Karl Heinz Marbaise - Kind regards Karl Heinz Marbaise http://www.soebes.de htt

Maven3 release:prepare for TFS

2012-01-04 Thread Papiež Vítězslav
Hello, Have you tried somebody to release project in tfs by maven 3? Error occured when I was trying it. Error and pom.xml are attached. Please help me. Thanks Vita "Whatsamatter, kid? Can't remember how to spell 'main'? Real hackers use Notepad!" (Just kidding. They used Vi.) Apache Maven 3

Maven is using SNAPSHOT versions of plugins

2012-01-04 Thread Abid Hussain
Hi all, trying to create a project using the archetype-plugin fails because maven tries to use a SNAPSHOT version of the plugin: [INFO] Unable to find resource 'org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:2.3-SNAPSHOT' in repository central (http://central) [INFO] -

Re: maven migration

2012-01-04 Thread chandrasheker
Hi , I created hosted repository and uploaded project related artifacts. how to add the plugins(goal) like clean,complier and war(maven-war-plugin). I added directly org.apache.maven.plugins as groupid id. while run the application it gives classnotfound exceptions .org.apache.maven.shared.filterex

Re: maven migration

2012-01-04 Thread Karl Heinz Marbaise
Hi, if you installed the nexus as repo manager the default configuration of Nexus contains already configured Maven Central, SNAPSHOT and RELEASE repositories ...so usually for the first step no real change in the configuration is needed Only the settings.xml has to be changed for working wit