Can you pls publish the dependency details for jar.... Am unable to find jml-1.0b3-full.jar in maven repository (http://repo1.maven.org/maven2 or http://download.java.net/maven/2/\)
I appreciate if you can publish the maven dependency details......
Thanks
krishna
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I looked into that at one point and no one from the maven chatrooms and such was willing to help me with anything. I don't really have the time to investigate it so if you are willing to investigate this, I'd be more than happy to include it with the distribution and maintain it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am the admin =) Heres' the problem I ran into -- from the guidelines it says I must "own" the domain that matches the class path of the library. In other words, since JML is net.sf.jml, I should 'own' jml.sf.net. Problem is I don't, the actual project is java-jml.sf.net and I'm not about to change the class path. =) (by own I mean, my project must be "at" that site) I tried and tried to get someone to talk with me about what I should do about it and I got no help what-so-ever. =( If you know of the proper way to deal with that, let me know please!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You can host your own repo with artifactory & you can provide repo url to user's. Users can add your repo URL in maven settings.xml or pom.xml
Feel free to visit or browse my repository, which is deployed at http://artifactory.localentity.com & browse the JML jar (Click on BROWSE tab, Click on left link SIMPLE BROWSER, & click on REPO link) at jml/jml/jml-1.0b3.jar. My Repo url is http://repo.localentity.com/repo
Hrm. I'm not hosting it on my own site. It gets enough traffic already and I'd like to reserve you know.. some of it for things -I- want to do. lol (my own sites are hosted in my house over a cable modem)
I don't see any indicators that sourceforge offers maven hosting services -- does it and I'm just missing it? Any other ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hrm. Very cool site. Ok, so I thought about this a bit and I think that in an ideal world, it would be nice if I hosted this off my site to keep things "together". However --- can you give me some ballparks on how much traffic you expect a maven site might get? How much in terms of resources does this artifactory thing take? I have my own cruisecontrol setup that I don't currently have publically facing. There's a good chance I'll turn around and say "ok nevermind, would you indeed not mind hosting it?" but wanted to at least give hosting it myself a chance. =) Unless you really don't think it matters. If you don't think it matters at all if it's hosted at my site or not, I'd be happy to thumbs up you hosting it. hehe
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hmmm…
Can't you use 'jml.blathersource.org'?
I do not think the requirement is for the package in the project jars, rather the maven group.
Meaning:
1. You continue using net.sf.jml as package
2. Declare the Maven POM to be in the org.blathersource.jml group.
3. Declare the Maven artefact to be named jml.
I believe this will make it easier to be included in the public repositories.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If that is true I would be happy to - but I'm 95% sure that the docs for using the central maven stuff was that the class structure had to equal the domain. And I wasn't able to rename the class structure to net.sf.java-jml =) If you can find me some docs that say that's ok then I'll set it up.
Keep in mind that I don't know maven well. Last time I had to use it I noticed that to use another repository I had to shift entirely - in other words I couldn't say "look at both of these repositories"
I also tried a c ouple of times to hit their irc channel and not a single person bothered to answer me. =( Didn't even acknowledge me. Just kept talking amongst themselves.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Bear in mind, that many of the maven artefacts are not JARs, so a requirement about the package contained would be useless.
Also. There are two distinct versions of Maven, that handle repositories quite differently. In Maven 2 it is very easy to use custom repositories, multiple at that. In Maven 1 one has to put a specific property in build.properties to use multiple repositories:
Yes, and no. This would be pretty much sufficient, but…
The URL is wrong. There are two items that need to be defined: groupID (dot-notation) and artefactID(simple name). The URL should be: http://…/…/-dot-/-notation-/-group-/-artefact-/-version-/-artefact-version-.jar
So if we assume the group to be 'net.sourceforge.java-jml' and the artefact to be 'jml' the URL should be:
Maaaan… The SF formatter is brain damaged :( So much wasted space!
Of course in order to fully harvest the Maven dependency resolution a .pom file should be uploaded too.
I checked out the project locally and took the liberty to create a .pom file for me. It works quite well. If you want I'll be happy to mail it over to you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you pls publish the dependency details for jar.... Am unable to find jml-1.0b3-full.jar in maven repository (http://repo1.maven.org/maven2 or http://download.java.net/maven/2/\)
I appreciate if you can publish the maven dependency details......
Thanks
krishna
I looked into that at one point and no one from the maven chatrooms and such was willing to help me with anything. I don't really have the time to investigate it so if you are willing to investigate this, I'd be more than happy to include it with the distribution and maintain it.
If you are admin for Java-JML project, I can help you to setup maven repository. Pls let me know your interest...
I am the admin =) Heres' the problem I ran into -- from the guidelines it says I must "own" the domain that matches the class path of the library. In other words, since JML is net.sf.jml, I should 'own' jml.sf.net. Problem is I don't, the actual project is java-jml.sf.net and I'm not about to change the class path. =) (by own I mean, my project must be "at" that site) I tried and tried to get someone to talk with me about what I should do about it and I got no help what-so-ever. =( If you know of the proper way to deal with that, let me know please!
You can host your own repo with artifactory & you can provide repo url to user's. Users can add your repo URL in maven settings.xml or pom.xml
Feel free to visit or browse my repository, which is deployed at http://artifactory.localentity.com & browse the JML jar (Click on BROWSE tab, Click on left link SIMPLE BROWSER, & click on REPO link) at jml/jml/jml-1.0b3.jar. My Repo url is http://repo.localentity.com/repo
MAVEN_HOME/conf/Settings.xml
<profile>
<id>localentity</id>
<repositories>
<repository>
<id>central</id>
<url>http://repo.localentity.com/repo</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>snapshots</id>
<url>http://repo.localentity.com/repo</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://repo.localentity.com/plugins-releases</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>snapshots</id>
<url>http://repo.localentity.com/plugins-snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
</profile>
Hrm. I'm not hosting it on my own site. It gets enough traffic already and I'd like to reserve you know.. some of it for things -I- want to do. lol (my own sites are hosted in my house over a cable modem)
I don't see any indicators that sourceforge offers maven hosting services -- does it and I'm just missing it? Any other ideas?
I host my java application (cruise control @ http://ci.localentity.com, artifactory @ http://artifactory.localentity.com, services @ http://webservices.localentity.com, svn, task management, etc) at my home (Comcast connection).
If you give me permission, I can host jml jars for public and I will provide you the artifactory access. Therefore, you can upload new version jars.
Pls let me know if are ok with the proposal....
Thanks
Krishna
I uploaded in my artifactory and solved the problem within my network
Missed a point...
I renamed the jar name from jml-1.0b3-full.jar to jml-1.0b3.jar
Am sorry if I violated your file naming rules.
Thanks
Krishna
Hrm. Very cool site. Ok, so I thought about this a bit and I think that in an ideal world, it would be nice if I hosted this off my site to keep things "together". However --- can you give me some ballparks on how much traffic you expect a maven site might get? How much in terms of resources does this artifactory thing take? I have my own cruisecontrol setup that I don't currently have publically facing. There's a good chance I'll turn around and say "ok nevermind, would you indeed not mind hosting it?" but wanted to at least give hosting it myself a chance. =) Unless you really don't think it matters. If you don't think it matters at all if it's hosted at my site or not, I'd be happy to thumbs up you hosting it. hehe
Hmmm…
Can't you use 'jml.blathersource.org'?
I do not think the requirement is for the package in the project jars, rather the maven group.
Meaning:
1. You continue using net.sf.jml as package
2. Declare the Maven POM to be in the org.blathersource.jml group.
3. Declare the Maven artefact to be named jml.
I believe this will make it easier to be included in the public repositories.
If that is true I would be happy to - but I'm 95% sure that the docs for using the central maven stuff was that the class structure had to equal the domain. And I wasn't able to rename the class structure to net.sf.java-jml =) If you can find me some docs that say that's ok then I'll set it up.
Keep in mind that I don't know maven well. Last time I had to use it I noticed that to use another repository I had to shift entirely - in other words I couldn't say "look at both of these repositories"
I also tried a c ouple of times to hit their irc channel and not a single person bothered to answer me. =( Didn't even acknowledge me. Just kept talking amongst themselves.
http://maven.apache.org/guides/mini/guide-central-repository-upload.html
In 'Step 2: Posting the request' the request states the group ID and the statement, that you own the respective domain name!
Bear in mind, that many of the maven artefacts are not JARs, so a requirement about the package contained would be useless.
Also. There are two distinct versions of Maven, that handle repositories quite differently. In Maven 2 it is very easy to use custom repositories, multiple at that. In Maven 1 one has to put a specific property in build.properties to use multiple repositories:
maven.repo.remote=http://127.0.0.1/maven/proxy,http://www.jpox.org/downloads/maven,https://maven-repository.dev.java.net/nonav/repository/
I also feel compelled to point out, that you may actually roll your own repository inside the web server hosted for your project on Source Forge.
Just upload files to your site in the form of:
http://java-jml.sourceforge.net/maven2/net/sourceforge/java-jml/java-jml/1.0/java-jml-1.0.jar
Notice the repeating of java-jml. Once for the group, once for the artefact name.
P.S. Sorry for the late response. Didn't get a notification about your comment.
Well - if it is as simple as creating that directory structure.. Check out:
http://java-jml.sourceforge.net/maven2/net/sourceforge/java-jml/java-jml/1.0b3/jml-1.0b3.jar
Is that all I have to do?
Yes, and no. This would be pretty much sufficient, but…
The URL is wrong. There are two items that need to be defined: groupID (dot-notation) and artefactID(simple name). The URL should be: http://…/…/-dot-/-notation-/-group-/-artefact-/-version-/-artefact-version-.jar
So if we assume the group to be 'net.sourceforge.java-jml' and the artefact to be 'jml' the URL should be:
http://java-jml.sourceforge.net/maven2/net/sourceforge/java-jml/jml/1.0b3/jml-1.0b3.jar
Rather than the one you posted (with the artefact name wrong).
http://java-jml.sourceforge.net/maven2/net/sourceforge/java-jml/java-jml/1.0b3/jml-1.0b3.jar
Maaaan… The SF formatter is brain damaged :( So much wasted space!
Of course in order to fully harvest the Maven dependency resolution a .pom file should be uploaded too.
I checked out the project locally and took the liberty to create a .pom file for me. It works quite well. If you want I'll be happy to mail it over to you.
Daniel was good enough to provide some space on the web-site for a maven repository.
I built the project from SVN to avoid the dependency on cindy (to be removed as I understand).
Guide on how to use the repository can be found on the site: http://jml.blathersource.org/node/5