[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: installing non-maven jars before compile mike digioia Tue Apr 03 19:00:30 2012

I have similar problem, except the jar gets installed in its own separate
directory from the local repository - .m2/repository/com/x/y/z/ name.jar
and name.pom, since I asked to create a pom. But this jar never gets
references in the compile since the source file that uses it has all
undefined references for the classes inside the jar, as if it never was
used. I can not add anything to my main pom.xml to include the dependency
of this new jar, since all attempts get an error message "using the wrong
pom for this project" Like it knows this dependency is not allowed for some

The new Jar I added is from my eclipse project that is to run on my android

So now I am going to attempt to rebuilt everything over again and follow
the instructions, in hopes that this will correct it.

Anyone know why this is so broken when it comes to Android porting!!

On Tue, Apr 3, 2012 at 4:15 PM, Paul Rivera <[EMAIL PROTECTED]> wrote:

> Hi Wayne,
> That's strange.
> What version of maven are you running?  I'm using 3.0.4 on windows 7.
> Best Regards,
> Paul
> On Wed, Apr 4, 2012 at 2:40 AM, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > > These jars don't get installed.  I thought that if I call "mvn
> compile",
> > > all phases before it will also get called (e.g. validate, initialize,
> > > generate-sources, process-sources, generate-resources,
> > process-resources).
> > > Why is this not happening?
> >
> > Works for me.
> >
> > I just copied and pasted your config into one of my own pom.xml files,
> > then put ojdbc6.jar in a lib subdir and ran "mvn -X compile":
> > https://gist.github.com/2293464
> >
> > Wayne
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >