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 :
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
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
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?
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
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
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
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
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
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
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
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
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
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.
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
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
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:
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
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
19 matches
Mail list logo