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 wrote:
> Thanks Gruss for the details,
>
> I tried mvn -U help:effective-pom -Doutput=epom.xml, and find
> sourceDirectory is without "main&
245M
[INFO]
regards,
Lin
On Wed, Apr 15, 2015 at 3:25 PM, Bernd Eckenfels
wrote:
> Am Wed, 15 Apr 2015 14:49:21 -0700
> schrieb Lin Ma :
>
> > The document is very helpful. Any thoughts how to check why
> > src/java/com/foo/goo works is great. Is there some other fi
>
> Am Wed, 15 Apr 2015 14:26:05 -0700 schrieb Lin
> Ma :
>
> > Thanks Wayne,
> >
> > Are there any document mentioning src/main/java is default source?
> > Appreciate if you could point me to. Thanks.
> >
> > regards,
> > Lin
> >
> &
s 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 wrote:
>
> > Thanks
, 2015 at 9:04 AM, Wayne Fay wrote:
> Your link is to the m-javadoc-p. You want m-compiler-p as seen here. Look
> for the "source" parameter.
>
> http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html
>
> Wayne
>
> On Sun, Apr 12, 2015 at 1:10 A
n.apache.org/pom.html
>
> -D
>
> On Sat, Apr 11, 2015 at 11:10 PM, Lin Ma 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
lt 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 wrote:
> >
> >> Hi Dan,
> >>
> >> I have this question since I tri
s 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 wrote:
>
> > Hi Maven masters,
> >
> > For maven-compiler-plugin, how to check what are the source
> > files/director
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
Thanks Jörg!
regards,
Lin
On Tue, Apr 7, 2015 at 12:48 AM, Jörg Schaible 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 deploym
best tool for packaging up
> artifacts 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
&g
what
> your target environment needs. If you're trying to package a
> standalone application, maybe use the maven-assembly-plugin to create
> a tarball which includes a README, all the jars in a lib/ directory,
> and a launch script in bin/ which sets up the CLASSPATH and executes
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 wrote:
> Lin Ma wrote:
>
> > Hi Maven expert,
> >
&
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 apprecia
Thanks MK.
regards,
Lin
On Mon, Apr 6, 2015 at 2:01 AM, MK Tan wrote:
> On Mon, Apr 6, 2015 at 3:26 PM Lin Ma wrote:
>
> > Thanks MK,
> >
> > The command is very helpful. I tried package command as well, here are
> what
> > I tried and output, want to confirm
s,
Lin
On Sun, Apr 5, 2015 at 11:22 PM, MK Tan 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 wrote:
o.html
>
>
> On Mon, Apr 6, 2015 at 12:37 PM, Lin Ma 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
> >
>
> Cheers
>
> 2015-04-05 22:45 GMT+02:00 Lin Ma :
>
> > 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
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
, Karl Heinz Marbaise
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.
&
, Karl Heinz Marbaise
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 "", and the same results,
>>
>
> The change in the position do
pendencies
${project.basedir}/../lib/source
false
false
true
true
sources
regards,
Lin
On Sat, Apr 4, 2015 at 4:23 PM, Karl Heinz Marbaise
wrote:
> Hi,
>
> On 4/5/15 1:
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
your code fail at runtime with a linkage error. 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
> Sebasti
tian.o
> \Test.java:6: not a statement
> [ERROR]
> /C:/Users/sebastian.oerding/workspaces/workspace/Test/src/main/java/Test/Test.java:[6,23]
> C:\Users\sebastian.o
> \Test.java:6: ';' expected
> [ERROR] -> [Help 1]
>
> Hence new available API may be a
tries are inherited 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: Mav
an earlier
> email someone already provided links for the Maven 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 Nachrich
s 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 wrote:
>
> > Hi Maxim,
> &
y with more than 1024 characters in TLS
> handshake / key 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
>
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 wrote:
>
> > Thanks Sebastian,
> >
> > 1. I am using JDK 1.7/1.8 fo
optimizations which weren't available with the old JDK and are
> compatible.
>
> With regards
> Sebastian
>
> -Ursprüngliche Nachricht-
> Von: Lin Ma [mailto:lin...@gmail.com]
> Gesendet: Montag, 30. März 2015 07:46
> An: Maven Users List
> Betreff: a
Thanks Olivier,
I am using JDK 1.8 for development and shall I change source and target to
1.8? I think the most popular version of Java are 1.7 or 1.8, not sure why
Maven makes 1.5 as default?
regards,
Lin
On Sun, Mar 29, 2015 at 10:53 PM, Olivier Lamy wrote:
> On 30 March 2015 at 16:46,
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?
ma
Eckenfels
wrote:
> Am Tue, 24 Mar 2015 16:23:23 -0700
> schrieb Lin Ma :
>
> > 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 ca
-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
ipse 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
ath for name equality, picks the sole 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
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 .ja
Thanks everyone,
It is very helpful.
regards,
Lin
On Mon, Mar 16, 2015 at 2:47 AM, Dirk Olmes 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 ho
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
40 matches
Mail list logo