cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: CXF Build is Broken
Date Thu, 27 Mar 2008 14:49:39 GMT

Ick...   The servicemix 3.1.2 pom is problematic/broken and will cause 
failures if ibiblio is down.  They redefine "central" to point to 
ibiblio.   It's fixed in servicemix 3.2.1.   I'll update cxf 2.0.6/2.1 
to use the newer version of servicemix, but that won't really help for 
the previous tags.

Couple of options:
1) In your ~/.m2/settings.xml, define a "mirror" for central that points 
back to central.
<mirrors>
    <mirror>
        <id>central-mirror</id>
        <name>Local proxy of http://repo1.maven.org/maven2/</name>
        <url>http://repo1.maven.org/maven2/</url>
        <mirrorOf>central</mirrorOf>
    </mirror>
</mirrors>

2) Run the build with -Dservicemix.version=3.2.1 to have it build it with 
the newer service mix.   

This really sucks.  Not much we can do about it either. 

Dan


On Thursday 27 March 2008, Thomas Diesler wrote:
> Hi Daniel,
>
> could you please have a look at
>
> Cannot build 2.0.4 JBI Integration
> https://issues.apache.org/jira/browse/CXF-1493
>
> A can reproduce what Richard is seeing. Originally I thought it had
> todo with missing apache incubator repositories. However when
> following
>
> http://cwiki.apache.org/CXF20DOC/maven-integration-and-plugin.html
>
> I get what it seems the correct list of repositories
>
> from the specified remote repositories:
>    central (http://repo1.maven.org/maven2),
>    java.net (http://download.java.net/maven/1/),
>    apache-incubating
> (http://people.apache.org/repo/m2-incubating-repository)
>
>
> cheers
> -thomas
>
> Daniel Kulp wrote:
> > I'm not sure what to suggest.  Those jars definitely exist at
> > central:
> > http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-qna
> >me_1.1_spec/1.1/
> > http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-act
> >ivation_1.0.2_spec/1.2/
> >
> > Do you have a mirror setup in your settings.xml or something that
> > could be causing a problem?
> >
> > Dan
> >
> > On Wednesday 26 March 2008, Richard Opalka wrote:
> >> Hi Folks,
> >>
> >>    I'm facing the following problem:
> >>
> >>  * I checked out
> >> http://svn.apache.org/repos/asf/incubator/cxf/tags/cxf-2.0.4-incuba
> >>tor CXF tag
> >>  * I ran mvn with clean local repository (means there's not
> >> ~/.m2/repository directory on my machine)
> >>
> >> Using this configuration the CXF build fails because some
> >> referenced dependency artifacts are not available
> >> on Apache servers. Here's the error I'm getting:
> >>
> >> * [ERROR] BUILD ERROR
> >>  [INFO]
> >> -------------------------------------------------------------------
> >>--- -- [INFO] Failed to resolve artifact.
> >>
> >>  Missing:
> >>  ----------
> >>  1) org.apache.geronimo.specs:geronimo-qname_1.1_spec:jar:1.1
> >>
> >>    Try downloading the file manually from the project website.
> >>
> >>    Then, install it using the command:
> >>        mvn install:install-file -DgroupId=org.apache.geronimo.specs
> >> -DartifactId=geronimo-qname_1.1_spec \
> >>            -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
> >>  Alternatively, if you host your own repository you can deploy the
> >> file there:       mvn deploy:deploy-file
> >> -DgroupId=org.apache.geronimo.specs
> >> -DartifactId=geronimo-qname_1.1_spec \
> >>            -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file \
> >>             -Durl=[url] -DrepositoryId=[id]
> >>
> >>    Path to dependency:
> >>      1) org.apache.cxf:cxf-rt-bindings-jbi:jar:2.0.4-incubator
> >>      2) org.apache.servicemix:servicemix-jbi:jar:3.1.2
> >>      3) org.apache.geronimo.specs:geronimo-qname_1.1_spec:jar:1.1
> >>
> >>  2)
> >> org.apache.geronimo.specs:geronimo-activation_1.0.2_spec:jar:1.2
> >>
> >>    Try downloading the file manually from the project website.
> >>
> >>    Then, install it using the command:
> >>        mvn install:install-file -DgroupId=org.apache.geronimo.specs
> >> -DartifactId=geronimo-activation_1.0.2_spec \
> >>            -Dversion=1.2 -Dpackaging=jar -Dfile=/path/to/file
> >>  Alternatively, if you host your own repository you can deploy the
> >> file there:       mvn deploy:deploy-file
> >> -DgroupId=org.apache.geronimo.specs
> >> -DartifactId=geronimo-activation_1.0.2_spec \
> >>            -Dversion=1.2 -Dpackaging=jar -Dfile=/path/to/file \
> >>             -Durl=[url] -DrepositoryId=[id]
> >>
> >>    Path to dependency:
> >>      1) org.apache.cxf:cxf-rt-bindings-jbi:jar:2.0.4-incubator
> >>      2) org.apache.servicemix:servicemix-jbi:jar:3.1.2
> >>      3)
> >> org.apache.geronimo.specs:geronimo-activation_1.0.2_spec:jar:1.2
> >>
> >>  ----------
> >>  2 required artifacts are missing.
> >>
> >>  for artifact:
> >>    org.apache.cxf:cxf-rt-bindings-jbi:jar:2.0.4-incubator
> >>
> >>  from the specified remote repositories:
> >>    central (http://repo1.maven.org/maven2)
> >> *
> >> Is there an JIRA issue associated with that problem where I could
> >> subscribe to?
> >>
> >> Richard



-- 
J. Daniel Kulp
Principal Engineer, IONA
dkulp@apache.org
http://www.dankulp.com/blog

Mime
View raw message