Services that run on a Synology are constantly being updated. Software updates for the binaries and other artifacts can quickly and easily be updated. To do so, open the Synology web interface and then open Package Center. From Package Center, click Update for each or Update All to upgrade all services at once, as seen below.
You will then be prompted to verify that you want to run the update.
Any services that are being updated will restart and so end users might find those services unresponsive or have to log back in after the service comes back online.
krypted March 27th, 2018
Posted In: Network Infrastructure, Small Business, Synology
Apple, MAC, macos, NetApp, network appliance, packages, Synology
Maven can be as simple or as complicated as you’d like. The maven command line interface is mvn. You can quickly find the version using the –version option:
This is useful for a lot, but most notably to see where Maven is, which is in the home line. You can then create a project by using the archetype:generate option. Let’s say I wanted to create an artifactID of Precache with a standard environment (DarchetypeArtifactId) that doesn’t need to be interactive. That would look as follows using the mvn command:mvn archetype:generate –DgroupId=com.precache –DartifactId=precache –DarchetypeArtifactId=maven–archetype–quickstart –DinteractiveMode=false
This creates a directory in Maven with a full hierarchy that matches what maven will need (a faux root) for each app created. The pom.xml file is created in the root of the faux root and outlines metadata for the project as well as dependencies. Next, copy any source code into ../src/main/java (where .. is the faux root of the maven project) and any source test code into ../src/test/java.
Once the files are where they need to be it’s as easy as running mvn with the package verb to package it all up:
That creates the jar file. Next, create a site:
And between steps, do a little housekeeping:
mvn clean dependency:copy–dependencies package
Run your unit tests with the test verb (super-hard to remember):
And check to see if your test sources compile use the test-compile verb:
krypted October 7th, 2017
Posted In: Java
compile, maven, packages, unit tests
To use the command line to install a package, use the following command:
installer -pkg ./<package name> -target/
krypted July 14th, 2007
Posted In: Mac OS X, Mac OS X Server
Command line, Installer, Mac OS X, packages, pkg