Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

monitoring nexus repo

Tags:

maven-2

nexus

Does anyone know of a nexus plugin or APIs that allows the monitoring of mvn artifacts deployments to a nexus repo? my issue is that developers are uploading all kind of jars to a nexus repo and i have no way of knowing who did what and why? How do i enforce a rule on them so that they have to type in a comment before uploading any jars to nexus? Is there a way of doing this in mvn/nexus???

Jenny

like image 423
jennifer Brown Avatar asked Dec 07 '10 22:12

jennifer Brown


People also ask

What is Nexus repository management?

Nexus Repository OSS is an open source repository that supports many artifact formats, including Docker, Java™, and npm. With the Nexus tool integration, pipelines in your toolchain can publish and retrieve versioned apps and their dependencies by using central repositories that are accessible from other environments.

How do I access Nexus repository?

Users with the nx-repository-view Privilege can access the left navigation item. Click on the Browse button in the main toolbar and then the left navigation Browse item to access the Browse feature.

How does Nexus repository manager work?

Security. Nexus Repository Manager uses role-based access control. This means that the authorization you give to a particular user depends on the role of that user. The administrator has control over what authorization other users have.

How do I check Nexus Sonatype logs?

You can configure the level of logging for the repository manager and all plugins as well as inspect the current log using the user interface. Access the Logging panel by clicking on the Logging menu item in the Administration submenu in the main menu.


1 Answers

There are several RSS feeds for broadcasting notifications of events within Nexus.

To monitor new deployments I'd suggest:

http://nexushost:8081/nexus/service/local/feeds/recentlyDeployedArtifacts

As for implementing deployment rules, your options are more limited. Nexus Professional has the ability to apply rules, however this only works as part of the build promotion functionality. Not sure how flexible this functionality is, and it's not part of the OSS edition.

like image 81
Mark O'Connor Avatar answered Oct 02 '22 19:10

Mark O'Connor