RE: Compilation Error -Incompatible Types

2015-12-01 Thread David Evans
ll not apply! Good luck either way. Regards D.E> -Original Message- From: pradeepkumar [mailto:pradeepkumar...@gmail.com] Sent: 01 December 2015 15:27 To: users@maven.apache.org Subject: RE: Compilation Error -Incompatible Types Hi David , This is the original post . I am

Re: Compilation Error -Incompatible Types

2015-12-01 Thread Adrien Rivard
t . > > I am facing the compilation error in my Jenkins job. > > We are not getting compile time error in Eclipse for BusinessObject but we > are getting incompatible types error in Jenkins. > Is there any way to resolve this issue rather than changing the source > code. > >

RE: Compilation Error -Incompatible Types

2015-12-01 Thread pradeepkumar
Hi David , This is the original post . I am facing the compilation error in my Jenkins job. We are not getting compile time error in Eclipse for BusinessObject but we are getting incompatible types error in Jenkins. Is there any way to resolve this issue rather than changing the source

RE: Compilation Error -Incompatible Types

2015-11-26 Thread David Evans
Original Message- From: ctrueden.w...@gmail.com [mailto:ctrueden.w...@gmail.com] On Behalf Of Curtis Rueden Sent: 26 November 2015 20:28 To: Maven Users List Subject: Re: Compilation Error -Incompatible Types Hi Adrien, > most of the time differences between eclipse and command line > compilation

Re: Compilation Error -Incompatible Types

2015-11-26 Thread Curtis Rueden
Hi Adrien, > most of the time differences between eclipse and command line > compilation are due to scopes problems. I agree that Eclipse's handling of scopes is a common reason for code which works in Eclipse, but actually fails on the CLI. However, there are also significant differences in the

Re: Compilation Error -Incompatible Types

2015-11-26 Thread Brice Vandeputte
cast typing issues. > > > > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Compilation-Error-Incompatible-Types-tp5852871p5852878.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > ---

Re: Compilation Error -Incompatible Types

2015-11-26 Thread Adrien Rivard
I'm not sure this is the case here, but most of the time differences between eclipse and command line compilation are due to scopes problems. Eclipse is merging various scopes (test/compile ..) when compiling while command line is enforcing strict separation. Have a look at the scopes of the librar

Re: Compilation Error -Incompatible Types

2015-11-26 Thread Jörg Schaible
pradeepkumar wrote: > I have tried compile form console , even i am facing the same error from > command prompt. That simply means your code is not Java compliant. It does not matter that the Eclipse compiler has no problem. Cheers, Jörg ---

Re: Compilation Error -Incompatible Types

2015-11-26 Thread pradeepkumar
I have tried compile form console , even i am facing the same error from command prompt. -- View this message in context: http://maven.40175.n5.nabble.com/Compilation-Error-Incompatible-Types-tp5852871p5853003.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: Compilation Error -Incompatible Types

2015-11-25 Thread Jörg Schaible
pradeepkumar wrote: > Is there any was to resolve this issue from maven side by adding any flag > to avoid cast typing issues. Just because Eclipse can compile it, does not mean that javac of Oracle JDK can also. You better try to compile from console using the real compiler to see what's wrong

Re: Compilation Error -Incompatible Types

2015-11-25 Thread pradeepkumar
Is there any was to resolve this issue from maven side by adding any flag to avoid cast typing issues. -- View this message in context: http://maven.40175.n5.nabble.com/Compilation-Error-Incompatible-Types-tp5852871p5852878.html Sent from the Maven - Users mailing list archive at Nabble.com

Compilation Error -Incompatible Types

2015-11-25 Thread pradeepkumar
Hi , I am facing the compilation error in my Jenkins job. We are not getting compile time error in Eclipse for BusinessObject but we are getting incompatible types error in Jenkins. Because there is difference in package for the reference BusinessObject and the Object factory method returning

Re: Maven compilation error "is not within its bound"

2013-12-02 Thread Wayne Fay
s with mvn/eclipse > compiler ... ? > > -Message d'origine- > De : Stuart McCulloch [mailto:mccu...@gmail.com] > Envoyé : lundi 2 décembre 2013 16:47 > À : Maven Users List > Objet : Re: Maven compilation error "is not within its bound" > > On 2 Dec 2013, at 15:3

