GithubHelp home page GithubHelp logo

sonatype / nexus-book-examples Goto Github PK

View Code? Open in Web Editor NEW
170.0 84.0 205.0 24.77 MB

Example projects and other resources for the book Repository Management with Nexus

Java 23.36% Shell 44.82% Batchfile 31.82%

nexus-book-examples's Introduction

Nexus Repository Manager Examples

This project contains sample projects and other resources referenced from the book 'Repository Management with Nexus' as well as the 'Nexus Repository Manager Evaluation Guide'.

Both are available in source from https://github.com/sonatype/nexus-book

Online versions are available at

Please use the documentation in the book and evaluation guide for information on how to start Nexus and replicate various use cases.

If you need further assistance, visit our support site at http://links.sonatype.com/products/nexus/pro-eval/support

nexus-book-examples's People

Contributors

bhamail avatar djsauble avatar kellyrob99 avatar mosabua avatar peterlynch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nexus-book-examples's Issues

why not open the nexus-public issues

[bug]nexus oss 3.0 for win64
set the base_url invalid.
it behind a iis7 reverse proxy.

the html page content return the local address and local port.

Deployment user in Nexus 3

https://help.sonatype.com/display/NXRM3/Maven+Repositories#MavenRepositories-ConfiguringApacheMaven shows to directly using admin account for deployment, that is bad practice from security point of view, as admin account can be used to login and change Nexus server configuration.

<settings>
....
  <servers>
    <server>
      <id>nexus</id>
      <username>admin</username>
      <password>admin123</password>
    </server>
  </servers>

This is step backward from Nexus 2, where there was special user deployment
https://stackoverflow.com/questions/6950346/infrastructure-with-maven-jenkins-nexus

Is there better way to do in Nexus 3?

Deployment always Unauthorized

Just followed these official instructions to deploy the simple-project to my local Nexus 3 repository: it fails!

Error:

BUILD FAILED
C:\myPath\nexus-book-examples\ant-ivy\simple-project\build.xml:45: impossible to publish artifacts for org.sonatype.nexus.examples#simple-project;1.0.0: java.io.IOException: Access to URL http://localhost:8081/repository/maven-releases/org/sonatype/nexus/examples/simple-project/1.0.0/simple-project-1.0.0.pom was refused by the server: Unauthorized

The branch is

Nexus-3.x

I also tried to create a new user with role nx-admin, but the result is the same.

Unable to run provision.sh script

Hi,

Iam unable to run the provision.sh script as iam getting the below error.

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Script named 'npmBower' will be created
Caught: java.lang.NoClassDefFoundError: org/codehaus/groovy/runtime/typehandling/ShortTypeHandling
java.lang.NoClassDefFoundError: org/codehaus/groovy/runtime/typehandling/ShortTypeHandling
at org.sonatype.nexus.script.ScriptXO.(ScriptXO.groovy)
at addUpdateScript.run(addUpdateScript.groovy:69)
Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.typehandling.ShortTypeHandling
... 2 more

Could you please let me know if there are any pre-requisites that needs to be downloaded

Regards,
Amrutha

default user login not working for nexus-3.13.0-01

I install the nexus-3.13.0-01 with the bellow changes.

nexus.rc:
run_as_user="jboss"

nexus.vmoptions:
-Xms1200M
-Xmx1200M
-XX:MaxDirectMemorySize=2G
-XX:+UnlockDiagnosticVMOptions
-XX:+UnsyncloadClass
-XX:+LogVMOutput
-XX:LogFile=/var/SP/log/nexus/jvm.log
-XX:-OmitStackTraceInFastThrow
-Djava.net.preferIPv4Stack=true
-Dkaraf.home=.
-Dkaraf.base=.
-Dkaraf.etc=etc/karaf
-Djava.util.logging.config.file=etc/karaf/java.util.logging.properties
-Dkaraf.data=/var/SP/data/nexus
-Djava.io.tmpdir=/var/SP/data/nexus/tmp
-Dkaraf.startLocalConsole=false

After I started the nexus withthe above changes the app is running fine but I am not able to login using the default user and password (admin/admin123)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.