You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Petr Prochazka (JIRA)" <ji...@codehaus.org> on 2010/06/14 16:22:12 UTC
[jira] Created: (MRELEASE-575) Release pom do not resolve settings
from parent pom project
Release pom do not resolve settings from parent pom project
-----------------------------------------------------------
Key: MRELEASE-575
URL: http://jira.codehaus.org/browse/MRELEASE-575
Project: Maven 2.x 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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira