oodt-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mattmann, Chris A (388J)" <chris.a.mattm...@jpl.nasa.gov>
Subject Re: fresh oodt checkout doesn't build
Date Thu, 01 Dec 2011 21:51:59 GMT
Hey Ricky,


Should we process the jar dependency on jta as an exclusion? I updated the 
super pom a week or so ago while working on OODT-157, removing any dependency
on non-Central repositories (Maven Central is phasing out external repo
deps, see here [1]).

I don't think any of our stuff requires jta, so maybe we can just exclude it. Can you 
do a mvn dependency:tree to isolate where the dep is coming from?


[1] http://www.sonatype.com/people/2010/03/why-external-repos-are-being-phased-out-of-central/
On Dec 1, 2011, at 12:45 PM, Nguyen, Ricky wrote:

> Hi all,
> I'm getting this error with a fresh checkout of oodt/trunk:
> [ERROR] Failed to execute goal on project oodt-commons: Could not resolve dependencies
for project org.apache.oodt:oodt-commons:jar:0.4-SNAPSHOT: Could not find artifact javax.transaction:jta:jar:1.0.1B
in central (http://repo1.maven.org/maven2) -> [Help 1]
> Googled it. Jta is needed by the following dependencies:
> spring-hibernate3 2.0.8 -> org.hibernate 3.2.5ga -> jta 1.0.1B
> Here is the workaround:
> http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
> I've attached a patch to include the java.net maven2 repo into the oodt super pom. I'm
not sure if this patch is needed, since the jenkins build seems to be unaffected. It is strange
that my local build worked previously, but only today I ran into this problem. Any ideas what
> -Ricky
> ---------------------------------------------------------------------
> CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, 
> is for the sole use of the intended recipient(s) and may contain confidential
> or legally privileged information. Any unauthorized review, use, disclosure
> or distribution is prohibited. If you are not the intended recipient, please
> contact the sender by reply e-mail and destroy all copies of this original message. 

> ---------------------------------------------------------------------

Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA

View raw message