Re: Maven compilation error "is not within its bound"

2013-12-02 Thread Ron Wheeler
Java 1.7 and all not give me satisfaction in compilation, so Eclipse work well ... I don't have idea -Message d'origine- De : Stuart McCulloch [mailto:mccu...@gmail.com] Envoyé : lundi 2 décembre 2013 15:35 À : Maven Users List Objet : Re: Maven compilation error "is not wit

RE: Maven compilation error "is not within its bound"

2013-12-02 Thread Adrien Ruffié
McCulloch [mailto:mccu...@gmail.com] Envoyé : lundi 2 décembre 2013 16:47 À : Maven Users List Objet : Re: Maven compilation error "is not within its bound" On 2 Dec 2013, at 15:31, Adrien Ruffié wrote: > Not very well ... sorry it is a very bad problem because I'm cannot > upgrade

Re: Maven compilation error "is not within its bound"

2013-12-02 Thread Stuart McCulloch
3 15:35 > À : Maven Users List > Objet : Re: Maven compilation error "is not within its bound" > > On 2 Dec 2013, at 11:15, Adrien Ruffié wrote: > >> I have found more information here: >> >> http://stackoverflow.com/questions/19266797/different-compil

RE: Maven compilation error "is not within its bound"

2013-12-02 Thread Adrien Ruffié
re 2013 15:35 À : Maven Users List Objet : Re: Maven compilation error "is not within its bound" On 2 Dec 2013, at 11:15, Adrien Ruffié wrote: > I have found more information here: > > http://stackoverflow.com/questions/19266797/different-compilation-beha > vior-w >

Re: Maven compilation error "is not within its bound"

2013-12-02 Thread Stuart McCulloch
.0-v_771 > > > > > But I get the following error I attached file > > Do you know how I can correctly build my project ? > > > > > -Message d'origine- > De : Alexander Kriegisch [mailto:alexan...@kriegisch.name] > Env

RE: Maven compilation error "is not within its bound"

2013-12-02 Thread Adrien Ruffié
} -Message d'origine- De : Alexander Kriegisch [mailto:alexan...@kriegisch.name] Envoyé : lundi 2 décembre 2013 10:55 À : users@maven.apache.org Objet : Re: Maven compilation error "is not within its bound" Maven does not compile anything, the Java compiler

Re: Maven compilation error "is not within its bound"

2013-12-02 Thread Alexander Kriegisch
Eclipse/Maven ? > > Great thank again > > Adrien > > -Message d'origine- > De : Alexander Kriegisch [mailto:alexan...@kriegisch.name] > Envoyé : lundi 2 décembre 2013 10:24 > À : Maven Users List > Objet : Re: Maven compilation error "is not within its bound&qu

RE: Maven compilation error "is not within its bound"

2013-12-02 Thread Adrien Ruffié
@kriegisch.name] Envoyé : lundi 2 décembre 2013 10:24 À : Maven Users List Objet : Re: Maven compilation error "is not within its bound" Do Eclipse and Maven use the same compiler source/target versions? Which is you Maven version? To me it looks like you do have a problem with generi

Re: Maven compilation error "is not within its bound"

2013-12-02 Thread Alexander Kriegisch
Do Eclipse and Maven use the same compiler source/target versions? Which is you Maven version? To me it looks like you do have a problem with generics there. Maybe you use a new feature from a Java version greater than the one used by Maven. Hard to speculate without source code and pom.xml tho

Maven compilation error "is not within its bound"

2013-12-02 Thread Adrien Ruffié
Hello all, I have my webapp projet in Eclipse which compile correctly but when I try to perform "mvn clean compile", several following logs appears: [ERROR] \Java\Workspaces\Indigo\mycompanycrm4\mycompany-webapp\src\main\java\com\myc ompany\frontline\display\render\custom\ImageHandleBarRenderBo

Re: Compilation error on Maven getting started guide

2013-04-01 Thread Simon Peters
ards Simon From: Robert Scholte To: Maven Users List Sent: Monday, April 1, 2013 9:03 PM Subject: Re: Compilation error on Maven getting started guide I don't think it was a Maven issue in the first place, but a problem with the java-file. /.../maven-intr

Re: Compilation error on Maven getting started guide

