maven-crx-plugin

Allows uploading and installing CRX packages on a running CRX instance

License

License

Categories

Categories

IDE Development Tools Maven Build Tools
GroupId

GroupId

com.cognifide.maven.plugins
ArtifactId

ArtifactId

maven-crx-plugin
Last Version

Last Version

1.0.3
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

maven-crx-plugin
Allows uploading and installing CRX packages on a running CRX instance
Project URL

Project URL

http://cognifide.com
Source Code Management

Source Code Management

https://github.com/Cognifide/Maven-CRX-Plugin

Download maven-crx-plugin

How to add to project

<plugin>
    <groupId>com.cognifide.maven.plugins</groupId>
    <artifactId>maven-crx-plugin</artifactId>
    <version>1.0.3</version>
</plugin>

Dependencies

compile (7)

Group / Artifact Type Version
commons-httpclient : commons-httpclient jar 3.1
commons-io : commons-io jar 1.4
org.codehaus.jackson : jackson-mapper-asl jar 1.8.2
org.codehaus.jackson : jackson-xc jar 1.8.1
org.apache.maven : maven-plugin-api jar 2.2.1
org.apache.maven : maven-archiver jar 2.0
org.apache.maven : maven-core jar 2.2.1

test (1)

Group / Artifact Type Version
junit : junit jar 4.0

Project Modules

There are no modules declared in this project.

Cognifide logo

Maven CRX Plugin

Purpose

This is a plugin designed for Maven 2.x+ based builds to automate CRX compliant packages deployment. It allows to set up upload and install commands as a step in a build process speeding up entire development cycle.

On instances with CRX 2.3 or later, it also simplifies package deployment process by providing a goal (crx:activate) for one-step installation of packages on all publish instances (provided that replication agents are properly configured).

Features

  • uploads a selected artifact to a running CRX instance
  • installs previously uploaded artifact in a running CRX instance
  • activates (replicates and installs) previously uploaded artifact on all publish instances (requires CRX 2.3 or later)

Prerequisites

  • CQ/AEM instance with CRX 2.1 or later version
  • Maven 2.x, 3.x

Installation

Maven CRX Plugin is available from Maven Central Repo. However if you want to check out the newest development version, do the following:

Checkout the source code:

cd [folder of your choice]
git clone git://github.com/Cognifide/Maven-CRX-Plugin.git
cd Maven-CRX-Plugin

Compile and install:

mvn clean install

Usage

Set up POM file (check documentation for more configuration options):

    (...)
    <plugin>
      <groupId>com.cognifide.maven.plugins</groupId>
      <artifactId>maven-crx-plugin</artifactId>
      <version>1.0.3</version>
      <configuration>
        <url>${crx.url}</url>
        <user>${crx.username}</user>
        <password>${crx.password}</password>
      </configuration>
    </plugin>
    (...)

Now you can invoke one of the Maven CRX Plugin goals:

  • to upload artifacts to CRX instance use

      mvn ... crx:upload
    
  • to upload and install artifacts on CRX instance use

      mvn ... crx:install
    
  • to upload, install and replicate artifacts use (this will works only on CRX 2.3 or later)

      mvn ... crx:activate
    

More documentation

Commercial Support

Technical support can be made available if needed. Please contact us for more details.

We can:

  • prioritize your feature request,
  • tailor the product to your needs,
  • provide a training for your engineers,
  • support your development teams.
com.cognifide.maven.plugins

Wunderman Thompson Technology (formerly Cognifide)

We are now Wunderman Thompson Technology. You could find us on https://github.com/wttech

Versions

Version
1.0.3
1.0.2