[QFJ-846] Upload release to Maven or Sonatype central Created: 15/May/15  Updated: 05/Jul/16  Resolved: 24/Mar/16

Status: Closed
Project: QuickFIX/J
Component/s: None
Affects Version/s: 1.6.0
Fix Version/s: 1.6.2

Type: Improvement Priority: Default
Reporter: Christoph John Assignee: Luca Burgazzoli
Resolution: Fixed Votes: 3
Labels: None

Issue Links:
Duplicate
is duplicated by QFJ-840 1.6.0 has not been uploaded to market... Closed
is duplicated by QFJ-878 Publish QuickFIX jars to Maven Central Closed
Relates
relates to QFJ-851 Include proxool-cglib in the lib/ fol... Closed

 Comments   
Comment by Or Ming Chun [ 18/May/15 ]

Yes, please upload to some public. For now, I need to checkout and build and publish to my own private repository.

Comment by Shahbaz Chaudhary [ 20/May/15 ]

It has always been a fair amount of pain working with quickfixj and its dependencies. Hope the files are uploaded to a repo with a good pom file. Not sure if the marketcetera guys are even in business anymore

Comment by Or Ming Chun [ 20/May/15 ]

Will Sonatype Central be a choose? It seems easy to use.

http://central.sonatype.org/pages/requirements.html

Comment by Christoph John [ 20/May/15 ]

Looks quite exactly like the MavenCentral requirements. I don't care actually where to upload. Are there any advantages for the one or the other?

Comment by Or Ming Chun [ 20/May/15 ]

I dont know either

Comment by Shahbaz Chaudhary [ 24/May/15 ]

I've had some success using the ServiceMix's qfj jars (pom entry below). I am not using any specific repository so maven is finding it on its own. This address shows what they have available: http://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.quickfix

Note that while I'm using version 1.5, 1.6 is there as well. I had some trouble with 1.6 so I dropped down to 1.5.

<!-- QuickFIX/J dependencies from ServiceMix-->
<dependency>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.quickfix</artifactId>
<version>1.5.3_1</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.10</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.10</version>
</dependency>
<dependency>
<groupId>org.apache.mina</groupId>
<artifactId>mina-core</artifactId>
<version>1.1.7</version>
</dependency>

Comment by Mark Curtis [ 01/Jun/15 ]

Why don't you just host it yourself on Github: http://kwebble.com/blog/2014/02/19/use-github-to-host-your-own-maven-repo

If you go down this route don't forget to add -DcreateChecksum=true on the install. An example of this working can be found here:

https://github.com/castramet/quickfixj

In your maven project add:

<repositories>
<repository>
<id>git-castramet</id>
<url>https://github.com/castramet/quickfixj/raw/master</url>
</repository>
</repositories>

Then pull in:

<dependency>
<groupId>quickfixj</groupId>
<artifactId>quickfixj-core</artifactId>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>quickfixj</groupId>
<artifactId>quickfixj-messages-fix42</artifactId>
<version>1.6.0</version>
</dependency>

Hope this helps.

Comment by Luca Burgazzoli [ 15/Dec/15 ]

is there any plan to do so ?

I'd like to update dependencies of Apache Camel QuickFIX component to use the official build which is now OSGi ready and we'd love to grab it from maven central instead of Marketcetera's own repo

Comment by Christoph John [ 15/Dec/15 ]

Actually yes. But did not have the time to follow this further.
As always: volunteers welcome.

Comment by Luca Burgazzoli [ 15/Dec/15 ]

I can work on it using Sonatype OSS if ok.

Anyone who whats to do a release needs to create an account on https://issues.sonatype.org/secure/Signup!default.jspa
It is then possible to configure bamboo to publish snapshots automatically and manually run a release process.

Comment by Christoph John [ 15/Dec/15 ]

Sonatype OSS is fine with me. Thanks in advance.

Comment by Luca Burgazzoli [ 15/Dec/15 ]

https://issues.sonatype.org/browse/OSSRH-19455

Comment by Luca Burgazzoli [ 15/Dec/15 ]

First upload on Sonatype OSS snapshots I think something do not need to be there, could you advice ?

Comment by Christoph John [ 16/Dec/15 ]

Thanks. What do you mean? Do you mean that we don't need to upload all the artifacts?

Comment by Luca Burgazzoli [ 16/Dec/15 ]

Yes, i.e. does quickfixj-distribution need to be on maven central ?

Comment by Christoph John [ 17/Dec/15 ]

I think the following artifacts can be left out:

  • quickfixj-distribution
  • quickfixj-parent (has no JARs)
  • quickfixj-messages (has no JARs)
  • quickfixj-examples (has no JARs)

Thanks!

Comment by Luca Burgazzoli [ 18/Dec/15 ]

It does not seem so simple and btw, they are also in marketcetera repo.

Would it be ok if I'll look at how to remove some artifacts from delivery later on ?
Maybe you can do a 1.6.2 release on maven central and I'll work on cleaning things u if possible for 1.7.0

Comment by Laplie Anderson [ 05/Jul/16 ]

The BigDecimal (-bd) versions of 1.6.2 have not been released to Maven central. Not sure if I this belongs on this issue or if another issue should be created.

Comment by Christoph John [ 05/Jul/16 ]

The BD builds are hosted here: http://repo.marketcetera.org/maven/org/quickfixj/

Comment by Laplie Anderson [ 05/Jul/16 ]

The marketcetera repo only has snapshot builds for 1.6.2. 1.6.1 however is correct there under the old group id http://repo.marketcetera.org/maven/quickfixj/.

Regardless, isn't the point of this issue to have all the jars on Maven central?

Comment by Christoph John [ 05/Jul/16 ]

Hmm, to me the BD build is a custom one. However, there is already QFJ-891.

Generated at Sat May 04 10:59:10 UTC 2024 using JIRA 7.5.2#75007-sha1:9f5725bb824792b3230a5d8716f0c13e296a3cae.