You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Benedikt Ritter <br...@apache.org> on 2015/01/21 19:51:04 UTC

[LANG] Site build fails with CP 37-SNAPSHOT due to animal sniffer plugin

Hi,

I was playing around with the Commons skin and had to include CP
37-SNAPSHOT into lang to get my new site skin prototype working. When
executing mvn clean site on lang with:

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.7.0_71, vendor: Oracle Corporation
Java home:
/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "mac os x", version: "10.10.1", arch: "x86_64", family: "mac"

I get:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on
project commons-lang3: failed to get report for
org.codehaus.mojo:cobertura-maven-plugin: Failed to execute goal
org.codehaus.mojo:animal-sniffer-maven-plugin:1.13:check
(checkAPIcompatibility) on project commons-lang3: Failed to check
signatures:  failed to process jar
/Users/bene/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar : Bad
class file
/Users/bene/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar:com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class:
48188 -> [Help 1]

Any ideas?

Benedikt

-- 
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter

Re: [LANG] Site build fails with CP 37-SNAPSHOT due to animal sniffer plugin

Posted by sebb <se...@gmail.com>.
Just tried with Maven 3.2.5, also no problems.

Try deleting the icu4j repo tree; maybe that is corrupt

On 22 January 2015 at 00:05, sebb <se...@gmail.com> wrote:
> I don't have any problems on MacOSX.
>
> But I am using Maven 3.0.5, not 3.2.5
>
> On 21 January 2015 at 21:37, Bernd Eckenfels <ec...@zusammenkunft.net> wrote:
>> Hello Benedikt,
>>
>> I tried it on my system (r1653307 + 37-SN) and it has the same
>> problem:
>>
>> 342827 [ERROR] Bad class file
>> C:\users\eckenfel\.m2\asf-repository\com\ibm\icu\icu4j\2.6.1\icu4j-2.6.1.jar:com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class
>> 3
>>
>> I suspect this is a synthetically generated resource class. AS has a
>> exclude dependencies and class configuration. I just wonder if we want
>> to add that to parent or make a configuration via property available.
>>
>>
>> Active Profiles for Project
>> 'org.apache.commons:commons-lang3:jar:3.4-SNAPSHOT':
>>
>> The following profiles are active:
>>
>>  - animal-sniffer (source:
>>    org.apache.commons:commons-parent:37-SNAPSHOT)
>>  - cobertura (source: org.apache.commons:commons-parent:37-SNAPSHOT)
>>  - svn-buildnumber (source:
>>    org.apache.commons:commons-parent:37-SNAPSHOT)
>>  - jdk7-plugin-fix-version (source:
>>    org.apache.commons:commons-parent:37-SNAPSHOT)
>>  - maven-3 (source: org.apache:apache:16)
>>
>>
>>
>>
>>
>> BTW: I do get an JUnit failure:
>>
>>
>> Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1;
>> 2014-12-14T18:29:23+01:00) Maven home: C:\devenv\apache-maven-3.2.5
>> Java version: 1.7.0_72, vendor: Oracle Corporation
>> Java home: C:\Program Files\Java\jdk1.7.0\jre
>> Default locale: de_DE, platform encoding: Cp1252
>> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>> C
>> Running org.apache.commons.lang3.time.FastDateFormatTest
>> Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 28.356
>> sec <<< FAILURE! - in org.apache.commons.lang3.time.FastDateFormatTest
>> testParseSync(org.apache.commons.lang3.time.FastDateFormatTest)  Time
>> elapsed: 26.978 sec  <<< FAILURE! java.lang.AssertionError: did not
>> complete tasks at org.junit.Assert.fail(Assert.java:88) at
>> org.apache.commons.lang3.time.FastDateFormatTest.measureTime(FastDateFormatTest.java:317)
>> at
>> org.apache.commons.lang3.time.FastDateFormatTest.testParseSync(FastDateFormatTest.java:278)
>>
>>
>> Looks like a timing thing?
>>
>>
>> Gruss
>> Bernd
>>
>>
>>  Am Wed, 21 Jan 2015 19:51:04 +0100
>> schrieb Benedikt Ritter <br...@apache.org>:
>>
>>> Hi,
>>>
>>> I was playing around with the Commons skin and had to include CP
>>> 37-SNAPSHOT into lang to get my new site skin prototype working. When
>>> executing mvn clean site on lang with:
>>>
>>> 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.7.0_71, vendor: Oracle Corporation
>>> Java home:
>>> /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre
>>> Default locale: de_DE, platform encoding: UTF-8
>>> OS name: "mac os x", version: "10.10.1", arch: "x86_64", family: "mac"
>>>
>>> I get:
>>>
>>> [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on
>>> project commons-lang3: failed to get report for
>>> org.codehaus.mojo:cobertura-maven-plugin: Failed to execute goal
>>> org.codehaus.mojo:animal-sniffer-maven-plugin:1.13:check
>>> (checkAPIcompatibility) on project commons-lang3: Failed to check
>>> signatures:  failed to process jar
>>> /Users/bene/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar :
>>> Bad class file
>>> /Users/bene/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar:com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class:
>>> 48188 -> [Help 1]
>>>
>>> Any ideas?
>>>
>>> Benedikt
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [LANG] Site build fails with CP 37-SNAPSHOT due to animal sniffer plugin

Posted by sebb <se...@gmail.com>.
I don't have any problems on MacOSX.

But I am using Maven 3.0.5, not 3.2.5

On 21 January 2015 at 21:37, Bernd Eckenfels <ec...@zusammenkunft.net> wrote:
> Hello Benedikt,
>
> I tried it on my system (r1653307 + 37-SN) and it has the same
> problem:
>
> 342827 [ERROR] Bad class file
> C:\users\eckenfel\.m2\asf-repository\com\ibm\icu\icu4j\2.6.1\icu4j-2.6.1.jar:com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class
> 3
>
> I suspect this is a synthetically generated resource class. AS has a
> exclude dependencies and class configuration. I just wonder if we want
> to add that to parent or make a configuration via property available.
>
>
> Active Profiles for Project
> 'org.apache.commons:commons-lang3:jar:3.4-SNAPSHOT':
>
> The following profiles are active:
>
>  - animal-sniffer (source:
>    org.apache.commons:commons-parent:37-SNAPSHOT)
>  - cobertura (source: org.apache.commons:commons-parent:37-SNAPSHOT)
>  - svn-buildnumber (source:
>    org.apache.commons:commons-parent:37-SNAPSHOT)
>  - jdk7-plugin-fix-version (source:
>    org.apache.commons:commons-parent:37-SNAPSHOT)
>  - maven-3 (source: org.apache:apache:16)
>
>
>
>
>
> BTW: I do get an JUnit failure:
>
>
> Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1;
> 2014-12-14T18:29:23+01:00) Maven home: C:\devenv\apache-maven-3.2.5
> Java version: 1.7.0_72, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.7.0\jre
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
> C
> Running org.apache.commons.lang3.time.FastDateFormatTest
> Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 28.356
> sec <<< FAILURE! - in org.apache.commons.lang3.time.FastDateFormatTest
> testParseSync(org.apache.commons.lang3.time.FastDateFormatTest)  Time
> elapsed: 26.978 sec  <<< FAILURE! java.lang.AssertionError: did not
> complete tasks at org.junit.Assert.fail(Assert.java:88) at
> org.apache.commons.lang3.time.FastDateFormatTest.measureTime(FastDateFormatTest.java:317)
> at
> org.apache.commons.lang3.time.FastDateFormatTest.testParseSync(FastDateFormatTest.java:278)
>
>
> Looks like a timing thing?
>
>
> Gruss
> Bernd
>
>
>  Am Wed, 21 Jan 2015 19:51:04 +0100
> schrieb Benedikt Ritter <br...@apache.org>:
>
>> Hi,
>>
>> I was playing around with the Commons skin and had to include CP
>> 37-SNAPSHOT into lang to get my new site skin prototype working. When
>> executing mvn clean site on lang with:
>>
>> 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.7.0_71, vendor: Oracle Corporation
>> Java home:
>> /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre
>> Default locale: de_DE, platform encoding: UTF-8
>> OS name: "mac os x", version: "10.10.1", arch: "x86_64", family: "mac"
>>
>> I get:
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on
>> project commons-lang3: failed to get report for
>> org.codehaus.mojo:cobertura-maven-plugin: Failed to execute goal
>> org.codehaus.mojo:animal-sniffer-maven-plugin:1.13:check
>> (checkAPIcompatibility) on project commons-lang3: Failed to check
>> signatures:  failed to process jar
>> /Users/bene/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar :
>> Bad class file
>> /Users/bene/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar:com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class:
>> 48188 -> [Help 1]
>>
>> Any ideas?
>>
>> Benedikt
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [LANG] Site build fails with CP 37-SNAPSHOT due to animal sniffer plugin

