• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problem with maven build
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with maven build


  • Subject: Problem with maven build
  • From: "Markus Stoll, junidas GmbH via Webobjects-dev" <email@hidden>
  • Date: Wed, 13 Jul 2022 10:52:58 +0200

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Problem with maven build
      • From: "Markus Stoll, junidas GmbH via Webobjects-dev" <email@hidden>
  • Prev by Date: Re: Can't enable mod_webobjects logging
  • Next by Date: Re: Problem with maven build
  • Previous by thread: Re: Can't enable mod_webobjects logging
  • Next by thread: Re: Problem with maven build
  • Index(es):
    • Date
    • Thread