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
Allow to create index even when only (one) sitemap.xml exists #3
Conversation
Allow to create index even when only (one) sitemap.xml exists
@dfabulich Could you please release a new version to the maven repos (probably 1.0.2)? We urgently need this fix... If you need any help let me know. Thanks! |
I won’t have time to do that this week. (We used an older pre-Sonatype mechanism to get into the Maven repository.) Can you set up a private remote repository for your organization?
|
@dfabulich It is not that urgent, we can wait a week. We actually use another library which depends on yours so it would be good if the fix would be in your official repos. |
@dfabulich Any chance for a new release this week? |
@mkurz I am just not finding time for this. How about this? If I grant you commit rights, would you be able to take care of setting up an OSSRH account http://central.sonatype.org/pages/ossrh-guide.html for sitemapgen4j and getting it submitted? |
@dfabulich Sure we can do that! So I will publish a new version |
@mkurz Yup! OK, I added you as a collaborator. Let me know if you have questions. |
@dfabulich Thanks! Will work on it as soon I find time! |
First step is done: Created a ticket for the project: https://issues.sonatype.org/browse/OSSRH-12812 @dfabulich Can you do only one more thing? Can you register here and then tell my your username - so I (of course) give you also publishing rights etc. for sonatype? |
@mkurz I'm dfabulich |
@dfabulich I just released version 1.0.2. Because this is our first release under a new groupId, someone from the Sonatype team has to manually enable the sync mechanism to the Maven Central repos. I have no clue when this will happen, hopefully within the next hours. I then also released a After you have the rights and then want to release a new version or snapshot, you have to add your JIRA username/passwort to
Also make sure you have a pgp public/private key set up. You can then If the version in the That's the basics, maybe have a quick read though here, here, here, here - it's not very difficult. |
And one more thing: If you want to release a version immediately to Maven Central when running
|
@dfabulich The library is online! Check: Can you also check if you can log in at https://oss.sonatype.org/ with your JIRA username/password? |
This is a fix for https://code.google.com/p/sitemapgen4j/issues/detail?id=8
When the number of total urls is smaller than maxUrls (50 000) and then using
writeSitemapsWithIndex
"only" thesitemap.xml
will be generated and thecount
of sitemaps (e.g. sitemap1.xml, sitemap2.xml) is 0.As a result when trying to write the Sitemap index file with
writeSitemapsWithIndex
we get an exception:This pull request is basically the patch from comment 8.
@dfabulich Could you please merge and also release a new version? Thanks!