Добавлена зависимость maven jar в сборке. xml с нижеуказанной целью.
<artifact:dependencies pathId="dependency.classpath">
<dependency groupId="org.glassfish.metro" artifactId="webservices-rt" version="2.4.3"/>
</artifact:dependencies>
Во время сборки становится ошибка ниже
[artifact:dependencies] 1) org.glassfish.metro:webservices-rt:jar:2.4.3
[artifact:dependencies]
[artifact:dependencies] Try downloading the file manually from the project website.
[artifact:dependencies]
[artifact:dependencies] Then, install it using the command:
[artifact:dependencies] mvn install:install-file -DgroupId=org.glassfish.metro -DartifactId=webservices-rt -Dversion=2.4.3 -Dpackaging=jar -Dfile=/path/to/file
[artifact:dependencies]
[artifact:dependencies] Alternatively, if you host your own repository you can deploy the file there:
[artifact:dependencies] mvn deploy:deploy-file -DgroupId=org.glassfish.metro -DartifactId=webservices-rt -Dversion=2.4.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[artifact:dependencies]
[artifact:dependencies] Path to dependency:
[artifact:dependencies] 1) org.apache.maven:super-pom:pom:2.0
[artifact:dependencies] 2) org.glassfish.metro:webservices-rt:jar:2.4.3