Package Details: nexus 2.14.1-1

Git Clone URL: https://aur.archlinux.org/nexus.git (read-only)
Package Base: nexus
Description: A Maven Repository Manager. Nexus 2
Upstream URL: http://nexus.sonatype.org
Keywords: artifact repository
Licenses: GPL3
Conflicts: nexus2
Provides: java-nexus, nexus
Submitter: triplem
Maintainer: martimcfly (psyriccio)
Last Packager: martimcfly
Votes: 25
Popularity: 0.188860
First Submitted: 2009-11-17 23:13
Last Updated: 2016-11-06 10:54

Latest Comments

psyriccio commented on 2016-11-05 20:28

Please update or disown package!
-----------------------------------------------------------------------------------
solution, if anyone cant wait
-> % base64 ./nexus-PKGBUILD-2.12.1_to_2.14.1.patch
NWM1CjwgcGtndmVyPTIuMTIuMQotLS0KPiBwa2d2ZXI9Mi4xNC4xCjMwYzMwCjwgbWQ1c3Vtcz0o
JzNjOGFkZDIzMDZiN2ZhY2Y2OWM1NWRlYjM5NGFhYjdiJwotLS0KPiBtZDVzdW1zPSgnNTg5ZDA3
OTRlZWExNDUwMGNkOGJkM2ZlZmExZGJlN2InCg==
----------------------------------------------------------------------------------
-> % yaourt -G nexus
==> Download nexus sources
x .SRCINFO
x PKGBUILD
x nexus
x nexus.install
x nexus.service
-> % cp ./nexus-PKGBUILD-2.12.1_to_2.14.1.patch ./nexus/
1 files ( 4.0 KiB) copied in 0.0 seconds ( 0.0 KiB/s).
-> % cd ./nexus
-> % cat ./nexus-PKGBUILD-2.12.1_to_2.14.1.patch
5c5
< pkgver=2.12.1
---
> pkgver=2.14.1
30c30
< md5sums=('3c8add2306b7facf69c55deb394aab7b'
---
> md5sums=('589d0794eea14500cd8bd3fefa1dbe7b'
-> % patch ./PKGBUILD ./nexus-PKGBUILD-2.12.1_to_2.14.1.patch
patching file ./PKGBUILD
-> % makepkg --printsrcinfo > ./.SRCINFO
-> % makepkg --clean
==> Making package: nexus 2.14.1-1 (Sat Nov 5 20:21:50 UTC 2016)
...
==> Finished making: nexus 2.14.1-1 (Sat Nov 5 20:22:45 UTC 2016)
==> Cleaning up...
-> % ls -lsaH
total 142788
...
71376 -rw-r--r-- 1 psyriccio wheel 73085783 Nov 5 20:21 nexus-2.14.1-01-bundle.tar.gz
68032 -rw-r--r-- 1 psyriccio wheel 69664728 Nov 5 20:22 nexus-2.14.1-1-x86_64.pkg.tar.xz
...

martimcfly commented on 2016-09-21 16:25

I'll update the package next monday.

martimcfly commented on 2015-08-02 15:47

updated to work with aur4

martimcfly commented on 2015-07-14 11:28

fixed ;)

bouquetf commented on 2014-10-06 14:06

Hi, it seems the download link is now broken.
I succeeded using http://download.sonatype.com/nexus/oss/nexus-2.9.1-02-bundle.tar.gz instead of http://www.sonatype.org/downloads/nexus-2.9.1-02-bundle.tar.gz

yaya_2013 commented on 2014-09-12 13:25

updated to 2.9.1

working folder moved to /opt/sonataype-work

walterjwhite commented on 2013-04-23 23:46

I can no longer download that version of nexus. In order to download old releases, use this format:

http://www.sonatype.org/downloads/nexus-${pkgversion}-bundle.tar.gz


Walter

yaya_2013 commented on 2013-04-09 11:58

nexus2 merged with nexus

so it will remove nexus2

before update this package please backup /var/lib/nexus and after update restore it.

Xyne commented on 2013-03-29 19:01

You can find a cleaner version (better organization, proper quoting, package function) of the old nexus2 PKGBUILD here:
http://xyne.archlinux.ca/tmp/pkgbuilds/nexus-2.3.1-4.src.tar.gz

Please use it to update the package. The additional nexus executable and nexus.properties file should be hosted elsewhere as well. I have left them in the package for now.

Xyne commented on 2013-03-29 18:32

Merging into nexus...

lahwaacz commented on 2013-03-28 20:57

Packaging note - why is there still package 'nexus'? IMO 'nexus2' should be merged into it, it's the newer version, right? No need to keep the old package...

Nowaker commented on 2013-03-04 10:32

1 - Thanks!
2 - Sorry, I didn't see nexus2.install file. I thought "Sources" section on this page will include it as well. :)

yaya_2013 commented on 2013-03-03 18:36

@Nowaker

1- systemd files added.
2- I don't have any problem. chown for /opt/nexus and /var/lib/nexus are set in post_update and post_install to nexus user.

Nowaker commented on 2013-02-26 09:32

Thanks for updating Nexus to 2.3.x branch. However, there are still some things to be fixed.

1. systemd files are still not included in the PKGBUILD. Now that Arch Linux switched to systemd, it is encouraged to provide unit files.

2. Install script should auto-create nexus user if it doesn't exist, and set the chown for /opt/nexus and /var/lib/nexus. (I recall it was here in the previous version?) systemd unit file will use this user to run Nexus as.

Here's the systemd unit file: http://wklej.org/hash/5c26c25e4dc/

Nowaker commented on 2012-12-03 00:32

rm -r /var/lib/nexus in post_remove() - was it really intended?

japgolly commented on 2012-11-05 11:08

Just realised that although a /var/lib/nexus directory exists, it's not being written to. Repository data is being written to /opt/nexus/var/lib/nexus instead.

japgolly commented on 2012-11-01 02:31

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

slopjong commented on 2012-09-12 16:49

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

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

-->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

nexus2
please read comments before install it
https://aur.archlinux.org/packages.php?ID=57055

yaya_2013 commented on 2012-02-26 06:12


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


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

Anonymous comment on 2011-08-24 22:14

1.9.2.2 out?; At least the package build is failing...

tinhtruong commented on 2011-05-26 08:44

@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

@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

tinhtruong commented on 2011-05-26 03:09

I can start nexus manually using the command '/etc/rc.d/nexus start', but when I add nexus into my rc.conf DAEMONS, it does not start at the system boot. Does anyone experience this issue?

yaya_2013 commented on 2011-04-21 13:45

Updated to 1.9.1

yaya_2013 commented on 2011-03-11 11:12

Updated to 1.9.0.1

Change log

https://issues.sonatype.org/secure/ReleaseNote.jspa?projectId=10001&version=11079

yaya_2013 commented on 2011-02-24 21:43

updated to 1.9

To 1.9 Release from 1.8.0.1
Sonatype has changed how the lucene indexes are stored on disk, it is required that users reindex all repositories in their nexus server to start benefitting from the changes (and for search to work properly).

Anonymous comment on 2010-12-14 18:45

I got the AJP connectors working with the following:

1. Copied jetty-ajp-6.1.19.jar (taken from a default jetty download) to /opt/nexus/runtime/apps/nexus/lib/jetty-ajp-6.1.19.jar
2. Followed the instructions at: http://docs.codehaus.org/display/JETTY/Configuring+AJP13+Using+mod_jk

The missing piece was the necessary jetty-ajp-6.1.19.jar file, which isn't included in the install archive.

Anonymous comment on 2010-12-14 00:48

Has anybody been able to get the AJP connection to Apache working? Adding the AJP connector, as described at http://docs.codehaus.org/display/JETTY/Configuring+AJP13+Using+mod_jk gives the following error in the logs:
FATAL | jvm 1 | 2010/12/13 17:45:02 | Unable to start the Container: Guice creation errors:

1) Error initializing: class org.sonatype.plexus.jetty.DefaultServletContainer
while locating org.sonatype.plexus.jetty.DefaultServletContainer
at ClassRealm[plexus.core, parent: null]
while locating org.sonatype.plexus.jetty.ServletContainer

yaya_2013 commented on 2010-10-23 11:15

updated for nexus 1.8.0

Anonymous comment on 2010-06-27 11:09

PKGBUILD for 1.7.0

http://pastebin.com/HdLfke3u