maven failing to resolve artifact that exists in repository

2011-10-14 Thread Mike Power
I am really confused. Maven is failing to resolve an artifact that I can easily find in the remote repository. I am trying to build an open source project whose git repository is found at https://github.com/magnayn/Jenkins-Repository.git I get the following error: Downloading: http://downloa

Property interpolation: can I reference a specific parent version?

2011-10-14 Thread Laird Nelson
I would like to set a property that stores the version of a particular parent. Simply doing this: ${pom.version} ...is expanded within the context of the pom.xml of the moment. That is, if I evaluate it in the context of pom C, then it gets pom C's version. If C descends from B, and B extends

Can't pass empty arguments via the command line

2011-10-14 Thread C. Benson Manica
Sample pom follows question - I want ${my.val} to be optional, not required, but I can't seem to find a way to pass a blank and/or empty value at the command line. mvn -Dsome.value="" package I get the usual nonsense about a null argument (since when is an empty string "null"?). However, if I t

Re: Uncompiled classes resulting in COMPILATION ERROR : cannot find symbol

2011-10-14 Thread Guillaume Polet
Thanks for the response but unfortunately no, I still have 48G on the server and my laptop has even more. Cheers, Guillaume Le 14/10/2011 21:28, Kiren Pillay a écrit : Hi Guillaume, Shot in the dark, maybe the build server disk is full? On Fri, Oct 14, 2011 at 7:05 PM, Guillaume Polet wrot

Re: Uncompiled classes resulting in COMPILATION ERROR : cannot find symbol

2011-10-14 Thread Kiren Pillay
Hi Guillaume, Shot in the dark, maybe the build server disk is full? On Fri, Oct 14, 2011 at 7:05 PM, Guillaume Polet wrote: > Hi list, > > ok this sounds like the simplest question but either my brain fried this > evening and I can't see the obvious or else I hit some really unexpected > behavi

Using m2eclipse

2011-10-14 Thread Evan Uebel
I'm just starting using Maven with m2eclipse. I'm trying to import the com.google.api.services, but there doesn't see to be a Maven repository. Now I followed the info on http://code.google.com/p/google-api-java-client/wiki/APIs#Maven_support but the POM file gives an error saying: Missing artifact

Uncompiled classes resulting in COMPILATION ERROR : cannot find symbol

2011-10-14 Thread Guillaume Polet
Hi list, ok this sounds like the simplest question but either my brain fried this evening and I can't see the obvious or else I hit some really unexpected behaviour. I have a multi-module project hosted on github (https://github.com/agilebirds/openflexo) and it is built regularly on jenkins.

Re: How to install MAVEN on Windows 7

2011-10-14 Thread Eric Kolotyluk
I use Maven on several Windows 7 systems and have had no real problems after setting up the environment variables properly. Other than that, Maven is just like any other Java application. In particular make sure maven\bin is on your Path or Path2 environment variables. Do you know how to set t

Re: How to install MAVEN on Windows 7

2011-10-14 Thread Alexandre Adao
Try this on windows 7 1.Let's assume you unzip the apache-maven-3.0.3-bin.zip to c:\apache-maven-3.0.3 directory 2. Click on Control Panel 3. click on System and Security 4. click on System on the left you should have Advanced systems settings. 5. click on Advanced systems settings. 6. click o

Re: Maven central repository

2011-10-14 Thread Brian Fox
A new version of the indexer was released and requested to be rerun over central. That means a new full index was generated, when typically it is just an incremental index. The size of the file and speed of ibiblio seems to be giving some people trouble. But it should sort itself out, besides reset

Re: Offline is broken - _maven.repositories

2011-10-14 Thread Paul French
Any idea what version of the aether libraries (1.12 or 1.13) will be used in 3.0.4 and a guess on when 3.0.4 will be released? We are using 3.0.3 with aether 1.13 libraries. It works really well except maven crashes out when there is version conflicts in your POM. Depending on your answer I w

Re: Offline is broken - _maven.repositories

2011-10-14 Thread Mark Derricutt
This can be "fixed" by upgrading the aether libraries inside your maven release. Hopefully the 3.0.4 release will be out soon that includes these. The updated aether version has significant fixes, among which are fixes that solve the problems around artifacts not being found in the local repo.

Re: Offline is broken - _maven.repositories

2011-10-14 Thread PaulG
This is a bad option. The situation I had was a team of penetration testers wanted to review the project so I zipped up the project and the Maven repository and wanted them to do a build in offline as they had no network connectivity to the company network. Should I rely expect them to also install

Re: Disable CPD and Enable PMD check for teh same set of classes

2011-10-14 Thread Wayne Fay
> Following is an extract of the pom.xml that I tried: > > But, it neither runs PMD nor cpd. You've got an awful lot of configuration in there. Make it work in the simplest case (using only local [in your current project] configuration files etc). Then add configuration until it runs as you requir

Re: default auth for settings.xml

2011-10-14 Thread Ron Wheeler
This is more of a Nexus issue than Maven. You might want to move it to the Nexus forum. Read the Nexus docs. Ansgar is right and that will simplify your life a lot. Standard solution to your problem. Ron On 14/10/2011 3:00 AM, Ansgar Konermann wrote: Am 14.10.2011 01:16 schrieb "Tommy Chheng"

Re: Activate profile with property set in a file

2011-10-14 Thread Jörg Schaible
Hi, Stanimir Stamenkov wrote: [snip] > with no luck. Does one have experience with using external > properties file for the purposes of configuring the activation of > profiles? > > [1] http://mojo.codehaus.org/properties-maven-plugin/ It does simply not work this way. One of the first things

How does Maven use timestamps?

2011-10-14 Thread Dieter Van de Walle
Hello, For a while now, I have noticed sporadic problems when using Maven. For example: a maven build results in errors on a project. If I then check out the project into another directory, the project builds without any problems. The content of both directories is identical. I use 'mvn clean

Re: Disable CPD and Enable PMD check for teh same set of classes

2011-10-14 Thread rashmi
Hello Wayne, Following is an extract of the pom.xml that I tried: maven-pmd-plugin 2.5 com.churchmutual pmd-ruleset 0.0.2

Re: Maven central repository

2011-10-14 Thread Olivier Lamy
http://repo1.maven.org/maven2/.index/ redirect to http://mirrors.ibiblio.org/pub/mirrors/maven2/dot-index/ which doesn't work nice 2011/10/14 stefano.cazzola : > Hi everybody, > I've been using Maven for a while, but now I'm facing a problem I can't > understand. > In the last days I've not

Re: default auth for settings.xml

2011-10-14 Thread Ansgar Konermann
Am 14.10.2011 01:16 schrieb "Tommy Chheng" : > > B is the most similar workflow. > > So i have a few remote maven repos i want to use: > i.e. scala-tools.org and sweble, etc. > > I added both of these to my Nexus server as proxy repos. > > In my local settings.xml, i had to add two entries. each