mraveloarinjaka / jaxb-fluent-api-ext Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/jaxb-fluent-api-ext
Automatically exported from code.google.com/p/jaxb-fluent-api-ext
The plugin does not compile under Linux:
/home/hwellmann/tmp/jaxb-fluent-api-ext-0.0.3/src/main/java/redmosquito/xjc/plug
in/fluent/ext/FluentApiExtPlugin.java:[44,12] unmappable character for encoding
UTF8
This is caused by the French accents in the author's name :-)
Or rather, by not specifying the source encoding in the maven-compiler-plugin
configuration.
Adding
<encoding>ISO-8859-1</encoding>
solves the problem.
Original issue reported on code.google.com by [email protected]
on 20 Mar 2011 at 11:06
Using the maven-invoker-plugin, you could run your test project automatically
during the integration-test phase of the plugin project.
Original issue reported on code.google.com by [email protected]
on 20 Mar 2011 at 11:12
When we have some structure like this:
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <choice maxOccurs="unbounded">
* <group ref="{http://www.w3.org/1999/XSL/Format}marker_List"/>
* <group ref="{http://www.w3.org/1999/XSL/Format}block_List"/>
* <group ref="{http://www.w3.org/1999/XSL/Format}neutral_List"/>
* <group ref="{http://www.w3.org/1999/XSL/Format}float_List"/>
* <group ref="{http://www.w3.org/1999/XSL/Format}footnote_List"/>
* </choice>
* <attGroup ref="{http://www.w3.org/1999/XSL/Format}inheritable_properties_List"/>
* <attribute name="flow-name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
JAXB generates this structure:
@XmlElements({
@XmlElement(name = "block", type = Block.class),
@XmlElement(name = "multi-properties", type = MultiProperties.class),
@XmlElement(name = "wrapper", type = Wrapper.class),
@XmlElement(name = "retrieve-marker", type = RetrieveMarker.class),
@XmlElement(name = "footnote", type = Footnote.class),
@XmlElement(name = "marker", type = Marker.class),
@XmlElement(name = "float", type = Float.class),
@XmlElement(name = "multi-switch", type = MultiSwitch.class),
@XmlElement(name = "list-block", type = ListBlock.class),
@XmlElement(name = "table", type = Table.class),
@XmlElement(name = "block-container", type = BlockContainer.class),
@XmlElement(name = "table-and-caption", type = TableAndCaption.class)
})
protected List<Object> markerOrBlockOrBlockContainer;
I would be very very useful to have one withNew method for each choice, in
order to add new elements to markerOrBlockOrBlockContainer and hide this
List<Object> type.
Best regards,
Ricardo
Original issue reported on code.google.com by [email protected]
on 11 Jun 2011 at 4:48
Attachments:
The release repository
https://jaxb-fluent-api-ext.googlecode.com/svn/maven/release
specified in the POM does not exist.
If you decided to use the Sonatype OSS Repository, you could even push your
artifacts to Maven Central. This service is free and easy to set up.
See
https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage
+Guide for details.
Original issue reported on code.google.com by [email protected]
on 20 Mar 2011 at 11:16
<groupId>com.github.jaxb-xew-plugin</groupId>
<artifactId>jaxb-xew-plugin</artifactId>
<version>1.0</version>
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 16 Jun 2012 at 7:38
The test project version does not match the version of the plugin project
The test project version is 0.0.3-SNAPSHOT both on trunk and tags/0.0.3, so it
will compile neither on the trunk or on the release tag, unless you've locally
built a 0.0.3-SNAPSHOT version before.
Original issue reported on code.google.com by [email protected]
on 20 Mar 2011 at 11:09
is it going to notify someone?
This will allow to maintain a pristine dependency graph with ability to
override when needed.
Thanks!
Original issue reported on code.google.com by [email protected]
on 23 Sep 2010 at 6:01
Add maven extensions:
+ org.apache.maven.wagon:wagon-scm:1.0-beta-6
+ org.apache.maven.wagon:maven-scm-manager-plexus:1.2
+ org.apache.maven.wagon:maven-scm-provider-svnexe:1.2
Remove maven extensions:
+ org.jvnet.wagon-svn:wagon-svn:...
Original issue reported on code.google.com by [email protected]
on 12 Aug 2009 at 12:52
What steps will reproduce the problem?
1. Set up the maven plugin as follows:
<!-- Used to generate source code based on XSD (schema) file -->
<!-- http://cxf.apache.org/cxf-xjc-plugin.html -->
<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-xjc-plugin</artifactId>
<version>2.7.7</version>
<configuration>
<extensions>
<extension>redmosquito:jaxb-fluent-api-ext:0.0.3</extension>
</extensions>
</configuration>
<executions>
<execution>
<id>generate-xsd-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>xsdtojava</goal>
</goals>
<configuration>
<sourceRoot>${basedir}/target/generated-sources/cxf-xjc/</sourceRoot>
<xsdOptions>
<xsdOption>
<xsd>${basedir}/src/main/wsdl/your.xsd</xsd>
<packagename>com.your.package.name</packagename>
<extensionArgs>
<extensionArg>-Xfluent-api-ext</extensionArg>
</extensionArgs>
</xsdOption>
</xsdOptions>
</configuration>
</execution>
</executions>
</plugin>
What is the expected output? What do you see instead?
The expected output is for the jaxb classes to have the fluent with* methods,
but they aren't there.
What version of the product are you using? On what operating system?
v0.0.3 on maxosx
Original issue reported on code.google.com by [email protected]
on 13 Dec 2013 at 1:52
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.