I added the below dependencies in the pom.xml file:
<dependency> <groupId>org.tuckey</groupId> <artifactId>urlrewritefilter</artifactId> <version>4.0.4</version> </dependency>
I have many maven dependencies, but when I add one above, I get:
Failed to read artifact descriptor for org.tuckey:urlrewritefilter:jar:4.0.4: Could not transfer artifact org.tuckey:urlrewritefilter:pom:4.0.4 from/to central (http://app1.stage.server.net/artifactory/libs-release): Not authorized, ReasonPhrase:Unauthorized. -> [Help 1] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
This is what the settings.xml file looks like:
.. <servers> <server> <username>user</username> <id>central</id> <password>my-password</password> </server> <server> <username>user</username> <id>snapshots</id> <password>my-password</password> </server> </servers> <profiles> ... </profiles> <activeProfiles> <activeProfile>artifactory</activeProfile> </activeProfiles> ..
any help? Hh
java maven
tokhi
source share