2013-04-01 Thread Robert Scholte
rks as expected. Strange, that Apple includes a maven which is not working even on basics... Thanks a lot! Simon From: Baptiste MATHUS To: Maven Users List ; Simon Peters Cc: "ctrue...@wisc.edu" Sent: Monday, April 1, 2013 8:49 PM Subject: Re: C

Re: Compilation error on Maven getting started guide

2013-04-01 Thread Curtis Rueden
t locale: de_DE, platform encoding: MacRoman > OS name: "mac os x", version: "10.7.5", arch: "x86_64", family: "mac" > > But still the same issue... Are you using Sun's JDK? > > Regards > Simon > > ------ >

Re: Compilation error on Maven getting started guide

2013-04-01 Thread Simon Peters
: "ctrue...@wisc.edu" Sent: Monday, April 1, 2013 8:49 PM Subject: Re: Compilation error on Maven getting started guide Maybe you could push that code somewhere? On Github? or a link to the zipped version of your project? Cheers 2013/4/1 Simon Peters > Thanks for your reply, Curt

Re: Compilation error on Maven getting started guide

2013-04-01 Thread Baptiste MATHUS
86_64", family: "mac" > > Ups, I'll try with the 3.0.5 update of maven first... > > Regards > Simon > > > > > From: Curtis Rueden > To: Maven Users List ; Simon Peters < > sp_...@yahoo.com> > Sent: Mo

Re: Compilation error on Maven getting started guide

2013-04-01 Thread Simon Peters
Are you using Sun's JDK? Regards Simon From: Curtis Rueden To: Maven Users List ; Simon Peters Sent: Monday, April 1, 2013 8:12 PM Subject: Re: Compilation error on Maven getting started guide Hi Simon, > sure, it's the default generated "h

Re: Compilation error on Maven getting started guide

2013-04-01 Thread Simon Peters
t ; Simon Peters Sent: Monday, April 1, 2013 8:12 PM Subject: Re: Compilation error on Maven getting started guide Hi Simon, > sure, it's the default generated "hello world": OK. Did you enter all defaults when prompted (just press enter)? I tried it on my system (OS X 10.6.8

Re: Compilation error on Maven getting started guide

2013-04-01 Thread Curtis Rueden
main( String[] args ) > { > System.out.println( "Hello World!" ); > } > } > --- SNIP - > > Regards > Simon > > > > From: Curtis Rueden > To: Maven Users List ; Simon Peters < > sp_..

Re: Compilation error on Maven getting started guide

2013-04-01 Thread Simon Peters
- SNIP - Regards Simon From: Curtis Rueden To: Maven Users List ; Simon Peters Sent: Monday, April 1, 2013 8:03 PM Subject: Re: Compilation error on Maven getting started guide Hi Simon, > compiler-plugin:2.3.2:compile (default-compile) on proj

Re: Compilation error on Maven getting started guide

2013-04-01 Thread Curtis Rueden
Hi Simon, > compiler-plugin:2.3.2:compile (default-compile) on project maven-intro: Compilation failure > /.../maven-intro/src/main/java/com/testing/App.java:[1,13] ';' expected What does "cat maven-intro/src/main/java/com/testing/App.java" show? Is the file syntactically valid? Regards, Curtis

Compilation error on Maven getting started guide

2013-04-01 Thread Simon Peters
Hi I tried to follow the Maven getting started guide, and ran into problems when first trying to compile the generated project. I generated the project with: > mvn archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes > -DgroupId=com.testing -DartifactId=maven-intro using the defau

Re: maven compilation error

2012-06-26 Thread Belhadj abdessalem
or this erroe in maven. > > -- > View this message in context: > http://maven.40175.n5.nabble.com/maven-compilation-error-tp5711968.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > ---

Re: maven compilation error

2012-06-25 Thread Wayne Fay
> Build error > Reason:cannot execute mojjo:it requires a project with an existing pom.xml > but the build is not in use > What is the reason for this erroe in maven. What mojo are you trying to execute? No one can help you without more information. Wayne

maven compilation error

2012-06-25 Thread mbb216
Build error Reason:cannot execute mojjo:it requires a project with an existing pom.xml but the build is not in use What is the reason for this erroe in maven. -- View this message in context: http://maven.40175.n5.nabble.com/maven-compilation-error-tp5711968.html Sent from the Maven - Users

