[
http://jira.codehaus.org/browse/MSITE-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=142492#action_142492
]
Dennis Lundberg commented on MSITE-337:
---------------------------------------
I have verified that running 'mvn site' fails with 2.0-beta-6:
{noformat}
[INFO] [site:site]
Downloading:
http://repo1.maven.org/maven2/group/artifact/${version.major}.${version.minor}/artifact-${version.major}.${version.minor}.pom
[INFO] Parent project loaded from repository.
Downloading:
http://repo1.maven.org/maven2/group/artifact/${version.major}.${version.minor}/artifact-${version.major}.${version.minor}-site_en.xml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
{noformat}
With 2.0-beta-7 'mvn site' succeeds, but it's still trying to download the site
descriptor using unresolved properties:
{noformat}
[INFO] [site:site]
Downloading:
http://repo1.maven.org/maven2/group/artifact/${version.major}.${version.minor}/artifact-${version.major}.${version.minor}.pom
[INFO] Parent project loaded from repository.
Downloading:
http://repo1.maven.org/maven2/group/artifact/${version.major}.${version.minor}/artifact-${version.major}.${version.minor}-site_en.xml
Downloading:
http://repo1.maven.org/maven2/group/artifact/${version.major}.${version.minor}/artifact-${version.major}.${version.minor}-site.xml
[WARNING] No URL defined for the project - decoration links will not be resolved
[INFO] Generating "Issue Tracking" report.
...
{noformat}
> site not reading properly with properties
> -----------------------------------------
>
> Key: MSITE-337
> URL: http://jira.codehaus.org/browse/MSITE-337
> Project: Maven 2.x Site Plugin
> Issue Type: Bug
> Environment: Ubuntu 8.0.4, Windows XP, Sun JDK 1.6, Sun JDK 1.5
> Reporter: Leon
> Priority: Critical
> Attachments: project.tgz
>
>
> The site goal does not read the correct properties from a parent pom if the
> properties are used to set the version of the artifact.
> For the attached project "mvn install" works but "mvn site" fails.
--
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