highsource / highsource/jaxb-tools

BindingIncludes doesn't appear to support classpath: or maven: resolvers

Open
#650 8 comments 0 reactions 0 assignees View on GitHub
maven-plugin question
Dominant language
Java
Stars
465
Forks
105
PR merge metrics
No merged PRs in 30d

Description

I spent a long time attempting to resolve a bindings file from another project via classpath: and maven: resolver syntax in the but was not successful. I ensured I had the dependent project listed as both a project and plugin dependency, and I confirmed that the xjb file was where I expected it in the dependent jar. Is this simply not supported or am I doing something wrong?

As a brief summary, this is what I tried:

1. Project groupA:artifactA has datetime.xjb in src/main/resources which puts it in the root of the jar
2. Project groupA:artifactB has the following pom configuration:
```html


groupA
groupB
1




org.jvnet.jaxb
jaxb-maven-plugin
4.0.10


schema.xsd


maven:groupA:groupB!/datetime.xjb




groupA
groupB
1





```

Similarly, I tried ```classpath:datetime.xjb``` to no avail.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.