Discussion:
[XOM-interest] xom on maven
John Bauer
2013-04-24 22:49:16 UTC
Permalink
Hi Elliotte,

Great, thank you for the suggestions.
You'd have to ask the maven folks what's required to upload to their repositories.
I have some experience with uploading maven artifacts. It's pretty
straightforward if you have an account on oss.sonatype.org. In fact,
I'd be willing to try uploading it myself. As long as the groupId is
set correctly in the pom.xml file, it should be listed under the right
group on Maven Central. For that to work, you may need to give my
sonatype user some permissions. "angledluffa"

If that's not of interest to you, I'd also be happy to assist in any
other way possible,

John

On Wed, Apr 24, 2013 at 2:14 AM, Elliotte Rusty Harold
Hi Elliotte,
I certainly understand that. Maven has a lot of annoying hoops and I
personally don't get to enjoy any of its benefits.
Nevertheless, a lot of our users have told us they like to use maven, so
I'd be happy to contribute the time to put it up there. What would need to
be done?
You should probably address this to the xom-interest mailing list rather
than asking me personally. There may be someone there who can help you.
There are build targets in the ant file for producing maven artifacts for
XOM. I don't know if they're up-to-date or not. I haven't looked at the
maven support for some time. Ideally I'd like a target in the ant file to
actually push the release to maven, but I'm not sure that's possible. It
might need manual upload.
You'd have to ask the maven folks what's required to upload to their
repositories.
--
Elliotte Rusty Harold
elharo at ibiblio.org
Peter Murray-Rust
2013-04-24 23:00:43 UTC
Permalink
We currently use:
mvnrepository.com/artifact/xom/

I don't know what the formal status of this is but it seems to have all
the mainstream mvn-ised libraries.

P.
--
Peter Murray-Rust
Reader in Molecular Informatics
Unilever Centre, Dep. Of Chemistry
University of Cambridge
CB2 1EW, UK
+44-1223-763069
Elliotte Rusty Harold
2013-04-24 23:16:42 UTC
Permalink
Post by John Bauer
Hi Elliotte,
Great, thank you for the suggestions.
You'd have to ask the maven folks what's required to upload to their
repositories.
I have some experience with uploading maven artifacts. It's pretty
straightforward if you have an account on oss.sonatype.org. In fact,
I'd be willing to try uploading it myself. As long as the groupId is
set correctly in the pom.xml file, it should be listed under the right
group on Maven Central. For that to work, you may need to give my
sonatype user some permissions. "angledluffa"
I don't have an account on sonatype, and I have no authority to give you
permissions for this. I don't know who does. If there's some change that
needs to be made in the source code for XOM to make this work, let me know,
and I can probably do that.
--
Elliotte Rusty Harold
elharo at ibiblio.org
Brian Uri!
2013-04-24 23:31:45 UTC
Permalink
Hello Elliotte,

XOM is currently at v1.2.5 in the Maven Central Repository:
http://search.maven.org/#artifactdetails|xom|xom|1.2.5|jar

As project owner, you can request a free berth in Sonatype and then
stage/upload future releases of XOM through Sonatype, who then handles the
synchronization to the central repo:
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide

Third-party individuals are allowed to do this, but generally only if
project owner cannot:
https://docs.sonatype.org/display/Repository/Uploading+3rd-party+Artifacts+to+The+Central+Repository

I don't use Maven myself, but posted a library of mine to the Central
Repository on a user's request. The process was slightly painful as an Ant
project, so I ended up creating the artifacts with Ant (jar, source,
javadoc) and then posting with Maven command line commands:

mvn gpg:sign-and-deploy-file -DpomFile=pom.xml -Dfile=<jar>
-Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/-DrepositoryId=sonatype-nexus-staging
mvn gpg:sign-and-deploy-file -DpomFile=pom.xml
-Dfile=<jar>-sourrces.jar -Durl=
https://oss.sonatype.org/service/local/staging/deploy/maven2/-DrepositoryId=sonatype-nexus-staging
-Dclassifier=sources
mvn gpg:sign-and-deploy-file -DpomFile=pom.xml
-Dfile=<jar>-javadoc.jar -Durl=
https://oss.sonatype.org/service/local/staging/deploy/maven2/-DrepositoryId=sonatype-nexus-staging
-Dclassifier=javadoc

Hope this information helps,
BU
--
?
? Brian Uri!, brian at urizone.net
? http://ddmsence.urizone.net/
?

On Wed, Apr 24, 2013 at 7:16 PM, Elliotte Rusty Harold
Post by Elliotte Rusty Harold
Post by John Bauer
Hi Elliotte,
Great, thank you for the suggestions.
You'd have to ask the maven folks what's required to upload to their
repositories.
I have some experience with uploading maven artifacts. It's pretty
straightforward if you have an account on oss.sonatype.org. In fact,
I'd be willing to try uploading it myself. As long as the groupId is
set correctly in the pom.xml file, it should be listed under the right
group on Maven Central. For that to work, you may need to give my
sonatype user some permissions. "angledluffa"
I don't have an account on sonatype, and I have no authority to give you
permissions for this. I don't know who does. If there's some change that
needs to be made in the source code for XOM to make this work, let me know,
and I can probably do that.
--
Elliotte Rusty Harold
elharo at ibiblio.org
_______________________________________________
XOM-interest mailing list
XOM-interest at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/xom-interest
Elliotte Rusty Harold
2013-04-25 09:59:46 UTC
Permalink
Post by Brian Uri!
Hello Elliotte,
http://search.maven.org/#artifactdetails|xom|xom|1.2.5|jar
Off the top of my head I don't recall who put it there. I don't think it
was me.
--
Elliotte Rusty Harold
elharo at ibiblio.org
John Bauer
2013-05-10 17:18:16 UTC
Permalink
I'll be happy to take on the work of updating om on maven, or at least
trying until I run into permissions issues that can't be fixed.

It looks like there is a new 1.2.10 version in the works, though,
according to the latest repository changes. What is the timeline for
that? I'd rather not update once just to have to update again a short
while later.

Thanks,

John

On Thu, Apr 25, 2013 at 10:59 AM, Elliotte Rusty Harold
Post by Elliotte Rusty Harold
Post by Brian Uri!
Hello Elliotte,
http://search.maven.org/#artifactdetails|xom|xom|1.2.5|jar
Off the top of my head I don't recall who put it there. I don't think it
was me.
--
Elliotte Rusty Harold
elharo at ibiblio.org
_______________________________________________
XOM-interest mailing list
XOM-interest at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/xom-interest
Elliotte Rusty Harold
2013-05-13 23:08:39 UTC
Permalink
Post by John Bauer
It looks like there is a new 1.2.10 version in the works, though,
according to the latest repository changes. What is the timeline for
that? I'd rather not update once just to have to update again a short
while later.
I hope to have that done soon. Changes will be minor. It's mostly just some
a bit of repackaging to better support android.
--
Elliotte Rusty Harold
elharo at ibiblio.org
Loading...