tuscany-maven-wsdl2java or wsdl2java doesn't define a plugin repo for java.net
------------------------------------------------------------------------------

                 Key: TUSCANY-1761
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1761
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Tools
    Affects Versions: Java-SCA-1.0
            Reporter: Raymond Feng
             Fix For: Java-SCA-Next


I see this from a top-down build. The tuscany-wsdl2java module defines the 
java.net repo as a runtime repo but not a plugin repo. In this case, the 
reference is from a plugin and it will fail.

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) com.sun.xml.bind:jaxb-xjc:jar:2.1.4

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=com.sun.xml.bind -DartifactId=jaxb-xjc
\
          -Dversion=2.1.4 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
    mvn deploy:deploy-file -DgroupId=com.sun.xml.bind -DartifactId=jaxb-xjc \
          -Dversion=2.1.4 -Dpackaging=jar -Dfile=/path/to/file \
           -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.apache.tuscany.sca:tuscany-maven-wsdl2java:maven-plugin:1.0-incub
ating
        2) org.apache.tuscany.sca:tuscany-wsdl2java:jar:1.0-incubating
        3) com.sun.xml.bind:jaxb-xjc:jar:2.1.4

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to