bval-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Charles (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BVAL-106) Maven compilation fails on FeaturesCapable
Date Tue, 05 Jun 2012 17:26:24 GMT

    [ https://issues.apache.org/jira/browse/BVAL-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289550#comment-13289550
] 

Eric Charles commented on BVAL-106:
-----------------------------------

Ooh, I changed $PATH and not $JAVA_HOME, so Maven was still compiling with JDK7 and not using
JDK6.

After retrying on Ubuntu with correct settings:
- Compiles fine with JDK6.
- Breaks with JDK7, even with the clean phase ('mvn clean install')

$ mvn -v
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: /d/opt/apache-maven-3.0.4
Java version: 1.7.0_04-ea, vendor: Oracle Corporation
Java home: /d/opt/jdk-7u4-ea-bin-b17-linux-x64-22_mar_2012/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-22-generic", arch: "amd64", family: "unix"

                
> Maven compilation fails on FeaturesCapable
> ------------------------------------------
>
>                 Key: BVAL-106
>                 URL: https://issues.apache.org/jira/browse/BVAL-106
>             Project: BVal
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.5
>            Reporter: Eric Charles
>         Attachments: BVAL-106.patch
>
>
> I receive the following error when I invoke 'mvn install' current trunk (Last Changed
Rev: 1311512)
> [ERROR] /d/bval.svn/bval-core/src/main/java/org/apache/bval/model/FeaturesCapable.java:[148,14]
error: features has private access in FeaturesCapable
> [ERROR] /d/bval.svn/bval-core/src/main/java/org/apache/bval/model/FeaturesCapable.java:[149,14]
error: features has private access in FeaturesCapable
> [ERROR] /d/bval.svn/bval-core/src/main/java/org/apache/bval/model/FeaturesCapable.java:[151,18]
error: validations has private access in FeaturesCapable
> [INFO] 3 errors 
> This occurs on Ubuntu with JDK7 and JDK6
> java -version
> java version "1.7.0_04-ea"
> Java(TM) SE Runtime Environment (build 1.7.0_04-ea-b17)
> Java HotSpot(TM) 64-Bit Server VM (build 23.0-b18, mixed mode)
> java -version
> java version "1.6.0_31"
> Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message