You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Anders Hammar <an...@hammar.net> on 2011/01/20 09:02:54 UTC

Re: Query re: Maven Repository

This type of question should be addressed to the Maven user list. I've
forwarded it to there, where this thread should continue.

The answer that some things are missing in central is due to licensing. For
example, the oracle jdbc jar. They can't be added to central.
The solution is to install a repository manager (Nexus for instance) and add
these missing artifacts there.

/Anders

On Wed, Jan 19, 2011 at 23:38, Beppe Sabatini <
Beppe.Sabatini@trilliantinc.com> wrote:

> Hi, we’re maven newbies and we’re hoping you can help us with a question
> regarding the maven repository. Or if you can’t help us, perhaps you can
> direct us to the right person! When we try to compile we get these error
> messages:
>
>
>
> Unable to find resource 'opensymphony:quartz-all:pom:1.6.2' in repository
> central (http://repo1.maven.org/maven2)
>
> Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in repository
> central (http://repo1.maven.org/maven2)
>
> Unable to find resource 'com.oracle:ojdbc14:jar:10.2.0.3.0' in repository
> central (http://repo1.maven.org/maven2)
>
>
>
> . . . checking on the server we find that they’re indeed missing. Do you
> have any idea how they could suddenly go missing, and what we might do to
> replace them or ask the owner to replace them?  Thanks in advance for any
> help you can provide.
>
>
>
> Beppe Sabatini
> Principal Software Engineer
> Trilliant
> Phone: +1.650.204.5094
> beppe.sabatini@trilliantinc.com
>
> www.trilliantinc.com
>
>
>
>
>

Re: Query re: Maven Repository

Posted by Wayne Fay <wa...@gmail.com>.
>> Unable to find resource 'opensymphony:quartz-all:pom:1.6.2' in repository
>> central (http://repo1.maven.org/maven2)

Ask the OpenSymphony folks about this one.

>> Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in repository
>> central (http://repo1.maven.org/maven2)

http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html

>> Unable to find resource 'com.oracle:ojdbc14:jar:10.2.0.3.0' in repository
>> central (http://repo1.maven.org/maven2)

Oracle has never posted their ojdbc artifact in any repo that I'm
aware of, probably for similar reasons to the Sun JTA jar above
(licensing).

>> . . . checking on the server we find that they’re indeed missing. Do you
>> have any idea how they could suddenly go missing, and what we might do to
>> replace them or ask the owner to replace them?  Thanks in advance for any

As Anders stated previously, deploy your own local copy of Nexus and
manually install these artifacts in it, then all of your developers
will get the files properly etc. And get used to the fact that not
every jar you ever need/want to use as a dependency is going to be
available in a Maven repo.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org