Details

    • Type: Publishing Support
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Labels:
      None
    • Group Id:
      null
    • Publishing Hostname:
      oss.sonatype.org
    • Modify publishing permissions?:
      No

      Description

       We migrate all our projects from our own artifactory to the central. We now discovered a strange bug. If we build a project which depends on our framework mycore, then some dependencies can not be resolved.

      Unable to find source-code formatter for language: txt. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml[ERROR] Failed to execute goal on project mir-cli: Could not resolve dependencies for project org.mycore.mir:mir-cli:pom:2017.07-SNAPSHOT: The following artifacts could not be resolved: org.mycore:mycore-indexing:jar:2017.07-SNAPSHOT, org.mycore:mycore-media:jar:2017.07-SNAPSHOT, org.mycore:mycore-wcms2:jar:2017.07-SNAPSHOT: Could not find artifact org.mycore:mycore-indexing:jar:2017.07-20180119.121151-4 in ossrh (https://oss.sonatype.org/content/repositories/snapshots) -> [Help 1]
      

      https://oss.sonatype.org/content/repositories/snapshots/org/mycore/mycore-indexing/2017.07-SNAPSHOT/maven-metadata.xml

      snapshotVersions>
      <snapshotVersion>
      <extension>jar</extension>
      <value>2017.07-20180119.121151-4</value>
      <updated>20180119121151</updated>
      </snapshotVersion>
      <snapshotVersion>
      <extension>pom</extension>
      <value>2017.07-20180119.121151-4</value>
      <updated>20180119121151</updated>
      </snapshotVersion>
      <snapshotVersion>
      <extension>jar.asc</extension>
      <value>2017.07-20180119.121151-4</value>
      <updated>20180119121151</updated>
      </snapshotVersion>
      <snapshotVersion>
      <extension>pom.asc</extension>
      <value>2017.07-20180119.121151-4</value>
      <updated>20180119121151</updated>
      </snapshotVersion>
      </snapshotVersions>

       If i look here everything seems to be okay, but if i then look to the real name of the files, it seems like there is a issue with the timestamps.

      https://oss.sonatype.org/content/repositories/snapshots/org/mycore/mycore-indexing/2017.07-SNAPSHOT/

      mycore-indexing-2017.07-20180119.121150-4.jar
      mycore-indexing-2017.07-20180119.121150-4.jar.md5
      mycore-indexing-2017.07-20180119.121150-4.jar.sha1
      mycore-indexing-2017.07-20180119.121150-4.pom
      mycore-indexing-2017.07-20180119.121150-4.pom.md5
      mycore-indexing-2017.07-20180119.121150-4.pom.sha1
      mycore-indexing-2017.07-20180119.121151-4.pom.asc
      mycore-indexing-2017.07-20180119.121151-4.jar.asc

      We are not really sure if we have a bad configuration or it is a repository bug. But the fact that you can have a maven-metadata.xml with wrong file names looks more like a artifactory problem to me.

      The builds run with the deploy-to-central profile.

      The Plugin configuration in the parent project:

      https://raw.githubusercontent.com/MyCoRe-Org/mycore-parent-pom/master/pom.xml

      The pom of mycore (reactor project of mycore-indexing):

      https://raw.githubusercontent.com/MyCoRe-Org/mycore/master/pom.xml

      The pom of mycore-indexing(not resolvable artifact):

      https://raw.githubusercontent.com/MyCoRe-Org/mycore/master/mycore-indexing/pom.xml

      The pom of mir(the reactor project of the failing build)

      https://raw.githubusercontent.com/MyCoRe-Org/mir/master/pom.xml

      The pom of mir-cli(the project which fails)

      https://raw.githubusercontent.com/MyCoRe-Org/mir/master/mir-cli/pom.xml

      The log of the failing project which depends on mycore:

      https://api.travis-ci.org/v3/job/330799971/log.txt

       I currently have no access to our build system but i will append the deploy log of the mycore project monday.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            paschty Sebastian Hofmann
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                tigCommentSecurity.panel-title