users@jaxb.java.net

Re: XJC Simple Binding and Maven

From: Nathan Sowatskey <nsowatsk_at_cisco.com>
Date: Tue, 22 Nov 2011 12:30:54 +0100

Hi Jarrod

Many thanks for this.

I expect it is very well documented somewhere, but what I constantly get when trying to access the documentation sites is:

"Bad Gateway

The proxy server received an invalid response from an upstream server."

It is perfectly reasonable to ask me to check my internet connection, and so I have, via two different providers, and by VPNing to different global locations.

The upshot is that I can't read the fine manual :-(

I already have the plugins you have shown below, my exact configuration is after my signature.

What I can't see is what turns on the simple binding. What exactly is that please?

Many thanks

Nathan
-- 
Nathan Sowatskey (nsowatsk_at_cisco.com) - Technical Leader, STG - +34-638-083-675
<build>
		<plugins>
			<plugin>
				<groupId>org.jvnet.jaxb2.maven2</groupId>
				<artifactId>maven-jaxb2-plugin</artifactId>
				<version>0.8.0</version>
				<executions>
					<execution>
						<id>xjccapabilities</id>
						<goals>
							<goal>generate</goal>
						</goals>
						<configuration>
							<args>
								<arg>-XtoString</arg>
								<arg>-Xequals</arg>
								<arg>-XhashCode</arg>
							</args>
							<plugins>
								<plugin>
									<groupId>org.jvnet.jaxb2_commons</groupId>
									<artifactId>jaxb2-basics</artifactId>
									<version>0.6.3</version>
								</plugin>
							</plugins>
							<extension>true</extension>
							<generatePackage>xxx</generatePackage>
							<schemaDirectory>src/main/xsd/xxx</schemaDirectory>
							<generateDirectory>${project.build.directory}/generated-sources/xjc/capabilities</generateDirectory>
						</configuration>
					</execution>
On 21 Nov 2011, at 19:14, Jarrod Roberson wrote:
> http://webcache.googleusercontent.com/search?q=cache:K8Vlng_PHrwJ:confluence.highsource.org/display/J2B/JAXB2%2BBasics%2BPlugins+jaxb2+basics+plugin&cd=1&hl=en&ct=clnk&gl=us
> 
> <plugin>
> 
> 	
> <groupId>org.jvnet.jaxb2.maven2</groupId>
> 
> 	
> <artifactId>maven-jaxb2-plugin</artifactId>
> 
> 	
> <version>0.7.0</version>
> 
> 	
> <executions>
> 
> 		
> <execution>
> 
> 			
> <goals>
> 
> 				
> <goal>generate</goal>
> 
> 			
> </goals>
> 
> 		
> </execution>
> 
> 	
> </executions>
> 
> 	
> <configuration>
> 
> 		
> <args>
> 
> 			
> <arg>-XtoString</arg>
> 
> 			
> <arg>-Xequals</arg>
> 
> 			
> <arg>-XhashCode</arg>
> 
> 			
> <arg>-Xcopyable</arg>
> 
> 			
> <arg>-Xmergeable</arg>
> 
> 		
> </args>
> 
> 		
> <plugins>
> 
> 			
> <plugin>
> 
> 				
> <groupId>org.jvnet.jaxb2_commons</groupId>
> 
> 				
> <artifactId>jaxb2-basics</artifactId>
> 
> 				
> <version><!-- Current version --></version>
> 
> 			
> </plugin>
> 
> 		
> </plugins>
> 
> 	
> </configuration>
> </plugin>
> 
> it is all very well documented on the web
> -- 
> Jarrod Roberson
> 678.551.2852