Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-14 Thread Anders Hammar
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-14 Thread Stephen Connolly
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-13 Thread Ron Wheeler
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-12 Thread Stephen Connolly
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

Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Ken Egervari
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Ron Wheeler
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Anders Hammar
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Ron Wheeler
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Jason van Zyl
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Ron Wheeler
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Jason van Zyl
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Anders Hammar
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Ron Wheeler
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Ron Wheeler
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Jason van Zyl
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Jason van Zyl
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Wayne Fay
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Ron Wheeler
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Jason van Zyl
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-10 Thread Ron Wheeler
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

Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-09 Thread Ken Egervari
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-09 Thread Jason van Zyl
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-09 Thread Ken Egervari
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-09 Thread Nick Klauer
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-09 Thread Jason van Zyl
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-09 Thread Ken Egervari
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-09 Thread Jason van Zyl
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-09 Thread Ron Wheeler
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

Re: Maven spitting out crap when it can't find locally added dependancies. How to stop it from checking?

2010-03-09 Thread Anders Hammar
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