CynanX commented on issue #1615:
URL: https://github.com/apache/camel-quarkus/issues/1615#issuecomment-1100693491
I'm currently using Quarkus 2.7.5.Final and building on GraalVM 21.3.1 Java
17 CE (Java Version 17.0.2+8-jvmci-21.3-b09).
The relevant sections of my pom are:
```
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-xslt-saxon</artifactId>
<exclusions>
<exclusion>
<groupId>net.sf.saxon</groupId>
<artifactId>Saxon-HE</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>saxon-pe</artifactId>
<version>11.3</version>
</dependency>
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<version>1.6.2</version>
</dependency>
```
Here's is my `resource-config.json` file:
```
{
"resources": {
"includes": [
{
"pattern": "\\Qsaxon-license.lic\\E"
}
]
}
}
```
And finally here is my `reflect-config.json` file:
```
[
{
"name": "com.saxonica.config.ProfessionalConfiguration",
"methods": [
{
"name": "<init>",
"parameterTypes": []
}
]
},
{
"name": "com.saxonica.functions.extfn.Parse",
"methods": [
{
"name": "<init>",
"parameterTypes": []
}
]
},
{
"name": "net.sf.saxon.functions.StringJoin",
"methods": [
{
"name": "<init>",
"parameterTypes": []
}
]
},
{
"name": "net.sf.saxon.functions.String_1",
"methods": [
{
"name": "<init>",
"parameterTypes": []
}
]
},
{
"name": "net.sf.saxon.functions.Tokenize_1",
"methods": [
{
"name": "<init>",
"parameterTypes": []
}
]
},
{
"name": "org.apache.camel.component.xslt.XsltBuilder",
"allDeclaredFields": true,
"queryAllDeclaredMethods": true
},
{
"name": "org.apache.camel.component.xslt.XsltComponent"
},
{
"name": "org.apache.camel.component.xslt.XsltComponentConfigurer"
},
{
"name": "org.apache.camel.component.xslt.XsltEndpointConfigurer"
},
{
"name": "org.apache.camel.component.xslt.XsltEndpointUriFactory"
},
{
"name": "org.apache.camel.component.xslt.saxon.XsltSaxonBuilder",
"allDeclaredFields": true,
"allDeclaredClasses": true,
"queryAllDeclaredMethods": true,
"methods": [
{
"name": "<init>",
"parameterTypes": []
}
]
},
{
"name": "org.apache.camel.component.xslt.saxon.XsltSaxonComponent"
},
{
"name":
"org.apache.camel.component.xslt.saxon.XsltSaxonComponentConfigurer",
"methods": [
{
"name": "<init>",
"parameterTypes": []
}
]
},
{
"name":
"org.apache.camel.component.xslt.saxon.XsltSaxonEndpointConfigurer",
"methods": [
{
"name": "<init>",
"parameterTypes": []
}
]
},
{
"name":
"org.apache.camel.component.xslt.saxon.XsltSaxonEndpointUriFactory"
},
{
"name": "org.xmlresolver.loaders.XmlLoader",
"methods": [
{
"name": "<init>",
"parameterTypes": [
"org.xmlresolver.ResolverConfiguration"
]
}
]
},
{
"name": "org.xmlresolver.logging.DefaultLogger",
"methods": [
{
"name": "<init>",
"parameterTypes": [
"org.xmlresolver.ResolverConfiguration"
]
}
]
}
]
```
Note. There are several more Saxon functions not in the file above but will
be required it they are utilised by your XSLT files.
I saw a thread on StackOverFlow not long ago where by @michaelhkay mentioned
they were looking at producing a native friendly version of Saxon, so he may be
willing to assist here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]