Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Nexus – Deployment failed: repository element was not specified in the

scmuser created the topic: Nexus – Deployment failed: repository element was not specified in the

I am facing following error…

Downloaded: repo.maven.apache.org/maven2/org/codehau...exus-utils-1.5.6.jar (245 KB a
t 573.0 KB/sec)
[INFO]
[INFO] BUILD FAILURE
[INFO]
[INFO] Total time: 9.923 s
[INFO] Finished at: 2015-09-05T16:32:03+05:30
[INFO] Final Memory: 21M/205M
[INFO]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project my-ma
ven: Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -Dal
tDeploymentRepository=id::layout::url parameter -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] cwiki.apache.org/confluence/display/MAVE...joExecutionException
Tagged :

Nexus – Failed to deploy artifacts: Could not transfer artifact

scmuser created the topic: Nexus – Failed to deploy artifacts: Could not transfer artifact

[INFO]
[INFO] BUILD FAILURE
[INFO]
[INFO] Total time: 6.457 s
[INFO] Finished at: 2015-09-05T16:44:40+05:30
[INFO] Final Memory: 11M/165M
[INFO]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project my-maven: Failed to deploy artifacts: Could not transfer artifact com.scmgalaxy.mavensample:my-maven:jar:3.0 from/to deployment ( uvo193bnk02rz2cuv74.vm.cld.sr:8081/nexus...positories/releases/ ): Failed to transfer file: uvo193bnk02rz2cuv74.vm.cld.sr:8081/nexus...3.0/my-maven-3.0.jar . Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] cwiki.apache.org/confluence/display/MAVE...joExecutionException
Tagged :

Difference between Jfrog and Nexus

pasupuleti2 created the topic: difference between Jfrog and Nexus

What are the difference between Jfrog and Nexus?
Which Artifact is good to Jenkins, C#, .Net, C and Java technologies?

-Saritha

rajeshkumar replied the topic: difference between Jfrog and Nexus

I guess you question was difference between Nexus and Artifactory. Jfrog is the company name who developed the software called Artifactory.

Please check it out google to find the diff between Nexus n Artifcatory
www.jfrog.com/blog/artifactory-vs-nexus-integration-matrix/
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

The nexus-webapp service is not installed – The specified service does

scmuser created the topic: The nexus-webapp service is not installed – The specified service does
While installing Sonatype nexus in Windows 7, I get following error..

wrapper | The nexus-webapp service is not installed – The specified service does not exist as an installed service. (0x424)

I checked java version but no help..
C:\tools\nexus\nexus-2.7.0-04\bin>java -version
java version “1.7.0_45”
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

Some Solution on Net but no help
This happens when you run with JDK7 and is a problem with the XStream
version in Nexus. This has been fixed in XStream itself, so you can
donwload xstream-1.4.x and replace the xstream, xmlpull and xpp3 jars with
the newer versions.
You should only run Nexus on JDK7 if you have at least 7u1 or higher,
otherwise Lucene may cause fireworks.

Nexus Prerequisites

Nexus Open Source and Nexus Professional only have one prerequisite, a Java Runtime Environment (JRE) compatible with Java 7. Nexus is most often run with the JRE that is bundled with a Java Development Kit (JDK) installation, and it can be run with Oracle’s JDK for Java 7. To download the Oracle JDK, go to www.oracle.com/technetwork/java/javase/downloads/index.html . At a minium Java 7u2 is required, but we recommend tha latest available version.

Any Solution for this problem?

scmuser replied the topic: The nexus-webapp service is not installed – The specified service does
Solution:

I was stratting the nexus using ..
C:\tools\nexus\nexus-2.7.0-04\bin\nexus.bat start
But i should be using as below;

Change the wrapper.startup.timeout in C:\tools\nexus\nexus-2.7.0-04\bin\jsw\conf\wrapper.prop
# How much to wait for application to start up (increase on slower machines if needed)
wrapper.startup.timeout=30

Install Nexus…
C:\tools\nexus\nexus-2.7.0-04\bin\jsw\windows-x86-64\install-nexus.bat

Start Nexus
C:\tools\nexus\nexus-2.7.0-04\bin\nexus.bat

Run nexus
http://localhost:8081/nexus
or
http://hostname:8081/nexus

scmuser replied the topic: The nexus-webapp service is not installed – The specified service does
Start Nexus
C:\tools\nexus\nexus-2.7.0-04\bin\nexus.bat start

and default user id n password is – admin / admin123

Tagged :

Resolution will not be Reattempted until the update interval of nexus

scmuser created the topic: resolution will not be reattempted until the update interval of nexus
was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced

[WARNING] The POM for jwnl:jwnl:jar:1.3.3 is missing, no dependency information available
[INFO]
[INFO] BUILD FAILURE
[INFO]
[INFO] Total time: 1.678s
[INFO] Finished at: Tue Nov 12 12:43:43 IST 2013
[INFO] Final Memory: 13M/618M
[INFO]
[ERROR] Failed to execute goal on project mumble: Could not resolve dependencies for project com.XXXX:YUYYYY:jar:1.0.0-SNAPSHOT: Failure to find jwnl:jwnl:jar:1.3.3 in wwww.xxx.com/nexus/content/groups/ccc was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] cwiki.apache.org/confluence/display/MAVE…yResolutionException

Tagged :

Sonatype Nexus installation using Docker

sonatype-nexus-installation-using-docker

Sonatype Nexus Repository Manager 2

Install a Docker Engine
Installation Instructions can be found here – http://www.devopsschool.com/tutorial/docker/docker-install-and-configuration.html

Download a Sonatype Nexus Image
> docker pull sonatype/nexus

For Sonatype Nexus Repository Manager 2 OSS, To run (if port 8081 is open on your host):
> docker run -d -p 8081:8081 –name nexus sonatype/nexus:oss

For Sonatype Nexus Repository Manager 2 PRO, To run (if port 8081 is open on your host):
> docker run -d -p 8081:8081 –name nexus sonatype/nexus:pro

To determine the port that the container is listening on:
> docker ps -l

To Test
> curl http://localhost:8081/nexus/service/local/status

Browse Following URL
http://localhost:8081/nexus/

It can take some time (2-3 minutes) for the service to launch in a new container. You can tail the log to determine once Nexus is ready:
> docker logs -f nexus

Note
Default credentials are: admin / admin123
Installation of Nexus is to /opt/sonatype/nexus
Notably: /opt/sonatype/nexus/conf/nexus.properties is the properties file.
Parameters (nexus-work and nexus-webapp-context-path) defined
here are overridden in the JVM invocation.

Sonatype Nexus Repository Manager 3

Install a Docker Engine
Installation Instructions can be found here – http://www.devopsschool.com/tutorial/docker/docker-install-and-configuration.html

Clone the Repostory from Gihub
> git clone https://github.com/sonatype/docker-nexus3
> cd docker-nexus3

Build a Image for Sonatype Nexus Repository Manager 3 OSS
> docker build –rm –tag sonatype/nexus oss/

Build a Image for Sonatype Nexus Repository Manager 3 PRO
> docker build –rm –tag sonatype/nexus:pro pro/

For Sonatype Nexus Repository Manager 2 OSS, To run (if port 8081 is open on your host):
> docker run -d -p 8081:8081 –name nexus sonatype/nexus:oss

For Sonatype Nexus Repository Manager 2 PRO, To run (if port 8081 is open on your host):
> docker run -d -p 8081:8081 –name nexus sonatype/nexus:pro

To determine the port that the container is listening on:
> docker ps -l

To Test
> curl http://localhost:8081/nexus/service/local/status

Browse Following URL
http://localhost:8081/nexus/

It can take some time (2-3 minutes) for the service to launch in a new container. You can tail the log to determine once Nexus is ready:
> docker logs -f nexus

Note
Default credentials are: admin / admin123
Installation of Nexus is to /opt/sonatype/nexus
Notably: /opt/sonatype/nexus/conf/nexus.properties is the properties file.
Parameters (nexus-work and nexus-webapp-context-path) defined
here are overridden in the JVM invocation.

Reference
https://hub.docker.com/r/sonatype/nexus/

Tagged : / / / / / / / / / / / /

Install SonaType SonaType Community Version

sonatype-nexus-community-version
Download & Install JDK 1.8
64 bit
# cd /opt/</div>
<div># wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u66-b17/jdk-8u66-linux-x64.tar.gz"</div>
<div># tar xzf jdk-8u66-linux-x64.tar.gz
32 bit
# cd /opt/</div>
<div># wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u66-b17/jdk-8u66-linux-i586.tar.gz"</div>
<div># tar xzf jdk-8u66-linux-i586.tar.gz


Install SonaType Nexus Community Version

Download the Latest Package from http://www.sonatype.org/nexus/go/
TGZ – http://download.sonatype.com/nexus/3/latest-unix.tar.gz
ZIP – http://download.sonatype.com/nexus/oss/nexus-latest-bundle.zip

Install
https://support.sonatype.com/entries/20673251-Installing-Nexus-OSS