Posted by Bernd Eckenfels <ec...@zusammenkunft.net>.
Hello Benedikt,

I tried it on my system (r1653307 + 37-SN) and it has the same
problem:

342827 [ERROR] Bad class file
C:\users\eckenfel\.m2\asf-repository\com\ibm\icu\icu4j\2.6.1\icu4j-2.6.1.jar:com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class
3

I suspect this is a synthetically generated resource class. AS has a
exclude dependencies and class configuration. I just wonder if we want
to add that to parent or make a configuration via property available.


Active Profiles for Project
'org.apache.commons:commons-lang3:jar:3.4-SNAPSHOT':

The following profiles are active:

 - animal-sniffer (source:
   org.apache.commons:commons-parent:37-SNAPSHOT)
 - cobertura (source: org.apache.commons:commons-parent:37-SNAPSHOT)
 - svn-buildnumber (source:
   org.apache.commons:commons-parent:37-SNAPSHOT)
 - jdk7-plugin-fix-version (source:
   org.apache.commons:commons-parent:37-SNAPSHOT)
 - maven-3 (source: org.apache:apache:16)





BTW: I do get an JUnit failure:


Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1;
2014-12-14T18:29:23+01:00) Maven home: C:\devenv\apache-maven-3.2.5
Java version: 1.7.0_72, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
C
Running org.apache.commons.lang3.time.FastDateFormatTest
Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 28.356
sec <<< FAILURE! - in org.apache.commons.lang3.time.FastDateFormatTest
testParseSync(org.apache.commons.lang3.time.FastDateFormatTest)  Time
elapsed: 26.978 sec  <<< FAILURE! java.lang.AssertionError: did not
complete tasks at org.junit.Assert.fail(Assert.java:88) at
org.apache.commons.lang3.time.FastDateFormatTest.measureTime(FastDateFormatTest.java:317)
at
org.apache.commons.lang3.time.FastDateFormatTest.testParseSync(FastDateFormatTest.java:278)


