I'm trying to maven build xfire-jibx from svn with tests and without
it, BUILD FAILURE in both

D:\WSRP\XFire\XFire-svn\xfire-jibx>mvn clean install -Dmaven.test.skip=true
[INFO] Scanning for projects...
WAGON_VERSION: 1.0-beta-2
[INFO] 
----------------------------------------------------------------------------
[INFO] Building XFire JiBX Support
[INFO]    task-segment: [clean, install]
[INFO] 
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory D:\WSRP\XFire\XFire-svn\xfire-jibx\target
[INFO] Deleting directory D:\WSRP\XFire\XFire-svn\xfire-jibx\target\classes
[INFO] Deleting directory D:\WSRP\XFire\XFire-svn\xfire-jibx\target\test-classes
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://repo1.maven.org/maven2/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.pom
Downloading: http://jibx.sf.net/maven/wsdl4j/poms/wsdl4j-1.6.2.pom
Downloading: http://dist.codehaus.org//wsdl4j/poms/wsdl4j-1.6.2.pom
Downloading: 
http://people.apache.org/maven-snapshot-repository//wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.pom
Downloading: http://repo1.maven.org/maven2/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.pom
Downloading: 
http://repo1.maven.org/maven2/jibx/jibx-run/1.1.3/jibx-run-1.1.3.pom
Downloading: http://jibx.sf.net/maven/jibx/poms/jibx-run-1.1.3.pom
Downloading: http://dist.codehaus.org//jibx/poms/jibx-run-1.1.3.pom
Downloading: 
http://people.apache.org/maven-snapshot-repository//jibx/jibx-run/1.1.3/jibx-run-1.1.3.pom
Downloading: 
http://repo1.maven.org/maven2/jibx/jibx-run/1.1.3/jibx-run-1.1.3.pom
Downloading: 
http://repo1.maven.org/maven2/jibx/jibx-bind/1.1.3/jibx-bind-1.1.3.pom
Downloading: http://jibx.sf.net/maven/jibx/poms/jibx-bind-1.1.3.pom
Downloading: http://dist.codehaus.org//jibx/poms/jibx-bind-1.1.3.pom
Downloading: 
http://people.apache.org/maven-snapshot-repository//jibx/jibx-bind/1.1.3/jibx-bind-1.1.3.pom
Downloading: 
http://repo1.maven.org/maven2/jibx/jibx-bind/1.1.3/jibx-bind-1.1.3.pom
Downloading: 
http://repo1.maven.org/maven2/jibx/jibx-extras/1.1.3/jibx-extras-1.1.3.pom
Downloading: http://jibx.sf.net/maven/jibx/poms/jibx-extras-1.1.3.pom
Downloading: http://dist.codehaus.org//jibx/poms/jibx-extras-1.1.3.pom
Downloading: 
http://people.apache.org/maven-snapshot-repository//jibx/jibx-extras/1.1.3/jibx-extras-1.1.3.pom
Downloading: 
http://repo1.maven.org/maven2/jibx/jibx-extras/1.1.3/jibx-extras-1.1.3.pom
[INFO] [compiler:compile]
Compiling 5 source files to D:\WSRP\XFire\XFire-svn\xfire-jibx\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Not compiling test sources
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
    [echo] Running Jibx Ant task
    [jibx] Using the following paths:
    [jibx]   D:\WSRP\XFire\XFire-svn\xfire-jibx\target\test-classes
    [jibx] Using the following binding paths:
    [jibx]   D:\WSRP\XFire\XFire-svn\xfire-jibx/src/jibx/binding.xml
Running binding compiler version jibx_1_1_3
Error: Cannot find information for class
org.codehaus.xfire.jibx.Account; on mapping element at (line 3, col 3,
in xfire-jibx/src/jibx/binding.xml)
Error: Cannot find information for class
org.codehaus.xfire.jibx.AccountInfo; on mapping element at (line 8,
col 3, in xfire-jibx/src/jibx/binding.xml
)
Error running binding compiler
org.jibx.runtime.JiBXException: Binding
xfire-jibx/src/jibx/binding.xml is unusable because of validation
errors
       at org.jibx.binding.Utility.loadBinding(Utility.java:346)
       at org.jibx.binding.Utility.loadFileBinding(Utility.java:413)
       at org.jibx.binding.Compile.compile(Compile.java:296)
       at org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
       at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
       at org.apache.tools.ant.Task.perform(Task.java:364)
       at org.apache.tools.ant.Target.execute(Target.java:341)
       at 
org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:71)
       at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:72)
       at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
       at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
       at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
       at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
       at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
       at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
       at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
       at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
       at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
       at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
       at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error executing ant tasks

Embedded error: JiBXException in JiBX binding compilation
Error running binding compiler
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Mon Jul 02 15:13:43 EEST 2007
[INFO] Final Memory: 7M/17M
[INFO] ------------------------------------------------------------------------




================================================


