HI,

I try to prepare migrating to Java 11 and for doing that I need the change the 
dependency for the wonder ERJaxWS framework.

Basically

                <dependency>
                        <groupId>javax.xml</groupId>
                        <artifactId>jaxb-impl</artifactId>
                </dependency>
                <dependency>
                    <groupId>com.sun.xml.ws</groupId>
                        <artifactId>jaxws-rt</artifactId>
                </dependency>

needs to be replaced by

                <dependency>
                    <groupId>org.glassfish.jaxb</groupId>
                    <artifactId>jaxb-runtime</artifactId>
                    <version>3.0.2</version>
                </dependency>
                <dependency>
                    <groupId>com.sun.xml.ws</groupId>
                    <artifactId>jaxws-ri</artifactId>
                    <version>3.0.2</version>
                    <type>pom</type>
                </dependency>


Everything compiles fine, BUT in the final application, I am getting one 
additional jar added

com/sun/xml/ws/jaxws-ri/3.0.2/jaxws-ri-3.0.2.jar

which is in fact the pom file of this dependency and no jar at all. As the 
jaxws-ri dependency is of type pom and has no jar of its own this is obviously 
wrong and I struggle getting this fixed (with this bad jar the application will 
obviously not start). I tried adding a scope for this dependency, but still 
this does not work out.

Any ideas?

regards
Markus


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com
  • Problem with maven build Markus Stoll, junidas GmbH via Webobjects-dev

Reply via email to