Compile error, cannot find locally installed resource

2008-03-04 Thread buzzterrier
Hello, I am new to Maven2 and am trying to get one of our applications building with it. I want to build myApp, and we have a home grown CoreTools.jar that is a dependency. The path of least resistance seemed to be to add CoreTools.jar as as dependency and then install it into my local repository

Re: Compile error, cannot find locally installed resource

2008-03-04 Thread Wayne Fay
Its not finding the pom file because it doesn't exist, so its running out and trying to find one in remote repos. Re-run mvn install and this time specify -DgeneratePom=true along with the other parameters. Wayne On 3/4/08, buzzterrier <[EMAIL PROTECTED]> wrote: > > Hello, > > I am new to Maven2

Re: Compile error, cannot find locally installed resource

2008-03-04 Thread buzzterrier
Thanks Wayne, That took care of that pom error at the start, but it still fails for to find the CoreTools-1.0-SNAPSHOT.jar when it tries to compile. Really odd, because it is clearly on the classpath. Wayne Fay wrote: > > Its not finding the pom file because it doesn't exist, so its running

Re: Compile error, cannot find locally installed resource

2008-03-04 Thread Karthik Krishnan
Hi, Is there a way to configure the pom creation? Thanks, Karthik On Tue, Mar 4, 2008 at 1:30 PM, buzzterrier <[EMAIL PROTECTED]> wrote: > > Thanks Wayne, > > That took care of that pom error at the start, but it still fails for to > find the CoreTools-1.0-SNAPSHOT.jar when it tries to compile

Re: Compile error, cannot find locally installed resource

2008-03-04 Thread Wayne Fay
What exactly do you want to know/do? Wayne On 3/4/08, Karthik Krishnan <[EMAIL PROTECTED]> wrote: > Hi, > > Is there a way to configure the pom creation? > > Thanks, > > Karthik > > On Tue, Mar 4, 2008 at 1:30 PM, buzzterrier <[EMAIL PROTECTED]> wrote: > > > > > Thanks Wayne, > > > > That took ca

Re: Compile error, cannot find locally installed resource

2008-03-04 Thread Karthik Krishnan
I have the module foo-util which is dependent on core module. So in my pom, I have this dependency. foo foo-core ${project.version} compile The foo-core has been compiled and packaged into a jar. I want to package the foot-util jar into a jar. I saw the post where you insta

Re: Compile error, cannot find locally installed resource

2008-03-04 Thread Martin Gainty
In the same folder as the jar you should see CoreTools-1.0-SNAPSHOT.pom M- - Original Message - From: "buzzterrier" <[EMAIL PROTECTED]> To: Sent: Tuesday, March 04, 2008 3:47 PM Subject: Compile error, cannot find locally installed resource > > Hello, > &g

Re: Compile error, cannot find locally installed resource

2008-03-04 Thread buzzterrier
Yep. It contains: 4.0.0 com.foo.core CoreTools 1.0-SNAPSHOT POM was created from install:install-file mgainty wrote: > > In the same folder as the jar you should see > CoreTools-1.0-SNAPSHOT.pom > > > - > To un

Re: Compile error, cannot find locally installed resource

2008-03-04 Thread Wayne Fay
No. Wayne On 3/4/08, Karthik Krishnan <[EMAIL PROTECTED]> wrote: > I have the module foo-util which is dependent on core module. So in my pom, > I have this dependency. > > >foo >foo-core >${project.version} >compile > > > The foo-core has been compiled and packaged into a ja