[
https://issues.apache.org/jira/browse/PIVOT-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900896#action_12900896
]
Greg Brown commented on PIVOT-601:
----------------------------------
I just checked in a fix for Pivot 1.5 (which didn't install the web-server
artifact at all) - but it seems like there is another problem with the 2.0
branch. The POM files now contain a ${version} variable that is replaced at
deployment time with the actual version number. So I'm not sure how you are
getting the maven-install target to work at all right now! :-)
We'll probably need to fix this by doing a token replacement on the POM files
to a temp file and using the temp file to generate the artifact. Then we'll
delete the temp file. Probably best to do this in a macro.
> missing pivot-web-server artefact on local Maven repository
> -----------------------------------------------------------
>
> Key: PIVOT-601
> URL: https://issues.apache.org/jira/browse/PIVOT-601
> Project: Pivot
> Issue Type: Bug
> Components: project
> Affects Versions: 2.0
> Environment: Windows 7 x64
> Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
> Java HotSpot(TM) 64-Bit Server VM (build 17.0-b17, mixed mode)
> Apache Ant version 1.8.1 compiled on April 30 2010
> Reporter: dutrieux
>
> The pivot-web-server artifact overwrite the pivot-web artifact when I install
> on local Maven repository. This is due a mistake on build.xml at 663 :
> <artifact:install file="lib/${jar.web-server}">
> <artifact:pom file="web/pom.xml"/>
> <attach file="lib/${jar.web-server.sources}" classifier="sources" />
> </artifact:install>
> need to be replace by :
> <artifact:install file="lib/${jar.web-server}">
> <artifact:pom file="web-server/pom.xml"/>
> <attach file="lib/${jar.web-server.sources}" classifier="sources" />
> </artifact:install>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.