Artifact Deployment NEXUS

View: New views
10 Messages — Rating Filter:   Alert me  

Artifact Deployment NEXUS

by evil_one :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
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 NEXUS

by Tamás Cservenák :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The 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:

Hello,
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 http://pastebin.com/m66a14a0a

The file upload fail, but i don't know why...

Can you help me please?
--
View this message in context: http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057102.html
Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...



Re: Artifact Deployment NEXUS

by evil_one :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

thanks 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>



Tamás Cservenák wrote:
The default settings of bundled nexus requires authentication to deploy.
Please see doco here:
http://www.sonatype.com/books/nexus-book/reference/

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@yahoo.de> wrote:

>
> Hello,
> 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 http://pastebin.com/m66a14a0a
>
> The file upload fail, but i don't know why...
>
> Can you help me please?
> --
> View this message in context:
> http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057102.html
> Sent from the Nexus Maven Repository Manager Users List mailing list
> archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
> For additional commands, e-mail: nexus-user-help@sonatype.org
>
>

Re: Artifact Deployment NEXUS

by Tamás Cservenák :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Are 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:

thanks 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>




Tamás Cservenák wrote:
>
> The default settings of bundled nexus requires authentication to deploy.
> Please see doco here:
> http://www.sonatype.com/books/nexus-book/reference/
>
> 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:
>
>>
>> Hello,
>> 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 http://pastebin.com/m66a14a0a
>>
>> The file upload fail, but i don't know why...
>>
>> Can you help me please?
>> --
>> View this message in context:
>> http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057102.html
>> Sent from the Nexus Maven Repository Manager Users List mailing list
>> archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: nexus-user-unsubscribe@...
>> For additional commands, e-mail: nexus-user-help@...
>>
>>
>
>

--
View this message in context: http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057271.html
Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...



Re: Artifact Deployment NEXUS

by evil_one :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

No i am don't sure!
Where i can check this?


Tamás Cservenák wrote:
Are 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@yahoo.de> wrote:

>
> thanks 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>
>
>
>
>
> Tamás Cservenák wrote:
> >
> > The default settings of bundled nexus requires authentication to deploy.
> > Please see doco here:
> > http://www.sonatype.com/books/nexus-book/reference/
> >
> > 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@yahoo.de>
> wrote:
> >
> >>
> >> Hello,
> >> 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 http://pastebin.com/m66a14a0a
> >>
> >> The file upload fail, but i don't know why...
> >>
> >> Can you help me please?
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057102.html
> >> Sent from the Nexus Maven Repository Manager Users List mailing list
> >> archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
> >> For additional commands, e-mail: nexus-user-help@sonatype.org
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057271.html
> Sent from the Nexus Maven Repository Manager Users List mailing list
> archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
> For additional commands, e-mail: nexus-user-help@sonatype.org
>
>

Re: Artifact Deployment NEXUS

by Tamás Cservenák :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Not 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:

No i am don't sure!
Where i can check this?



Tamás Cservenák wrote:
>
> Are 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:
>
>>
>> thanks 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>
>>
>>
>>
>>
>> Tamás Cservenák wrote:
>> >
>> > The default settings of bundled nexus requires authentication to
>> deploy.
>> > Please see doco here:
>> > http://www.sonatype.com/books/nexus-book/reference/
>> >
>> > 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:
>> >
>> >>
>> >> Hello,
>> >> 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 http://pastebin.com/m66a14a0a
>> >>
>> >> The file upload fail, but i don't know why...
>> >>
>> >> Can you help me please?
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057102.html
>> >> Sent from the Nexus Maven Repository Manager Users List mailing list
>> >> archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: nexus-user-unsubscribe@...
>> >> For additional commands, e-mail: nexus-user-help@...
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057271.html
>> Sent from the Nexus Maven Repository Manager Users List mailing list
>> archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: nexus-user-unsubscribe@...
>> For additional commands, e-mail: nexus-user-help@...
>>
>>
>
>

--
View this message in context: http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057390.html
Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...



Re: Artifact Deployment NEXUS

by evil_one :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

My 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


