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
Non-ics account for Nexus proxy repository
-
- New Member
- Posts: 28
- Joined: Mon Jan 07, 2013 12:42 pm
-
- New Member
- Posts: 28
- Joined: Mon Jan 07, 2013 12:42 pm
Re: Non-ics account for Nexus proxy repository
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?
Anyone know of a way to bypass access to nexus? Or is this required with LDSTech stack?
-
- New Member
- Posts: 28
- Joined: Mon Jan 07, 2013 12:42 pm
Re: Non-ics account for Nexus proxy repository
By the way I do select Private for the Maven reposity location in the StackStarter.
-
- New Member
- Posts: 28
- Joined: Mon Jan 07, 2013 12:42 pm
Re: Non-ics account for Nexus proxy repository
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/group ... -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?
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/group ... -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?
-
- Member
- Posts: 101
- Joined: Mon Mar 29, 2010 3:11 pm
- Location: Utah, USA
Re: Non-ics account for Nexus proxy repository
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
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
-
- New Member
- Posts: 28
- Joined: Mon Jan 07, 2013 12:42 pm
Re: Non-ics account for Nexus proxy repository
Thanks Mike.
Yes, I was thinking that deploy put it into tomcat to run.
Yes, I was thinking that deploy put it into tomcat to run.