Explicit version 1.6 convinces command line Maven to compile the whole project
authorJaroslav Tulach <jtulach@netbeans.org>
Tue, 13 Nov 2012 07:56:02 +0100
changeset 159d0aad97dfd2e
parent 158 44008c6d0597
child 189 6a56c2381b0f
Explicit version 1.6 convinces command line Maven to compile the whole project
javaquery/api/pom.xml
javaquery/demo-calculator/pom.xml
mojo/pom.xml
     1.1 --- a/javaquery/api/pom.xml	Tue Nov 13 07:48:26 2012 +0100
     1.2 +++ b/javaquery/api/pom.xml	Tue Nov 13 07:56:02 2012 +0100
     1.3 @@ -12,6 +12,19 @@
     1.4    <version>1.0-SNAPSHOT</version>
     1.5    <name>JavaQuery API</name>
     1.6    <url>http://maven.apache.org</url>
     1.7 +    <build>
     1.8 +        <plugins>
     1.9 +            <plugin>
    1.10 +                <groupId>org.apache.maven.plugins</groupId>
    1.11 +                <artifactId>maven-compiler-plugin</artifactId>
    1.12 +                <version>2.3.2</version>
    1.13 +                <configuration>
    1.14 +                    <source>1.6</source>
    1.15 +                    <target>1.6</target>
    1.16 +                </configuration>
    1.17 +            </plugin>
    1.18 +        </plugins>
    1.19 +    </build>
    1.20      <properties>
    1.21      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    1.22    </properties>
     2.1 --- a/javaquery/demo-calculator/pom.xml	Tue Nov 13 07:48:26 2012 +0100
     2.2 +++ b/javaquery/demo-calculator/pom.xml	Tue Nov 13 07:56:02 2012 +0100
     2.3 @@ -1,3 +1,4 @@
     2.4 +<?xml version="1.0"?>
     2.5  <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     2.6    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     2.7    <modelVersion>4.0.0</modelVersion>
     2.8 @@ -44,7 +45,16 @@
     2.9                          <argument>${project.build.directory}/classes/org/apidesign/bck2brwsr/mavenhtml/Calculator.xhtml</argument>
    2.10                      </arguments>
    2.11                  </configuration>
    2.12 -            </plugin>            
    2.13 +            </plugin>
    2.14 +         <plugin>
    2.15 +            <groupId>org.apache.maven.plugins</groupId>
    2.16 +            <artifactId>maven-compiler-plugin</artifactId>
    2.17 +            <version>2.3.2</version>
    2.18 +            <configuration>
    2.19 +               <source>1.6</source>
    2.20 +               <target>1.6</target>
    2.21 +            </configuration>
    2.22 +         </plugin>
    2.23        </plugins>
    2.24    </build>
    2.25  
     3.1 --- a/mojo/pom.xml	Tue Nov 13 07:48:26 2012 +0100
     3.2 +++ b/mojo/pom.xml	Tue Nov 13 07:56:02 2012 +0100
     3.3 @@ -35,6 +35,15 @@
     3.4                      </execution>
     3.5                  </executions>
     3.6              </plugin>
     3.7 +            <plugin>
     3.8 +                <groupId>org.apache.maven.plugins</groupId>
     3.9 +                <artifactId>maven-compiler-plugin</artifactId>
    3.10 +                <version>2.3.2</version>
    3.11 +                <configuration>
    3.12 +                    <source>1.6</source>
    3.13 +                    <target>1.6</target>
    3.14 +                </configuration>
    3.15 +            </plugin>
    3.16          </plugins>
    3.17        </build>
    3.18