You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Les Hazlewood (Closed) (JIRA)" <ji...@apache.org> on 2012/01/24 02:11:55 UTC

[jira] [Closed] (SHIRO-236) Adding to the element to avoid Maven 3.0.x issue where parent is not in local repo yet.

     [ https://issues.apache.org/jira/browse/SHIRO-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Les Hazlewood closed SHIRO-236.
-------------------------------


Closing with the 1.2.0 release.
                
> Adding <relativePath> to the <parent> element to avoid Maven 3.0.x issue where parent is not in local repo yet.
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: SHIRO-236
>                 URL: https://issues.apache.org/jira/browse/SHIRO-236
>             Project: Shiro
>          Issue Type: Improvement
>            Reporter: Henry Saputra
>            Assignee: Kalle Korhonen
>            Priority: Minor
>             Fix For: 1.2.0
>
>         Attachments: update_relativepath_pom.txt
>
>
> Add <relativePath> to the <parent> declaration in the pom.xml files to workaround issue with Maven 3.0.x where the parent is not in the local repo (eg when you built from scratch in developer machine) you will get error "Non-resolvable parent POM: Could not find artifact " like this:
> The project org.apache.shiro:shiro-spring:1.2.0-SNAPSHOT (/Users/hsaputra/shiro/trunk/support/spring/pom.xml) has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact org.apache.shiro:shiro-root:pom:1.2.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 22, column 13 -> [Help 2]
> Adding relative path element to the parent element seems to fix this.

--
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