Hi

You may need to upgrade your JDK, or put the JAXB 2.1 jars into the JDK endorse directory.

For JDK6, Updates 1-3, JAXB 2.0 is used by default, Updates 4+ JAXB 2.1 is used.
In Camel 1.4-snapshot ,we are using JAXB 2.1.
If you are using JDK 1.5 , we may not meet this problem, since JAXB only 
shipped with JDK 1.6 or up.

Willem


Vadim Chekan wrote:
I'm having problems with comiling camel/trunk too.
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b06)
Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode, sharing)

[INFO] [bundle:bundle]
[WARNING] Warning building bundle
org.apache.camel:camel-csv:bundle:1.4-SNAPSHOT : Did not find matching
referal for !ja
vax.xml.bind.annotation.adapters
[INFO] [install:install]
[INFO] Installing
C:\Projects\Experimental\Camel\trunk\components\camel-csv\target\camel-csv-1.4-SNAPSHOT.jar
to C:\Docu
ments and 
Settings\vchekan\.m2\repository\org\apache\camel\camel-csv\1.4-SNAPSHOT\camel-csv-1.4-SNAPSHOT.jar
[INFO] [bundle:install]
[INFO] Parsing 
file:/C:/Documents%20and%20Settings/vchekan/.m2/repository/repository.xml
[INFO] Installing
org/apache/camel/camel-csv/1.4-SNAPSHOT/camel-csv-1.4-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO] ------------------------------------------------------------------------
[INFO] Building Camel :: CXF
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [cxf-codegen:wsdl2java {execution: generate-test-sources}]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------

On Mon, Jul 7, 2008 at 10:38 AM, Christian Schneider
<[EMAIL PROTECTED]> wrote:
Hmm ... but when I only have the binary distribution there is no parent pom.
Any idea how we can change this? Does it make sense to ditribute the parent
pom in the binary distributrion or is there a better way to solve the
problem?

However this can be solved I think the examples should work using maven
without compiling from source.

Greetings

Christian

Willem Jiang schrieb:
FYI the below snapshot repository is in the camel-parent pom.xml for a
long time :)

Willem

Christian Schneider wrote:
Could this repository simply be added to the normal pom? Then people who
try the snapshot would have no problems with this.
On the other hand the repository entry could be removed for release
builds.

Greetings

Christian

Claus Ibsen schrieb:
Hi

Yes it does take time to do a clean rebuild ;) And you need to increase
the memory settings on Maven to let it be able to compile it all.

The snapshorts is deployed on a public maven server
http://activemq.apache.org/camel/download.html

Apache snapshots
http://people.apache.org/repo/m2-snapshot-repository


http://people.apache.org/repo/m2-snapshot-repository/org/apache/camel/apache-camel/

So you can add the apache m2 snapshot in your pom.xml and you are off to
go.

   <repository>
     <id>apache.snapshots</id>
     <name>Apache Development Snapshot Repository</name>
     <url>http://people.apache.org/repo/m2-snapshot-repository</url>
     <releases>
       <enabled>false</enabled>
     </releases>
     <snapshots>
       <enabled>true</enabled>
     </snapshots>
   </repository>






Reply via email to