Git Product home page Git Product logo

jaxb-fluent-api-ext's People

jaxb-fluent-api-ext's Issues

Missing source encoding

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

Move from wagon-svn to wagon-scm

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

Create withNew methods for choices

When we have some structure like this:


 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;choice maxOccurs="unbounded">
 *         &lt;group ref="{http://www.w3.org/1999/XSL/Format}marker_List"/>
 *         &lt;group ref="{http://www.w3.org/1999/XSL/Format}block_List"/>
 *         &lt;group ref="{http://www.w3.org/1999/XSL/Format}neutral_List"/>
 *         &lt;group ref="{http://www.w3.org/1999/XSL/Format}float_List"/>
 *         &lt;group ref="{http://www.w3.org/1999/XSL/Format}footnote_List"/>
 *       &lt;/choice>
 *       &lt;attGroup ref="{http://www.w3.org/1999/XSL/Format}inheritable_properties_List"/>
 *       &lt;attribute name="flow-name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/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:

No public repository

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

Cannot use with cxf-xjc-plugin

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

Wrong version in test project

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

Cannot use with jaxb-xew-plugin

              <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

Run test project automatically

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.