Non-ics account for Nexus proxy repository

Support and Announcements for the LDS Tech Java Web Application Platform (setup, configuration, bugs, feedback).
pauldev
New Member
Posts: 28
Joined: Mon Jan 07, 2013 12:42 pm

Non-ics account for Nexus proxy repository

Postby pauldev » Tue Jan 08, 2013 2:40 pm

In you maven lab 3, you mention that we can post in the forum to get a request for access to Nexus proxy repository. (for non-ics emps)
I would like to get this access.

-Paul

pauldev
New Member
Posts: 28
Joined: Mon Jan 07, 2013 12:42 pm

Re: Non-ics account for Nexus proxy repository

Postby pauldev » Thu Jan 10, 2013 10:27 am

I am running into an issue where the StackStarter works and will deploy and bring up the canary url. But from inside of the ldstech IDE, I can only mvn install. Mvn deploy gets this error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project stack5c-nowam: Failed to deploy artifacts: Could not transfer artifact org.lds:stack5c-nowam:pom:1.0 from/to icslib-nexus (http://icslib/nexus/content/repositories/lds-repo): Access denied to http://icslib/nexus/content/repositorie ... am-1.0.pom. Error code 401, Unauthorized

Anyone know of a way to bypass access to nexus? Or is this required with LDSTech stack?

pauldev
New Member
Posts: 28
Joined: Mon Jan 07, 2013 12:42 pm

Re: Non-ics account for Nexus proxy repository

Postby pauldev » Thu Jan 10, 2013 10:48 am

By the way I do select Private for the Maven reposity location in the StackStarter.

pauldev
New Member
Posts: 28
Joined: Mon Jan 07, 2013 12:42 pm

Re: Non-ics account for Nexus proxy repository

Postby pauldev » Thu Jan 10, 2013 1:19 pm

Still working with this issue. I have deleted my ALM and QA projects which reference Nexus.
So the only place left in my whole project that access Nexus in in the parent project pom:
<repositories>
<repository>
<id>lds-main</id>
<name>LDS Main Repo</name>
<url>http://code.lds.org/nexus/content/groups/main-repo</url>
<snapshots>
<enabled>false</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
<repository>
<id>lds-contained</id>
<name>Main Contained LDS Repo</name>
<url>http://code.lds.org/nexus/content/groups/contained-repo</url>
</repository>
</repositories>

But if I remove these, lds-tech module fails.
This leads me to believe that lds-stack requires access to Nexus somehow/somewhere.
I am attaching my project in a zip file. Try unziping and importing into ldstech ide. Then do a mvn install and deploy. Deploy fails due to Nexus access failure. This is just the default settings created by StackStarter.
Anyone have any thoughts on this?

YoungstromMJ
Member
Posts: 100
Joined: Mon Mar 29, 2010 2:11 pm
Location: Utah, USA

Re: Non-ics account for Nexus proxy repository

Postby YoungstromMJ » Thu Jan 10, 2013 2:41 pm

Hi Paul,

If I'm ready your message correctly you're executing an mvn install then deploy correct? So mvn install should work. However, deploy should not work. in mvn speak "deploy" means deploying your library into our nexus repository. This is usually only useful for projects that wish to create a shared library of some sort for other projects to use.

So everyone should be able to download dependencies from our nexus server but we control more tightly who can upload new libraries to nexus.

Perhaps you are confusing mavens "deploy" verbage with "deploy" to an application server so you can run it correct? You should be able to do that in the IDE in the "servers" view after the project is imported.

If you are looking to deploy the project to some kind of hosted web server somewhere that is a different matter altogether. I would recommend looking at our "Tomcat/Tcat and ALM Module" training for more information on that.

Am I on the correct track?

Mike

pauldev
New Member
Posts: 28
Joined: Mon Jan 07, 2013 12:42 pm

Re: Non-ics account for Nexus proxy repository

Postby pauldev » Thu Jan 10, 2013 3:38 pm

Thanks Mike.
Yes, I was thinking that deploy put it into tomcat to run.


Return to “Java Web Project Support (Stack)”

Who is online

Users browsing this forum: No registered users and 1 guest