Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
I have a sense - perhaps misguided - that opening a JIRA issue is a definite statement that something is wrong and needs fixing. You create a jira for something YOU think is wrong or should be clarified. You could have discussed it on a mailing list in advance, but it's not necessary if you think something is wrong. If the author/committer/etc will ask for more info (in the jira) if he/she don't understand. And he/she will reject it if he/she doesn't agree. So, create jiras and vote for other jiras you think are important! A quick search if the defect has already been reported will be appreciated though. /Anders
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
Sent from my [rhymes with tryPod] ;-) On 12 Mar 2010, at 13:40, Ron Wheeler rwhee...@artifact-software.com wrote: Stephen Connolly wrote: On 10 March 2010 21:48, Ron Wheeler rwhee...@artifact- software.com wrote: Post things to JIRA (especially with patches) to get things changed. I assure you, patches with good/useful changes in content will be well-received and the site/documentation will be updated in due course. I am not going to get into patching. I leave that to the author. I will suggest rewording or request that clarifying text be added but I will not create patches. Then I think you are misunderstanding what we mean by patches... If it is documentation, * obviously a .patch file for the .apt file would be great (it'll get reviewed and applied very fast) * failing that something like: --- On this page: http://maven.apache.org/../blah.html current content is --- Blah blah blah blah --- Suggested replacement content is --- Waffle Waffle Blah Blah --- On this paget: etc would be IMHO perfectly fine as a patch and it would be reviewed and applied quite fast That is much better. That only leaves my reluctance to open a JIRA without some discussion first as to whether my improvements actually are correct and clearer than the original author's text. In other projects, I usually have a chance to present my suggestions to the author and get his feedback or to ask him/her for additional clarification or examples before determining that my suggestions are actually the right way to go. I have a sense - perhaps misguided - that opening a JIRA issue is a definite statement that something is wrong and needs fixing. if the documentation does not make sense to you (wearing a novice user hat) then something is wrong and you should raise a Jira. if you feel unsure about your suggested improvement then it's fine to say, I think this should say something like: blah waffle blah and leave it up to the committer to decide when it comes to documentation, if it us unclear to you, then the documentation is at fault... when it comes to functional behaviour, then your reticense is more warranted (but may still be unnecessary... after all it could be a documentation bug ;-) ) -Stephen Ron -Stephen - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
Stephen Connolly wrote: On 10 March 2010 21:48, Ron Wheeler rwhee...@artifact-software.com wrote: Post things to JIRA (especially with patches) to get things changed. I assure you, patches with good/useful changes in content will be well-received and the site/documentation will be updated in due course. I am not going to get into patching. I leave that to the author. I will suggest rewording or request that clarifying text be added but I will not create patches. Then I think you are misunderstanding what we mean by patches... If it is documentation, * obviously a .patch file for the .apt file would be great (it'll get reviewed and applied very fast) * failing that something like: --- On this page: http://maven.apache.org/../blah.html current content is --- Blah blah blah blah --- Suggested replacement content is --- Waffle Waffle Blah Blah --- On this paget: etc would be IMHO perfectly fine as a patch and it would be reviewed and applied quite fast That is much better. That only leaves my reluctance to open a JIRA without some discussion first as to whether my improvements actually are correct and clearer than the original author's text. In other projects, I usually have a chance to present my suggestions to the author and get his feedback or to ask him/her for additional clarification or examples before determining that my suggestions are actually the right way to go. I have a sense - perhaps misguided - that opening a JIRA issue is a definite statement that something is wrong and needs fixing. Ron -Stephen - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
On 10 March 2010 21:48, Ron Wheeler rwhee...@artifact-software.com wrote: Post things to JIRA (especially with patches) to get things changed. I assure you, patches with good/useful changes in content will be well-received and the site/documentation will be updated in due course. I am not going to get into patching. I leave that to the author. I will suggest rewording or request that clarifying text be added but I will not create patches. Then I think you are misunderstanding what we mean by patches... If it is documentation, * obviously a .patch file for the .apt file would be great (it'll get reviewed and applied very fast) * failing that something like: --- On this page: http://maven.apache.org/../blah.html current content is --- Blah blah blah blah --- Suggested replacement content is --- Waffle Waffle Blah Blah --- On this paget: etc would be IMHO perfectly fine as a patch and it would be reviewed and applied quite fast -Stephen
Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven just skipped it for these locally added libraries. This is what it spits out. How do I stop it? Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository Springframework milestone (http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/segment/1.3.0/segment-1.3.0.pom [INFO] Unable to find resource 'languagetool:segment:pom:1.3.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/segment/1.3.0/segment-1.3.0.pom [INFO] Unable to find resource 'languagetool:segment:pom:1.3.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/segment/1.3.0/segment-1.3.0.pom [INFO] Unable to find resource 'languagetool:segment:pom:1.3.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/segment/1.3.0/segment-1.3.0.pom [INFO] Unable to find resource 'languagetool:segment:pom:1.3.0' in repository snapshots.jboss.org
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
Anders Hammar wrote: Nexus is good, but it can't do magic. It will not solve the fact that there are no poms/metadata and therefore no dependencies info. You still need to fix that yourself. I'm not a fan of just uploading the jars and using the default pom (no dependency info) as it will break Maven's dependency management. Artifacts like this will make Maven look bad and take away some of the pleasure working with Maven. Please invest in creating correct poms. If the source/project is open source it shouldn't be too hard. Where is that documented/mentioned in the Maven docs? Ron /Anders On Wed, Mar 10, 2010 at 01:08, Ron Wheeler rwhee...@artifact-software.comwrote: I can recommend that you install the Nexus repository. You can easily upload libraries like Language Tool and it will find it right away. It has a lot of other benefits as well and makes using Maven much more pleasant. It can proxy all the other repos that you use and that makes you workstation setup very easy - just configure your Nexus as a mirror of all other repositories. Maven will only ask one place. You can add a new foreign repository to your Nexus configuration and immediately it available to all your developers. The Community version is free and is very easy to install. I have only had mine running for the past few months and wish I had done it 2 years ago. Ron Ken Egervari wrote: Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven just skipped it for these locally added libraries. This is what it spits out. How do I stop it? Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool: pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository Springframework milestone (http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository jboss
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
Eh, not sure what you mean. Are you asking where in the Maven docs it is stated that the pom should be correct? I think that would go without saying, don't you? A default pom is most likely never correct, as think Jason said earlier in this thread. /Anders On Wed, Mar 10, 2010 at 13:46, Ron Wheeler rwhee...@artifact-software.comwrote: Anders Hammar wrote: Nexus is good, but it can't do magic. It will not solve the fact that there are no poms/metadata and therefore no dependencies info. You still need to fix that yourself. I'm not a fan of just uploading the jars and using the default pom (no dependency info) as it will break Maven's dependency management. Artifacts like this will make Maven look bad and take away some of the pleasure working with Maven. Please invest in creating correct poms. If the source/project is open source it shouldn't be too hard. Where is that documented/mentioned in the Maven docs? Ron /Anders On Wed, Mar 10, 2010 at 01:08, Ron Wheeler rwhee...@artifact-software.comwrote: I can recommend that you install the Nexus repository. You can easily upload libraries like Language Tool and it will find it right away. It has a lot of other benefits as well and makes using Maven much more pleasant. It can proxy all the other repos that you use and that makes you workstation setup very easy - just configure your Nexus as a mirror of all other repositories. Maven will only ask one place. You can add a new foreign repository to your Nexus configuration and immediately it available to all your developers. The Community version is free and is very easy to install. I have only had mine running for the past few months and wish I had done it 2 years ago. Ron Ken Egervari wrote: Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven just skipped it for these locally added libraries. This is what it spits out. How do I stop it? Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool: pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository com.springsource.repository.bundles.release (
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
Anders Hammar wrote: Eh, not sure what you mean. Are you asking where in the Maven docs it is stated that the pom should be correct? I think that would go without saying, don't you? A default pom is most likely never correct, as think Jason said earlier in this thread. Cute but not likely the issue. I think we can take correct POMs as a given Where does the documentation describe how to make a POM for a 3rd party module and why that is worth doing. What is the minimum info required? What are the optional things that you should try to add for a module that is open source and for one that is not? Ron /Anders On Wed, Mar 10, 2010 at 13:46, Ron Wheeler rwhee...@artifact-software.comwrote: Anders Hammar wrote: Nexus is good, but it can't do magic. It will not solve the fact that there are no poms/metadata and therefore no dependencies info. You still need to fix that yourself. I'm not a fan of just uploading the jars and using the default pom (no dependency info) as it will break Maven's dependency management. Artifacts like this will make Maven look bad and take away some of the pleasure working with Maven. Please invest in creating correct poms. If the source/project is open source it shouldn't be too hard. Where is that documented/mentioned in the Maven docs? Ron /Anders On Wed, Mar 10, 2010 at 01:08, Ron Wheeler rwhee...@artifact-software.comwrote: I can recommend that you install the Nexus repository. You can easily upload libraries like Language Tool and it will find it right away. It has a lot of other benefits as well and makes using Maven much more pleasant. It can proxy all the other repos that you use and that makes you workstation setup very easy - just configure your Nexus as a mirror of all other repositories. Maven will only ask one place. You can add a new foreign repository to your Nexus configuration and immediately it available to all your developers. The Community version is free and is very easy to install. I have only had mine running for the past few months and wish I had done it 2 years ago. Ron Ken Egervari wrote: Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven just skipped it for these locally added libraries. This is what it spits out. How do I stop it? Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool: pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
On Mar 10, 2010, at 8:32 AM, Ron Wheeler wrote: Anders Hammar wrote: Eh, not sure what you mean. Are you asking where in the Maven docs it is stated that the pom should be correct? I think that would go without saying, don't you? A default pom is most likely never correct, as think Jason said earlier in this thread. Cute but not likely the issue. I think we can take correct POMs as a given If it is in Maven Central it will be correct from now on. But there are many POMs that are not correct and what Anders is referring to are the generated POMs when you install 3rd party dependencies into your own local repositories. Those are almost certainly incorrect. Unless the artifacts you are installing have no dependencies then they are wrong. It's a stop gap and we probably shouldn't even allow it anymore. Where does the documentation describe how to make a POM for a 3rd party module and why that is worth doing. For anything going into Central the document is here: http://maven.apache.org/guides/mini/guide-central-repository-upload.html You should really follow the same procedure we follow there. What is the minimum info required? What are the optional things that you should try to add for a module that is open source and for one that is not? Ron /Anders On Wed, Mar 10, 2010 at 13:46, Ron Wheeler rwhee...@artifact-software.comwrote: Anders Hammar wrote: Nexus is good, but it can't do magic. It will not solve the fact that there are no poms/metadata and therefore no dependencies info. You still need to fix that yourself. I'm not a fan of just uploading the jars and using the default pom (no dependency info) as it will break Maven's dependency management. Artifacts like this will make Maven look bad and take away some of the pleasure working with Maven. Please invest in creating correct poms. If the source/project is open source it shouldn't be too hard. Where is that documented/mentioned in the Maven docs? Ron /Anders On Wed, Mar 10, 2010 at 01:08, Ron Wheeler rwhee...@artifact-software.comwrote: I can recommend that you install the Nexus repository. You can easily upload libraries like Language Tool and it will find it right away. It has a lot of other benefits as well and makes using Maven much more pleasant. It can proxy all the other repos that you use and that makes you workstation setup very easy - just configure your Nexus as a mirror of all other repositories. Maven will only ask one place. You can add a new foreign repository to your Nexus configuration and immediately it available to all your developers. The Community version is free and is very easy to install. I have only had mine running for the past few months and wish I had done it 2 years ago. Ron Ken Egervari wrote: Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven just skipped it for these locally added libraries. This is what it spits out. How do I stop it? Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool: pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading:
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
Jason van Zyl wrote: On Mar 10, 2010, at 8:32 AM, Ron Wheeler wrote: Anders Hammar wrote: Eh, not sure what you mean. Are you asking where in the Maven docs it is stated that the pom should be correct? I think that would go without saying, don't you? A default pom is most likely never correct, as think Jason said earlier in this thread. Cute but not likely the issue. I think we can take correct POMs as a given If it is in Maven Central it will be correct from now on. But there are many POMs that are not correct and what Anders is referring to are the generated POMs when you install 3rd party dependencies into your own local repositories. Those are almost certainly incorrect. Unless the artifacts you are installing have no dependencies then they are wrong. It's a stop gap and we probably shouldn't even allow it anymore. Where does the documentation describe how to make a POM for a 3rd party module and why that is worth doing. For anything going into Central the document is here: http://maven.apache.org/guides/mini/guide-central-repository-upload.html You should really follow the same procedure we follow there. It does not really address the problem since I am not trying to put something into Maven Central and I do not own the domain of the groupId or really care about any of the other stuff. It probably would be a good idea to have a page that just discussed the issue of how to create a POM for your own use that describes some third party package. It is probably a trivial page but try to find the page mentioned above by Googling for Maven 3rd party POM or some other likely search string. Ron What is the minimum info required? What are the optional things that you should try to add for a module that is open source and for one that is not? Ron /Anders On Wed, Mar 10, 2010 at 13:46, Ron Wheeler rwhee...@artifact-software.comwrote: Anders Hammar wrote: Nexus is good, but it can't do magic. It will not solve the fact that there are no poms/metadata and therefore no dependencies info. You still need to fix that yourself. I'm not a fan of just uploading the jars and using the default pom (no dependency info) as it will break Maven's dependency management. Artifacts like this will make Maven look bad and take away some of the pleasure working with Maven. Please invest in creating correct poms. If the source/project is open source it shouldn't be too hard. Where is that documented/mentioned in the Maven docs? Ron /Anders On Wed, Mar 10, 2010 at 01:08, Ron Wheeler rwhee...@artifact-software.comwrote: I can recommend that you install the Nexus repository. You can easily upload libraries like Language Tool and it will find it right away. It has a lot of other benefits as well and makes using Maven much more pleasant. It can proxy all the other repos that you use and that makes you workstation setup very easy - just configure your Nexus as a mirror of all other repositories. Maven will only ask one place. You can add a new foreign repository to your Nexus configuration and immediately it available to all your developers. The Community version is free and is very easy to install. I have only had mine running for the past few months and wish I had done it 2 years ago. Ron Ken Egervari wrote: Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven just skipped it for these locally added libraries. This is what it spits out. How do I stop it? Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool: pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
On Mar 10, 2010, at 8:47 AM, Ron Wheeler wrote: Jason van Zyl wrote: On Mar 10, 2010, at 8:32 AM, Ron Wheeler wrote: Anders Hammar wrote: Eh, not sure what you mean. Are you asking where in the Maven docs it is stated that the pom should be correct? I think that would go without saying, don't you? A default pom is most likely never correct, as think Jason said earlier in this thread. Cute but not likely the issue. I think we can take correct POMs as a given If it is in Maven Central it will be correct from now on. But there are many POMs that are not correct and what Anders is referring to are the generated POMs when you install 3rd party dependencies into your own local repositories. Those are almost certainly incorrect. Unless the artifacts you are installing have no dependencies then they are wrong. It's a stop gap and we probably shouldn't even allow it anymore. Where does the documentation describe how to make a POM for a 3rd party module and why that is worth doing. For anything going into Central the document is here: http://maven.apache.org/guides/mini/guide-central-repository-upload.html You should really follow the same procedure we follow there. It does not really address the problem since I am not trying to put something into Maven Central and I do not own the domain of the groupId or really care about any of the other stuff. Feel free to ignore our advice. If you're never going to share the artifacts or work with anything else then it doesn't matter. If you plan to actually share the build with anyone else it will likely matter. It probably would be a good idea to have a page that just discussed the issue of how to create a POM for your own use that describes some third party package. There is no automatic way, you need to know the dependencies and list them in your POM. We'll take patches. Documentation from new users is often the most helpful to other users. It is probably a trivial page but try to find the page mentioned above by Googling for Maven 3rd party POM or some other likely search string. We could just point back to the document I pointed you at. Those are really the minimum requirements for artifacts that instead to go beyond a personal/local scope. Ron What is the minimum info required? What are the optional things that you should try to add for a module that is open source and for one that is not? Ron /Anders On Wed, Mar 10, 2010 at 13:46, Ron Wheeler rwhee...@artifact-software.comwrote: Anders Hammar wrote: Nexus is good, but it can't do magic. It will not solve the fact that there are no poms/metadata and therefore no dependencies info. You still need to fix that yourself. I'm not a fan of just uploading the jars and using the default pom (no dependency info) as it will break Maven's dependency management. Artifacts like this will make Maven look bad and take away some of the pleasure working with Maven. Please invest in creating correct poms. If the source/project is open source it shouldn't be too hard. Where is that documented/mentioned in the Maven docs? Ron /Anders On Wed, Mar 10, 2010 at 01:08, Ron Wheeler rwhee...@artifact-software.comwrote: I can recommend that you install the Nexus repository. You can easily upload libraries like Language Tool and it will find it right away. It has a lot of other benefits as well and makes using Maven much more pleasant. It can proxy all the other repos that you use and that makes you workstation setup very easy - just configure your Nexus as a mirror of all other repositories. Maven will only ask one place. You can add a new foreign repository to your Nexus configuration and immediately it available to all your developers. The Community version is free and is very easy to install. I have only had mine running for the past few months and wish I had done it 2 years ago. Ron Ken Egervari wrote: Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven just skipped it for these locally added libraries. This is what it spits out. How do I stop it? Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool: pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
Maybe something like this: http://docs.codehaus.org/display/GEOT/How+to+add+a+3rd+party+jar I know that there is always possible to add more documentation, but I kindly ask you to appreciate that most people within the open source world do this without getting payed. If you've found some documentation that you think is missing, dig in and figure out how it works and submit that (docs or whatever) as a patch. If you don't know where to submit please ask, we'll point you in the right direction. /Anders On Wed, Mar 10, 2010 at 14:32, Ron Wheeler rwhee...@artifact-software.comwrote: Anders Hammar wrote: Eh, not sure what you mean. Are you asking where in the Maven docs it is stated that the pom should be correct? I think that would go without saying, don't you? A default pom is most likely never correct, as think Jason said earlier in this thread. Cute but not likely the issue. I think we can take correct POMs as a given Where does the documentation describe how to make a POM for a 3rd party module and why that is worth doing. What is the minimum info required? What are the optional things that you should try to add for a module that is open source and for one that is not? Ron /Anders On Wed, Mar 10, 2010 at 13:46, Ron Wheeler rwhee...@artifact-software.comwrote: Anders Hammar wrote: Nexus is good, but it can't do magic. It will not solve the fact that there are no poms/metadata and therefore no dependencies info. You still need to fix that yourself. I'm not a fan of just uploading the jars and using the default pom (no dependency info) as it will break Maven's dependency management. Artifacts like this will make Maven look bad and take away some of the pleasure working with Maven. Please invest in creating correct poms. If the source/project is open source it shouldn't be too hard. Where is that documented/mentioned in the Maven docs? Ron /Anders On Wed, Mar 10, 2010 at 01:08, Ron Wheeler rwhee...@artifact-software.comwrote: I can recommend that you install the Nexus repository. You can easily upload libraries like Language Tool and it will find it right away. It has a lot of other benefits as well and makes using Maven much more pleasant. It can proxy all the other repos that you use and that makes you workstation setup very easy - just configure your Nexus as a mirror of all other repositories. Maven will only ask one place. You can add a new foreign repository to your Nexus configuration and immediately it available to all your developers. The Community version is free and is very easy to install. I have only had mine running for the past few months and wish I had done it 2 years ago. Ron Ken Egervari wrote: Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven just skipped it for these locally added libraries. This is what it spits out. How do I stop it? Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool: pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository Springframework milestone (
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
Jason van Zyl wrote: On Mar 10, 2010, at 8:47 AM, Ron Wheeler wrote: Jason van Zyl wrote: On Mar 10, 2010, at 8:32 AM, Ron Wheeler wrote: Anders Hammar wrote: Eh, not sure what you mean. Are you asking where in the Maven docs it is stated that the pom should be correct? I think that would go without saying, don't you? A default pom is most likely never correct, as think Jason said earlier in this thread. Cute but not likely the issue. I think we can take correct POMs as a given If it is in Maven Central it will be correct from now on. But there are many POMs that are not correct and what Anders is referring to are the generated POMs when you install 3rd party dependencies into your own local repositories. Those are almost certainly incorrect. Unless the artifacts you are installing have no dependencies then they are wrong. It's a stop gap and we probably shouldn't even allow it anymore. Where does the documentation describe how to make a POM for a 3rd party module and why that is worth doing. For anything going into Central the document is here: http://maven.apache.org/guides/mini/guide-central-repository-upload.html You should really follow the same procedure we follow there. It does not really address the problem since I am not trying to put something into Maven Central and I do not own the domain of the groupId or really care about any of the other stuff. Feel free to ignore our advice. If you're never going to share the artifacts or work with anything else then it doesn't matter. If you plan to actually share the build with anyone else it will likely matter. What advice? I can not share them with anyone else since they are licensed in a way that prevents them from being in Maven Central in the first place. That was the original problem that we are trying to address. It probably would be a good idea to have a page that just discussed the issue of how to create a POM for your own use that describes some third party package. There is no automatic way, you need to know the dependencies and list them in your POM. We'll take patches. Documentation from new users is often the most helpful to other users. This relates to an earlier discussion about the difficulty of using Maven documentation. It is not written from the user's point of view. There is probably no individual fact about Maven that is not documented somewhere. The complaint is that it is too difficult to get up to speed in Maven (not started by me but I share the sentiment.) This is just an example of where the documentation is in need of improvement. If I want to create a repository for my own company's use of 3rd party software that I have downloaded under a license that prevents this package from being distributed in Maven, your view is that I have to know that I will find some of the information to do this by imagining that I am the developer and I want to submit it to Maven Central. That is not the first thought that would come to my mind as a search criteria. There are a lot more users of these packages than developers but the Maven documentation makes the opposite assumption and writes the method in a way that focuses on the developer rather than the user. I would suggest that the need to create a minimal pom for a 3rd party package is worth a page in the Definitive Guide and on the web site. It is probably a trivial page but try to find the page mentioned above by Googling for Maven 3rd party POM or some other likely search string. We could just point back to the document I pointed you at. Those are really the minimum requirements for artifacts that instead to go beyond a personal/local scope. That page is too much oriented in its description to a developer who wants to submit it to Central. It has policy discussions and directions about proving that you own the GroupId domain, that a user pretty quickly decides that the page does not apply to the problem that he is trying to solve since he meets none of the minimum requirements and does not want to (and legally can not) submit someone else's work to Maven Central. Another page that is smaller and more focused on the user's problem of creating a pom for someone else's package should be added. It is a fairly common problem and the maven solution is perfect, once you figure out what to do. Ron What is the minimum info required? What are the optional things that you should try to add for a module that is open source and for one that is not? Ron - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
Anders Hammar wrote: Maybe something like this: http://docs.codehaus.org/display/GEOT/How+to+add+a+3rd+party+jar I know that there is always possible to add more documentation, but I kindly ask you to appreciate that most people within the open source world do this without getting payed. If you've found some documentation that you think is missing, dig in and figure out how it works and submit that (docs or whatever) as a patch. If you don't know where to submit please ask, we'll point you in the right direction. /Anders I appreciate all the great work that you guys do and I know that it is time volunteered one way or another. The reference is on the right track. It is too specific to their project and appears to be a bit short on details. It would be nice to have something that has a bit of the Maven Upload to Central flavour but addressing the problem that the GEOT paper addresses. Ron On Wed, Mar 10, 2010 at 14:32, Ron Wheeler rwhee...@artifact-software.comwrote: Anders Hammar wrote: Eh, not sure what you mean. Are you asking where in the Maven docs it is stated that the pom should be correct? I think that would go without saying, don't you? A default pom is most likely never correct, as think Jason said earlier in this thread. Cute but not likely the issue. I think we can take correct POMs as a given Where does the documentation describe how to make a POM for a 3rd party module and why that is worth doing. What is the minimum info required? What are the optional things that you should try to add for a module that is open source and for one that is not? Ron /Anders On Wed, Mar 10, 2010 at 13:46, Ron Wheeler rwhee...@artifact-software.comwrote: Anders Hammar wrote: Nexus is good, but it can't do magic. It will not solve the fact that there are no poms/metadata and therefore no dependencies info. You still need to fix that yourself. I'm not a fan of just uploading the jars and using the default pom (no dependency info) as it will break Maven's dependency management. Artifacts like this will make Maven look bad and take away some of the pleasure working with Maven. Please invest in creating correct poms. If the source/project is open source it shouldn't be too hard. Where is that documented/mentioned in the Maven docs? Ron /Anders On Wed, Mar 10, 2010 at 01:08, Ron Wheeler rwhee...@artifact-software.comwrote: I can recommend that you install the Nexus repository. You can easily upload libraries like Language Tool and it will find it right away. It has a lot of other benefits as well and makes using Maven much more pleasant. It can proxy all the other repos that you use and that makes you workstation setup very easy - just configure your Nexus as a mirror of all other repositories. Maven will only ask one place. You can add a new foreign repository to your Nexus configuration and immediately it available to all your developers. The Community version is free and is very easy to install. I have only had mine running for the past few months and wish I had done it 2 years ago. Ron Ken Egervari wrote: Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven just skipped it for these locally added libraries. This is what it spits out. How do I stop it? Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool: pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/resource/1.0.0/resource-1.0.0.pom
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
On Mar 10, 2010, at 11:28 AM, Ron Wheeler wrote: Jason van Zyl wrote: On Mar 10, 2010, at 8:47 AM, Ron Wheeler wrote: Jason van Zyl wrote: On Mar 10, 2010, at 8:32 AM, Ron Wheeler wrote: Anders Hammar wrote: Eh, not sure what you mean. Are you asking where in the Maven docs it is stated that the pom should be correct? I think that would go without saying, don't you? A default pom is most likely never correct, as think Jason said earlier in this thread. Cute but not likely the issue. I think we can take correct POMs as a given If it is in Maven Central it will be correct from now on. But there are many POMs that are not correct and what Anders is referring to are the generated POMs when you install 3rd party dependencies into your own local repositories. Those are almost certainly incorrect. Unless the artifacts you are installing have no dependencies then they are wrong. It's a stop gap and we probably shouldn't even allow it anymore. Where does the documentation describe how to make a POM for a 3rd party module and why that is worth doing. For anything going into Central the document is here: http://maven.apache.org/guides/mini/guide-central-repository-upload.html You should really follow the same procedure we follow there. It does not really address the problem since I am not trying to put something into Maven Central and I do not own the domain of the groupId or really care about any of the other stuff. Feel free to ignore our advice. If you're never going to share the artifacts or work with anything else then it doesn't matter. If you plan to actually share the build with anyone else it will likely matter. What advice? I can not share them with anyone else since they are licensed in a way that prevents them from being in Maven Central in the first place. That was the original problem that we are trying to address. The point is not distribution from Maven Central, the point is sharing of the artifacts if the sharing goes beyond yourself as an individual. You may very well put an artifact that cannot go in Maven Central into your own corporate repository. From there without a correct POM you won't get the right dependencies, without a javadoc JAR it's hard for developers to find out about code, without a source JAR it's hard for developers to debug, and without a signature you'll never be able to validate the origin of the person who submitted that artifact to your corporate repository. We ask for these measures as a general good practice of using binary components, regardless of where they are being distributed from. It probably would be a good idea to have a page that just discussed the issue of how to create a POM for your own use that describes some third party package. There is no automatic way, you need to know the dependencies and list them in your POM. We'll take patches. Documentation from new users is often the most helpful to other users. This relates to an earlier discussion about the difficulty of using Maven documentation. It is not written from the user's point of view. There is probably no individual fact about Maven that is not documented somewhere. The complaint is that it is too difficult to get up to speed in Maven (not started by me but I share the sentiment.) This is just an example of where the documentation is in need of improvement. Sure, we generally get complaints like this and my response was to have 5 books written. We do what we can, but we have a lot of users take Maven and use it, complain, and never contribute anything back. It would be far more useful for you to sit down and take this information and write a document for other users. We have lots of people dish out advice, but not so much documentation. We know it's hard, that's why it takes a long time to produce. If I want to create a repository for my own company's use of 3rd party software that I have downloaded under a license that prevents this package from being distributed in Maven, your view is that I have to know that I will find some of the information to do this by imagining that I am the developer and I want to submit it to Maven Central. You using a piece of software in your own internal repositories and what you use in Maven Central are two entirely separate things. No one puts their own artifacts, or commercial components they purchased into Maven Central. You wouldn't put your own sources or sources you purchased into a public SCM, and Maven is no different with binaries. Maven Central is primarily for OSS components. That is not the first thought that would come to my mind as a search criteria. If you don't understand how Maven works, sure. There are a lot more users of these packages than developers but the Maven documentation makes the opposite assumption and
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
On Mar 10, 2010, at 11:38 AM, Ron Wheeler wrote: Anders Hammar wrote: Maybe something like this: http://docs.codehaus.org/display/GEOT/How+to+add+a+3rd+party+jar I know that there is always possible to add more documentation, but I kindly ask you to appreciate that most people within the open source world do this without getting payed. If you've found some documentation that you think is missing, dig in and figure out how it works and submit that (docs or whatever) as a patch. If you don't know where to submit please ask, we'll point you in the right direction. /Anders I appreciate all the great work that you guys do and I know that it is time volunteered one way or another. The reference is on the right track. It is too specific to their project and appears to be a bit short on details. It would be nice to have something that has a bit of the Maven Upload to Central flavour but addressing the problem that the GEOT paper addresses. So why don't you add that? If you feel you're getting some value from Maven then take a few hours and save all the users after you some pain. Ron On Wed, Mar 10, 2010 at 14:32, Ron Wheeler rwhee...@artifact-software.comwrote: Anders Hammar wrote: Eh, not sure what you mean. Are you asking where in the Maven docs it is stated that the pom should be correct? I think that would go without saying, don't you? A default pom is most likely never correct, as think Jason said earlier in this thread. Cute but not likely the issue. I think we can take correct POMs as a given Where does the documentation describe how to make a POM for a 3rd party module and why that is worth doing. What is the minimum info required? What are the optional things that you should try to add for a module that is open source and for one that is not? Ron /Anders On Wed, Mar 10, 2010 at 13:46, Ron Wheeler rwhee...@artifact-software.comwrote: Anders Hammar wrote: Nexus is good, but it can't do magic. It will not solve the fact that there are no poms/metadata and therefore no dependencies info. You still need to fix that yourself. I'm not a fan of just uploading the jars and using the default pom (no dependency info) as it will break Maven's dependency management. Artifacts like this will make Maven look bad and take away some of the pleasure working with Maven. Please invest in creating correct poms. If the source/project is open source it shouldn't be too hard. Where is that documented/mentioned in the Maven docs? Ron /Anders On Wed, Mar 10, 2010 at 01:08, Ron Wheeler rwhee...@artifact-software.comwrote: I can recommend that you install the Nexus repository. You can easily upload libraries like Language Tool and it will find it right away. It has a lot of other benefits as well and makes using Maven much more pleasant. It can proxy all the other repos that you use and that makes you workstation setup very easy - just configure your Nexus as a mirror of all other repositories. Maven will only ask one place. You can add a new foreign repository to your Nexus configuration and immediately it available to all your developers. The Community version is free and is very easy to install. I have only had mine running for the past few months and wish I had done it 2 years ago. Ron Ken Egervari wrote: Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven just skipped it for these locally added libraries. This is what it spits out. How do I stop it? Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool: pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository snapshots.jboss.org
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
The reference is on the right track. It is too specific to their project and appears to be a bit short on details. It would be nice to have something that has a bit of the Maven Upload to Central flavour but addressing the problem that the GEOT paper addresses. Those of us who have been here for a while (including Maven devs) simply don't have the same needs or even the same perspective as the new user. Thus, it is VITAL that new(er) users like yourself NOTE when such documentation is lacking, but then also HELP fill the gaps when ever possible. Otherwise, if someone else fills that gap, they may do it in such a way that your problem was not actually addressed (eg from the point of view of a developer rather than a user). Simply pointing out what is missing in the docs here on the Users list is not a very productive use of time, as you have already noted in another thread, talking about how transitive dependencies don't work as you expected etc. Since that was merely posted here on the Users list (twice now), no one took any particular initiative to get the docs changed. Post things to JIRA (especially with patches) to get things changed. I assure you, patches with good/useful changes in content will be well-received and the site/documentation will be updated in due course. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
Jason van Zyl wrote: On Mar 10, 2010, at 11:38 AM, Ron Wheeler wrote: Anders Hammar wrote: Maybe something like this: http://docs.codehaus.org/display/GEOT/How+to+add+a+3rd+party+jar I know that there is always possible to add more documentation, but I kindly ask you to appreciate that most people within the open source world do this without getting payed. If you've found some documentation that you think is missing, dig in and figure out how it works and submit that (docs or whatever) as a patch. If you don't know where to submit please ask, we'll point you in the right direction. /Anders I appreciate all the great work that you guys do and I know that it is time volunteered one way or another. The reference is on the right track. It is too specific to their project and appears to be a bit short on details. It would be nice to have something that has a bit of the Maven Upload to Central flavour but addressing the problem that the GEOT paper addresses. So why don't you add that? If you feel you're getting some value from Maven then take a few hours and save all the users after you some pain. If I was not so far up to me ears in alligators and customers who are becoming alligators, I might take a shot at it. I still have to figure out how to do it and do it once. You are putting me on the spot with the best argument known to man Put up or shut up. I guess I do not have much choice now but to write something. Ron Ron On Wed, Mar 10, 2010 at 14:32, Ron Wheeler rwhee...@artifact-software.comwrote: Anders Hammar wrote: Eh, not sure what you mean. Are you asking where in the Maven docs it is stated that the pom should be correct? I think that would go without saying, don't you? A default pom is most likely never correct, as think Jason said earlier in this thread. Cute but not likely the issue. I think we can take correct POMs as a given Where does the documentation describe how to make a POM for a 3rd party module and why that is worth doing. What is the minimum info required? What are the optional things that you should try to add for a module that is open source and for one that is not? Ron /Anders On Wed, Mar 10, 2010 at 13:46, Ron Wheeler rwhee...@artifact-software.comwrote: Anders Hammar wrote: Nexus is good, but it can't do magic. It will not solve the fact that there are no poms/metadata and therefore no dependencies info. You still need to fix that yourself. I'm not a fan of just uploading the jars and using the default pom (no dependency info) as it will break Maven's dependency management. Artifacts like this will make Maven look bad and take away some of the pleasure working with Maven. Please invest in creating correct poms. If the source/project is open source it shouldn't be too hard. Where is that documented/mentioned in the Maven docs? Ron /Anders On Wed, Mar 10, 2010 at 01:08, Ron Wheeler rwhee...@artifact-software.comwrote: I can recommend that you install the Nexus repository. You can easily upload libraries like Language Tool and it will find it right away. It has a lot of other benefits as well and makes using Maven much more pleasant. It can proxy all the other repos that you use and that makes you workstation setup very easy - just configure your Nexus as a mirror of all other repositories. Maven will only ask one place. You can add a new foreign repository to your Nexus configuration and immediately it available to all your developers. The Community version is free and is very easy to install. I have only had mine running for the past few months and wish I had done it 2 years ago. Ron Ken Egervari wrote: Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven just skipped it for these locally added libraries. This is what it spits out. How do I stop it? Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool: pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
On Mar 10, 2010, at 12:53 PM, Ron Wheeler wrote: Jason van Zyl wrote: On Mar 10, 2010, at 11:38 AM, Ron Wheeler wrote: Anders Hammar wrote: Maybe something like this: http://docs.codehaus.org/display/GEOT/How+to+add+a+3rd+party+jar I know that there is always possible to add more documentation, but I kindly ask you to appreciate that most people within the open source world do this without getting payed. If you've found some documentation that you think is missing, dig in and figure out how it works and submit that (docs or whatever) as a patch. If you don't know where to submit please ask, we'll point you in the right direction. /Anders I appreciate all the great work that you guys do and I know that it is time volunteered one way or another. The reference is on the right track. It is too specific to their project and appears to be a bit short on details. It would be nice to have something that has a bit of the Maven Upload to Central flavour but addressing the problem that the GEOT paper addresses. So why don't you add that? If you feel you're getting some value from Maven then take a few hours and save all the users after you some pain. If I was not so far up to me ears in alligators and customers who are becoming alligators, I might take a shot at it. I still have to figure out how to do it and do it once. Now you know how we feel. Except our alligators don't pay us anything ;-) You are putting me on the spot with the best argument known to man Put up or shut up. I guess I do not have much choice now but to write something. I always do this to users. I've been doing this for 10 years now. Your arguments are constructive, we do need to improve some of the initiation processes, but it's often very hard for people who develop and use Maven every day to take a few steps back. A lot of times it's easier to have some active person who is new to the process and allow us to answer questions about what is correct or not, what is a best practice or not. Most of the time when I write documentation people just read it and go huh?. Ron Ron On Wed, Mar 10, 2010 at 14:32, Ron Wheeler rwhee...@artifact-software.comwrote: Anders Hammar wrote: Eh, not sure what you mean. Are you asking where in the Maven docs it is stated that the pom should be correct? I think that would go without saying, don't you? A default pom is most likely never correct, as think Jason said earlier in this thread. Cute but not likely the issue. I think we can take correct POMs as a given Where does the documentation describe how to make a POM for a 3rd party module and why that is worth doing. What is the minimum info required? What are the optional things that you should try to add for a module that is open source and for one that is not? Ron /Anders On Wed, Mar 10, 2010 at 13:46, Ron Wheeler rwhee...@artifact-software.comwrote: Anders Hammar wrote: Nexus is good, but it can't do magic. It will not solve the fact that there are no poms/metadata and therefore no dependencies info. You still need to fix that yourself. I'm not a fan of just uploading the jars and using the default pom (no dependency info) as it will break Maven's dependency management. Artifacts like this will make Maven look bad and take away some of the pleasure working with Maven. Please invest in creating correct poms. If the source/project is open source it shouldn't be too hard. Where is that documented/mentioned in the Maven docs? Ron /Anders On Wed, Mar 10, 2010 at 01:08, Ron Wheeler rwhee...@artifact-software.comwrote: I can recommend that you install the Nexus repository. You can easily upload libraries like Language Tool and it will find it right away. It has a lot of other benefits as well and makes using Maven much more pleasant. It can proxy all the other repos that you use and that makes you workstation setup very easy - just configure your Nexus as a mirror of all other repositories. Maven will only ask one place. You can add a new foreign repository to your Nexus configuration and immediately it available to all your developers. The Community version is free and is very easy to install. I have only had mine running for the past few months and wish I had done it 2 years ago. Ron Ken Egervari wrote: Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven just skipped it for these locally added libraries.
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
Wayne Fay wrote: The reference is on the right track. It is too specific to their project and appears to be a bit short on details. It would be nice to have something that has a bit of the Maven Upload to Central flavour but addressing the problem that the GEOT paper addresses. Those of us who have been here for a while (including Maven devs) simply don't have the same needs or even the same perspective as the new user. Thus, it is VITAL that new(er) users like yourself NOTE when such documentation is lacking, but then also HELP fill the gaps when ever possible. Otherwise, if someone else fills that gap, they may do it in such a way that your problem was not actually addressed (eg from the point of view of a developer rather than a user). I feel a bit more comfortable as an editor and do this for some other forums where I help clean up English and suggest clarifications that might help new users. The problem with authoring new content is that I am not sure about what I am doing and don't know if it is really suitable as a Best Practice. Simply pointing out what is missing in the docs here on the Users list is not a very productive use of time, as you have already noted in another thread, talking about how transitive dependencies don't work as you expected etc. Since that was merely posted here on the Users list (twice now), no one took any particular initiative to get the docs changed. I was hoping to get some feedback that my changes made sense. When one does not know who the author is, it is hard to get a collaboration going. In the other forum where I do most of my participation, I have the luxury of a private conversation with the author to make suggestions and to get a response to my questions and suggestions. Post things to JIRA (especially with patches) to get things changed. I assure you, patches with good/useful changes in content will be well-received and the site/documentation will be updated in due course. I am not going to get into patching. I leave that to the author. I will suggest rewording or request that clarifying text be added but I will not create patches. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven just skipped it for these locally added libraries. This is what it spits out. How do I stop it? Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool: pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository Springframework milestone (http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/segment/1.3.0/segment-1.3.0.pom [INFO] Unable to find resource 'languagetool:segment:pom:1.3.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/segment/1.3.0/segment-1.3.0.pom [INFO] Unable to find resource 'languagetool:segment:pom:1.3.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/segment/1.3.0/segment-1.3.0.pom [INFO] Unable to find resource 'languagetool:segment:pom:1.3.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/segment/1.3.0/segment-1.3.0.pom [INFO] Unable to find resource 'languagetool:segment:pom:1.3.0' in repository snapshots.jboss.org
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
Maven is doing what it's supposed to. You've added the artifact without the POM, add a POM even a stub one and the message will go away. Artifacts are not allowed in Maven Central with the POM, it's a Maven requirement. On Mar 9, 2010, at 6:20 PM, Ken Egervari wrote: Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven just skipped it for these locally added libraries. This is what it spits out. How do I stop it? Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool: pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository Springframework milestone (http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/segment/1.3.0/segment-1.3.0.pom [INFO] Unable to find resource 'languagetool:segment:pom:1.3.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/segment/1.3.0/segment-1.3.0.pom [INFO] Unable to find resource 'languagetool:segment:pom:1.3.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading:
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
Oh, Okay... Thanks! I just used the -DgeneratePom=true for all 5 libraries and now it doesn't put that annoying stuff. Maybe true should be default perhaps? Thanks ;) Ken On Tue, Mar 9, 2010 at 6:56 PM, Jason van Zyl ja...@sonatype.com wrote: Maven is doing what it's supposed to. You've added the artifact without the POM, add a POM even a stub one and the message will go away. Artifacts are not allowed in Maven Central with the POM, it's a Maven requirement. On Mar 9, 2010, at 6:20 PM, Ken Egervari wrote: Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven just skipped it for these locally added libraries. This is what it spits out. How do I stop it? Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool: pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository Springframework milestone (http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/segment/1.3.0/segment-1.3.0.pom [INFO] Unable to find resource 'languagetool:segment:pom:1.3.0' in repository com.springsource.repository.bundles.release (
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
Did you use Maven to install the .jar, or did you place it there manually? Maven provides a built-in way to install a 3rd party jar to your repo, creating a POM for you: http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html On Tue, Mar 9, 2010 at 6:06 PM, Ken Egervari ken.egerv...@gmail.com wrote: Oh, Okay... Thanks! I just used the -DgeneratePom=true for all 5 libraries and now it doesn't put that annoying stuff. Maybe true should be default perhaps? Thanks ;) Ken On Tue, Mar 9, 2010 at 6:56 PM, Jason van Zyl ja...@sonatype.com wrote: Maven is doing what it's supposed to. You've added the artifact without the POM, add a POM even a stub one and the message will go away. Artifacts are not allowed in Maven Central with the POM, it's a Maven requirement. On Mar 9, 2010, at 6:20 PM, Ken Egervari wrote: Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven just skipped it for these locally added libraries. This is what it spits out. How do I stop it? Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool: pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository Springframework milestone (http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading:
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
On Mar 9, 2010, at 7:06 PM, Ken Egervari wrote: Oh, Okay... Thanks! I just used the -DgeneratePom=true for all 5 libraries and now it doesn't put that annoying stuff. Maybe true should be default perhaps? Thanks ;) The reason that's not done by default is that we cannot glean the dependencies automatically with that plugin so unless the artifacts are completely self-contained they are likely incorrect. Incorrect metadata is often worse then no metadata because without the right metadata Maven can't create correct classpaths for testing, and packaging WARs with missing runtime requirements or worse. Artifacts without POMs are just bad news. I would track down the dependencies or find a correct POM. Ken On Tue, Mar 9, 2010 at 6:56 PM, Jason van Zyl ja...@sonatype.com wrote: Maven is doing what it's supposed to. You've added the artifact without the POM, add a POM even a stub one and the message will go away. Artifacts are not allowed in Maven Central with the POM, it's a Maven requirement. On Mar 9, 2010, at 6:20 PM, Ken Egervari wrote: Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven just skipped it for these locally added libraries. This is what it spits out. How do I stop it? Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool: pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository Springframework milestone (http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository snapshots.jboss.org
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
Unfortunately the people that create language tool (it's a multi-language grammar checker library for Java) don't believe in Maven. They have this belief that it's buggy and use Ant. They somehow think that Ant is superior, so they just don't even bother supporting Maven for the people that do use it. Also, all the libraries they use are not in Maven repositories either. I know... I get a sick feeling in my stomach too when 99% of my project is using standard, maven-aware stuff and then there is this one open source project that is the outlier who just refuses to conform. *shrugs* Ken On Tue, Mar 9, 2010 at 7:22 PM, Jason van Zyl ja...@sonatype.com wrote: On Mar 9, 2010, at 7:06 PM, Ken Egervari wrote: Oh, Okay... Thanks! I just used the -DgeneratePom=true for all 5 libraries and now it doesn't put that annoying stuff. Maybe true should be default perhaps? Thanks ;) The reason that's not done by default is that we cannot glean the dependencies automatically with that plugin so unless the artifacts are completely self-contained they are likely incorrect. Incorrect metadata is often worse then no metadata because without the right metadata Maven can't create correct classpaths for testing, and packaging WARs with missing runtime requirements or worse. Artifacts without POMs are just bad news. I would track down the dependencies or find a correct POM. Ken On Tue, Mar 9, 2010 at 6:56 PM, Jason van Zyl ja...@sonatype.com wrote: Maven is doing what it's supposed to. You've added the artifact without the POM, add a POM even a stub one and the message will go away. Artifacts are not allowed in Maven Central with the POM, it's a Maven requirement. On Mar 9, 2010, at 6:20 PM, Ken Egervari wrote: Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven just skipped it for these locally added libraries. This is what it spits out. How do I stop it? Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool: pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
On Mar 9, 2010, at 7:30 PM, Ken Egervari wrote: Unfortunately the people that create language tool (it's a multi-language grammar checker library for Java) don't believe in Maven. They have this belief that it's buggy and use Ant. They somehow think that Ant is superior, so they just don't even bother supporting Maven for the people that do use it. That's all fine. I'm not religious about it, build with what you like but if they want people who use Maven-repositories -- which is pretty much every build system these days -- then they need correct metadata. Do them and yourself a favor and make a POM and then submit it to us to place in Maven Central properly. If the project doesn't want to do it then we will allow 3rd parties to place the artifacts in Maven Central. Also, all the libraries they use are not in Maven repositories either. I know... I get a sick feeling in my stomach too when 99% of my project is using standard, maven-aware stuff and then there is this one open source project that is the outlier who just refuses to conform. Ah well, can't win over everyone. Nonetheless if you make a POM you'll save everyone in your wake the pain. *shrugs* Ken On Tue, Mar 9, 2010 at 7:22 PM, Jason van Zyl ja...@sonatype.com wrote: On Mar 9, 2010, at 7:06 PM, Ken Egervari wrote: Oh, Okay... Thanks! I just used the -DgeneratePom=true for all 5 libraries and now it doesn't put that annoying stuff. Maybe true should be default perhaps? Thanks ;) The reason that's not done by default is that we cannot glean the dependencies automatically with that plugin so unless the artifacts are completely self-contained they are likely incorrect. Incorrect metadata is often worse then no metadata because without the right metadata Maven can't create correct classpaths for testing, and packaging WARs with missing runtime requirements or worse. Artifacts without POMs are just bad news. I would track down the dependencies or find a correct POM. Ken On Tue, Mar 9, 2010 at 6:56 PM, Jason van Zyl ja...@sonatype.com wrote: Maven is doing what it's supposed to. You've added the artifact without the POM, add a POM even a stub one and the message will go away. Artifacts are not allowed in Maven Central with the POM, it's a Maven requirement. On Mar 9, 2010, at 6:20 PM, Ken Egervari wrote: Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven just skipped it for these locally added libraries. This is what it spits out. How do I stop it? Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool: pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO]
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
I can recommend that you install the Nexus repository. You can easily upload libraries like Language Tool and it will find it right away. It has a lot of other benefits as well and makes using Maven much more pleasant. It can proxy all the other repos that you use and that makes you workstation setup very easy - just configure your Nexus as a mirror of all other repositories. Maven will only ask one place. You can add a new foreign repository to your Nexus configuration and immediately it available to all your developers. The Community version is free and is very easy to install. I have only had mine running for the past few months and wish I had done it 2 years ago. Ron Ken Egervari wrote: Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven just skipped it for these locally added libraries. This is what it spits out. How do I stop it? Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool: pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository Springframework milestone (http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/segment/1.3.0/segment-1.3.0.pom [INFO] Unable to find resource 'languagetool:segment:pom:1.3.0' in repository com.springsource.repository.bundles.release (
Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?
Nexus is good, but it can't do magic. It will not solve the fact that there are no poms/metadata and therefore no dependencies info. You still need to fix that yourself. I'm not a fan of just uploading the jars and using the default pom (no dependency info) as it will break Maven's dependency management. Artifacts like this will make Maven look bad and take away some of the pleasure working with Maven. Please invest in creating correct poms. If the source/project is open source it shouldn't be too hard. /Anders On Wed, Mar 10, 2010 at 01:08, Ron Wheeler rwhee...@artifact-software.comwrote: I can recommend that you install the Nexus repository. You can easily upload libraries like Language Tool and it will find it right away. It has a lot of other benefits as well and makes using Maven much more pleasant. It can proxy all the other repos that you use and that makes you workstation setup very easy - just configure your Nexus as a mirror of all other repositories. Maven will only ask one place. You can add a new foreign repository to your Nexus configuration and immediately it available to all your developers. The Community version is free and is very easy to install. I have only had mine running for the past few months and wish I had done it 2 years ago. Ron Ken Egervari wrote: Hi, I am using a library called Language tool. Since it does not have a maven repository anywhere, I had to make a local one for it. Unfortunately, every time I execute any maven task, Maven will check all the repositories for updated copies. This process can be rather slow and I'd rather maven just skipped it for these locally added libraries. This is what it spits out. How do I stop it? Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool: pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/languagetool/1.0.0/languagetool-1.0.0.pom [INFO] Unable to find resource 'languagetool:languagetool:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository Springframework milestone ( http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository jboss (http://repository.jboss.com/maven2) Downloading: http://snapshots.jboss.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository snapshots.jboss.org (http://snapshots.jboss.org/maven2) Downloading: http://repo1.maven.org/maven2/languagetool/resource/1.0.0/resource-1.0.0.pom [INFO] Unable to find resource 'languagetool:resource:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://repository.springsource.com/maven/bundles/release/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository com.springsource.repository.bundles.release ( http://repository.springsource.com/maven/bundles/release) Downloading: http://maven.springframework.org/milestone/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository Springframework milestone (http://maven.springframework.org/milestone) Downloading: http://repository.jboss.com/maven2/languagetool/rules/1.0.0/rules-1.0.0.pom [INFO] Unable to find resource 'languagetool:rules:pom:1.0.0' in repository jboss