[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jibx-devs
Subject:    [jibx-devs] [jira] Assigned: (JIBX-451) Property name
From:       "Don Corley (JIRA)" <jira () codehaus ! org>
Date:       2011-09-11 5:07:32
Message-ID: 22967769.14784.1315717652103.JavaMail.haus-jira () codehaus01 ! managed ! contegix ! com
[Download RAW message or body]


     [ https://jira.codehaus.org/browse/JIBX-451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Don Corley reassigned JIBX-451:
-------------------------------

    Assignee: Don Corley

> Property name <schemaBindingDirectory> has to be <bindingDirectory> for bind goal.
> ----------------------------------------------------------------------------------
> 
> Key: JIBX-451
> URL: https://jira.codehaus.org/browse/JIBX-451
> Project: JiBX
> Issue Type: Bug
> Components: maven plugin
> Affects Versions: JiBX 1.2.3
> Reporter: Klaus Claszen
> Assignee: Don Corley
> Priority: Minor
> 
> I tried to run the bind goal with the \
> [documented|http://jibx.sourceforge.net/maven-jibx-plugin/bind-mojo.html#schemaBindingDirectory] \
> configuration property *<schemaBindingDirectory>* (which replaces the deprecated \
> *<directory>* property) like this: {code}
> <plugin>
> 	<groupId>org.jibx</groupId>
> 	<artifactId>maven-jibx-plugin</artifactId>
> 	<version>1.2.3</version>
> 	<executions>
> 		<execution>
> 			<id>generate-java-code-from-schema</id>
> 			<phase>generate-sources</phase>
> 			<goals>
> 				<goal>schema-codegen</goal>
> 			</goals>
> 			<configuration>
> 				<schemaDirectory>src/main/resources</schemaDirectory>
> 				<includeSchemas>
> 					<includeSchema>foobar.xsd</includeSchema>
> 				</includeSchemas>
> 				<verbose>true</verbose>
> 				<targetDirectory>target/generated-jibx-sources</targetDirectory>
> 			</configuration>
> 		</execution>
> 		<execution>
> 			<id>compile-binding</id>
> 			<phase>process-classes</phase>
> 			<goals>
> 				<goal>bind</goal>
> 			</goals>
> 			<configuration>
> 				<schemaBindingDirectory>target/generated-jibx-sources</schemaBindingDirectory>
> 				<includeSchemaBindings>
> 					<includeSchemaBinding>binding.xml</includeSchemaBinding>
> 				</includeSchemaBindings>
> 				<load>true</load>
> 				<validate>true</validate>
> 				<verify>true</verify>
> 			</configuration>
> 		</execution>
> 	</executions>
> </plugin>
> {code}
> This did not work. A look at the maven debug configuration output shows, that the \
> expected property name is *<bindingDirectory>*. {noformat}
> [DEBUG] -----------------------------------------------------------------------
> [DEBUG] Goal:          org.jibx:maven-jibx-plugin:1.2.3:bind (compile-binding)
> [DEBUG] Style:         Regular
> [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
> <configuration>
> <bindingDirectory default-value="src/main/config">${bindingDirectory}</bindingDirectory>
>  <directory default-value="src/main/config">${directory}</directory>
> <excludeSchemaBindings>${excludeSchemaBindings}</excludeSchemaBindings>
> <excludes>${excludes}</excludes>
> <includeBaseBindings>${includeBaseBindings}</includeBaseBindings>
> <includeSchemaBindings>
> <includeSchemaBinding>binding.xml</includeSchemaBinding>${includeSchemaBindings}</includeSchemaBindings>
>  <includes>${includes}</includes>
> <load default-value="false">true</load>
> <modules>${modules}</modules>
> <multimodule default-value="false">${multi-module}</multimodule>
> <project>${project}</project>
> <validate default-value="true">true</validate>
> <verbose default-value="false">${verbose}</verbose>
> <verify default-value="false">true</verify>
> </configuration>
> [DEBUG] -----------------------------------------------------------------------
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic