pthulasiram / jmxetric

Automatically exported from code.google.com/p/jmxetric
MIT License
0 stars 0 forks source link

Publishing JMXetric jar file to a public Maven repo #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi

This isn't a bug report, it's really a question/feature request. We've been 
using JMXetric across a number of projects for a couple of years now, and we 
find it extremely useful. Our projects are usually Maven-based, and the one or 
two that use Ant also use Ivy to manage dependencies. As a result, we pull in 
binary dependencies from Maven repositories on pretty much all our projects.

Since JMXetric doesn't seem to be available in any public Maven repos, we have 
been hosting our own (private) local Maven repo and uploading the JMXetric jar 
file to it. So, my question is, do you have any plans to publish JMXetric to a 
public Maven repo? 

This has become more of a consideration to us because we are looking to open 
source some of our small projects that have a dependency on JMXetric. We'd like 
those projects to be buildable via Maven on any machine with an Internet 
connection, so the dependencies all need to be available in public repos.

Many thanks

Michael

Original issue reported on code.google.com by mickyfi...@googlemail.com on 5 Apr 2011 at 4:12

GoogleCodeExporter commented 8 years ago
I've made some requests to get access - it will probably take a few days..

Original comment by jasper...@gmail.com on 5 Apr 2011 at 7:25

GoogleCodeExporter commented 8 years ago
That's great, Jasper. Thanks for the quick response! Keep me posted.

Original comment by mickyfi...@googlemail.com on 6 Apr 2011 at 12:59

GoogleCodeExporter commented 8 years ago
I'm pretty much ready to go with jmxetric but I need to get oncrpc.jar from the 
remote tea project uploaded also.  I'll mail the project admin.

Original comment by jasper...@gmail.com on 9 Apr 2011 at 6:59

GoogleCodeExporter commented 8 years ago
JMXetric 0.0.5 is now uploaded to maven central.  I uploaded oncrpc.jar also so 
all dependencies should be there now.

Please let me know if it doesn't work..

Original comment by jasper...@gmail.com on 17 Apr 2011 at 5:00

GoogleCodeExporter commented 8 years ago
Hi Jasper

I can't see either the jmxetric or oncrpc jar files in 
http://repo1.maven.org/maven2/, either by browsing directly or by searching at 
http://mvnrepository.com/. I amended one of my poms so it contains this 
dependency:

   <dependency>
      <groupId>com.specialprojectslab</groupId>
      <artifactId>jmxetric</artifactId>
      <version>0.0.5</version>
    </dependency>

However, when I ran "mvn depdendency:resolve", maven couldn't find the jar file 
either:

-------
[INFO] Unable to find resource 'com.specialprojectslab:jmxetric:jar:0.0.5' in 
repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) com.specialprojectslab:jmxetric:jar:0.0.5

  Try downloading the file manually from the project website.

  Then, install it using the command: 
      mvn install:install-file -DgroupId=com.specialprojectslab -DartifactId=jmxetric -Dversion=0.0.5 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there: 
      mvn deploy:deploy-file -DgroupId=com.specialprojectslab -DartifactId=jmxetric -Dversion=0.0.5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency: 
    1) com.talis.platform:majat-core:jar:14.0
    2) com.specialprojectslab:jmxetric:jar:0.0.5

----------
1 required artifact is missing.
---------------------

Have either of the artifact names changed?

Thanks

Michael

Original comment by mickyfi...@googlemail.com on 18 Apr 2011 at 12:20

GoogleCodeExporter commented 8 years ago
oncrpc.jar has made it: http://repo1.maven.org/maven2/org/acplt/oncrpc/1.0.7/
You're right about jmxetric-0.0.5.jar - I will investigate.

Original comment by jasper...@gmail.com on 18 Apr 2011 at 5:30

GoogleCodeExporter commented 8 years ago
jmxetric has made it too: 
http://repo2.maven.org/maven2/com/specialprojectslab/jmxetric/0.0.5/

Original comment by jasper...@gmail.com on 19 Apr 2011 at 5:31