BTW, I am using JDK 1.8 on Mac. Not sure if anything special did by Apple.
:)
regards,
Lin
On Thu, Apr 16, 2015 at 3:43 PM, Lin Ma lin...@gmail.com wrote:
Thanks Gruss for the details,
I tried mvn -U help:effective-pom -Doutput=epom.xml, and find
sourceDirectory is without main directory
]
regards,
Lin
On Wed, Apr 15, 2015 at 3:25 PM, Bernd Eckenfels e...@zusammenkunft.net
wrote:
Am Wed, 15 Apr 2015 14:49:21 -0700
schrieb Lin Ma lin...@gmail.com:
The document is very helpful. Any thoughts how to check why
src/java/com/foo/goo works is great. Is there some other
-compiler-plugin/compile-mojo.html
Wayne
On Sun, Apr 12, 2015 at 1:10 AM, Lin Ma lin...@gmail.com wrote:
Thanks Dan,
Followed your advice tried mvn -X compile and output is very verbose,
which
items should I look at?
I refer the document for compiler plug-in as well (
http
14:26:05 -0700 schrieb Lin
Ma lin...@gmail.com:
Thanks Wayne,
Are there any document mentioning src/main/java is default source?
Appreciate if you could point me to. Thanks.
regards,
Lin
On Wed, Apr 15, 2015 at 2:05 PM, Wayne Fay wayne...@gmail.com wrote:
As Dan said before
… is working, then I'd assume there is a configuration
coming in somewhere in your project (pom, parent pom, etc) to change it
from src/main/java. Or I'd expect Maven to complain a little.
Wayne
On Wed, Apr 15, 2015 at 3:52 PM, Lin Ma lin...@gmail.com wrote:
Thanks Wayne for the correction
the default source ( ie
build--sourceDirectory) this may help
https://maven.apache.org/pom.html
-D
On Sat, Apr 11, 2015 at 10:06 PM, Lin Ma lin...@gmail.com wrote:
Hi Dan,
I have this question since I tried it compiles fine with sources in
src/java/com/foo/..., are they default
://maven.apache.org/pom.html
-D
On Sat, Apr 11, 2015 at 11:10 PM, Lin Ma lin...@gmail.com wrote:
Thanks Dan,
Followed your advice tried mvn -X compile and output is very verbose,
which
items should I look at?
I refer the document for compiler plug-in as well (
http://maven.apache.org
Hi Maven masters,
For maven-compiler-plugin, how to check what are the source
files/directories it will scan for to compile? And add other source file
directories? Thanks.
thanks in advance,
Lin
is at src/main/java
to add more sources, use build-helper-maven-plugin
-Dan
On Sat, Apr 11, 2015 at 8:10 PM, Lin Ma lin...@gmail.com wrote:
Hi Maven masters,
For maven-compiler-plugin, how to check what are the source
files/directories it will scan for to compile? And add other source
Thanks Jörg!
regards,
Lin
On Tue, Apr 7, 2015 at 12:48 AM, Jörg Schaible joerg.schai...@swisspost.com
wrote:
Hi Lin,
Lin Ma wrote:
Thanks Ron,
I see Maven has phase like install and deploy, but I never used them
before. Are the two phases suppose to do deployment work, which copy
for deployment.
This leads to a lot of unhappy people.
Ron
On 06/04/2015 11:28 PM, Lin Ma wrote:
Thanks Christopher,
I am packaging a standalone console application so your suggestion below
is
more suitable. Is there an example to refer to how to
configure maven-assembly-plugin
Thanks MK.
regards,
Lin
On Mon, Apr 6, 2015 at 2:01 AM, MK Tan mktan...@gmail.com wrote:
On Mon, Apr 6, 2015 at 3:26 PM Lin Ma lin...@gmail.com wrote:
Thanks MK,
The command is very helpful. I tried package command as well, here are
what
I tried and output, want to confirm my
Hi Maven expert,
I think Maven is good for build, and not sure if cover runtime deployment
well. Wondering what is the best practices for deploy provided scope jars?
Currently, I either build a fat jar, or manual copy external dependencies
jars into class path.
And better solutions is
Thanks Jörg,
It makes sense. How about for compile scope? What is the best practices
to deploy them into runtime along with application code? Thanks.
regards,
Lin
On Mon, Apr 6, 2015 at 6:09 PM, Jörg Schaible joerg.schai...@gmx.de wrote:
Lin Ma wrote:
Hi Maven expert,
I think Maven
in bin/ which sets up the CLASSPATH and executes
java.
--
Christopher L Tubbs II
http://gravatar.com/ctubbsii
On Mon, Apr 6, 2015 at 9:21 PM, Lin Ma lin...@gmail.com wrote:
Thanks Jörg,
It makes sense. How about for compile scope? What is the best practices
to deploy them into runtime
On Sun, Apr 5, 2015 at 11:22 PM, MK Tan mktan...@gmail.com wrote:
When you run
mvn help:describe -Dcmd=clean -Ddetail
You can see that clean is a lifecycle that run 3 phases:
- pre-clean
- clean
- post-clean
On Mon, Apr 6, 2015 at 2:17 PM, Lin Ma lin...@gmail.com wrote:
Thanks MK
-mojo.html
On Mon, Apr 6, 2015 at 12:37 PM, Lin Ma lin...@gmail.com wrote:
Hello Maven experts,
Comparing to full format command like mvn plugin:goal, for command like
mvn
clean and mvn package, how to find which is the exact goal to execute
for a
plug-in?
thanks in advance,
Lin
Hello Maven experts,
Comparing to full format command like mvn plugin:goal, for command like mvn
clean and mvn package, how to find which is the exact goal to execute for a
plug-in?
thanks in advance,
Lin
.
Cheers
2015-04-05 22:45 GMT+02:00 Lin Ma lin...@gmail.com:
Thanks Karl,
Does it mean compiler plug-in have two defined goals in the plug-in,
compile goal and testCompile goal. Compile goal binds to compile phase of
default lifecycle, and testCompile goal binds to test-compile phase
target1.5/target
/configuration
/plugin
regards,
Lin
On Sun, Apr 5, 2015 at 7:04 AM, Karl Heinz Marbaise khmarba...@gmx.de
wrote:
Hi,
On 4/5/15 1:52 AM, Lin Ma wrote:
Hi Karl,
I am testing below plug-in, for example, I tried put it as the first/last
element of plugins
, Karl Heinz Marbaise khmarba...@gmx.de
wrote:
Hi Lin,
On 4/5/15 9:32 PM, Lin Ma wrote:
Thanks Karl for the patience for descriptions,
Wondering how to see in which phase a plug-in bound to? For example, in
the below plug-in, it does not have any phase element.
In this case I know
Hello everyone,
I tried to manipulate orders of plug-in in pom.xml and always get the same
results. Wondering if any impact for order or plug-in, and any best
practices? Thanks.
regards,
Lin
...@gmx.de
wrote:
Hi,
On 4/5/15 1:09 AM, Lin Ma wrote:
Hello everyone,
I tried to manipulate orders of plug-in in pom.xml and always get the same
results.
Of which plugins would you like to change the execution order? And for
what purpose?
Wondering if any impact for order or plug
2015 at 16:46, Lin Ma lin...@gmail.com wrote:
Hello Maven masters,
For maven-compiler-plugin(a sample below), have a quick question. I read
this document (http://maven.apache.org/plugins/maven-compiler-plugin/),
and
confused what means source and target 1.5 here, it seems
exchange / negotiation)
2) My post had been to short and thus confusing. Yes you are right. I
meant that if using a Java 1.6 feature you will not be able to compile this
with a source level of 1.5.
Regards
Sebastian
-Ursprüngliche Nachricht-
Von: Lin Ma [mailto:lin...@gmail.com
Sebastian
-Ursprüngliche Nachricht-
Von: Lin Ma [mailto:lin...@gmail.com]
Gesendet: Montag, 30. März 2015 07:46
An: Maven Users List
Betreff: about source and target in maven-compiler-plugin
Hello Maven masters,
For maven-compiler-plugin(a sample below), have a quick question. I read
not mistaken compiler will not fail in this case
BUT the application will fail in runtime (in case Java 1.5 is used)
due to StringBuilder
class is missing in JDK
On Mon, Mar 30, 2015 at 1:20 PM, Lin Ma lin...@gmail.com wrote:
Thanks Sebastian,
1. I am using JDK 1.7/1.8 for both development
documentation.
Furthermore details about setting the compiler level can be found for
example in the Sun Certified Java Programmer Study Guide.
With regards
Sebastian
-Ursprüngliche Nachricht-
Von: Lin Ma [mailto:lin...@gmail.com]
Gesendet: Montag, 30. März 2015 09:38
An: Maven Users List
is the report:
https://groups.google.com/d/msg/red5interest/EbVFdFkEGWE/1N_eqcz5K-UJ
Somehow class was missing in runtime after building with Java8
rebuilding with Java7 fixes the problem
On Mon, Mar 30, 2015 at 1:38 PM, Lin Ma lin...@gmail.com wrote:
Hi Maxim,
Why compiler will not fail
. To avoid this issue, you
can either configure the compiler's boot classpath to match the target JRE
or use the Animal Sniffer Maven Plugin to verify your code doesn't use
unintended APIs.
With regards
Sebastian
-Ursprüngliche Nachricht-
Von: Lin Ma [mailto:lin...@gmail.com]
Gesendet
but using features such as
assertions not supported does really cause a compiler error (the maven
installation used as JDK 1.6)
With regards
Sebastian
-Ursprüngliche Nachricht-
Von: Lin Ma [mailto:lin...@gmail.com]
Gesendet: Montag, 30. März 2015 09:56
An: Maven Users List
Betreff
if not added /
overwritten by you.
Newer versions of Maven have Java 1.6 as default.
With regards
Sebastian
-Ursprüngliche Nachricht-
Von: Lin Ma [mailto:lin...@gmail.com]
Gesendet: Montag, 30. März 2015 09:56
An: Maven Users List
Betreff: Re: about source and target in maven-compiler
Hello Maven masters,
For maven-compiler-plugin(a sample below), have a quick question. I read
this document (http://maven.apache.org/plugins/maven-compiler-plugin/), and
confused what means source and target 1.5 here, it seems it is an internal
version number of Maven, independent of JDK?
plugin
.
-Original Message-
From: Lin Ma [mailto:lin...@gmail.com]
Sent: Montag, 23. März 2015 23:05
To: Maven Users List
Subject: Re: java import package and maven dependencies
Thanks Markus,
Do you know on IntelliJ, how to see Maven update Classpath and settings in
IntelliJ how Classpath
Eckenfels e...@zusammenkunft.net
wrote:
Am Tue, 24 Mar 2015 16:23:23 -0700
schrieb Lin Ma lin...@gmail.com:
How to find Maven updated Classpath and its priority over existing
Classpath in Eclipse? I use both and Eclipse is less. :)
Not sure I understand the question, but in Eclipse you can see
match automatically, or
provides a list of possible matches for the user to pick from. That's all.
Pretty simple and straightforward, and everything but magic.
Regards
-Markus
-Ursprüngliche Nachricht-
Von: Lin Ma [mailto:lin...@gmail.com]
Gesendet: Montag, 23. März 2015 06:24
is performing the 'organize import'
functionality or its various variants.
-Ursprüngliche Nachricht-
Von: Lin Ma [mailto:lin...@gmail.com]
Gesendet: Montag, 23. März 2015 08:59
An: Maven Users List
Betreff: Re: java import package and maven dependencies
Thanks Markus,
For at runtime
Hi Maven masters,
It is magic when we add dependencies in Maven pom.xml, IDE like IntelliJ
could resolve it for java import package statement at the beginning of each
.java file.
Want to learn a bit more how Maven or IDE will use dependencies in Maven
pom.xml file to resolve import package in
Hello everyone,
A newbie question, how to find how to find group/artifactId for
org.apache.http.client.methods.HttpPost. http://mvnrepository.com looks
does not support for search for Class and Java package name? Thanks.
regards,
Lin
Thanks everyone,
It is very helpful.
regards,
Lin
On Mon, Mar 16, 2015 at 2:47 AM, Dirk Olmes d...@xanthippe.ping.de wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 03/16/2015 10:39 AM, Lin Ma wrote:
Hello everyone,
A newbie question, how to find how to find group/artifactId
40 matches
Mail list logo