JSErrorCollector
JSErrorCollector copied to clipboard
Make the 'JSErrorCollector' jar available to Maven Central repository
Hi,
It could be great if you can make the JAR of 'JSErrorCollector' is available to the Maven central repository(http://search.maven.org/).
Regards, Mahadi
+1 for this
Can this be done? Thanks
It looks like it should deploy to Sonatype's OSS repo, but I can't find any artifact from this project over there.
Hi Mark! thanks for sharing this, it would be great to provide maven dependency for this--> +100 for this, locally it can be used but while running over ci (jenkins) it has to come from central. (don't want to create my own server) , please suggest.
+1. I want to download this library from maven central ! Is there any plan to support maven repository? Is there anything I can do?
For workaround, I tried using this jar in both maven "system" scope and "test" scope since this local jar file is used only in test code. But I can't do such a thing because maybe Maven does not allow multiple scopes in a dependency..
@NozomiIto : you can have a work around for this just add the jar like in your project's lib folder and modify your repository tag to point it . Ex. add like this:
<repository>
<id>my-local-repo</id>
<url>file://${basedir}/lib</url>
</repository>
instead of
<repository>
<id>central</id>
<name>Central</name>
<url>http://repo1.maven.org/maven2</url>
</repository>
now it will be added to your local maven repo and will serve the exactly same purpose.
Thank you. I tried it with your advice and this article, but dependency is not resolved..
I tried
<repositories>
<repository>
<id>local-repository</id>
<url>file://${project.basedir}/libs</url>
</repository>
</repositories>
and
<repositories>
<repository>
<id>local-repository</id>
<url>file:${project.basedir}/libs</url>
</repository>
</repositories>
my local repository structure:
did you add dependency in pom ? like in your case it should look like this-
<dependency>
<groupId>net.jsourcerer.webdriver</groupId>
<artifactId>JSErrorCollector</artifactId>
<version>0.6</version>
</dependency>
Yes, I added that dependency.
With Ammonite I can download it successfully with:
interp.repositories() ++= Seq(
coursier.MavenRepository("http://repo.spring.io/libs-milestone/")
)
import $ivy.`net.jsourcerer.webdriver:JSErrorCollector:0.5-atlassian-2`