Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-4211

Unable to package Sportsclub application due to missing artifact in repository

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • WFK 1.1.0
    • WFK 1.1.0
    • WFK
    • None

      Maven shows the following output when I try to package the Sportsclub application. I simply run mvn clean package in root directory of sportsclub.

      [INFO] Building jar: /home/mgencur/Java/WFK/wfk-trunk/trunk/spring/sportsclub/sportsclub-hibernate-dao/target/sportsclub-hibernate-dao-1.0-SNAPSHOT.jar
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Sports Club Subscriptions Spring-Backed EJBs
      [INFO] task-segment: [package]
      [INFO] ------------------------------------------------------------------------
      [INFO] [resources:resources]
      [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
      [INFO] Copying 0 resource
      Downloading: http://repository.jboss.org/maven2/org/jboss/snowdrop/snowdrop-vfs/1.0.1.GA/snowdrop-vfs-1.0.1.GA.pom
      Downloading: http://repo1.maven.org/maven2//org/jboss/snowdrop/snowdrop-vfs/1.0.1.GA/snowdrop-vfs-1.0.1.GA.pom
      Downloading: http://www.ibiblio.org/maven/mule/dependencies/maven2/org/jboss/snowdrop/snowdrop-vfs/1.0.1.GA/snowdrop-vfs-1.0.1.GA.pom
      Downloading: http://repo1.maven.org/maven2/org/jboss/snowdrop/snowdrop-vfs/1.0.1.GA/snowdrop-vfs-1.0.1.GA.pom
      Downloading: http://repository.jboss.org/maven2/org/jboss/snowdrop/snowdrop-vfs/1.0.1.GA/snowdrop-vfs-1.0.1.GA.jar
      Downloading: http://repo1.maven.org/maven2//org/jboss/snowdrop/snowdrop-vfs/1.0.1.GA/snowdrop-vfs-1.0.1.GA.jar
      Downloading: http://www.ibiblio.org/maven/mule/dependencies/maven2/org/jboss/snowdrop/snowdrop-vfs/1.0.1.GA/snowdrop-vfs-1.0.1.GA.jar
      Downloading: http://repo1.maven.org/maven2/org/jboss/snowdrop/snowdrop-vfs/1.0.1.GA/snowdrop-vfs-1.0.1.GA.jar
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Failed to resolve artifact.

      Missing:
      ----------
      1) org.jboss.snowdrop:snowdrop-vfs:jar:1.0.1.GA

      Try downloading the file manually from the project website.

      Then, install it using the command:
      mvn install:install-file -DgroupId=org.jboss.snowdrop -DartifactId=snowdrop-vfs -Dversion=1.0.1.GA -Dpackaging=jar -Dfile=/path/to/file

      Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=org.jboss.snowdrop -DartifactId=snowdrop-vfs -Dversion=1.0.1.GA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

      Path to dependency:
      1) org.jboss.snowdrop.samples.sportsclub:sportsclub-subscriptions-ejb:ejb:1.0-SNAPSHOT
      2) org.jboss.snowdrop:snowdrop-deployers:jar:1.0.0.GA
      3) org.jboss.snowdrop:snowdrop-vfs:jar:1.0.1.GA

      ----------
      1 required artifact is missing.

      for artifact:
      org.jboss.snowdrop.samples.sportsclub:sportsclub-subscriptions-ejb:ejb:1.0-SNAPSHOT

      from the specified remote repositories:
      repo1.maven.org (http://repo1.maven.org/maven2/),
      snapshots.jboss.org (http://snapshots.jboss.org/maven2),
      ibiblio (http://www.ibiblio.org/maven/mule/dependencies/maven2),
      central (http://repo1.maven.org/maven2),
      repository.jboss.org (http://repository.jboss.org/maven2)

      This error was not present 3 days ago (until 2010-04-30). The org.jboss.snowdrop:snowdrop-vfs:jar:1.0.1.GA artifact is really missing in jboss maven repo.

              marius.bogoevici Marius Bogoevici (Inactive)
              mgencur Martin Gencur
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: