Re: Java concurrent classes compile issue

2011-05-16 Thread swaroopk
I tried mvn clean and I get following warning during compile time, Unable to autodetect 'javac' path, using 'javac' from the environment. -- View this message in context: http://maven.40175.n5.nabble.com/Java-concurrent-classes-compile-issue-tp4402714p4402766.html Sent from the Maven - Users mai

Java concurrent classes compile issue

2011-05-16 Thread swaroopk
Hi, I am trying to compile my source with java compiler 1.6. JAVA_HOME, path contains path to jdk 1.6. In my project's pom.xml I have mentioned jdk version like this, maven-compiler-plugin 2.3.2 1.6

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-16 Thread Benson Margulies
"Running a local nexus means never having to say --offline" On Mon, May 16, 2011 at 7:43 PM, Barrie Treloar wrote: > On Tue, May 17, 2011 at 3:04 AM, Benson Margulies > wrote: >> Or if you quietly put a copy of Archiva or Nexus for those purposes on >> your own machine :-) > > Running a reposit

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-16 Thread Barrie Treloar
On Tue, May 17, 2011 at 3:04 AM, Benson Margulies wrote: > Or if you quietly put a copy of Archiva or Nexus for those purposes on > your own machine :-) Running a repository manager locally is a smart idea if you are on a laptop. Saves you the pain of reconfiguring maven when you unplug from the

Re: skip a single junit test from command line

2011-05-16 Thread Barrie Treloar
On Mon, May 16, 2011 at 11:24 PM, eyal edri wrote: > Hi, > > Is there a way to skip a single junit test while running from command line > (without changing the java code or pom.xml?) > > mvn install -DskipTests -> this will work for all tests > > so something like mvn install -DskipTests='path/to/

[ANN] License Maven Plugin 1.0-beta-2 Released

2011-05-16 Thread Paul Gier
Hi, The Mojo team is pleased to announce the release of the License Maven Plugin 1.0-beta-2. This plugin includes several features related to managing the project license and the licenses of project dependencies. http://mojo.codehaus.org/license-maven-plugin/ To get this update, simply specify

Re: Maven ant task is not working behind the proxy

2011-05-16 Thread Rashid Jilani
I have settings.xml file under ./m2 directory as well as maven conf directory (in case), but it doesn't work for me. But I am glad I have found a way and that is working for me. It looks like I have to use settingsFile attributes and point it to a settings.xml file in the artifact:dependencies ele

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-16 Thread Benson Margulies
Unless you can post a project to github that demonstrates differential behavior everywhere, or use mvn -X or wireshark to deliver an analysis of *how* 3.0.3 is hitting the network differently than 2.2.1, you're unlikely to get much succor here. It would really help you if you could convince your c

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-16 Thread Andrew Robinson
Archiva is being used to serve our internal packages of our company, it is not being used to serve dependencies from internet repositories. So no I cannot send all requests through Archiva. It may be as simple as a linux kernel issue with e1000e driver (dell latitude E6410). It has caused me issue

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-16 Thread Wayne Fay
> Any advice on this? Should I be opening a maven bug? It is really killing my > productivity as I have to babysit every build and keep aborting it and > restarting it several times until all updates (mostly snapshots per day) are > downloaded. If this was typical then we would see similar complai

Re: Maven 3.0.3 hanging / having timeouts often?

2011-05-16 Thread Andrew Robinson
Any advice on this? Should I be opening a maven bug? It is really killing my productivity as I have to babysit every build and keep aborting it and restarting it several times until all updates (mostly snapshots per day) are downloaded. Thanks, Andrew On Thu, May 12, 2011 at 5:39 AM, Alex Lopez

Re: Maven ant task is not working behind the proxy

2011-05-16 Thread Stephen Connolly
if ~/.ant/settings.xml exists it will read that otherwise if ~/.m2/settings.xml exists it will read that otherwise it assumes default settings.xml if your settings.xml has proxy details that is what it will use. I'd like to get the proxy settings more ant-like but too many things on my plate (plu

Re: Maven ant task is not working behind the proxy

2011-05-16 Thread Rafael Vanderlei
Do your ant tasks require internet access? I use maven ant tasks to build my project and I run it under proxies, but I don't have any problems. But, in my case, my ant tasks access only local sources. On Mon, May 16, 2011 at 11:40 AM, Rashid Jilani wrote: > Hi: gurus I am trying to use the Maven

Maven ant task is not working behind the proxy

2011-05-16 Thread Rashid Jilani
Hi: gurus I am trying to use the Maven ant task ( http://maven.apache.org/ant-tasks/index.html) behind the proxy but it is not working. First of all I am not sure how the maven ant task picks the proxies settings. 1. Does it go to local maven installation and pick the settings.xml ? or maven-ant-t

Re: skip a single junit test from command line

2011-05-16 Thread Anders Hammar
No, there isn't. (Unless you're using TestNG and have an appropriate group which you can exclude through excludedGroups). /Anders On Mon, May 16, 2011 at 15:54, eyal edri wrote: > Hi, > > Is there a way to skip a single junit test while running from command line > (without changing the java cod

skip a single junit test from command line

2011-05-16 Thread eyal edri
Hi, Is there a way to skip a single junit test while running from command line (without changing the java code or pom.xml?) mvn install -DskipTests -> this will work for all tests so something like mvn install -DskipTests='path/to/test/Test.java' to ignore a single one... ? thanks!

Setting property to artifact pathname in maven local repo

2011-05-16 Thread Benson Margulies
I've got a pile of test data in a .tar.gz. I don't want to unpack it; my code is perfectly happy to open it as-is and read it. So, I see that I can list it as a dependency with a silly scope (like the use of 'scope=tomcat' in the tomcat-maven-program) and thus force it to download without ending u

Re: Maven Fitnesse plugin

2011-05-16 Thread Thomas Sundberg
Hi! How do you handle the fact that any uptodate Fitnesse version isn't available from Maven central? The latest version I found when I checked was 20081201, that is a more then two years old release. http://repo1.maven.org/maven2/org/fitnesse/fitnesse/20081201/ /Thomas On Mon, May 16, 2011 at

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 our

Re: Maven Fitnesse plugin

2011-05-16 Thread Anders Hammar
Why not merge this with the Mojo one then and help maintain it? Send a mail to the mojo dev list and I'm sure you're help will be appreciated. /Anders On Mon, May 16, 2011 at 10:36, Gijs Sijpesteijn < gijsbert.sijpeste...@gmail.com> wrote: > Hi, > > I'm working on a Maven Fitnesse plugin. I know

[ANN] Mojo's Ship Maven Plugin 1.0-alpha-1 released

2011-05-16 Thread Stephen Connolly
Hi, The Mojo team is pleased to announce the release of Mojo's Ship Maven Plugin version 1.0-alpha-1. Mojo's Ship Plugin is used when you have continuous deployment scripts that you want to integrate with your Apache Maven build. The plugin has the following goals. * ship:ship Resolves the shi

Maven Fitnesse plugin

2011-05-16 Thread Gijs Sijpesteijn
Hi, I'm working on a Maven Fitnesse plugin. I know there are already two similar plugins, fitnesse-maven-plugin and trinidad, but the first is hardly maintained anymore and the later is missing some functionality and the latest release is from 2010. When running Fitnesse, you will need to specify