Hi Benedikt,

Am 28.07.2016 um 08:30 schrieb Benedikt Ritter:
> Hello Oliver,
> 
> Oliver Heger <[email protected]> schrieb am Mi., 27. Juli 2016
> um 21:30 Uhr:
> 
>> Thanks for the reviews so far.
>>
>> I tested with the Java 1.6 compatibility profile, and here a mvn clean
>> install is successful (using Maven 3.3.9).
>>
> 
> do you use the profile defined in parent pom? Can you paste the exact
> command line your using?

the following command works for me:

mvn clean install -P java-1.6

However, this of course requires that the corresponding profiles are
correctly setup in settings.xml.

Oliver

> 
> 
>>
>> Any proposals which version of the checkstyle plugin would be
>> compatible? Or why does the checkstyle plugin becomes active for a mvn
>> clean install at all?
>>
> 
> I think this is because it is configured as build plugin and as report
> plugin. This way you can run mvn checkstyle:check and you will get the HTML
> report when running mvn site.
> 
> 
>>
>> Personally, I don't have an issue with moving forward to Java 1.7, but
>> would prefer a better reason than "because the checkstyle plugin does
>> not support 1.6 any more".
>>
> 
> Yes. I think we will have to find out how to configure the build for
> running with Java 1.6 or we need to document how to build with Java 1.6 in
> the current state.
> 
> Benedikt
> 
> 
>>
>> Oliver
>>
>> Am 27.07.2016 um 21:04 schrieb Gary Gregory:
>>> Bummer! I have to change my vote from +1 to -1. I used Java 8 to test,
>>> which I should not have. With Java 6, it fails indeed [1].
>>>
>>> I used:
>>>
>>> Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19
>>> 05:51:28-0800)
>>> Maven home: E:\Java\apache-maven-3.0.5
>>> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
>>> Java home: E:\Program Files\Java\jdk1.6.0_45\jre
>>> Default locale: en_US, platform encoding: Cp1252
>>> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>>>
>>> Remedy 1: Change plugin versions.
>>> Remedy 2: Update Java requirements from 6 to 7, which I would propose for
>>> 2.2 anyway.
>>>
>>> Gary
>>>
>>> [1] [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on
>>> project commons-configuration2: Execution default-site of goal
>>> org.apache.maven.plugins:maven-site-plugin:3.4:site failed: An API
>>> incompatibility was
>>>  encountered while executing
>>> org.apache.maven.plugins:maven-site-plugin:3.4:site:
>>> java.lang.UnsupportedClassVersionError:
>>> org/apache/maven/plugin/checkstyle/CheckstyleReport : Unsupported
>>> major.minor version 51.0
>>> [ERROR] -----------------------------------------------------
>>> [ERROR] realm =    plugin>org.apache.maven.plugins:maven-site-plugin:3.4
>>> [ERROR] strategy =
>>> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
>>> [ERROR] urls[0] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/plugins/maven-site-plugin/3.4/maven-site-plugin-3.4.jar
>>> [ERROR] urls[1] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/wagon/wagon-ssh/2.10/wagon-ssh-2.10.jar
>>> [ERROR] urls[2] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/com/jcraft/jsch/0.1.50/jsch-0.1.50.jar
>>> [ERROR] urls[3] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/com/jcraft/jsch.agentproxy.connector-factory/0.0.6/jsch.agentproxy.connector-factory-0.0.6.jar
>>> [ERROR] urls[4] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/com/jcraft/jsch.agentproxy.core/0.0.6/jsch.agentproxy.core-0.0.6.jar
>>> [ERROR] urls[5] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/com/jcraft/jsch.agentproxy.usocket-jna/0.0.6/jsch.agentproxy.usocket-jna-0.0.6.jar
>>> [ERROR] urls[6] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar
>>> [ERROR] urls[7] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar
>>> [ERROR] urls[8] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/com/jcraft/jsch.agentproxy.usocket-nc/0.0.6/jsch.agentproxy.usocket-nc-0.0.6.jar
>>> [ERROR] urls[9] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/com/jcraft/jsch.agentproxy.sshagent/0.0.6/jsch.agentproxy.sshagent-0.0.6.jar
>>> [ERROR] urls[10] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/com/jcraft/jsch.agentproxy.pageant/0.0.6/jsch.agentproxy.pageant-0.0.6.jar
>>> [ERROR] urls[11] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/com/jcraft/jsch.agentproxy.jsch/0.0.6/jsch.agentproxy.jsch-0.0.6.jar
>>> [ERROR] urls[12] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/wagon/wagon-ssh-common/2.10/wagon-ssh-common-2.10.jar
>>> [ERROR] urls[13] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-6/plexus-interactivity-api-1.0-alpha-6.jar
>>> [ERROR] urls[14] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/maven-archiver/2.5/maven-archiver-2.5.jar
>>> [ERROR] urls[15] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.15/plexus-interpolation-1.15.jar
>>> [ERROR] urls[16] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/codehaus/plexus/plexus-archiver/2.4.4/plexus-archiver-2.4.4.jar
>>> [ERROR] urls[17] =
>>> file:/C:/Users/ggregory/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
>>> [ERROR] urls[18] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/codehaus/plexus/plexus-io/2.0.10/plexus-io-2.0.10.jar
>>> [ERROR] urls[19] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/commons/commons-compress/1.5/commons-compress-1.5.jar
>>> [ERROR] urls[20] =
>>> file:/C:/Users/ggregory/.m2/repository/org/tukaani/xz/1.2/xz-1.2.jar
>>> [ERROR] urls[21] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/doxia/doxia-core/1.6/doxia-core-1.6.jar
>>> [ERROR] urls[22] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
>>> [ERROR] urls[23] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/httpcomponents/httpclient/4.0.2/httpclient-4.0.2.jar
>>> [ERROR] urls[24] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
>>> [ERROR] urls[25] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
>>> [ERROR] urls[26] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar
>>> [ERROR] urls[27] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/xmlunit/xmlunit/1.5/xmlunit-1.5.jar
>>> [ERROR] urls[28] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/reporting/maven-reporting-exec/1.2/maven-reporting-exec-1.2.jar
>>> [ERROR] urls[29] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar
>>> [ERROR] urls[30] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/shared/maven-shared-utils/0.3/maven-shared-utils-0.3.jar
>>> [ERROR] urls[31] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar
>>> [ERROR] urls[32] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
>>> [ERROR] urls[33] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar
>>> [ERROR] urls[34] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
>>> [ERROR] urls[35] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
>>> [ERROR] urls[36] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
>>> [ERROR] urls[37] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
>>> [ERROR] urls[38] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.6/doxia-sink-api-1.6.jar
>>> [ERROR] urls[39] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.6/doxia-logging-api-1.6.jar
>>> [ERROR] urls[40] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/doxia/doxia-module-xhtml/1.6/doxia-module-xhtml-1.6.jar
>>> [ERROR] urls[41] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/doxia/doxia-module-apt/1.6/doxia-module-apt-1.6.jar
>>> [ERROR] urls[42] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/doxia/doxia-module-xdoc/1.6/doxia-module-xdoc-1.6.jar
>>> [ERROR] urls[43] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/doxia/doxia-module-fml/1.6/doxia-module-fml-1.6.jar
>>> [ERROR] urls[44] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/doxia/doxia-module-markdown/1.6/doxia-module-markdown-1.6.jar
>>> [ERROR] urls[45] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/pegdown/pegdown/1.2.1/pegdown-1.2.1.jar
>>> [ERROR] urls[46] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/parboiled/parboiled-java/1.1.4/parboiled-java-1.1.4.jar
>>> [ERROR] urls[47] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/parboiled/parboiled-core/1.1.4/parboiled-core-1.1.4.jar
>>> [ERROR] urls[48] =
>>> file:/C:/Users/ggregory/.m2/repository/org/ow2/asm/asm/4.1/asm-4.1.jar
>>> [ERROR] urls[49] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/ow2/asm/asm-tree/4.1/asm-tree-4.1.jar
>>> [ERROR] urls[50] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/ow2/asm/asm-analysis/4.1/asm-analysis-4.1.jar
>>> [ERROR] urls[51] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/ow2/asm/asm-util/4.1/asm-util-4.1.jar
>>> [ERROR] urls[52] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar
>>> [ERROR] urls[53] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/doxia/doxia-decoration-model/1.6/doxia-decoration-model-1.6.jar
>>> [ERROR] urls[54] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/doxia/doxia-site-renderer/1.6/doxia-site-renderer-1.6.jar
>>> [ERROR] urls[55] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/velocity/velocity-tools/2.0/velocity-tools-2.0.jar
>>> [ERROR] urls[56] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
>>> [ERROR] urls[57] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar
>>> [ERROR] urls[58] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/commons-chain/commons-chain/1.1/commons-chain-1.1.jar
>>> [ERROR] urls[59] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/commons-validator/commons-validator/1.3.1/commons-validator-1.3.1.jar
>>> [ERROR] urls[60] =
>>> file:/C:/Users/ggregory/.m2/repository/dom4j/dom4j/1.1/dom4j-1.1.jar
>>> [ERROR] urls[61] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/sslext/sslext/1.2-0/sslext-1.2-0.jar
>>> [ERROR] urls[62] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/struts/struts-core/1.3.8/struts-core-1.3.8.jar
>>> [ERROR] urls[63] =
>>> file:/C:/Users/ggregory/.m2/repository/antlr/antlr/2.7.2/antlr-2.7.2.jar
>>> [ERROR] urls[64] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/struts/struts-taglib/1.3.8/struts-taglib-1.3.8.jar
>>> [ERROR] urls[65] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/struts/struts-tiles/1.3.8/struts-tiles-1.3.8.jar
>>> [ERROR] urls[66] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
>>> [ERROR] urls[67] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/doxia/doxia-integration-tools/1.6/doxia-integration-tools-1.6.jar
>>> [ERROR] urls[68] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/codehaus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
>>> [ERROR] urls[69] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar
>>> [ERROR] urls[70] =
>>> file:/C:/Users/ggregory/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
>>> [ERROR] urls[71] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.8/plexus-velocity-1.1.8.jar
>>> [ERROR] urls[72] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.15/plexus-utils-3.0.15.jar
>>> [ERROR] urls[73] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/mortbay/jetty/jetty/6.1.25/jetty-6.1.25.jar
>>> [ERROR] urls[74] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/mortbay/jetty/servlet-api/2.5-20081211/servlet-api-2.5-20081211.jar
>>> [ERROR] urls[75] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/mortbay/jetty/jetty-util/6.1.25/jetty-util-6.1.25.jar
>>> [ERROR] urls[76] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/commons-lang/commons-lang/2.5/commons-lang-2.5.jar
>>> [ERROR] urls[77] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar
>>> [ERROR] Number of foreign imports: 1
>>> [ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent:
>>> null]]
>>> [ERROR]
>>> [ERROR] -----------------------------------------------------
>>> [ERROR] -> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e
>>> switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1]
>>>
>> http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
>>>
>>> G
>>>
>>> On Wed, Jul 27, 2016 at 3:12 AM, Benedikt Ritter <[email protected]>
>> wrote:
>>>
>>>> Hello Oliver,
>>>>
>>>> Minor nit: Release notes talk about "Commons Configuration Package". I
>>>> think this should be Apache Commons Configuration.
>>>>
>>>> Signs and hashes look good.
>>>> Website looks good.
>>>>
>>>> The build fails with:
>>>>
>>>> $ mvn -v
>>>> Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1;
>>>> 2014-12-14T18:29:23+01:00)
>>>> Maven home: /usr/local/Cellar/maven/3.2.5/libexec
>>>> Java version: 1.6.0_65, vendor: Apple Inc.
>>>> Java home: /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
>>>> Default locale: de_DE, platform encoding: MacRoman
>>>> OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"
>>>>
>>>> Here is the log output of mvn clean install [1].
>>>> It looks like the checkstyle plugin version used in the build does not
>> work
>>>> with Java 6. Since this release should be compatible to Java 6 I
>> consider
>>>> this blocking. TO make this work we will have to downgrade checkstyle.
>>>>
>>>> So my vote is -1 :-(
>>>>
>>>> Java 7 and Java 8 builds work fine.
>>>>
>>>> Benedikt
>>>>
>>>> [1] https://paste.apache.org/gvBS
>>>>
>>>> Oliver Heger <[email protected]> schrieb am So., 24. Juli
>> 2016
>>>> um 22:31 Uhr:
>>>>
>>>>> Hi all,
>>>>>
>>>>> there have been a number of bug fixes and also some new features for
>>>>> [configuration] since version 2.0 has been released. Those should be
>>>>> made available to the public. This is the vote for the 2.1 release.
>>>>>
>>>>> Configuration 2.1 RC1 is available for review here:
>>>>>     https://dist.apache.org/repos/dist/dev/commons/configuration
>>>>> (revision 14509)
>>>>>
>>>>> Maven artifacts are here:
>>>>>
>>>>>
>>>>
>> https://repository.apache.org/content/repositories/orgapachecommons-1186/
>>>>>
>>>>> Details of changes since 2.0 are in the release notes:
>>>>>
>>>>>
>>>>>
>>>>
>> https://dist.apache.org/repos/dist/dev/commons/configuration/RELEASE-NOTES.txt
>>>>>
>>>>>
>>>>
>> https://home.apache.org/~oheger/configuration-2.1-rc1/changes-report.html
>>>>>
>>>>> Here is the tag:
>>>>>
>>>>>
>>>>>
>>>>
>> http://svn.apache.org/repos/asf/commons/proper/configuration/tags/CONFIGURATION_2_1_RC1
>>>>> (revision 1753948)
>>>>>
>>>>> Site:
>>>>>    https://home.apache.org/~oheger/configuration-2.1-rc1/
>>>>> (note some links in the menu are not yet working)
>>>>>
>>>>> KEYS:
>>>>>   http://www.apache.org/dist/commons/KEYS
>>>>>
>>>>> Please review the release candidate and vote.
>>>>> This vote will close no sooner than 72 hours from now, i.e. after 2030
>>>>> GMT 27-Jul 2016
>>>>>
>>>>>   [ ] +1 Release these artifacts
>>>>>   [ ] +0 OK, but...
>>>>>   [ ] -0 OK, but really should fix...
>>>>>   [ ] -1 I oppose this release because...
>>>>>
>>>>> Thanks!
>>>>> Oliver
>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [email protected]
>>>>> For additional commands, e-mail: [email protected]
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to