Tech-Today
Maven Return code is: 401, ReasonPhrase:User anonymous is not permitted to deploy
If you ever encounter the error stated about when performing maven deploy, it means you did not specify your repository's account for validation when you invoke maven deploy. Or settings.xml is not set inside your .m2 directory.
To do so follow this link:
http://czetsuya-tech.blogspot.com/2012/05/enable-maven-to-push-artifact-to.html
-
Repository Management
GITHow to invoke a Jenkins build from Assembla on GIT pushHow to initialize a git repository and linked it to a remote repository providerSVNHow to setup your google code repository to be accessible in mavenMAVENHow to push external jar into artifactory...
-
How To Setup Your Google Code Repository To Be Accessible In Maven
This tutorial will teach us how we can setup a google code project, so we can make the artifact accessible via maven. Requirements: 1.) You should have an account in google code. The trick is just simply forming the correct url to be access by maven....
-
Deploy A Javaee6 War In Tomcat7 Using Maven
Recently, I'm trying to deploy a simple web application (war) in tomcat7 but it seems the old maven way of deploying a war will not work on it. The plugin I used to use for tomcat6 is: <plugin> <groupId>org.codehaus.mojo</groupId>...
-
Deploy A J2ee Ear In Glassfish Using Maven
The ff code will explain how a j2ee ear project can be deploy by invoking a maven goal. The plugin: http://maven-glassfish-plugin.java.net/deploy-mojo.html To deploy to a glassfish server using maven, invoke (inside your ear project): mvn glassfish:deploy...
-
Could Not Resolve Dependencies For Project Com.xxxjar:-snapshot: Failed To Collect Dependencies For
I just have this weird problem using maven + artifactory. I have a project which I first build using maven-compiler 2.3.2, and maven2. It build successfully and I was able to deploy in artifatory 2.5. Eventually I've added several modules and one...
Tech-Today