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

Tobias Soloschenko commented on WICKET-5836:
--------------------------------------------

A possible workaround:
In wicket's parrent pom:
        <dependencies>
                <dependency>
                <groupId>org.apache.bcel</groupId>
                <artifactId>bcel</artifactId>
                <version>6.0-SNAPSHOT</version>         
        </dependency>

Plugin config:

                                <plugin>
                                        <groupId>org.codehaus.mojo</groupId>
                                        
<artifactId>clirr-maven-plugin</artifactId>
                                        <version>2.6.1</version>
                                        <configuration>
                                                
<comparisonVersion>6.0.0</comparisonVersion>
                                                <failOnError>true</failOnError>
                                                <logResults>true</logResults>
                                                <ignored>
                                                        <difference>
                                                                <!-- 
FeedbackCollector used to be final. Now it is non-final and so all existing 
methods were made final to keep them non-overridable. However, clirr does not 
take into account the class going from final to non-final and thinks 
overridable methods were made final. We ignore this change to silence it. -->
                                                                
<className>org${file.separator}apache${file.separator}wicket${file.separator}feedback${file.separator}FeedbackCollector</className>
                                                                
<method>*</method>
                                                                
<differenceType>7014</differenceType>
                                                        </difference>
                                                </ignored>
                                                
                                        </configuration>
                                        <executions>
                                                <execution>
                                                        <id>clirr-check</id>
                                                        <phase>compile</phase>
                                                        <goals>
                                                                
<goal>check</goal>
                                                        </goals>
                                                </execution>
                                        </executions>
                                        <dependencies>
                                                <dependency>
                                                        
<groupId>org.apache.bcel</groupId>
                                                        
<artifactId>bcel</artifactId>
                                                        
<version>6.0-SNAPSHOT</version>         
                                                </dependency>
                                        </dependencies>
                                        
                                </plugin>

Repository:

<repositories>
    <repository>
        <releases>
            <enabled>false</enabled>
        </releases>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
        <id>apache.snapshots</id>
        <name>Apache Snapshot Repository</name>
        <url>https://repository.apache.org/content/groups/snapshots</url>
        <layout>default</layout>
    </repository>
</repositories>

> Update the version of clirr-maven-plugin (current 2.6.1)
> --------------------------------------------------------
>
>                 Key: WICKET-5836
>                 URL: https://issues.apache.org/jira/browse/WICKET-5836
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.20.0, 7.0.0-M6
>            Reporter: Tobias Soloschenko
>            Priority: Minor
>
> This ticket is targeting Wicket 6.x, 7.x, 8.x (No Affects Version 8.0.0 at 
> the moment) compiled with JDK 8, because the current version of the clirr 
> plugin 2.6.1 isn't compatible with Java 8. At the moment there is no version 
> higher then 2.6.1 so we have to wait until release.
> More information can be found here: 
> http://mail-archives.apache.org/mod_mbox/commons-dev/201407.mbox/%3ccaczkxpzs2nxtvk5sejfyikvhp2817ey2b+7rak0w_nuyzha...@mail.gmail.com%3E
> http://mail-archives.apache.org/mod_mbox/commons-dev/201407.mbox/%[email protected]%3E
> Here the correlating tickets:
> https://issues.apache.org/jira/browse/BCEL-173
> https://issues.apache.org/jira/browse/BCEL-174
> https://issues.apache.org/jira/browse/BCEL-175



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to