logo Maven AMPS Plugin

homepage: ecosystem.atlassian.net/browse/AMPS
fresh index:
last release: 2 years ago, first release: 1 decade ago
packaging: maven-plugin
get this artifact from: central atlassian nuxeo
see this artifact on: search.maven.org


Display vulnerabilities (snyk): Vulnerability check

This chart shows how much is this artifact used as a dependency in other Maven artifacts in Central repository and GitHub:


select version:

Add this snippet into pom.xml inside tag <project><build><plugins>:




Switch to artifact.
goals:
amps:cli
amps:compress-resources

Compresses JavaScript resources with the YUI compressor Maven plugin. Creates compressed versions of all JavaScript resources by attaching the '-min' suffix.

amps:copy-bundled-dependencies

Copies bundled dependencies into META-INF/lib

amps:copy-test-bundled-dependencies

Copies bundled dependencies into META-INF/lib for test plugin

amps:create

Creates a new plugin

amps:create-home-zip

Creates a zip file containing the previous run's home directory in the proper format to use as test-resources.

amps:create-plugin-module
amps:debug

Debug the webapp

amps:debug-container

Runs the plugin via the plugins 3 container. This is an experimental goal and may be removed in future versions

amps:debug-standalone

Debug the webapp without a plugin project

amps:filter-plugin-descriptor
amps:filter-test-plugin-descriptor
amps:generate-manifest
amps:generate-obr-artifact

Generates the obr artifact, containing the plugin, its dependencies, and the obr XML file. The OBR file looks like this: this-plugin.jar obr.xml dependencies/required-plugin.jar All plugins in the root directory will be installed, while the ones in the "dependencies" directory will be installed only if they are needed.

amps:generate-rest-docs

Generates the files needed by Jersey at runtime to provide an extended WADL including docs

amps:generate-test-manifest
amps:idea
amps:install
amps:integration-test

Run the integration tests against the webapp.

amps:jar
amps:prepare-database

Run the pre integration tests prepare data.

amps:release
amps:remote-test (phase: pre-integration-test)
amps:run

Run the webapp

amps:run-standalone

Run the webapp without a plugin project

amps:stop

Stop the webapps started by RunMojo. This may be useful when you use -Dwait=false for the RunMojo and you want the products to make a clean shutdown.

amps:test-install
amps:test-jar

Jars the tests into an OSGi bundle. Only builds the jar if the {@link #buildTestPlugin} flag is set or it detects an atlassian-plugin.xml file in the target/test-classes directory. Note, this test jar will not have its resources filtered or a manifest generated for it. If no manifest is present, a dummy manifest that does a dynamic package import on everything will be used.

amps:unit-test
amps:update

Downloads the latest version of the SDK and installs it into ATLAS_HOME.

amps:validate-manifest
amps:validate-test-manifest

Often used code snippets:

<plugin>
  <groupId>com.atlassian.maven.plugins</groupId>
  <artifactId>maven-amps-plugin</artifactId>
  <version>${amps.version}</version>
  <extensions>true</extensions>
</plugin>

© Jiri Pinkas 2015 - 2022. All rights reserved! Admin login To submit bugs / feature requests please use this github page
related: JavaVids | Top Java Blogs | Java školení
Apache and Apache Maven are trademarks of the Apache Software Foundation. The Central Repository is a service mark of Sonatype, Inc.