- Java 81.7%
- XML 10%
- Yaml 6.1%
- Markdown 2.1%
This is a Maven plugin created to aid OneDev development and build
Prepared distributions
Starting with 2.9.1, package-artifacts packages product files from
distributionDirectory (default: ${project.basedir}/distribution). Paths in
this directory are relative to the installation root. Prepare launchers, native
files, and configuration in the consuming project before packaging; the plugin
does not interpret service-wrapper formats or enumerate supported platforms.
Product projects can configure:
distributionCleanupIncludes: comma-separated Ant patterns for generated sandbox paths to remove before copying the prepared files. Include all paths owned by the distribution so removed files disappear on incremental builds. Bootstrap Maven artifacts are populated after this cleanup, soboot/**can be included. Do not include persistent development data such assite/**.agentConfigurationIncludes: comma-separated Ant patterns, relative to the agent directory, for UTF-8 files containing the literalagentVersionplaceholder. Only these files receive version substitution in the standalone agent package; binary files are copied unchanged.
An optional agent/ subtree contains the agent's prepared files, including its
own bootstrap files. The plugin packages this subtree with the server and uses
it to recreate target/agent, adding the resolved agent artifact, dependencies,
and application resources. The product's existing executables property controls
permissions for both distributions; include agent/ patterns for the server's
embedded agent files as well as root patterns for the standalone agent.
Consumers using the old jsw/ or wrapper-template layout must migrate their
inputs when upgrading to 2.9.1. Existing releases can keep their pinned plugin.