|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
Artifact Deployment NEXUSHello,
i want to deploy an artifact in my local Nexus maven repository. But it doesn't work :-(. I use nexus standrad installation version 1.3.6. I unzip the package. I install the service and strat the service. All works fine. I can download all dependencies i need. Now i want to deploy my first artifact to nexus. I use the command "mvn deploy" and i get the following error: http://pastebin.com/m66a14a0a The file upload fail, but i don't know why... Can you help me please? |
|
|
Re: Artifact Deployment NEXUSThe default settings of bundled nexus requires authentication to deploy.
Please see doco here:
The initial username pwd needed for deploy is "deployment" username and "deployment123" password. Obviously, you want to change these. And you have to set up these in your maven settings.xml, to make maven use them.
Thanks, ~t~
On Mon, Oct 26, 2009 at 11:10 AM, evil_one <saschakoeditz@...> wrote:
|
|
|
Re: Artifact Deployment NEXUSthanks for the fast answer,
but i have no authentication problem! Look the log... I use this deploy settings in the settings.xml . <servers> <server> <id>nexus.snapshots.upload</id> <username>deployment</username> <password>deployment123</password> </server> <server> <id>nexus.releases.upload</id> <username>deployment</username> <password>deployment123</password> </server> <server> <id>nexus.thirdparty.upload</id> <username>deployment</username> <password>deployment123</password> </server> </servers> the pom.xml <distributionManagement> <repository> <id>nexus.releases.upload</id> <name>Nexus-Repository für Releases</name> <url>http://localhost:8081/nexus/content/repositories/releases/</url> </repository> </distributionManagement>
|
|
|
Re: Artifact Deployment NEXUSAre you sure the auth is picked up? Nexus HTTP response code 401 suggests it challenges you for a username/pwd.... and maven cannot respond.
Thanks, ~t~
On Mon, Oct 26, 2009 at 11:26 AM, evil_one <saschakoeditz@...> wrote:
|
|
|
Re: Artifact Deployment NEXUSNo i am don't sure!
Where i can check this?
|
|
|
Re: Artifact Deployment NEXUSNot sure exactly, but try "mvn -X ...." and skim the huuuge debug log what is happening in there....
Where is your settings.xml? What platform you are using? ~t~
On Mon, Oct 26, 2009 at 11:36 AM, evil_one <saschakoeditz@...> wrote:
|
|
|
Re: Artifact Deployment NEXUSMy settings.xml is in my home directory. I'm working on WINXP with eclipse
Here is the long log: http://pastebin.com/dd505e0c on line 715: [DEBUG] not adding permissions to wagon connection i think this is the problem... and my settings.xml: http://pastebin.com/d44bc7ac4
|
|
|
Re: Artifact Deployment NEXUSThe settings, to be picked by Maven automatically should be in:
$HOME/.m2/settings.xml Now, the $HOME on Windows is something like (not sure, I am not on Win, writing from memory!)
C:/Documents And Settings/<USERNAME/ So, to "fix" it, you need to: a) locate your home b) locate ".m2" directory within your home, that Maven already created for you on 1st run. There is a "repository" subdir already there, holding the contents of your local repository.
c) copy the settings.xml from your home into ".m2" folder (so, it will have $HOME/.m2/settings.xml path) That's all Hope helps,
~t~ On Mon, Oct 26, 2009 at 12:02 PM, evil_one <saschakoeditz@...> wrote:
|
|
|
Re: Artifact Deployment NEXUSSORRY!
I mean the settings.xml is located in my home directory/.m2/ The settings.xml is in use, because i edit my local repostiry to "d:\mavenrepo"
|
|
|
Re: Artifact Deployment NEXUSYou can paste your settings.xml and POM, then we can check what's going wrong.
On Mon, Oct 26, 2009 at 7:34 PM, evil_one <saschakoeditz@...> wrote:
-- - juven |
| Free embeddable forum powered by Nabble | Forum Help |