4 Replies Latest reply on May 19, 2017 5:45 AM by spsenthilrm

    Build Failure - For custom plugin - Could not resolve dependencies to find com.jivesoftware:common-csv -1.0

    spsenthilrm

      when i try to build the custom plugin . Have used these steps

      mvn -U jive:create-plugin

       

      To build the plugin:

      cd plugin-name

      mvn clean package

       

      Details or with -X option:

      Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project com.myproject.communities:testplugin:jar:8.0.4.0-0-SNAPSHOT: Failure to find com.jivesoftware:commons-csv-1.0-SNAPSHOT:jar:r609327-6.0.0.0 in https://maven-secure.jivesoftware.com/archiva/repository/jive.internal was cached in the local repository, resolution will not be reattempted until the update interval of jive.internal has elapsed or updates are forced

              at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:208)

              at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)

              ... 23 more

      Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Failure to find com.jivesoftware:commons-csv-1.0-SNAPSHOT:jar:r609327-6.0.0.0 in https://maven-secure.jivesoftware.com/archiva/repository/jive.internal was cached in the local repository, resolution will not be reattempted until the update interval of jive.internal has elapsed or updates are forced

              at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:393)

              at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:202)

              ... 24 more

      Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find com.jivesoftware:commons-csv-1.0-SNAPSHOT:jar:r609327-6.0.0.0 in https://maven-secure.jivesoftware.com/archiva/repository/jive.internal was cached in the local repository, resolution will not be reattempted until the update interval of jive.internal has elapsed or updates are forced

              at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:453)

              at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:255)

              at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:376)

              ... 25 more

      Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find com.jivesoftware:commons-csv-1.0-SNAPSHOT:jar:r609327-6.0.0.0 in https://maven-secure.jivesoftware.com/archiva/repository/jive.internal was cached in the local repository, resolution will not be reattempted until the update interval of jive.internal has elapsed or updates are forced

              at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:240)

              at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:215)

              at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:594)

              at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:512)

              at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:430)

              ... 27 more

      [ERROR]

      [ERROR]

      [ERROR] For more information about the errors and possible solutions, please read the following articles:

      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

       

      Summary :

      [ERROR] Failed to execute goal on project testplugin: Could not resolve dependencies for project com.myproject.communities:testplugin:jar:8.0.4.0-0-SNAPSHOT: Could not find artifact com.jivesoftware:commons-csv-1.0-SNAPSHOT:jar:r609327-6.0.0.0 in jive.internal (https://maven-secure.jivesoftware.com/archiva/repository/jive.internal) -> [Help 1]

      [ERROR]

       

       

      Any help is appreciated.