cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5479) Create a Maven plugin for generating WADL at build time
Date Mon, 09 Jun 2014 10:19:01 GMT

    [ https://issues.apache.org/jira/browse/CXF-5479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14021858#comment-14021858
] 

Sergey Beryozkin commented on CXF-5479:
---------------------------------------

Hi, I've done few minor updates to get more flexibility into the way a generate file is named:
if outputFileName property is set then it is used, else if applicationTitle is set then use
it, else if it is only a single resource then use its name otherwise default to "application.wadl",
the extension is also configurable via "outputFileNameExtension", can be handy to set to "xml"
if the browser can not format "wadl".

Also did a minor fix for the grammar be generated, but JAXBContext can not be create due to


"com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 445 counts of IllegalAnnotationExceptions
Two classes have the same XML type name "{http://syncope.apache.org/1.2}propagationMode".
Use @XmlType.name and @XmlType.namespace to assign different names to them.
	this problem is related to the following location:
		at org.apache.syncope.common.types.PropagationMode
		at public org.apache.syncope.common.types.PropagationMode org.apache.syncope.common.to.PropagationTaskTO.getPropagationMode()
		at org.apache.syncope.common.to.PropagationTaskTO
		at @javax.xml.bind.annotation.XmlSeeAlso(value=[class org.apache.syncope.common.to.PropagationTaskTO,
class org.apache.syncope.common.to.SchedTaskTO, class org.apache.syncope.common.to.NotificationTaskTO])
		at @javax.xml.bind.annotation.XmlSeeAlso(value=[class org.apache.syncope.common.to.AbstractTaskTO,
class org.apache.syncope.common.to.ReportTO, class org.apache.syncope.common.to.RoleTO, class
org.apache.syncope.common.to.UserTO])
		at org.apache.syncope.common.wrap.AbstractWrappable
		at org.apache.syncope.common.wrap.ResourceName
	this problem is related to the following location:
		at org.apache.syncope.common.types.PropagationMode
		at public org.apache.syncope.common.types.PropagationMode org.apache.syncope.common.to.PropagationTaskTO.getPropagationMode()
		at org.apache.syncope.common.to.PropagationTaskTO
"
Listing only oneof 445 issues here :-).

I wonder is it because CXF 3.0.1 did a JAXB upgrade and it's become more stricter ?

Cheers, Sergey

> Create a Maven plugin for generating WADL at build time
> -------------------------------------------------------
>
>                 Key: CXF-5479
>                 URL: https://issues.apache.org/jira/browse/CXF-5479
>             Project: CXF
>          Issue Type: New Feature
>          Components: JAX-RS
>            Reporter: Sergey Beryozkin
>            Assignee: Freeman Fang
>             Fix For: 3.0.0
>
>         Attachments: CXF-5479-doclet.patch, CXF-5479.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message