Uploaded image for project: 'PhotArk'
  1. PhotArk
  2. PHOTARK-79

core JAX-WS API not present in JDK 1.5

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • PhotArk M4
    • PhotArk M4
    • Build Infrastructure
    • JDK 1.5

    Description

      On the PhotArk Developer Guide, it is said that the required version of the JDK is at least 1.5. But in this case, the photark-flickr component cannot compile as the class javax.xml.ws.http.HTTPException, that is part of the JAX-WS API, is not included in the Java 5 API.

      The dependency to the JAX-WS API should be added in the POM within a profile automatically triggered when the JDK's version is 1.5, as following:

      <profiles>
      <profile>
      <id>jdk15</id>
      <activation>
      <jdk>1.5</jdk>
      </activation>
      <dependencies>
      <dependency>
      <groupId>javax.xml.ws</groupId>
      <artifactId>jaxws-api</artifactId>
      <version>2.2.8</version>
      </dependency>
      </dependencies>
      </profile>
      </profiles>

      OR the required JDK's version should be 6.0 at least...

      Attachments

        1. compile-error.txt
          2 kB
          Pascal GILLET
        2. photark-flickr-pom.patch
          0.6 kB
          Pascal GILLET

        Activity

          People

            Unassigned Unassigned
            pgillet Pascal GILLET
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: