3 Replies Latest reply on Jul 14, 2017 5:11 AM by papegaaij

    Artifact metadata on Maven central not up to date

    papegaaij

      Hi,

       

      It seems the maven-metadata.xml files on Maven central are not updated correctly for most (if not all) arquillian related artifacts. For example, https://repo1.maven.org/maven2/org/jboss/shrinkwrap/resolver/shrinkwrap-resolver-bom/maven-metadata.xml stops at 3.0.0-alpha-4, missing beta-1 and beta-2. https://repo1.maven.org/maven2/org/arquillian/cube/arquillian-cube-parent/maven-metadata.xml stops at 1.0.0, missing 1.0.1, 1.1.0, 1.2.0, 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.5.0, 1.5.1 and 1.6.0. Looking at several artifacts, it looks like the metadata has not been updated since the end of march or beginning of april. The missing metadata is causing problems for us as we rely on this metadata for our automated updating process (using the versions-maven-plugin).

       

      Best regards,

      Emond Papegaaij

        • 1. Re: Artifact metadata on Maven central not up to date
          bmajsak

          Thanks for reporting - this might be related to our switch to Bintray. We will investigate.

          • 2. Re: Artifact metadata on Maven central not up to date
            bmajsak

            Quick update about this issue. With awesome Bintray support we are investigating the root cause of having maven-metadata.xml out of sync. I will keep you posted about the progress.

             

            To overcome this problem you can point to JCenter Bintray repository where we also ship our artifacts. This can be done for example in settings.xml

             

            <?xml version="1.0" encoding="UTF-8" ?>
            <settings xsi:schemaLocation='http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd'
                      xmlns='http://maven.apache.org/SETTINGS/1.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
                
                <profiles>
                    <profile>
                        <repositories>
                            <repository>
                                <snapshots>
                                    <enabled>false</enabled>
                                </snapshots>
                                <id>central</id>
                                <name>bintray</name>
                                <url>http://jcenter.bintray.com</url>
                            </repository>
                        </repositories>
                        <pluginRepositories>
                            <pluginRepository>
                                <snapshots>
                                    <enabled>false</enabled>
                                </snapshots>
                                <id>central</id>
                                <name>bintray-plugins</name>
                                <url>http://jcenter.bintray.com</url>
                            </pluginRepository>
                        </pluginRepositories>
                        <id>bintray</id>
                    </profile>
                </profiles>
                <activeProfiles>
                    <activeProfile>bintray</activeProfile>
                </activeProfiles>
            </settings>
            

             

            For more details head over to https://bintray.com/bintray/jcenter

             

            HTH

            Bartosz

            • 3. Re: Artifact metadata on Maven central not up to date
              papegaaij

              Thanks. For now I've added bintray as a mirror to our local Artifactory repository for all artifacts with either jboss or arquillian in the name. That seems to help.