SonarSource :: Update Center :: Packaging Mojo

SonarSource Update Center

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

org.codehaus.sonar
ArtifactId

ArtifactId

sonar-packaging-maven-plugin
Last Version

Last Version

1.13
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

SonarSource :: Update Center :: Packaging Mojo
SonarSource Update Center
Project Organization

Project Organization

SonarSource

Download sonar-packaging-maven-plugin

How to add to project

<plugin>
    <groupId>org.codehaus.sonar</groupId>
    <artifactId>sonar-packaging-maven-plugin</artifactId>
    <version>1.13</version>
</plugin>

Dependencies

compile (5)

Group / Artifact Type Version
org.codehaus.sonar : sonar-update-center-common jar 1.13
commons-lang : commons-lang jar 2.6
com.google.guava : guava jar 10.0.1
org.apache.maven : maven-archiver jar 2.5
org.apache.maven.shared : maven-dependency-tree jar 2.1

provided (3)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.0.5
org.apache.maven : maven-core jar 3.0.5
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.3

Project Modules

There are no modules declared in this project.

Sonar Update Center Build Status Quality Gate Status

Use as a library

<dependency>
    <groupId>org.sonarsource.update-center</groupId>
    <artifactId>sonar-update-center</artifactId>
    <version>(latest)</version>
</dependency>

Use as a mojo

Setup

First, build and install locally.

mvn clean install -DskipTests

You will need the update center properties, which you can find here (adapt the -DinputFile parameter below accordingly).

To generate metadata files

mvn org.sonarsource.update-center:sonar-update-center-mojo:LATEST:generate-metadata \
    -DinputFile=../sonar-update-center-properties/update-center-source.properties \
    -DoutputDir=output

# Currently, this requires 2 "deprecated" parameters to run. See https://jira.sonarsource.com/browse/UPC-106
mvn org.sonarsource.update-center:sonar-update-center-mojo:LATEST:generate-metadata \
    -DinputFile=../sonar-update-center-properties/update-center-source.properties \
    -DoutputDir=output \
    -DeditionsDownloadBaseUrl=https://binaries.sonarsource.com/CommercialDistribution/editions/ \
    -DeditionsOutputDir=output-editions

To generate html

This will generate html snippets for every plugins plus the compatability matrix

mvn org.sonarsource.update-center:sonar-update-center-mojo:LATEST:generate-html \
    -DinputFile=../sonar-update-center-properties/update-center-source.properties \
    -DoutputDir=output

To generate json files

mvn org.sonarsource.update-center:sonar-update-center-mojo:LATEST:generate-json \
    -DinputFile=../sonar-update-center-properties/update-center-source.properties \
    -DoutputDir=output

License

Copyright 2010-2017 SonarSource.

Licensed under the GNU Lesser General Public License, Version 3.0

org.codehaus.sonar

SonarSource

Continuous Code Quality

Versions

Version
1.13
1.12.1
1.12
1.11
1.10.1
1.10
1.10-RC1
1.9
1.8
1.7
1.6.1
1.6
1.5
1.5-RC1
1.4
1.3
1.2
1.1
1.0
0.4
0.3
0.2
0.1