Re: Uncompiled classes resulting in COMPILATION ERROR : cannot find symbol

2011-10-21 Thread Guillaume Polet
seeing the issue. Agree that it would be nice to raise a bug, but in the absence of any test case to show the issue i haven't done. Sorry it doesn't help you much thanks -- View this message in context: http://maven.40175.n5.nabble.com/Uncompiled-classes-resulting-in-COMPILATION-ERR

Re: Uncompiled classes resulting in COMPILATION ERROR : cannot find symbol

2011-10-20 Thread Guillaume Polet
ompiled-classes-resulting-in-COMPILATION-ERROR-cannot-find-symbol-tp4903264p4920568.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional c

Re: Uncompiled classes resulting in COMPILATION ERROR : cannot find symbol

2011-10-20 Thread bgik
es-resulting-in-COMPILATION-ERROR-cannot-find-symbol-tp4903264p4920568.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands,

Re: Uncompiled classes resulting in COMPILATION ERROR : cannot find symbol

2011-10-19 Thread Guillaume Polet
Well this would have been my guess too, but as I mentionned earlier in another e-mail, I can also reproduce this on my laptop where there is absolutely no trace of jenkins. If you have git and maven on your path, you can reproduce this issue with this: * Checkout the code: git clone git://git

Re: Uncompiled classes resulting in COMPILATION ERROR : cannot find symbol

2011-10-19 Thread Wayne Fay
> Could it be that you also changed something else? Anyway, I find it very > disturbing that with 2 projects in jenkins with the exact same configuration > to the exception of their name (the one that works has a suffix '_2'), one > of them works and not the other. Does this not point to perhaps a

Re: Uncompiled classes resulting in COMPILATION ERROR : cannot find symbol

2011-10-19 Thread Guillaume Polet
used by maven by setting MAVEN_OPTS. So i suspect it's caused by some 'silent' OutOfMemory error. If you havent tried this, trying increasing the heap size. thanks -- View this message in context: http://maven.40175.n5.nabble.com/Uncompiled-classes-resulting-in-COMPILATION-ERROR-ca

Re: Uncompiled classes resulting in COMPILATION ERROR : cannot find symbol

2011-10-19 Thread bgik
ed this, trying increasing the heap size. thanks -- View this message in context: http://maven.40175.n5.nabble.com/Uncompiled-classes-resulting-in-COMPILATION-ERROR-cannot-find-symbol-tp4903264p4917796.html Sent from the Maven - Users mailing list archiv

Re: Uncompiled classes resulting in COMPILATION ERROR : cannot find symbol

2011-10-18 Thread Guillaume Polet
foundation --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 41 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ flexo foundation --- [INFO] Compiling 27 source files to D:\tmp\openflexo\flexodesktop\model\flexofou ndatio

Re: Uncompiled classes resulting in COMPILATION ERROR : cannot find symbol

2011-10-14 Thread Guillaume Polet
tion\target\test-classes [INFO] ----- [ERROR] COMPILATION ERROR : [INFO] - [ERROR] \tmp\openflexo\flexodesktop\model\flexofoundation\src\test\java\org\open flexo\foundation\FlexoTestCase.java:[40,34] cann

Re: Uncompiled classes resulting in COMPILATION ERROR : cannot find symbol