D:\WSRP\XFire\XFire-svn\xfire-jibx>mvn clean install
[INFO] Scanning for projects...
WAGON_VERSION: 1.0-beta-2
[INFO] 
----------------------------------------------------------------------------
[INFO] Building XFire JiBX Support
[INFO]    task-segment: [clean, install]
[INFO] 
----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory D:\WSRP\XFire\XFire-svn\xfire-jibx\target
[INFO] Deleting directory D:\WSRP\XFire\XFire-svn\xfire-jibx\target\classes
[INFO] Deleting directory D:\WSRP\XFire\XFire-svn\xfire-jibx\target\test-classes
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.codehaus.xfire:xfire-aegis:1.2-SNAPSHOT: checking
for updates from maven.org
[INFO] snapshot org.codehaus.xfire:xfire-aegis:1.2-SNAPSHOT: checking
for updates from jibx.sf.net
[INFO] snapshot org.codehaus.xfire:xfire-aegis:1.2-SNAPSHOT: checking
for updates from codehaus
[INFO] snapshot org.codehaus.xfire:xfire-aegis:1.2-SNAPSHOT: checking
for updates from apache-snapshots
[INFO] snapshot org.codehaus.xfire:xfire-core:1.2-SNAPSHOT: checking
for updates from maven.org
[INFO] snapshot org.codehaus.xfire:xfire-core:1.2-SNAPSHOT: checking
for updates from jibx.sf.net
[INFO] snapshot org.codehaus.xfire:xfire-core:1.2-SNAPSHOT: checking
for updates from codehaus
[INFO] snapshot org.codehaus.xfire:xfire-core:1.2-SNAPSHOT: checking
for updates from apache-snapshots
Downloading: http://repo1.maven.org/maven2/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.pom
Downloading: http://jibx.sf.net/maven/wsdl4j/poms/wsdl4j-1.6.2.pom
Downloading: http://dist.codehaus.org//wsdl4j/poms/wsdl4j-1.6.2.pom
Downloading: 
http://people.apache.org/maven-snapshot-repository//wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.pom
Downloading: http://repo1.maven.org/maven2/wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.pom
Downloading: 
http://repo1.maven.org/maven2/jibx/jibx-run/1.1.3/jibx-run-1.1.3.pom
Downloading: http://jibx.sf.net/maven/jibx/poms/jibx-run-1.1.3.pom
Downloading: http://dist.codehaus.org//jibx/poms/jibx-run-1.1.3.pom
Downloading: 
http://people.apache.org/maven-snapshot-repository//jibx/jibx-run/1.1.3/jibx-run-1.1.3.pom
Downloading: 
http://repo1.maven.org/maven2/jibx/jibx-run/1.1.3/jibx-run-1.1.3.pom
Downloading: 
http://repo1.maven.org/maven2/jibx/jibx-bind/1.1.3/jibx-bind-1.1.3.pom
Downloading: http://jibx.sf.net/maven/jibx/poms/jibx-bind-1.1.3.pom
Downloading: http://dist.codehaus.org//jibx/poms/jibx-bind-1.1.3.pom
Downloading: 
http://people.apache.org/maven-snapshot-repository//jibx/jibx-bind/1.1.3/jibx-bind-1.1.3.pom
Downloading: 
http://repo1.maven.org/maven2/jibx/jibx-bind/1.1.3/jibx-bind-1.1.3.pom
Downloading: 
http://repo1.maven.org/maven2/jibx/jibx-extras/1.1.3/jibx-extras-1.1.3.pom
Downloading: http://jibx.sf.net/maven/jibx/poms/jibx-extras-1.1.3.pom
Downloading: http://dist.codehaus.org//jibx/poms/jibx-extras-1.1.3.pom
Downloading: 
http://people.apache.org/maven-snapshot-repository//jibx/jibx-extras/1.1.3/jibx-extras-1.1.3.pom
Downloading: 
http://repo1.maven.org/maven2/jibx/jibx-extras/1.1.3/jibx-extras-1.1.3.pom
[INFO] [compiler:compile]
Compiling 5 source files to D:\WSRP\XFire\XFire-svn\xfire-jibx\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
Compiling 5 source files to
D:\WSRP\XFire\XFire-svn\xfire-jibx\target\test-classes
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
    [echo] Running Jibx Ant task
    [jibx] Using the following paths:
    [jibx]   D:\WSRP\XFire\XFire-svn\xfire-jibx\target\test-classes
    [jibx] Using the following binding paths:
    [jibx]   D:\WSRP\XFire\XFire-svn\xfire-jibx/src/jibx/binding.xml
