myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (Commented) (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-3382) Snapshot repository missing in MyFaces core pom.xml
Date Thu, 03 Nov 2011 07:57:32 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-3382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13142933#comment-13142933
] 

Mark Struberg commented on MYFACES-3382:
----------------------------------------

ad 1.) The problem with redundantly adding the repo to all projects is obvious: it will not
get automatically removed when releasing the project.
ad 2.) is also no option. This did lead to poorly tested snapshots. E.g. mf-parent-10 was
pretty much broken because it contained errors in the plugin config.

actually I think there is a much better solution possible:
We should update our WiKi to describe how to add an 'myfaces-snapshots' profile in ~/.m2/settings.xml
Users who really like to compile those snapshots from source just need to enable this profile
with
%> mvn clean install -Pmyfaces-snapshots


                
> Snapshot repository missing in MyFaces core pom.xml
> ---------------------------------------------------
>
>                 Key: MYFACES-3382
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3382
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: build process
>    Affects Versions: 2.1.3
>            Reporter: Michael Kurz
>
> Currently, the version of org.apache.myfaces:myfaces was changed to 11-SNAPSHOT in the
MyFaces core pom.xml. On machines that don't have this dependency in the local repository
this breaks the build. The snapshot repository is referenced in the Apache parent which is
useless if the MyFaces parent can't be found.
> I see 2 solutions:
> 1) (Redundantly) Add snapshot repo to MyFaces core pom.xml.
> 2) Don't use snapshot versions of the MyFaces parent.
> If there are no objections, I will commit solution 1.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message