[
https://jira.codehaus.org/browse/MSITE-668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
warren crossing reopened MSITE-668:
-----------------------------------
I'm trying to link to the repository where the artifact is uploaded in a
repeatable way.
<item name="Download"
href="http://www.mysite.eu/artifactory/snapshots-public/${project.groupId}/${project.artifactId}/${project.version}/"/>
If the groupId is some.project.package and the artifact is codebase then the
url should be interpolated to
http://www.mysite.eu/artifactory/snapshots-public/some/project/package/codebase-1.0/
Maybe there is a way to do this using the velocity engine, or maybe it should
be responsibility of site plugin variable interpolation? It is part of maven
spec that . are expanded to / in repos.
Your thoughts?
> using groupId in url href should expand comonent dots . into proper path name
> -----------------------------------------------------------------------------
>
> Key: MSITE-668
> URL: https://jira.codehaus.org/browse/MSITE-668
> Project: Maven 2.x and 3.x Site Plugin
> Issue Type: Bug
> Components: documentation
> Affects Versions: 2.3
> Reporter: warren crossing
> Priority: Minor
>
> http://www.sonatype.com/books/mvnref-book/reference/pom-relationships-sect-project-relationships.html
> groupId
> A groupId groups a set of related artifacts. Group identifiers generally
> resemble a Java package name. For example, the groupId org.apache.maven is
> the base groupId for all artifacts produced by the Apache Maven project.
> Group identifiers are translated into paths in the Maven Repository; for
> example, the org.apache.maven groupId can be found in
> /maven2/org/apache/maven on repo1.maven.org.
> Please help me identify where this should be done and if so and I will patch
> it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira