[
https://jira.codehaus.org/browse/MRELEASE-575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MRELEASE-575.
-----------------------------------
Resolution: Won't Fix
Please refer to
https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
if you're wondering why this issue was closed out.
> Release pom do not resolve settings from parent pom project
> -----------------------------------------------------------
>
> Key: MRELEASE-575
> URL: https://jira.codehaus.org/browse/MRELEASE-575
> Project: Maven Release Plugin
> Issue Type: Bug
> Components: prepare
> Affects Versions: 2.0
> Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_18
> Java home: D:\java\jdk\jre
> Default locale: cs_CZ, platform encoding: Cp1250
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
> Reporter: Petr Prochazka
> Attachments: maven-release-pom-test.zip, prepare-with-pom.log
>
>
> *Prerequirements:*
> * Parent project define in pluginManagement configuration for compiler
> {code:xml}<plugin>
> <artifactId>maven-compiler-plugin</artifactId>
> <version>2.2</version>
> <configuration>
> <source>${java.source.version}</source>
> <target>${java.source.version}</target>
> </configuration>
> </plugin>{code}
> * In child project is defined property java.source.version
> If run goal {{release:prepare-with-pom}} (or {{release:prepare
> -DgenerateReleasePoms=true}}) on child project, prepare release failed with
> compiler error.
> {code}[INFO] [ERROR] BUILD FAILURE
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] Compilation failure
> [INFO]
> D:\Projects-test\maven-release-pom-test\release-pom-test\src\main\java\Test.java:[8,3]
> annotations are not supported in -source 1.3
> [INFO] (use -source 5 or higher to enable annotations)
> [INFO] @Override{code}
> Test project and full log of build is attached
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)