2011-10-14 Thread Kiren Pillay
esources. > [INFO] Copying 41 resources > [INFO] > [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ > flexo > foundation --- > [INFO] Compiling 27 source files to > D:\tmp\openflexo\flexodesktop\model\flexofou > ndation\target\test-classes > [INFO] -

Uncompiled classes resulting in COMPILATION ERROR : cannot find symbol

2011-10-14 Thread Guillaume Polet
esktop\model\flexofou ndation\target\test-classes [INFO] ----- [ERROR] COMPILATION ERROR : [INFO] - [ERROR] \tmp\openflexo\flexodesktop\model\flexofoundation\src\test\java\org\open flexo

Re: provided scope and compilation error

2010-12-14 Thread Anders Hammar
ding Cp1252, > i.e. build is platform dependent! > > [INFO] Compiling 8 source files to > D:\tamed\produit\workspace\plpm.example\plpm.example-web\target\classes > > [INFO] - > > [ERROR] COMPILATION ERROR : > &g

Re: provided scope and compilation error

2010-12-14 Thread Wayne Fay
> [ERROR] Failure executing javac, but could not parse the error: > > An exception has occurred in the compiler (1.6.0_23). Please file a bug at > the Java Developer Connection (http://java.sun.com/webapps/bugreport)  after > checking the Bug Parade for duplicates. Include your program and the > fo

provided scope and compilation error

2010-12-14 Thread El Arbi ABOUSSOROR
been set, using platform encoding Cp1252, i.e. build is platform dependent! [INFO] Compiling 8 source files to D:\tamed\produit\workspace\plpm.example\plpm.example-web\target\classes [INFO] - [ERROR] COMPILATION

Re: Confluence Atlas-Maven Compilation error

2010-04-16 Thread Justin Edelson
This looks like Atlassian's issue. Their repository server is down. See http://forums.atlassian.com/thread.jspa?threadID=43075&tstart=0 Justin On 4/16/10 10:01 AM, Raghuveer wrote: > > When I tried to convert the classes in java files through decompile and run > atlas-compile command, > I get f

Confluence Atlas-Maven Compilation error

2010-04-16 Thread Raghuveer
When I tried to convert the classes in java files through decompile and run atlas-compile command, I get following error.com.atlassian.confluence.plugin.base:confluence-plugin-base:pom:27 I have my SDK at E:\atlassian-plugin-sdk-3.0.4\apache-maven. Logs: D:\dec_test\pageapproval

Re: Compilation error(try source -1.5)

2009-12-04 Thread Anders Hammar
th > "mvn package" code) and i am getting compilation error and almost all lines > have some kind of same error(ex. Generics are not supported in source > -1.3,..., try source -1.5). I think source means source of JDK, so I looked > and i have jdk 1.6 installed and all paths are corr

Compilation error(try source -1.5)

2009-12-04 Thread martin mikeln
Hi! I try to build some project(actually i try to make single JAR file with "mvn package" code) and i am getting compilation error and almost all lines have some kind of same error(ex. Generics are not supported in source -1.3,..., try source -1.5). I think source means source of

Re: Maven compilation error

2008-11-12 Thread neptune_pluto
Thanks man Mathus :) - Original Message - From: Baptiste MATHUS <[EMAIL PROTECTED]> To: Maven Users List Sent: Sat, 8 Nov 2008 19:42:05 +0530 (IST) Subject: Re: Maven compilation error Hi, See the maven-compiler-plugin: http://maven.apache.org/plugins/maven-compiler-plugin/c

Re: Maven compilation error

2008-11-08 Thread Baptiste MATHUS
Hi, See the maven-compiler-plugin: http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#encodingadd the encoding tag inside the configuration one. Cheers. 2008/11/8 <[EMAIL PROTECTED]> > Hi, > > When i am compiling the classes using > > mvn com[ile,I am gettin the followiug e

Maven compilation error

2008-11-07 Thread neptune_pluto
Hi, When i am compiling the classes using mvn com[ile,I am gettin the followiug exceptions... INFO] Compilation failure error: IO exception sun.io.MalformedInputException error: IO exception sun.io.MalformedInputException error: IO exception sun.io.MalformedInputException error: IO exception s

RE: compilation error when building jaxb using mvn2

2007-11-13 Thread Sonar, Nishant
@maven.apache.org Subject: compilation error when building jaxb using mvn2 hi, when i am building my jaxb using maven 2 in linux its working fine.but when i do this on windows it gives following error --. if any one has solution then please reply me

compilation error when building jaxb using mvn2

2007-11-13 Thread chandan choudhary
] -- View this message in context: http://www.nabble.com/compilation-error-when-building-jaxb-using-mvn2-tf4802798s177.html#a13741340 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e

compilation-error-regexp-alist

2007-10-18 Thread Steve Jenson
Hi, Would any of you Emacs-minded maven 2 users mind sharing your compilation-error-regex-alist with me so I can see what you're doing? I have a regexp that matches the error message but for some reason next-error matches to the beginning of the line, including "[INFO] ". V

Compilation error.

2007-10-11 Thread inime
. Unfortunately not for me. Any ideas where should I be looking at? It is quite serious problem. -- View this message in context: http://www.nabble.com/Compilation-error.-tf4606264s177.html#a13152857 Sent from the Maven - Users mailing list archive at Nabble.com