Looks like a timing thing?


Gruss
Bernd


 Am Wed, 21 Jan 2015 19:51:04 +0100
schrieb Benedikt Ritter <br...@apache.org>:

> Hi,
> 
> I was playing around with the Commons skin and had to include CP
> 37-SNAPSHOT into lang to get my new site skin prototype working. When
> executing mvn clean site on lang with:
> 
> 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.7.0_71, vendor: Oracle Corporation
> Java home:
> /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "mac os x", version: "10.10.1", arch: "x86_64", family: "mac"
> 
> I get:
> 
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on
> project commons-lang3: failed to get report for
> org.codehaus.mojo:cobertura-maven-plugin: Failed to execute goal
> org.codehaus.mojo:animal-sniffer-maven-plugin:1.13:check
> (checkAPIcompatibility) on project commons-lang3: Failed to check
> signatures:  failed to process jar
> /Users/bene/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar :
> Bad class file
> /Users/bene/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar:com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class:
> 48188 -> [Help 1]
> 
> Any ideas?
> 
> Benedikt
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [LANG] Site build fails with CP 37-SNAPSHOT due to animal sniffer plugin

Posted by James Carman <ja...@carmanconsulting.com>.
http://stackoverflow.com/questions/6751920/tomcat-7-servlet-3-0-invalid-byte-tag-in-constant-pool


On Wednesday, January 21, 2015, Benedikt Ritter <br...@apache.org> wrote:

> Hi,
>
> I was playing around with the Commons skin and had to include CP
> 37-SNAPSHOT into lang to get my new site skin prototype working. When
> executing mvn clean site on lang with:
>
> 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.7.0_71, vendor: Oracle Corporation
> Java home:
> /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre
> Default locale: de_DE, platform encoding: UTF-8
> OS name: "mac os x", version: "10.10.1", arch: "x86_64", family: "mac"
>
> I get:
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on
> project commons-lang3: failed to get report for
> org.codehaus.mojo:cobertura-maven-plugin: Failed to execute goal
> org.codehaus.mojo:animal-sniffer-maven-plugin:1.13:check
> (checkAPIcompatibility) on project commons-lang3: Failed to check
> signatures:  failed to process jar
> /Users/bene/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar : Bad
> class file
>
> /Users/bene/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar:com/ibm/icu/impl/data/LocaleElements_zh__PINYIN.class:
> 48188 -> [Help 1]
>
> Any ideas?
>
> Benedikt
>
> --
> http://people.apache.org/~britter/
> http://www.systemoutprintln.de/
> http://twitter.com/BenediktRitter
> http://github.com/britter
>