Running binding compiler version jibx_1_1_3
binding xfire_jibx_src_jibx_binding:
context (mp#=2) (cv#=0) (fm#=0)
 mapping class org.codehaus.xfire.jibx.Account to element
{http://xfire.codehaus.org/jibx}:Account (#0)
  context (ns#=1) (cv#=0) (fm#=0)
   namespace http://xfire.codehaus.org/jibx
  element wrapper {http://xfire.codehaus.org/jibx}:Account
   object binding for org.codehaus.xfire.jibx.Account create class
org.codehaus.xfire.jibx.Account
    structure ordered
     element {http://xfire.codehaus.org/jibx}:accountNo from property
accountNo (java.lang.String)
 mapping class org.codehaus.xfire.jibx.AccountInfo to element
{http://xfire.codehaus.org/jibx}:AccountInfo (#1)
  context (ns#=1) (cv#=0) (fm#=0)
   namespace http://xfire.codehaus.org/jibx
  element wrapper {http://xfire.codehaus.org/jibx}:AccountInfo
   object binding for org.codehaus.xfire.jibx.AccountInfo create
class org.codehaus.xfire.jibx.AccountInfo
    structure ordered
     element {http://xfire.codehaus.org/jibx}:amount from property amount (int)
Generating code for mapping org.codehaus.xfire.jibx.Account
Generating code for mapping org.codehaus.xfire.jibx.AccountInfo
After linking view of binding xfire_jibx_src_jibx_binding:
binding xfire_jibx_src_jibx_binding:
context (mp#=2) (cv#=0) (fm#=0)
 mapping class org.codehaus.xfire.jibx.Account to element
{http://xfire.codehaus.org/jibx}:Account (#0)
  context (ns#=1) (cv#=0) (fm#=0)
   namespace http://xfire.codehaus.org/jibx
  element wrapper {http://xfire.codehaus.org/jibx}:Account
   object binding for org.codehaus.xfire.jibx.Account create class
org.codehaus.xfire.jibx.Account
    structure ordered
     element {http://xfire.codehaus.org/jibx}:accountNo from property
accountNo (java.lang.String)
 mapping class org.codehaus.xfire.jibx.AccountInfo to element
{http://xfire.codehaus.org/jibx}:AccountInfo (#1)
  context (ns#=1) (cv#=0) (fm#=0)
   namespace http://xfire.codehaus.org/jibx
  element wrapper {http://xfire.codehaus.org/jibx}:AccountInfo
   object binding for org.codehaus.xfire.jibx.AccountInfo create
class org.codehaus.xfire.jibx.AccountInfo
    structure ordered
     element {http://xfire.codehaus.org/jibx}:amount from property amount (int)

Wrote 39 files

org.codehaus.xfire.jibx.Account output file size is 2791 bytes

org.codehaus.xfire.jibx.AccountInfo output file size is 2910 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingAccount_access
output file size is 2224 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingAccount_access
output file size is 2224 bytes

org.codehaus.xfire.jibx.Account output file size is 2791 bytes

org.codehaus.xfire.jibx.Account output file size is 2791 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingAccount_access
output file size is 2224 bytes

org.codehaus.xfire.jibx.Account output file size is 2791 bytes

org.codehaus.xfire.jibx.Account output file size is 2791 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingAccount_access
output file size is 2224 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingAccount_access
output file size is 2224 bytes

org.codehaus.xfire.jibx.Account output file size is 2791 bytes

org.codehaus.xfire.jibx.Account output file size is 2791 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingAccount_access
output file size is 2224 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingAccountInfo_access
output file size is 2244 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingAccountInfo_access
output file size is 2244 bytes

org.codehaus.xfire.jibx.AccountInfo output file size is 2910 bytes

org.codehaus.xfire.jibx.AccountInfo output file size is 2910 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingAccountInfo_access
output file size is 2244 bytes

org.codehaus.xfire.jibx.AccountInfo output file size is 2910 bytes

org.codehaus.xfire.jibx.AccountInfo output file size is 2910 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingAccountInfo_access
output file size is 2244 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingAccountInfo_access
output file size is 2244 bytes

org.codehaus.xfire.jibx.AccountInfo output file size is 2910 bytes

org.codehaus.xfire.jibx.AccountInfo output file size is 2910 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingAccountInfo_access
output file size is 2244 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingFactory
output file size is 2667 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingFactory
output file size is 2667 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingFactory
output file size is 2667 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingFactory
output file size is 2667 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingFactory
output file size is 2667 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingFactory
output file size is 2667 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingFactory
output file size is 2667 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingFactory
output file size is 2667 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingFactory
output file size is 2667 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingFactory
output file size is 2667 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingFactory
output file size is 2667 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingFactory
output file size is 2667 bytes

org.codehaus.xfire.jibx.JiBX_xfire_jibx_src_jibx_bindingFactory
output file size is 2667 bytes

Kept 0 files unchanged:

Deleted 0 files:
[INFO] Executed tasks
[INFO] [surefire:test]
[INFO] Setting reports dir:
D:\WSRP\XFire\XFire-svn\xfire-jibx\target/surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
ACCOUNT: [EMAIL PROTECTED] User: Dan
[surefire] Running org.codehaus.xfire.jibx.JibxBindingTest
[surefire] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1,25
sec <<<<<<<< FAILURE !!

Results :
[surefire] Tests run: 1, Failures: 0, Errors: 1

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] There are some test failure.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25 seconds
[INFO] Finished at: Mon Jul 02 15:11:50 EEST 2007
[INFO] Final Memory: 8M/17M
[INFO] ------------------------------------------------------------------------

Environment:
Maven version: 2.0.7
Java version: 1.5.0_06
OS name: "windows xp" version: "5.1" arch: "x86"

Why it hapens?

Regards,
Alexey

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to