Re: Compilation Error

2007-07-12 Thread Wayne Fay
Post the specific errors and perhaps we'll have some ideas. Also, are you using Maven1 or Maven2? Wayne On 7/12/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi: I have a problem when trying to compile a project with maven. The project was compiling fine until it started to give compilat

Compilation Error

2007-07-12 Thread mirayma.rodriguez
Hi: I have a problem when trying to compile a project with maven. The project was compiling fine until it started to give compilation errors that some third party classes were not found even though the necessary jars were in the repository. Is not a code error because I can compile the same co

Re: compilation error

2006-10-16 Thread Wayne Fay
ssues with that user and it should run OK under Continuum. Wayne On 10/16/06, Prashanth Krishnamurthy <[EMAIL PROTECTED]> wrote: Hi, I get the following compilation error when run through continuum. The same works fine when I do it outside continuum ( using mvn ). pom.xml is configured wi

compilation error

2006-10-16 Thread Prashanth Krishnamurthy
Hi, I get the following compilation error when run through continuum. The same works fine when I do it outside continuum ( using mvn ). pom.xml is configured with the right ver of jdk. Please suggest. thanks --Prashanth [INFO] Compilation

Re: [maven 2] "duplicate class" compilation error

2006-07-17 Thread dan tran
Maven Users List ; Tung Nguyen < [EMAIL PROTECTED]> Sent: Thursday, July 13, 2006 6:35:33 PM Subject: Re: [maven 2] "duplicate class" compilation error show your pom On 7/13/06, Tung Nguyen <[EMAIL PROTECTED]> wrote: > > Anyone could help me please, > I've ju

Re: [maven 2] "duplicate class" compilation error

2006-07-17 Thread Tung Nguyen
module-one. - Original Message From: dan tran <[EMAIL PROTECTED]> To: Maven Users List ; Tung Nguyen <[EMAIL PROTECTED]> Sent: Thursday, July 13, 2006 6:35:33 PM Subject: Re: [maven 2] "duplicate class" compilation error show your pom On 7/13/06, Tung Nguyen <[EMAIL

Re: [maven 2] "duplicate class" compilation error

2006-07-13 Thread dan tran
Subject: [maven 2] "duplicate class" compilation error Hi all, I have another problem with M2: the compilation. I once used the exec plug-in to compile my project 'cause it needed to be compiled with java 1.2. Now I can build my project with java 1.4. But to my surprise, in compiling a p

Re: [maven 2] "duplicate class" compilation error

2006-07-13 Thread Tung Nguyen
Anyone could help me please, I've just begun with maven and get stuck. - Original Message From: Tung Nguyen <[EMAIL PROTECTED]> To: users@maven.apache.org Sent: Thursday, July 13, 2006 10:33:51 AM Subject: [maven 2] "duplicate class" compilation error Hi all, I

[maven 2] "duplicate class" compilation error

2006-07-13 Thread Tung Nguyen
Hi all, I have another problem with M2: the compilation. I once used the exec plug-in to compile my project 'cause it needed to be compiled with java 1.2. Now I can build my project with java 1.4. But to my surprise, in compiling a package, m2 told me that there're errors meanwhile when I do the

eclipse plugin hiding source of compilation error

2006-02-22 Thread Jake Pezaro
the project in question does not fail when run from the command line, however when run from eclipse it produces the following error: is there a way to get the eclipse pluging to show what the error is or do run it in debug mode? Compiling 918 source files to C:\dev\workspace\CheltenhamWeb-2-2-1\t

Re: [m202] compilation error in multiproject - dependency not loaded inclasspath? -- user error

2006-02-02 Thread Thomas_Perry
Subject "Maven Users[m202] compilation error in List" multiproject - dependency not <[EMAIL PROTECTED] loadedinclasspath?

[m202] compilation error in multiproject - dependency not loaded in classpath?

2006-02-02 Thread Thomas_Perry
hello, we are running eclipse 3.1.1 and maven2 .0.2 and the maven eclipse plugin 0.0.4 we have a multiproject where a subproject has a dependency on javax.servlet/servlet-api/2.4 The dependency appears in the Maven2 Dependencies container in eclipse and the jar is our local repository. Whe

Re: [m2]Compilation error when using maven version 2.0-alpha-2

2005-06-05 Thread Zachi Hazan
I switched to another JDK (j2sdk1.4.2_04) I have installed and it solve the problem. Thanks for the hint ;) Brett Porter wrote: Yes, the compiler was changed in the last release to bettter support JDK 5. This is a bit strange. The programmatic interface we are using was only declared in JDK 5