Tamás Cservenák wrote:
Not 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@yahoo.de> wrote:

>
> No i am don't sure!
> Where i can check this?
>
>
>
> Tamás Cservenák wrote:
> >
> > Are 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@yahoo.de>
> wrote:
> >
> >>
> >> thanks 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>
> >>
> >>
> >>
> >>
> >> Tamás Cservenák wrote:
> >> >
> >> > The default settings of bundled nexus requires authentication to
> >> deploy.
> >> > Please see doco here:
> >> > http://www.sonatype.com/books/nexus-book/reference/
> >> >
> >> > 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@yahoo.de>
> >> wrote:
> >> >
> >> >>
> >> >> Hello,
> >> >> 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 http://pastebin.com/m66a14a0a
> >> >>
> >> >> The file upload fail, but i don't know why...
> >> >>
> >> >> Can you help me please?
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057102.html
> >> >> Sent from the Nexus Maven Repository Manager Users List mailing list
> >> >> archive at Nabble.com.
> >> >>
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
> >> >> For additional commands, e-mail: nexus-user-help@sonatype.org
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057271.html
> >> Sent from the Nexus Maven Repository Manager Users List mailing list
> >> archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
> >> For additional commands, e-mail: nexus-user-help@sonatype.org
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057390.html
> Sent from the Nexus Maven Repository Manager Users List mailing list
> archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
> For additional commands, e-mail: nexus-user-help@sonatype.org
>
>

Re: Artifact Deployment NEXUS

by Tamás Cservenák :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The 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:

My 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



Tamás Cservenák wrote:
>
> Not 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:
>
>>
>> No i am don't sure!
>> Where i can check this?
>>
>>
>>
>> Tamás Cservenák wrote:
>> >
>> > Are 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:
>> >
>> >>
>> >> thanks 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>
>> >>
>> >>
>> >>
>> >>
>> >> Tamás Cservenák wrote:
>> >> >
>> >> > The default settings of bundled nexus requires authentication to
>> >> deploy.
>> >> > Please see doco here:
>> >> > http://www.sonatype.com/books/nexus-book/reference/
>> >> >
>> >> > 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:
>> >> >
>> >> >>
>> >> >> Hello,
>> >> >> 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 http://pastebin.com/m66a14a0a
>> >> >>
>> >> >> The file upload fail, but i don't know why...
>> >> >>
>> >> >> Can you help me please?
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057102.html
>> >> >> Sent from the Nexus Maven Repository Manager Users List mailing
>> list
>> >> >> archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: nexus-user-unsubscribe@...
>> >> >> For additional commands, e-mail: nexus-user-help@...
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057271.html
>> >> Sent from the Nexus Maven Repository Manager Users List mailing list
>> >> archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: nexus-user-unsubscribe@...
>> >> For additional commands, e-mail: nexus-user-help@...
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057390.html
>> Sent from the Nexus Maven Repository Manager Users List mailing list
>> archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: nexus-user-unsubscribe@...
>> For additional commands, e-mail: nexus-user-help@...
>>
>>
>
>

--
View this message in context: http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057697.html
Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...



Re: Artifact Deployment NEXUS

by evil_one :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

SORRY!

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"


Tamás Cservenák wrote:
The 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@yahoo.de> wrote:

