compiler « Development « Maven/Ant Q&A

Home
Maven/Ant Q&A
1.Ant
2.artifact
3.dependency
4.deploy
5.Development
6.eclipse
7.glassfish
8.hudson
9.integration
10.jetty
11.junit
12.m2eclipse
13.module
14.netbeans
15.package
16.plugin
17.POM
18.repository
19.svn
Maven/Ant Q&A » Development » compiler 

1. compiling project with jdk1.5 using maven2    stackoverflow.com

i managed to create my project structure using maven2. but when am compiling my project using mvn install getting error generics are not supported in -source 1.3 googled to build my project using jdk1.5 and ...

2. Different maven compiler versions for test and main    stackoverflow.com

How can I configure the maven compiler to use java 5 for my test code and java 1.4 for my main code?

3. What is the problem when javac compiler creates a jarfile with lowercase class file names?    stackoverflow.com

When I run the javac compiler it compiles code and creates a JAR file, but the names of the class files inside the JAR are all in lower case. However, the ...

4. Maven: Cannot get the help goals working (clean:help, compiler:help, etc)    stackoverflow.com

I am new in Maven. Do you know what I am doing wrong (see below)?


mvn -e clean:help.  
+ Error stacktraces are turned on.  
[INFO] Scanning for projects...  
[INFO] ...

5. default maven compiler setting    stackoverflow.com

Right now, I'm writing a small java application by my own, with few maven pom.xml files. I want to make all my maven packages to compile with jdk 1.6, and I ...

6. Finding out which compiler Maven uses    stackoverflow.com

Do you know how I can find out which of my JDKs Maven uses to compile my projects?

7. Maven default compiler compliance level    stackoverflow.com

Do you know how I can find out the default compiler compliance level that my Maven installation uses when nothing is defined in the maven-compiler-plugin? Yours Bernhard

8. Passing Maven Compiler Options From The Command-line    stackoverflow.com

I am setting up several projects on a continuous integration server, some of which I don't have access to change the source code to, The server is a linux box, I ...

9. Custom compiler with maven    stackoverflow.com

I'm trying to make Maven2 to compile coffeescript to javascript. As far as I'm concerned there is no plugin which provides compiling coffeescript. Is there a compiler-plugin for maven which can be ...

10. Optimizing Java compiler during a Maven build?    stackoverflow.com

I have a Maven profile for a Java project that is activated when doing a final build on a Hudson CI server. Currently this profile's only customization is to the Maven compiler ...

11. Setting Maven Java compiler debug to false does not remove line number table?    stackoverflow.com

Perhaps this is my lack of understanding, but I would have assumed that doing this in a Maven Java project would disable all debug info from going into the Class file:

 ...

12. Setting the -source and -target of the Java Compiler with Maven - doesn't work    stackoverflow.com

I have set my pom file to ask Maven to compile my source code to be version 1.5 compatible using the source and target config params. Here is my pom:

<project ...

13. Could not resolve to a component implementation    stackoverflow.com

i created project with flexmojos maven archtype..i used flexmojos:flexbuilder and compile/run with FlashBuilder 4 everything is okay but when i try to compile project with flexmojos i got following error:


[ERROR] ...

14. Java: Do BOTH the compiler AND the JRE require access to all 3rd-party class files?    stackoverflow.com

I have 15 years' C++ experience but am new to Java. I am trying to understand how the absence of header files is handled by Java. I have a ...

15. maven-assembly-plugin and JVM version    stackoverflow.com

is it possibile to create a JAR using the maven-assembly-plugin, setting a specific compiler version? Thanks UPDATE: I meant to say: maven-compiler-plugin

16. How to add the target jar as a test resource of the same project?    stackoverflow.com

I'm developing a Solr plugin and using the Solr test-framework I place a test SOLR_HOME dir under test/resources with /conf/ and /lib . Now the framework inistantiates ...

17. Custom IDL generation with JACORB maven compiler    stackoverflow.com

I need to integrate Java system with legacy C++ system. Those two system communicate through CORBA. Since Java system runs on JBoss we use JacORB. To generate java stubs from .idl files we ...

18. Maven is not using the proper Java compiler     stackoverflow.com

I'm using Maven 2.2 on Solaris 10. When compiling my JAR project, in which I want to use a Java 6 compiler, I get compilation errors like …

[INFO] Compilation failure

/home/davea/selenium/src/main/java/com/cm/systems/selenium/util/TestSuite.java:[17,18] ...

19. Maven doesn't run TestNG tests generated by groovy compiler    stackoverflow.com

I have a java project with tests written in groovy. I use TestNG as unit testing framework. I also have several tests written in java. After maven test-compile phase all tests (both groovy and ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.