Hi,
What revision is your local repo at?
jersey $ svn update
At revision 3185.
I tried with maven 2.2.1 and SE 6 on th emac and it worked fine:
jersey $ mvn -verson
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_17
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/
1.6.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.5.8" arch: "x86_64" Family: "mac"
[INFO] Building jersey-server
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory /Users/paulsandoz/Projects/jersey/trunk/
jersey/jersey-server/target
[INFO] [buildnumber:create {execution: default}]
[INFO] Storing buildNumber: 01/14/2010 04:18 PM at timestamp:
1263482314710
[INFO] [jaxb:generate {execution: default}]
[INFO] /Users/paulsandoz/Projects/jersey/trunk/jersey/jersey-server/
target/generated-sources/xjc/com/sun/research/ws/wadl is not found and
thus excluded from the dependency check
[INFO] Compiling file:/Users/paulsandoz/Projects/jersey/trunk/jersey/
jersey-server/etc/wadl.xsd and others
[INFO] Writing output to /Users/paulsandoz/Projects/jersey/trunk/
jersey/jersey-server/target/generated-sources/xjc
Paul.
On Jan 14, 2010, at 4:08 PM, cmoulliard wrote:
>
> When I try to build the jersey-server project, I get this error :
>
> D:\Dvlpt\Java\workspace\sun-jersey\jersey-source\jersey\jersey-
> server>mvn
> -version
> Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_16
> Java home: D:\Soft\Sun\jdk1.6.0_16\jre
> Default locale: fr_BE, platform encoding: Cp1252
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>
> D:\Dvlpt\Java\workspace\sun-jersey\jersey-source\jersey\jersey-
> server>mvn
> eclipse:eclipse -s "C:\Documents and Settings\Charlesm.STREAMLINED
> \.m2\setti
> ngs_local.xml" -Dtest=false -DfailIfNoTests=false
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'eclipse'.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building jersey-server
> [INFO] task-segment: [eclipse:eclipse]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Preparing eclipse:eclipse
> [INFO] [buildnumber:create {execution: default}]
> [INFO] Storing buildNumber: 01/14/2010 04:01 PM at timestamp:
> 1263481302886
> [INFO] [jaxb:generate {execution: default}]
> [INFO]
> D:\Dvlpt\Java\workspace\sun-jersey\jersey-source\jersey\jersey-server
> \target\generated-sources\xjc\com\sun\research\ws\wadl
> is not found and th
> us excluded from the dependency check
> [INFO] Compiling
> file:/D:/Dvlpt/Java/workspace/sun-jersey/jersey-source/jersey/jersey-
> server/etc/wadl.xsd
> and others
> [ERROR] [ERROR] 'lang' is already defined
> [ERROR] line 93 of
> file:/D:/Dvlpt/Java/workspace/sun-jersey/jersey-source/jersey/jersey-
> server/etc/xml.xsd
> [ERROR]
> [ERROR] [ERROR] (related to above error) the first definition
> appears here
> [ERROR] line 88 of
> file:D:/Dvlpt/Java/workspace/sun-jersey/jersey-source/jersey/jersey-
> server/etc/xml.xsd
> [ERROR]
> [ERROR] [ERROR] 'space' is already defined
> [ERROR] line 102 of
> file:/D:/Dvlpt/Java/workspace/sun-jersey/jersey-source/jersey/jersey-
> server/etc/xml.xsd
> [ERROR]
> [ERROR] [ERROR] (related to above error) the first definition
> appears here
> [ERROR] line 95 of
> file:D:/Dvlpt/Java/workspace/sun-jersey/jersey-source/jersey/jersey-
> server/etc/xml.xsd
> [ERROR]
> [ERROR] [ERROR] 'base' is already defined
> [ERROR] line 109 of
> file:/D:/Dvlpt/Java/workspace/sun-jersey/jersey-source/jersey/jersey-
> server/etc/xml.xsd
> [ERROR]
> [ERROR] [ERROR] (related to above error) the first definition
> appears here
> [ERROR] line 104 of
> file:D:/Dvlpt/Java/workspace/sun-jersey/jersey-source/jersey/jersey-
> server/etc/xml.xsd
> [ERROR]
> [ERROR] [ERROR] 'specialAttrs' is already defined
> [ERROR] line 117 of
> file:/D:/Dvlpt/Java/workspace/sun-jersey/jersey-source/jersey/jersey-
> server/etc/xml.xsd
> [ERROR]
> [ERROR] [ERROR] (related to above error) the first definition
> appears here
> [ERROR] line 111 of
> file:D:/Dvlpt/Java/workspace/sun-jersey/jersey-source/jersey/jersey-
> server/etc/xml.xsd
> [ERROR]
> [INFO] failure in the XJC task. Use the Ant -verbose switch for more
> details
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] unable to parse the schema. Error messages should have been
> provided
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> unable to parse the schema. Error messages should have been provided
> at com.sun.tools.xjc.XJC2Task._doXJC(XJC2Task.java:490)
> at com.sun.tools.xjc.XJC2Task.doXJC(XJC2Task.java:434)
> at com.sun.tools.xjc.XJC2Task.execute(XJC2Task.java:369)
>
> Regards,
>
> Charles
> --
> View this message in context: http://n2.nabble.com/Maven-building-error-of-jersey-server-tp4393127p4393127.html
> Sent from the Jersey mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>