>
> My 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
>
>
>
> Tamás Cservenák wrote:
> >
> > Not 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@yahoo.de>
> wrote:
> >
> >>
> >> No i am don't sure!
> >> Where i can check this?
> >>
> >>
> >>
> >> Tamás Cservenák wrote:
> >> >
> >> > Are 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@yahoo.de>
> >> wrote:
> >> >
> >> >>
> >> >> thanks 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>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> Tamás Cservenák wrote:
> >> >> >
> >> >> > The default settings of bundled nexus requires authentication to
> >> >> deploy.
> >> >> > Please see doco here:
> >> >> > http://www.sonatype.com/books/nexus-book/reference/
> >> >> >
> >> >> > 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@yahoo.de
> >
> >> >> wrote:
> >> >> >
> >> >> >>
> >> >> >> Hello,
> >> >> >> 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 http://pastebin.com/m66a14a0a
> >> >> >>
> >> >> >> The file upload fail, but i don't know why...
> >> >> >>
> >> >> >> Can you help me please?
> >> >> >> --
> >> >> >> View this message in context:
> >> >> >>
> >> >>
> >>
> http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057102.html
> >> >> >> Sent from the Nexus Maven Repository Manager Users List mailing
> >> list
> >> >> >> archive at Nabble.com.
> >> >> >>
> >> >> >>
> >> >> >>
> >> ---------------------------------------------------------------------
> >> >> >> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
> >> >> >> For additional commands, e-mail: nexus-user-help@sonatype.org
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >> --
> >> >> View this message in context:
> >> >>
> >>
> http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057271.html
> >> >> Sent from the Nexus Maven Repository Manager Users List mailing list
> >> >> archive at Nabble.com.
> >> >>
> >> >>
> >> >> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
> >> >> For additional commands, e-mail: nexus-user-help@sonatype.org
> >> >>
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057390.html
> >> Sent from the Nexus Maven Repository Manager Users List mailing list
> >> archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
> >> For additional commands, e-mail: nexus-user-help@sonatype.org
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057697.html
> Sent from the Nexus Maven Repository Manager Users List mailing list
> archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: nexus-user-unsubscribe@sonatype.org
> For additional commands, e-mail: nexus-user-help@sonatype.org
>
>

Re: Artifact Deployment NEXUS

by Juven Xu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You 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:

SORRY!

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"



Tamás Cservenák wrote:
>
> The 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:
>
>>
>> My 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
>>
>>
>>
>> Tamás Cservenák wrote:
>> >
>> > Not 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:
>> >
>> >>
>> >> No i am don't sure!
>> >> Where i can check this?
>> >>
>> >>
>> >>
>> >> Tamás Cservenák wrote:
>> >> >
>> >> > Are 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:
>> >> >
>> >> >>
>> >> >> thanks 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>
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> Tamás Cservenák wrote:
>> >> >> >
>> >> >> > The default settings of bundled nexus requires authentication to
>> >> >> deploy.
>> >> >> > Please see doco here:
>> >> >> > http://www.sonatype.com/books/nexus-book/reference/
>> >> >> >
>> >> >> > 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:
>> >> >> >
>> >> >> >>
>> >> >> >> Hello,
>> >> >> >> 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 http://pastebin.com/m66a14a0a
>> >> >> >>
>> >> >> >> The file upload fail, but i don't know why...
>> >> >> >>
>> >> >> >> Can you help me please?
>> >> >> >> --
>> >> >> >> View this message in context:
>> >> >> >>
>> >> >>
>> >>
>> http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057102.html
>> >> >> >> Sent from the Nexus Maven Repository Manager Users List mailing
>> >> list
>> >> >> >> archive at Nabble.com.
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> ---------------------------------------------------------------------
>> >> >> >> To unsubscribe, e-mail: nexus-user-unsubscribe@...
>> >> >> >> For additional commands, e-mail: nexus-user-help@...
>> >> >> >>
>> >> >> >>
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057271.html
>> >> >> Sent from the Nexus Maven Repository Manager Users List mailing
>> list
>> >> >> archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail: nexus-user-unsubscribe@...
>> >> >> For additional commands, e-mail: nexus-user-help@...
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057390.html
>> >> Sent from the Nexus Maven Repository Manager Users List mailing list
>> >> archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: nexus-user-unsubscribe@...
>> >> For additional commands, e-mail: nexus-user-help@...
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26057697.html
>> Sent from the Nexus Maven Repository Manager Users List mailing list
>> archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: nexus-user-unsubscribe@...
>> For additional commands, e-mail: nexus-user-help@...
>>
>>
>
>

--
View this message in context: http://www.nabble.com/Artifact-Deployment-NEXUS-tp26057102p26058122.html
Sent from the Nexus Maven Repository Manager Users List mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: nexus-user-unsubscribe@...
For additional commands, e-mail: nexus-user-help@...




--
- juven