[
https://issues.apache.org/jira/browse/MNG-6504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MNG-6504.
-------------------------------
Resolution: Invalid
The issue is invalid. The plugin is incorrectly implemented. MNG-6164 makes
collections consistently immutable while retaining the binary interface of
{{List}}. The plugin declared the field as {{ArrayList}} and made this
assumption which is incorrect. Request a field declaration from a concrete
implemenation to an interface.
> since Maven 3.6: Cannot assign configuration entry with value of type
> java.util.Collections.UnmodifiableRandomAccessList to property of type
> java.util.ArrayList
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: MNG-6504
> URL: https://issues.apache.org/jira/browse/MNG-6504
> Project: Maven
> Issue Type: Bug
> Components: POM
> Affects Versions: 3.6.0
> Environment: BUG:
> Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3;
> 2018-10-24T21:41:47+03:00)
> Maven home: C:\Tools\Maven6\bin\..
> Java version: 1.8.0_191, vendor: Oracle Corporation, runtime: C:\Program
> Files\Java\jre1.8.0_191
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows server 2016", version: "10.0", arch: "amd64", family:
> "windows"
> OK, no any bug:
> Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
> 2018-06-17T21:33:14+03:00)
> Maven home: C:\Tools\Maven\bin\..
> Java version: 1.8.0_191, vendor: Oracle Corporation, runtime: C:\Program
> Files\Java\jre1.8.0_191
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows server 2016", version: "10.0", arch: "amd64", family:
> "windows"
> Reporter: Alexey Varlamov
> Priority: Minor
>
> There is a sample project:
> [https://github.com/fhoeben/sample-fitnesse-project]
> I can build this project using Maven 3.5.4, but it start failing to build on
> Maven 3.6.
> Reproduced on different machines. Reproduced on same machine, changing only
> the maven version.
> Command to build: mvn clean compile
> Message:
> [ERROR] Failed to execute goal
> org.apache.portals.jetspeed-2:jetspeed-unpack-maven-plugin:2.3.1:unpack
> (copy-hsac-baseline) on project sample-fitnesse-project-using-hsac-fixtures:
> Unable to parse configuration of mojo
> org.apache.portals.jetspeed-2:jetspeed-unpack-maven-plugin:2.3.1:unpack for
> parameter pluginArtifacts: Cannot assign configuration entry
> 'pluginArtifacts' with value '${plugin.artifacts}' of type
> java.util.Collections.UnmodifiableRandomAccessList to property of type
> java.util.ArrayList -> [Help 1]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)