Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please push artifacts to MavenCentral #6

Closed
timmolter opened this issue Mar 22, 2015 · 9 comments
Closed

Please push artifacts to MavenCentral #6

timmolter opened this issue Mar 22, 2015 · 9 comments

Comments

@timmolter
Copy link

Just letting you know, I love your library and would love to see it on MavenCentral. :)

@timmolter
Copy link
Author

I just changed my project's namespace and had to go through the entire process again. I updated my how-to guide, not leaving out a single detail. It's actually not that hard to do. Would love it if you put your jar on Maven Central!

http://knowm.org/a-practical-guide-to-uploading-artifacts-to-maven-central/

@dvayanu
Copy link

dvayanu commented Oct 28, 2015

Hi, is there any progress on it? We are using your lib with great joy, but other users can't build it, because the artifact isn't found:
Failure to find de.erichseifert.vectorgraphics2d:VectorGraphics2D:jar:0.9.1

@seifertm
Copy link
Collaborator

Did you add the Maven repository http://mvn.erichseifert.de/maven2 to the list of repositories in your build system?

In Gradle, you can do:

repositories {
  mavenLocal()
  maven { url "http://mvn.erichseifert.de/maven2" }
  mavenCentral()
}

For Maven, you could do something like:

<repositories>
<repository>
    <id>de.erichseifert.vectorgraphics2d</id>
    <name>VectorGraphics2D releases</name>
    <url>http://mvn.erichseifert.de/maven2</url>
  </repository>
</repositories>

(Not 100% sure if the Maven solution works, though)

@dvayanu
Copy link

dvayanu commented Oct 28, 2015

Hi Michael,
thank you for your answer. However the problem is a little bit more subtle and I haven't described it well.
However I described it here: in more detail. Maybe you want to take a look?

http://stackoverflow.com/questions/33396680/maven-dependency-from-transitive-repository-unstable

regards
Leon

@seifertm
Copy link
Collaborator

Hmm... not sure about it. Seems like a problem of the build system, though.

We will see to it on Sunday.

@dvayanu
Copy link

dvayanu commented Oct 29, 2015

I think I found it out, the problem was that the settings.xml on the target system hat a mirror entry *
Two way to handle it, 1) change * to "central", 2) manually upload your artifact to local mirror... (or add your repo as proxy).
nevertheless, I think it would be better to have the artifact in central... like in maven's way to do things ;-)

thanks and regards
Leon

@eseifert
Copy link
Owner

eseifert commented Nov 1, 2015

Just opened a JIRA issue for VectorGraphics2D: https://issues.sonatype.org/browse/OSSRH-18611

@eseifert
Copy link
Owner

I just released VectorGraphics2D 0.9.3 on MavenCentral. The release doesn't contain any changes except the distribution to MavenCentral.

@timmolter
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants