'Enter' Breakline not taken in account

2012-03-30 Thread Danicela nutch
Hi, When I execute this program without Maven : publicclass Main {publicstaticvoid main(String[] args)throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String chaine = br.readLine(); System.out.println(la chaine : + chaine);}} Everything is ok :

Re: Selective repo purge after clean install

2012-03-30 Thread zebahmad
Thank you for the reply Wayne! I will try modifying the plugin for my use. I just wanted to ensure I wasn't re-inventing the wheel. Thanks, Zeba -- View this message in context: http://maven.40175.n5.nabble.com/Selective-repo-purge-after-clean-install-tp5603961p5606133.html Sent from the Maven

Re: how to custom decrypt settings.xml passwords

2012-03-30 Thread Lannoye Xavier
hi all there is however something that bothers me: I wrote a plugin that access the Settings object. That object is instantiated by maven, and contains the merge of all settings available (M2_HOME/conf/settings.xml, ~/.m2/settings.xml and -s settings.xml). with my plugin, I look after my

Re: 'Enter' Breakline not taken in account

2012-03-30 Thread Wayne Fay
 But if I execute the same program on a Maven project, it can't detect my breakline when I press Enter, and the program ever waits the string end and then it doesn't print what I've written on the screen. What exact command line are you using to execute the same program on a Maven project?

Avoiding duplicate POM code: profiles, inheritance, properties

2012-03-30 Thread Gillet Thomas (2)
Hello all, I'm currently working in several projects using maven 3, and I need some help defining a new POM hierarchy to avoid POM code duplication. My projects are composed of multiple bundles (it's OSGi based). Each project has its own deployment and source repositories and defines a

Re: Avoiding duplicate POM code: profiles, inheritance, properties

2012-03-30 Thread Ron Wheeler
I read it to the end but I am not sure that I got it all. One suggestion that we found helpful is to start to look at some of the maven projects as utilities that are really no different from a developers point of view than utilities that we use from Apache or Springframework or others. They

RE: Avoiding duplicate POM code: profiles, inheritance, properties

2012-03-30 Thread Gillet Thomas (2)
Hello Ron, I'm not sure I understand what you meant... My problem is all about the POMs, that is, how can I share pieces of configuration (i.e pieces of POM file) between bundles, the main problems being that I have not a single inheritance chain (because of project specific deployment

Different behavior when building a project as a module or stand-alone

2012-03-30 Thread Philippe Lagardère
Hello, When trying to set up an assembly for a project, I ran into a problem I can't seem to find an explanation for. My project has a basic multi-module structure, like this : The thing is, I get two different results for executing /mvn clean package/, whether I run it from /project-core/ or

Re: Avoiding duplicate POM code: profiles, inheritance, properties

2012-03-30 Thread Wayne Fay
My problem is all about the POMs, that is, how can I share pieces of configuration (i.e pieces of POM file) between bundles, the main problems being that I have not a single inheritance chain (because of project specific deployment properties and target specific configuration). I'm not sure

Re: Different behavior when building a project as a module or stand-alone

2012-03-30 Thread Wayne Fay
My project has a basic multi-module structure, like this : The thing is, I get two different results for executing /mvn clean package/, whether I run it from /project-core/ or from /project/. *From project-core* *From project* Just an FYI. No one on the mailing list saw parts of what you

Re: Different behavior when building a project as a module or stand-alone

2012-03-30 Thread Wayne Fay
And indeed, the .jar is empty (safe a couple of metadata files), which cause the build to fail on /project-web/, which depends on /project-core/ Generally this should just work no matter where you have started your build. If it isn't working, that usually suggests you have configured something

Re: Check in of pom.xmls in multi module Maven project using scm:checkin

2012-03-30 Thread Wayne Fay
I used the maven release plugin to update the parent version numbers in my multi-module project (the modules are defined in different profiles) . Using profiles to turn on/off modules is generally not a good idea IMO. Why are you doing this? Now I want to check-in all these files using the

Getting Error in Maven

2012-03-30 Thread debashish mukherjee
Hi, I am using maven 3.0.4 on my windows 7 machine, while running mvn jetty:run, I am facing these errors, please provide with some solution. Apache Maven 3.0.4 (r1232337; 2012-01-17 14:14:56+0530) Maven home: D:\softwares\apache-maven-3.0.4 Java version: 1.7.0, vendor: Oracle Corporation Java

Re: Getting Error in Maven

2012-03-30 Thread Wayne Fay
I am using maven 3.0.4 on my windows 7 machine, while running mvn jetty:run, I am facing these errors, please provide with some solution. In the future, DO NOT post your entire build debug log to this mailing list. Instead, pull out the handful of lines that say ERROR and only send them.

RE: Getting Error in Maven

2012-03-30 Thread Amir Gheibi
From the output it can be seen Apache Maven 3.0.4 (r1232337; 2012-01-17 14:14:56+0530) . vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.7.0\jre ... That is, Maven's using C:\Program Files\Java\jdk1.7.0\jre as your JAVA_HOME which instead should be your JDK folder

Re: Getting Error in Maven

2012-03-30 Thread Markku Saarela
You are using native2ascii-maven-plugin:1.0-alpha-1 with Java version: 1.7.0 and 1.0-alpha-1 version of plugin is not compatible with JDK 7. So you either upgrade plugin to version 1.0-beta-1 or run Maven with JDK 6 Markku On 30.3.2012 16:39, debashish mukherjee wrote: Hi, I am using maven

Re: How to Add multiple Jars

2012-03-30 Thread lrkwz
I have realized a complete pom structure for kk 4.0.1 and i'm porting it now to 6.0.0. I whish have a spring storefront. Maybe we can share can't we? I think I'll post my work as soon I finish the demo a admin packaging. -- View this message in context:

Unable to update index for central|http://repo1.maven.org/maven2

2012-03-30 Thread zhangwujun
hello,these days,I try many ways to update index for central(http://repo1.maven.org/maven2 ),but,all failure.Can you tell me the reason and how to sovle this problem,thank you very mach. zhangwujun

RE: Unable to update index for central|http://repo1.maven.org/maven2

2012-03-30 Thread Tim Wu T
Hi, Pls check the network connection using ping repo1.maven.org Maybe there are some changes in your network. If the result of ping is failure, you need add a proxy in your settgins.xml. Br, Tim -Original Message- From: zhangwujun [mailto:zhangwu...@neusoft.com] Sent: Saturday, March