Here U go:

[/home/opalka]>uname -a
Linux opalka-notebook 2.6.34.7-56.fc13.x86_64 #1 SMP Wed Sep 15 03:36:55 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
---
[/home/opalka]>java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.1) (fedora-42.b18.fc13-x86_64)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
---
[/home/opalka]>mvn -version
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_18
Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.34.7-56.fc13.x86_64" arch: "amd64" Family: "unix"
---
[/home/opalka]>cat ~/.mavenrc
export MAVEN_OPTS="$MAVEN_OPTS -Xmx512m -XX:MaxPermSize=256m"
---

Cheers,

Rio

On 09/30/2010 03:19 PM, Daniel Kulp wrote:
Can I ask some details?

Maven version:
Java version (full version string):
32/64 bit:
Value of MAVEN_OPTS env variable:
OS (and version):

I haven't run into this in a while.  :-(

Dan



On Thursday 30 September 2010 8:29:23 am Richard Opalka wrote:
   I'm facing this issue each time I build CXF trunk.
The trick that works for me is: build twice :D
Second build run is usually successful on my machine.

Rio

PS: I agree it's weird.

On 09/30/2010 02:10 PM, Ate Douma wrote:
On 30/09/10 13:01, Sergey Beryozkin wrote:
Hi

Ate Douma has reported the following build issues on the trunk :

[...]
/cxf-2.3.0-SNAPSHOT/api/src/main/java/org/apache/cxf/wsdl/TExtensibility
ElementImpl.java:

[31,12] cannot find symbol
symbol: class TExtensibilityElement
extends TExtensibilityElement

Shortly above this error is another suspicious error logged by
cxf-xjc:xsdtojava:
[INFO] [cxf-xjc:xsdtojava {execution: generate-sources}]
[ERROR] The declaration for the entity "ContentType" must end with '>'.
line 81 of http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd

See CXF-2997 for more details.

I've seen these build issues too, and usually I 'fix' them by
removing a cxf
tree from the local maven repo.
Has anyone seen these errors as well ?
Sergey,

I just tried your hint of removing cxf tree from local repo. But that
didn't work for me the first time either.
However, when I rebuild once more, it all of a sudden worked.
To validate this I did another clean checkout of cxf trunk, removed
cxf tree once more from local repo and build again.
Now, it worked the first time.
Weird stuff ...

One suspicious thing I noticed while also building cxf-xjc trunk
myself (as I suspected the remote snapshot repository might be
outdated) was that it showed to have a dependency on the
cxf-java2ws-plugin from cxf main (downloading it from the remote
snapshot repository).
But as cxf main itself in turn is depending on cxf-xjc, this seems to
indicate a circular dependency between the two.
If that is anywhere related to the above issue I have no idea, but
with such circular (SNAPSHOT) dependencies you can of course end up
with using an outdated version of either one of them during the build.

Regards,

Ate

thanks, Sergey


--
Richard Opalka
[email protected]
JBoss, by Red Hat

Office: +420 222 365 200
Mobile: +420 731 186 942

Reply via email to