SonarSource :: Update Center :: Common

SonarSource Update Center

License

License

GroupId

GroupId

org.codehaus.sonar
ArtifactId

ArtifactId

sonar-update-center-common
Last Version

Last Version

1.13
Release Date

Release Date

Type

Type

jar
Description

Description

SonarSource :: Update Center :: Common
SonarSource Update Center
Project Organization

Project Organization

SonarSource

Download sonar-update-center-common

How to add to project

<!-- https://jarcasting.com/artifacts/org.codehaus.sonar/sonar-update-center-common/ -->
<dependency>
    <groupId>org.codehaus.sonar</groupId>
    <artifactId>sonar-update-center-common</artifactId>
    <version>1.13</version>
</dependency>
// https://jarcasting.com/artifacts/org.codehaus.sonar/sonar-update-center-common/
implementation 'org.codehaus.sonar:sonar-update-center-common:1.13'
// https://jarcasting.com/artifacts/org.codehaus.sonar/sonar-update-center-common/
implementation ("org.codehaus.sonar:sonar-update-center-common:1.13")
'org.codehaus.sonar:sonar-update-center-common:jar:1.13'
<dependency org="org.codehaus.sonar" name="sonar-update-center-common" rev="1.13">
  <artifact name="sonar-update-center-common" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.codehaus.sonar', module='sonar-update-center-common', version='1.13')
)
libraryDependencies += "org.codehaus.sonar" % "sonar-update-center-common" % "1.13"
[org.codehaus.sonar/sonar-update-center-common "1.13"]

Dependencies

compile (4)

Group / Artifact Type Version
commons-lang : commons-lang jar 2.6
commons-io : commons-io jar 2.4
com.google.guava : guava jar 10.0.1
org.slf4j : slf4j-api jar 1.7.5

test (3)

Group / Artifact Type Version
junit : junit jar 4.11
org.easytesting : fest-assert jar 1.4
org.slf4j : slf4j-simple jar 1.6.6

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