[jboss-jira] [JBoss JIRA] (JBBUILD-715) Nexus validation should not allow artifacts that depend on untyped dependencies that do not exist as a jar type - becuase those artifacts cannot be used in a maven build (only in gradle)

Geoffrey De Smet (JIRA) jira-events at lists.jboss.org
Mon Mar 5 03:29:36 EST 2012


     [ https://issues.jboss.org/browse/JBBUILD-715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Geoffrey De Smet updated JBBUILD-715:
-------------------------------------

    Description: 
This is a compatibility problem between Maven and Gradle.

This artifact should not have nexus validation:
  org.jboss.jdocbook:jdocbook-core:jar:1.0.7
It depends on
  net.sf.docbook:docbook-xml
but this does not exist:
  net.sf.docbook:docbook-xml:jar
only this one exists:
  net.sf.docbook:docbook-xml:pom (or zip IIRC)

Because jdocbook-core was build with gradle and gradle is cleverer than maven,
it figured out to resolve the type to pom/zip as needed.

However, when I use jdocbook-core 1.0.7 from a maven build, it crashes:
  https://github.com/pressgang/maven-jdocbook-plugin/blob/master/pom.xml#L190

  was:
This is a compatibility problem between Maven and Gradle.

This artifact should not have nexus validation:
  org.jboss.jdocbook:jdocbook-core:jar:1.0.7
It depends on
  net.sf.docbook:docbook-xml
but this does not exist:
  net.sf.docbook:docbook-xml:jar
only this one exists:
  net.sf.docbook:docbook-xml:pom (or zip IIRC)

Because jdocbook-core was build with gradle and gradle is smarter then maven,
it figured out to resolve the type to pom/zip as needed.

However, when I use jdocbook-core 1.0.7 from a maven build, it crashes:
  https://github.com/pressgang/maven-jdocbook-plugin/blob/master/pom.xml#L190


    
> Nexus validation should not allow artifacts that depend on untyped dependencies that do not exist as a jar type - becuase those artifacts cannot be used in a maven build (only in gradle)
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBBUILD-715
>                 URL: https://issues.jboss.org/browse/JBBUILD-715
>             Project: JBoss Build System
>          Issue Type: Enhancement
>          Components: Artifact Repositories
>            Reporter: Geoffrey De Smet
>            Priority: Critical
>
> This is a compatibility problem between Maven and Gradle.
> This artifact should not have nexus validation:
>   org.jboss.jdocbook:jdocbook-core:jar:1.0.7
> It depends on
>   net.sf.docbook:docbook-xml
> but this does not exist:
>   net.sf.docbook:docbook-xml:jar
> only this one exists:
>   net.sf.docbook:docbook-xml:pom (or zip IIRC)
> Because jdocbook-core was build with gradle and gradle is cleverer than maven,
> it figured out to resolve the type to pom/zip as needed.
> However, when I use jdocbook-core 1.0.7 from a maven build, it crashes:
>   https://github.com/pressgang/maven-jdocbook-plugin/blob/master/pom.xml#L190

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

        


More information about the jboss-jira mailing list