-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
maven repository #9
Comments
I've written an Ant task which compiles a jar which I believe conforms to the requirements for Maven, but when I upload it it is rejected. Would you have any idea what might be wrong with it? I'm using the manual staging and deployment method. https://drive.google.com/open?id=0B65Z2rSspR06bW1xUUtqdXdmb2c |
hello Mark, you chose
Usually, the groupId is the id of the "development organization"
or (closer to what you chose):
(but this is not mandatory) I guess (not knowing which ant/sonatype documentation you used) your
I.e. with your choice of groupId/artifactId: As you can see, the jars are labeled with the artifactId. Here is the layout with this structure and the suggested:
: ./com (note that I also changed the pom) The source jar is also wrong: (the source jar will be used i.e. by IDEs to locate classes based on Also the resources are prefixed by "test": BTW: Could you also make a 1.1.2 release on github? Thanks and Best Regards, |
I made the changes you suggested and uploaded again. It seemed to succeed this time. I was told it created a repository at: https://oss.sonatype.org/content/repositories/central_bundles-9658/ I created this using the groupId: com.kitfox and the artifactId: svgSalamander. |
I'm unable to push my changes to github at this time. Someone else has made changes and is requesting a merge (#12 (review)). Since I disagree with some of the changes that have been made, I've requested them to make some changes. As far as I can tell, I cannot commit my own changes until that issue has been resolved. |
hi Mark, you can commit while the pull request is in progress. Only if there are conflicts, you will need to resolve them, so this should be safe.It is just like any other user would want to push commits in parallel. This path: Cheers and Best Regards, |
hi Mark, the maven repo (https://oss.sonatype.org/content/repositories/central_bundles-9658/) is not 100% correct. Other than that, the binary and source jars work fine, thanks :-) Cheers and Best Regards, |
Are you sure this is supposed to have such a strange path? I'm following http://central.sonatype.org/pages/manual-staging-bundle-creation-and-deployment.html and it seems to be putting the jars at the root. In any case, I'm having trouble building the bundle. I'm putting the jars into a directory named 1.1.2, but when I zip that into a jar (using the ant jar task), the jar tool must be interpreting that as a package name and is turning it into separate directories. I'm not sure how to fix this problem. If you want to take a look yourself, the ant script I wrote to package everything is the maven-publish task in the build.xml file of the svg-salamander-core tree. |
I adjusted the pom.xml in svg-core so that it becomes deployable on maven central: |
What changes did you make? Is this something that could be applied to the core project? |
I would love the changes to be applied to the core project! master...nidi3:master For the gpg plugin to work, you need to generate and publish you own key pair: |
see #40 |
Any progress on this? I'm having to use the forked version because nothing has been published to maven central. |
I tried and failed again to try and get this published on Maven a few weeks ago. I don't think this is going to happen unless I can have someone I can live chat with who can walk me through this. However, a third party is publishing this too so you can use their publication: |
We (Freeplane team) would like to access your library in maven - repository.
The procedure how to get it there is described at http://central.sonatype.org/pages/ossrh-guide.html
If we can give you any support please let me know.
Kind regards,
Dimitry
The text was updated successfully, but these errors were encountered: