You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Aman Nanner/MxI Technologies <am...@mxi.com> on 2007/06/06 04:52:34 UTC

Maven build error - sourceSchema

I just recently started getting the following build error when trying to
build Geronimo 2.0-SNAPSHOT.  Anybody happen to know what would be wrong?

-------

     [exec] [INFO] [install:install]
     [exec] [INFO] Installing
D:\g20\g\modules\geronimo-deploy-config\target\geronimo-deploy-config-2.0-SNAPSHOT.jar
 to
D:\.m2\org\apache\geronimo\modules\geronimo-deploy-config\2.0-SNAPSHOT\geronimo-deploy-config-2.0-SNAPSHOT.jar
     [exec] [INFO]
----------------------------------------------------------------------------
     [exec] [INFO] Building Geronimo :: Service :: Builder
     [exec] [INFO]    task-segment: [clean, install]
     [exec] [INFO]
----------------------------------------------------------------------------
     [exec] [INFO] [clean:clean]
     [exec] [INFO] Deleting directory
D:\g20\g\modules\geronimo-service-builder\target
     [exec] [INFO] Deleting directory
D:\g20\g\modules\geronimo-service-builder\target\classes
     [exec] [INFO] Deleting directory
D:\g20\g\modules\geronimo-service-builder\target\test-classes
     [exec] [INFO] [enforcer:enforce {execution: default}]
     [exec] [INFO]
------------------------------------------------------------------------
     [exec] [ERROR] BUILD ERROR
     [exec] [INFO]
------------------------------------------------------------------------
     [exec] [INFO] Failed to configure plugin parameters for:
org.codehaus.mojo:xmlbeans-maven-plugin:2.0.1-SNAPSHOT

     [exec]     (found static expression:
'geronimo-module-1.2.xsd,geronimo-javabean-xmlattribute-1.0.xsd' which may
act
 as a default value).


     [exec] Cause: Cannot assign configuration entry 'sourceSchemas' to
'interface java.util.List' from 'geronimo-module
-1.2.xsd,geronimo-javabean-xmlattribute-1.0.xsd', which is of type class
java.lang.String
     [exec] [INFO]
------------------------------------------------------------------------
     [exec] [INFO] For more information, run Maven with the -e switch
     [exec] [INFO]
------------------------------------------------------------------------
     [exec] [INFO] Total time: 2 minutes 12 seconds
     [exec] [INFO] Finished at: Tue Jun 05 17:57:12 EDT 2007
     [exec] [INFO] Final Memory: 74M/132M
     [exec] [INFO]
------------------------------------------------------------------------

__________________________________________________________________________________
* This message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. Unless you are the addressee (or authorized to receive for the addressee), you may not use, copy or disclose the message or any information contained in the message. If you have received this message in error, please advise the sender by reply e-mail , and delete the message, or call (collect) 001 613 747 4698. *


Re: Maven build error - sourceSchema

Posted by David Jencks <da...@yahoo.com>.
 From prasad's build failure it looks like you might have a new  
xmlbeans-maven-plugin-2.0.1-20070605.204758-11.jar
I have xmlbeans-maven-plugin-2.0.1-20070122.162531-10.jar which works.

I haven't really looked at what changed yet.

thanks
david jencks

On Jun 5, 2007, at 7:52 PM, Aman Nanner/MxI Technologies wrote:

>
> I just recently started getting the following build error when  
> trying to
> build Geronimo 2.0-SNAPSHOT.  Anybody happen to know what would be  
> wrong?
>
> -------
>
>      [exec] [INFO] [install:install]
>      [exec] [INFO] Installing
> D:\g20\g\modules\geronimo-deploy-config\target\geronimo-deploy- 
> config-2.0-SNAPSHOT.jar
>  to
> D:\.m2\org\apache\geronimo\modules\geronimo-deploy-config\2.0- 
> SNAPSHOT\geronimo-deploy-config-2.0-SNAPSHOT.jar
>      [exec] [INFO]
> ---------------------------------------------------------------------- 
> ------
>      [exec] [INFO] Building Geronimo :: Service :: Builder
>      [exec] [INFO]    task-segment: [clean, install]
>      [exec] [INFO]
> ---------------------------------------------------------------------- 
> ------
>      [exec] [INFO] [clean:clean]
>      [exec] [INFO] Deleting directory
> D:\g20\g\modules\geronimo-service-builder\target
>      [exec] [INFO] Deleting directory
> D:\g20\g\modules\geronimo-service-builder\target\classes
>      [exec] [INFO] Deleting directory
> D:\g20\g\modules\geronimo-service-builder\target\test-classes
>      [exec] [INFO] [enforcer:enforce {execution: default}]
>      [exec] [INFO]
> ---------------------------------------------------------------------- 
> --
>      [exec] [ERROR] BUILD ERROR
>      [exec] [INFO]
> ---------------------------------------------------------------------- 
> --
>      [exec] [INFO] Failed to configure plugin parameters for:
> org.codehaus.mojo:xmlbeans-maven-plugin:2.0.1-SNAPSHOT
>
>      [exec]     (found static expression:
> 'geronimo-module-1.2.xsd,geronimo-javabean-xmlattribute-1.0.xsd'  
> which may
> act
>  as a default value).
>
>
>      [exec] Cause: Cannot assign configuration entry  
> 'sourceSchemas' to
> 'interface java.util.List' from 'geronimo-module
> -1.2.xsd,geronimo-javabean-xmlattribute-1.0.xsd', which is of type  
> class
> java.lang.String
>      [exec] [INFO]
> ---------------------------------------------------------------------- 
> --
>      [exec] [INFO] For more information, run Maven with the -e switch
>      [exec] [INFO]
> ---------------------------------------------------------------------- 
> --
>      [exec] [INFO] Total time: 2 minutes 12 seconds
>      [exec] [INFO] Finished at: Tue Jun 05 17:57:12 EDT 2007
>      [exec] [INFO] Final Memory: 74M/132M
>      [exec] [INFO]
> ---------------------------------------------------------------------- 
> --
>
> ______________________________________________________________________ 
> ____________
> * This message is intended only for the use of the individual or  
> entity to which it is addressed, and may contain information that  
> is privileged, confidential and exempt from disclosure under  
> applicable law. Unless you are the addressee (or authorized to  
> receive for the addressee), you may not use, copy or disclose the  
> message or any information contained in the message. If you have  
> received this message in error, please advise the sender by reply e- 
> mail , and delete the message, or call (collect) 001 613 747 4698. *
>