[jira] [Closed] (MNG-6541) less restrictive "is referencing itself" check
[ https://issues.apache.org/jira/browse/MNG-6541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sylwester Lachiewicz closed MNG-6541. - Resolution: Duplicate > less restrictive "is referencing itself" check > -- > > Key: MNG-6541 > URL: https://issues.apache.org/jira/browse/MNG-6541 > Project: Maven > Issue Type: Wish > Components: Dependencies >Affects Versions: 3.5.4 >Reporter: Václav Haisman >Priority: Major > > I have issues when building site:site in project with OpenJFX. The > javafx-graphics artifact sort of references itself: > {code:xml} > > http://maven.apache.org/POM/4.0.0; > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;> > 4.0.0 > org.openjfx > javafx-graphics > 11.0.1 > > org.openjfx > javafx > 11.0.1 > > > > org.openjfx > javafx-graphics > 11.0.1 > ${javafx.platform} > > > org.openjfx > javafx-base > 11.0.1 > > > > {code} > But it does so with additional classifier. When I run site:site, it gives me > this: > {code} > [WARNING] Unable to create Maven project from repository. > org.apache.maven.project.ProjectBuildingException: 1 problem was encountered > while building the effective model for org.openjfx:javafx-graphics:11.0.1 > [FATAL] 'dependencies.dependency org.openjfx:javafx-graphics:11.0.1' for > org.openjfx:javafx-graphics:11.0.1 is referencing itself. @ line 13, column 17 > for project org.openjfx:javafx-graphics:11.0.1 > at org.apache.maven.project.DefaultProjectBuilder.build > (DefaultProjectBuilder.java:165) > at org.apache.maven.project.DefaultProjectBuilder.build > (DefaultProjectBuilder.java:327) > at > org.apache.maven.report.projectinfo.dependencies.RepositoryUtils.getMavenProjectFromRepository > (RepositoryUtils.java:125) > {code} > I was wondering if the check could not be relaxed to accommodate this > situation that seems to be common even in core Java components? -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Closed] (MNG-6541) less restrictive "is referencing itself" check
[ https://issues.apache.org/jira/browse/MNG-6541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sylwester Lachiewicz closed MNG-6541. - Resolution: Resolved > less restrictive "is referencing itself" check > -- > > Key: MNG-6541 > URL: https://issues.apache.org/jira/browse/MNG-6541 > Project: Maven > Issue Type: Wish > Components: Dependencies >Affects Versions: 3.5.4 >Reporter: Václav Haisman >Priority: Major > Fix For: 3.6.0 > > > I have issues when building site:site in project with OpenJFX. The > javafx-graphics artifact sort of references itself: > {code:xml} > > http://maven.apache.org/POM/4.0.0; > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;> > 4.0.0 > org.openjfx > javafx-graphics > 11.0.1 > > org.openjfx > javafx > 11.0.1 > > > > org.openjfx > javafx-graphics > 11.0.1 > ${javafx.platform} > > > org.openjfx > javafx-base > 11.0.1 > > > > {code} > But it does so with additional classifier. When I run site:site, it gives me > this: > {code} > [WARNING] Unable to create Maven project from repository. > org.apache.maven.project.ProjectBuildingException: 1 problem was encountered > while building the effective model for org.openjfx:javafx-graphics:11.0.1 > [FATAL] 'dependencies.dependency org.openjfx:javafx-graphics:11.0.1' for > org.openjfx:javafx-graphics:11.0.1 is referencing itself. @ line 13, column 17 > for project org.openjfx:javafx-graphics:11.0.1 > at org.apache.maven.project.DefaultProjectBuilder.build > (DefaultProjectBuilder.java:165) > at org.apache.maven.project.DefaultProjectBuilder.build > (DefaultProjectBuilder.java:327) > at > org.apache.maven.report.projectinfo.dependencies.RepositoryUtils.getMavenProjectFromRepository > (RepositoryUtils.java:125) > {code} > I was wondering if the check could not be relaxed to accommodate this > situation that seems to be common even in core Java components? -- This message was sent by Atlassian JIRA (v7.6.3#76005)