No Sources in JAR files Rule

This enforcer rule enforces that no sources are in the output jar file.

License

License

GroupId

GroupId

com.paremus.build
ArtifactId

ArtifactId

no-sources-in-jar
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

No Sources in JAR files Rule
This enforcer rule enforces that no sources are in the output jar file.
Project URL

Project URL

https://github.com/paremus/build
Project Organization

Project Organization

Paremus Ltd
Source Code Management

Source Code Management

https://github.com/paremus/build

Download no-sources-in-jar

How to add to project

<!-- https://jarcasting.com/artifacts/com.paremus.build/no-sources-in-jar/ -->
<dependency>
    <groupId>com.paremus.build</groupId>
    <artifactId>no-sources-in-jar</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.paremus.build/no-sources-in-jar/
implementation 'com.paremus.build:no-sources-in-jar:1.0.0'
// https://jarcasting.com/artifacts/com.paremus.build/no-sources-in-jar/
implementation ("com.paremus.build:no-sources-in-jar:1.0.0")
'com.paremus.build:no-sources-in-jar:jar:1.0.0'
<dependency org="com.paremus.build" name="no-sources-in-jar" rev="1.0.0">
  <artifact name="no-sources-in-jar" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.paremus.build', module='no-sources-in-jar', version='1.0.0')
)
libraryDependencies += "com.paremus.build" % "no-sources-in-jar" % "1.0.0"
[com.paremus.build/no-sources-in-jar "1.0.0"]

Dependencies

compile (5)

Group / Artifact Type Version
org.apache.maven.enforcer : enforcer-api jar 1.4.1
org.apache.maven : maven-core jar 3.3.9
org.apache.maven : maven-artifact jar 3.3.9
org.apache.maven : maven-plugin-api jar 3.3.9
org.codehaus.plexus : plexus-container-default jar 1.0-alpha-9

test (1)

Group / Artifact Type Version
junit : junit jar 3.8.2

Project Modules

There are no modules declared in this project.

The Paremus Product Build Repository

This repository contains the top-level POM configuration for other Paremus builds, and also any boms/code related to building and testing.

How to build this repository

This repository can be built using Maven 3.5.4 and Java 8.

Build profiles

By default the build will run with all tests, and lenient checks on copyright headers. To enable strict copyright checking (required for deployment) then the strict-license-check profile should be used, for example

`mvn -P strict-license-check clean install`

If you make changes and do encounter licensing errors then the license headers can be regenerated using the generate-licenses profile

`mvn -P generate-licenses process-sources`
com.paremus.build

Paremus

Versions

Version
1.0.0