Re: [m2]Compilation error when using maven version 2.0-alpha-2

2005-06-05 Thread Brett Porter
Yes, the compiler was changed in the last release to bettter support JDK 5. This is a bit strange. The programmatic interface we are using was only declared in JDK 5.0's documentation, but it has been tested on 1.4.2. It works for me on 1.4.2_08, on Windows. Is there a way you can discover what

Re: [m2]Compilation error when using maven version 2.0-alpha-2

2005-06-05 Thread Zachi Hazan
Thanks for the quick response. I am using JDK version java version "1.4.2_04" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05) Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode) My java home is set to "/sun/jdk/x86/linux/". I am working with this jdk in other project

Re: [m2]Compilation error when using maven version 2.0-alpha-2

2005-06-05 Thread Brett Porter
Ok, on closer inspection - it looks like your JDK doesn't support the sun standard interface to Javac. What JDK are you using, and what is JAVA_HOME set to? Thanks, Brett On 6/6/05, Zachi Hazan <[EMAIL PROTECTED]> wrote: > No, only defined the plugin artifactid and group id > > >

Re: [m2]Compilation error when using maven version 2.0-alpha-2

2005-06-05 Thread Zachi Hazan
No, only defined the plugin artifactid and group id org.apache.maven.plugins maven-compiler-plugin Brett Porter wrote: Have you hard coded the 2.0-alpha-1 plugin version for maven-compiler-plugin in your POM? - Brett On 6/5/05, Zachi Hazan <[EMAIL PROTE

Re: [m2]Compilation error when using maven version 2.0-alpha-2

2005-06-05 Thread Brett Porter
Have you hard coded the 2.0-alpha-1 plugin version for maven-compiler-plugin in your POM? - Brett On 6/5/05, Zachi Hazan <[EMAIL PROTECTED]> wrote: > I have just upgraded mvaen 2 to version alpha 2. > When running compiler:compile plugin the an exception is thrown (see below). > I have checked in

[m2]Compilation error when using maven version 2.0-alpha-2

2005-06-05 Thread Zachi Hazan
I have just upgraded mvaen 2 to version alpha 2. When running compiler:compile plugin the an exception is thrown (see below). I have checked in maven sources and I saw that the method "compile" exists only on the new plexus jar, which was upgraded after alpha 2 realesed. How can I solve this

Re: Compilation doesn't generate a compilation error

2004-11-08 Thread Felipe Leme
Hervé, I tried to reproduced it, but the error didn't happen. So, could you try to create a minimum testcase (probably a zip with the project.xml and HelloWorld.java in the proper place)? -- Felipe On Fri, 2004-11-05 at 07:59, Hervé Guidetti wrote: > Hi all, > > I am a newbee with Maven. I j

REÂ: Compilation doesn't generate a compilation error

2004-11-08 Thread Hervà Guidetti
List Cc: Objet: RE: Compilation doesn't generate a compilation error I'm not 100% certain on that, but maybe it's Eclipse who generate those classes. I started getting thoses when we switch to Eclipse 3.0.1. Probably the generated .class

RE: Compilation doesn't generate a compilation error

2004-11-08 Thread Jean-Marc Lavoie
.class file and try to compile it again. Do a maven clean and it should be OK. Regards Jean-Marc -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Friday, November 05, 2004 6:33 PM To: Maven Users List Subject: Re: Compilation doesn't generate a compilation e

Re: Compilation doesn't generate a compilation error

2004-11-05 Thread Brett Porter
. I have written a wrong code on purpose. > > public class HelloWorld > { > > public void hello () > { > System.out.println2("Hello World !"); > } > > public static void main(String[] args) { > new HelloWorld().hello(); > } > } >

Compilation doesn't generate a compilation error

2004-11-05 Thread Hervé Guidetti
ring[] args) { new HelloWorld().hello(); } } When I compile it using "javac *.java", the compilator generate a compilation error. If I use maven java:compile, it build successfuly. I have decompiled the class and the generated method hello() is : public void hello(){ throw new Error("