Expected behaviour when repository mirror not reachable

2011-10-05 Thread Martin Höller
Hi! What is the expected behaviour if a configured repository mirror is not reachable? It seems maven 2.2.1 tries to contact to original repository server, which is absolutely not what I want! Here are some details and background information: We have a repository manager (nexus) set up to

Re: Http(s) transport layer change (call for early adopters users)

2011-10-05 Thread Jesse Farinacci
Greetings, On Mon, Oct 3, 2011 at 4:24 AM, Olivier Lamy ol...@apache.org wrote: As it's important change in the core distribution, we like to have some feedbacks from users a SNAPSHOT distribution (based on rev 1178324) is available here :

maven-surefire-plugin redirecting System.err and showing delayed output from junit tests

2011-10-05 Thread Farrukh Najmi
Sometime in the recent past I noticed that when I run my projects junit tests via maven-surefire-plugin I no longer see the log messages or println statements sent to System.err until *after* the test completes. Since these message are important while debugging a test I need to see them as

Re: maven-surefire-plugin redirecting System.err and showing delayed output from junit tests

2011-10-05 Thread Wayne Fay
Can any one tell me how I to get back the old behavior where all log messages and output to System.err is displayed on the console as it happens in real time? Did you check the documentation for the surefire plugin? http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html Try the

duplicate class error when using symlinks

2011-10-05 Thread rajaram shetty
Hi, Each folder in my project has a symbolic link to the folder where the backed files exists. Maven happens to compile the files in the current directory as well as the symbolically linked directory and hence throws duplicate class error. I have tried using exclude in the plugins configuration,

Re: duplicate class error when using symlinks

2011-10-05 Thread Wayne Fay
Maven happens to compile the files in the current directory as well as the symbolically linked directory and hence throws duplicate class error. Remove the symbolic links. What is the purpose of this symbolic link structure in your projects anyway? Wayne

Re: duplicate class error when using symlinks

2011-10-05 Thread rajaram shetty
I cant remove the symlinks. it is a part of my version controller. All the files are actually symlinks to the backend repo. and each folder has a sym linked folder in the backend. On Thu, Oct 6, 2011 at 12:06 AM, Wayne Fay wayne...@gmail.com wrote: Maven happens to compile the files in the

Re: duplicate class error when using symlinks

2011-10-05 Thread Ansgar Konermann
Am 05.10.2011 20:39, schrieb rajaram shetty: I cant remove the symlinks. it is a part of my version controller. What is the name of the version controller product (version control system) you are using? All the files are actually symlinks to the backend repo. and each folder has a sym linked

Re: Http(s) transport layer change (call for early adopters users)

2011-10-05 Thread Mirko Friedenhagen
I did download the shaded jar, copied it to $M2_HOME/lib/ext and ran about 20 jobs without problem. I had deleted my localRepository beforehand. Regards Mirko -- http://illegalstateexception.blogspot.com/ https://github.com/mfriedenhagen/ https://bitbucket.org/mfriedenhagen/ On Mon, Oct 3, 2011

Markup (html) not loading with java file

2011-10-05 Thread Dawid Dudzinski
Hello, I've run into a situation where my html is not loaded/recognized when attempting to run. Java and html have the same names (different extensions of course - .java and .html) Syntax in html appears to be valid. What else could have gone wrong? I keep getting: WicketMessage: The

Re: duplicate class error when using symlinks

2011-10-05 Thread rajaram shetty
You are right. The version controller we are using is internal to our organization. details: When a user creates a view of the code base, the files are not directly copied.Instead symlinks of the files are created in the directory structure. The symlinks point to the backend repository.When a user

Re: duplicate class error when using symlinks

2011-10-05 Thread rajaram shetty
A little more info: I was able to solve the problem fo the java files by using the exclude tag in the corresponding plugin configurations. However the same is not working for groovy and scala. In case of groovy and scala, compilation goes file for the sources under the main directory, however it

Re: Markup (html) not loading with java file

2011-10-05 Thread Barrie Treloar
On Thu, Oct 6, 2011 at 2:05 AM, Dawid Dudzinski dawi...@gmail.com wrote: Hello, I've run into a situation where my html is not loaded/recognized when attempting to run. Java and html have the same names (different extensions of course - .java and .html) Syntax in html appears to be valid.

Re: maven-surefire-plugin redirecting System.err and showing delayed output from junit tests

2011-10-05 Thread Kristian Rosenvold
Den 05.10.2011 18:26, skrev Farrukh Najmi: Sometime in the recent past I noticed that when I run my projects junit tests via maven-surefire-plugin I no longer see the log messages or println statements sent to System.err until *after* the test completes. Since these message are important

Re: duplicate class error when using symlinks

2011-10-05 Thread Ansgar Konermann
maven-compiler-plugin has a dedicated parameter to exclude sources from test compilation (testExcludes IIRC). Same should be the case for the other languages, but you will probably need to configure one dedicated plugin per language. Am 06.10.2011 04:02 schrieb rajaram shetty rajaram...@gmail.com: