camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10250) spring boot - SpringBootStarterMojo should not use internal API
Date Wed, 17 Aug 2016 09:13:21 GMT

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

Claus Ibsen commented on CAMEL-10250:
-------------------------------------

We have a xml writer that supports indent here
https://github.com/fabric8io/fabric8-forge/blob/master/addons/utils/src/main/java/io/fabric8/forge/addon/utils/JaxbNoNamespaceWriter.java

And maybe the regular Transformer can do indent, not sure if you can control if its 2 or 4
https://github.com/fabric8io/fabric8-forge/blob/master/addons/utils/src/main/java/io/fabric8/forge/addon/utils/XmlHelper.java#L39

> spring boot - SpringBootStarterMojo should not use internal API
> ---------------------------------------------------------------
>
>                 Key: CAMEL-10250
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10250
>             Project: Camel
>          Issue Type: Task
>          Components: tooling
>            Reporter: Claus Ibsen
>             Fix For: 2.18.0
>
>
> It uses some com.sun internal API. We should use some other XML library / formatter to
output using indent.
> {code}
> [INFO] Compiling 24 source files to /Users/davsclaus/workspace/camel/tooling/maven/camel-package-maven-plugin/target/classes
> [WARNING] /Users/davsclaus/workspace/camel/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootStarterMojo.java:[47,48]
OutputFormat is internal proprietary API and may be removed in a future release
> [WARNING] /Users/davsclaus/workspace/camel/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootStarterMojo.java:[48,48]
XMLSerializer is internal proprietary API and may be removed in a future release
> [WARNING] /Users/davsclaus/workspace/camel/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootStarterMojo.java:[489,8]
OutputFormat is internal proprietary API and may be removed in a future release
> [WARNING] /Users/davsclaus/workspace/camel/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootStarterMojo.java:[489,34]
OutputFormat is internal proprietary API and may be removed in a future release
> [WARNING] /Users/davsclaus/workspace/camel/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootStarterMojo.java:[495,8]
XMLSerializer is internal proprietary API and may be removed in a future release
> [WARNING] /Users/davsclaus/workspace/camel/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SpringBootStarterMojo.java:[495,39]
XMLSerializer is internal proprietary API and may be removed in a future release
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message