java - Why can't my maven find the stripe library? -
using intellij can see bundle in external libraries, when build using maven below issue:
when running:
mvn clean bundle
i error:
failure find com.stripe:stripe-java:jar:${stripe-version} in http://repo1.maven.org/maven2 cached in local repository, resolution not reattempted until update interval of central has elapsed or updates forced
where version is:
<stripe-version>1.1.16</stripe-version>
i tried 1.1.13 , 1.1.14 , same error.
when running -e switch get:
failure find com.stripe:stripe-java:jar:${stripe-version} in http://repo1.maven.org/maven2 cached in local repository, resolution not reattempted until update interval of central has elapsed or updates forced @ org.apache.maven.project.defaultprojectdependenciesresolver.resolve(defaultprojectdependenciesresolver.java:170) @ org.apache.maven.lifecycle.internal.lifecycledependencyresolver.getdependencies(lifecycledependencyresolver.java:171) ... 22 more caused by: org.sonatype.aether.resolution.dependencyresolutionexception: failure find com.stripe:stripe-java:jar:${stripe-version} in http://repo1.maven.org/maven2 cached in local repository, resolution not reattempted until update interval of central has elapsed or updates forced @ org.sonatype.aether.impl.internal.defaultrepositorysystem.resolvedependencies(defaultrepositorysystem.java:412) @ org.apache.maven.project.defaultprojectdependenciesresolver.resolve(defaultprojectdependenciesresolver.java:164) ... 23 more caused by: org.sonatype.aether.resolution.artifactresolutionexception: failure find com.stripe:stripe-java:jar:${stripe-version} in http://repo1.maven.org/maven2 cached in local repository, resolution not reattempted until update interval of central has elapsed or updates forced @ org.sonatype.aether.impl.internal.defaultartifactresolver.resolve(defaultartifactresolver.java:541) @ org.sonatype.aether.impl.internal.defaultartifactresolver.resolveartifacts(defaultartifactresolver.java:220) @ org.sonatype.aether.impl.internal.defaultrepositorysystem.resolvedependencies(defaultrepositorysystem.java:395) ... 24 more caused by: org.sonatype.aether.transfer.artifactnotfoundexception: failure find com.stripe:stripe-java:jar:${stripe-version} in http://repo1.maven.org/maven2 cached in local repository, resolution not reattempted until update interval of central has elapsed or updates forced @ org.sonatype.aether.impl.internal.defaultupdatecheckmanager.checkartifact(defaultupdatecheckmanager.java:190) @ org.sonatype.aether.impl.internal.defaultartifactresolver.resolve(defaultartifactresolver.java:430) ... 26 more
i can see versions here: http://search.maven.org/#browse%7c788949441
the dependency downloads fine:
<dependency> <groupid>com.stripe</groupid> <artifactid>stripe-java</artifactid> <version>1.1.16</version> </dependency>
seems have problem defining / using stripe version property:
<properties> <stripe.version>1.1.16</stripe.version> </properties> <!--- ... --> <version>${stripe.version}</version>
java maven intellij-idea
No comments:
Post a Comment