2 Replies Latest reply on Dec 12, 2007 10:47 AM by jsolderitsch

    maven2 - help to resolve javax.ws

    jsolderitsch

      I am trying to use maven2 with a Seam project to which I have added some web service definitions with annotations.

      I was able to build the project with maven2 before I added the new code but now the mvn command reports unresolved dependencies:

      javax.ws does not exist.

      Is there a maven dependency clause I can add to my pom to resolve this dependency?

      Thanks

        • 1. Re: maven2 - help to resolve javax.ws
          oskar.carlstedt

          Hello!

          Many of the javax... files (read jars, taglibs, ...) are under license of Sun Microsystems Inc. Therefore they are not part of the global maven repository. Make a mvn deploy:deploy-file (or install:install-file) to add the jars you want to your own repository.

          Cheers
          /Oskar

          • 2. Re: maven2 - help to resolve javax.ws
            jsolderitsch

            yes -- I mvn install'd the JBoss 2.0.2 version of JAXWS to my local machine and the mvn goal then completed.

            I guess this licensing issue is something I should have known.

            At one time didn't Sun have a maven repo that was accessible and could be added to your repository list?