$ yum install wget
$ cd /opt/
$ wget http://download.sonatype.com/nexus/3/latest-unix.tar.gz
$ tar -zxvf latest-unix.tar.gz
$ mv nexus-3.12.1-01 nexus
$ cd nexus/bin
$ ./nexus start
$ ./nexus status

http://13.127.30.125:8081/
admin
admin123

Upgrade
https://support.sonatype.com/entries/23031188-How-do-I-upgrade-Nexus-OSS

Starting Nexus from the command line
https://support.sonatype.com/entries/20673271-Starting-Nexus-from-the-Command-Line

Execute ./bin/nexus ( ./bin/nexus.bat on Windows ) without any parameters to get the supported commands for controlling Nexus.

Open the Installation as – http://localhost:8081/nexus
Log In Dialog (default login/password is admin/admin123)”.

More
https://books.sonatype.com/nexus-book/reference/installing.html

Tagged : / / / / / /

Nexus Training | Nexus Course | Nexus Expert Trainer | India

nexus-training

scmGalaxy is a community initiatives based on Software configuration management that helps community members to optimize their software development process, Software Development Life Cycle optimization, Agile Methodologies and improve productivity across all aspects of Java development, including Build Scripts, Testing, Issue Tracking, Continuous Integration, Code Quality and more. scmGalaxy group that helps organisations optimize their software development process. We provide consulting, training and mentoring services in Agile Development Practices such as Version Management, Continuous Integration, Build Management, Test-Driven Development, Acceptance-Test Driven Development, Build Automation, Code Quality Practices and Automated Testing.

We provide job oriented training in the area of Configuration management, Build and Release Engineering. Candidates with engineering or software background and looking to either start or change their career to Build and Release Engineering, would benefit most from this training. Instructor-led training course offered in India, Bangalore, Delhi, Pune, Mumbai and Hydrabad. Instructor is an expert in Software configuration management, Build and release engineering with more than 15 years industry experience in india.The Goal of the course make the training attendants equip with all the concepts of build and release engineering.

Contact us at info@scmGalaxy.com

Course Objectives
To bring your team up to speed with agile development, We can also run the from Continuous Integration to Continuous Delivery with autoamted course within your premises.

Course Schedule
This course is an intensive 1-day & 2-day workshop with a mixture of teaching and lab exercises. Currently, this course is offered exclusively as an on-site course. Please contact us for more details.

Audience
This is a hands-on, practical course designed to teach specialised skills for real-world development situations. It is thus primarily aimed at a SCM Engineer, Build/Release Engineer and developer audience.

Approach
The course is modular and flexible – depending on specific student needs and requests. Through our trainings, you benefit from the wide experience and architectural expertise of our team. We bring that experience to you in an highly interactive, intensely hands-on setting.

Assumptions
We assume participants have a reasonable understanding of Development in any language as well as a basic understanding of the Software Development Life Cycle.

Lab Work
All our courses are above all practical in nature. We believe that the best way to learn is by doing. So the course contains approximately 80% lab work.

Learning Resources
Each registrant will receive a copy of the student notes and lab solutions, a certificate of completion, and a CD containing all the tools covered in the course and CD containing all the tools covered in the course.

Contact Us
This course is provided on-site, and can be tailored to your particular requirements. If you would like our trainings delivered at your premises, or for any additional information please contact us. Please email us at info@scmGalaxy.com

Course outline

The basic course program is outlined here:

  1. Introducing Sonatype Nexus
  2. Component Lifecycle Management and Repository Management
  3. Installing and Running Nexus
  4. Configuring Maven to Use Nexus
  5. Using the Nexus User Interface
  6. Configuring Nexus
  7. Nexus Smart Proxy
  8. Nexus LDAP Integration
  9. Atlassian Crowd Support
  10. Nexus Procurement Suite
  11. Improved Releases with Nexus Staging
  12. Repository Health Check
  13. Managing Maven Settings
  14. OSGi Bundle Repositories
  15. P2 Repositories
  16. .NET Package Repositories
  17. Deploying Sites to Nexus
  18. Nexus Best Practises
  19. Nexus Plugins
  20. Migrating to Nexus
  21. Configuring Nexus for SSL
  22. Evaluating Nexus Step by Step

Maven and Nexus Training In Bangalore | Maven and Nexus Training in India | Maven and Nexus Training in Hydrabad | Maven and Nexus Training in Delhi | Maven and Nexus Training in Pune | Maven and Nexus Trainer In Bangalore | Maven and Nexus Trainer in India | Maven and Nexus Trainer in Hydrabad | Maven and Nexus Trainer in Delhi | Maven and Nexus Trainer in Pune

Tagged : / / / / / / / / / / / / / / / / / / / /