Hi! This is a systemd unit file for Nexus.
Would be great if this could be added to this package.
=====================================
/usr/lib/systemd/system/nexus.service
=====================================
[Unit]
Description=Nexus OSS Artifact Repository
[Service]
Type=forking
EnvironmentFile=-/etc/conf.d/nexus
ExecStart=/opt/nexus/bin/nexus start
ExecStop=/opt/nexus/bin/nexus stop
ExecReload=/opt/nexus/bin/nexus restart
PIDFile=/opt/nexus/run/nexus.pid
[Install]
WantedBy=multi-user.target
Search Criteria
Package Details: nexus 2.14.18.01-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/nexus.git (read-only, click to copy) |
---|---|
Package Base: | nexus |
Description: | Nexus 2 Repository Manager (OSS) |
Upstream URL: | http://nexus.sonatype.org |
Keywords: | artifact repository |
Licenses: | GPL3 |
Conflicts: | nexus-oss, nexus2, nexus3 |
Provides: | nexus, nexus2 |
Submitter: | triplem |
Maintainer: | pa314159 |
Last Packager: | pa314159 |
Votes: | 24 |
Popularity: | 0.000000 |
First Submitted: | 2009-11-17 23:13 (UTC) |
Last Updated: | 2020-09-22 12:02 (UTC) |
Dependencies (1)
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk11-jbr-xdgAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, jdk8-openj9-binAUR, jdk-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk11-openj9-binAUR, jre-jetbrainsAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jdkAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jdk17-openj9-binAUR, jdk23-graalvm-ee-binAUR, zing-8-binAUR, zing-21-binAUR, java-openjdk-ea-binAUR, jdk21-jetbrains-binAUR, jdk11AUR, openjdk-zulu-ca-fx-binAUR, openjdk-zulu8-ca-fx-binAUR, openjdk-zulu11-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, jdk-openj9-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk)
Sources (5)
japgolly commented on 2012-11-01 02:31 (UTC)
slopjong commented on 2012-09-12 16:49 (UTC)
If you're wondering why you get a Not Found error on accessing your nexus server, append /nexus to your URL (http://127.0.0.1:8081/nexus/)
slopjong commented on 2012-09-12 16:19 (UTC)
Sonatype changed the download location. Edit the source
from http://nexus.sonatype.org/downloads/nexus-${pkgver}-bundle.tar.gz
to http://www.sonatype.org/downloads/nexus-${pkgver}-bundle.tar.gz
Otherwise you download some html which is far from what you want.
yaya_2013 commented on 2012-08-14 11:11 (UTC)
-->2.1.1
if you update your nexus from 2.0.X
change
# The main class that JSW will execute within JVM
wrapper.java.mainclass=org.sonatype.nexus.bootstrap.jsw.JswLauncher
in /opt/nexus/bin/jsw/conf/wrapper.conf
yaya_2013 commented on 2012-02-26 06:13 (UTC)
nexus2
please read comments before install it
https://aur.archlinux.org/packages.php?ID=57055
yaya_2013 commented on 2012-02-26 06:12 (UTC)
To update from 1.9.x to 2
1- Please backup /var/lib/nexus/ if you update from 1.9.x
2- Remove nexus and then install nexus2 package
3- edit /opt/nexus/bin/jsw/conf/wrapper.conf and change wrapper.java.command=java to point to your \bin\java ( if you use Oracle JDK)
yaya_2013 commented on 2011-08-25 17:42 (UTC)
It doesn't work with jdk7
https://issues.sonatype.org/browse/NEXUS-4453
https://issues.sonatype.org/browse/NEXUS-4437
Also you can run it with jdk6 ( in repo ) or separate jdk
<deleted-account> commented on 2011-08-24 22:14 (UTC)
1.9.2.2 out?; At least the package build is failing...
tinhtruong commented on 2011-05-26 08:44 (UTC)
@yaya_2013: After changing to 'wrapper.java.command=/opt/java/bin/java' (it's located in the file /opt/nexus/conf/wrapper.conf), it works! Many thanks!
yaya_2013 commented on 2011-05-26 05:15 (UTC)
@tinhtruong
Please cahnge wrapper.java.command=java to wrapper.java.command=/opt/java/bin/java
( If sun/oracle JDK have been install)
and tell me if it works after that
Pinned Comments
pa314159 commented on 2020-09-22 10:37 (UTC)
Changed the layout to match Arch locations.
After upgrading to 2.14.18, you need to move all the content of /opt/sonatype-work/nexus to /var/log/nexus and /var/lib/nexus