labs-parent

Build dependencies

License

License

GroupId

GroupId

com.brinkus.labs
ArtifactId

ArtifactId

labs-parent
Last Version

Last Version

1.2.0
Release Date

Release Date

Type

Type

pom
Description

Description

labs-parent
Build dependencies
Project URL

Project URL

https://github.com/bbrinkus/labs-parent
Source Code Management

Source Code Management

https://github.com/bbrinkus/labs-parent

Download labs-parent

Filename Size
labs-parent-1.2.0.pom 10 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/com.brinkus.labs/labs-parent/ -->
<dependency>
    <groupId>com.brinkus.labs</groupId>
    <artifactId>labs-parent</artifactId>
    <version>1.2.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.brinkus.labs/labs-parent/
implementation 'com.brinkus.labs:labs-parent:1.2.0'
// https://jarcasting.com/artifacts/com.brinkus.labs/labs-parent/
implementation ("com.brinkus.labs:labs-parent:1.2.0")
'com.brinkus.labs:labs-parent:pom:1.2.0'
<dependency org="com.brinkus.labs" name="labs-parent" rev="1.2.0">
  <artifact name="labs-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.brinkus.labs', module='labs-parent', version='1.2.0')
)
libraryDependencies += "com.brinkus.labs" % "labs-parent" % "1.2.0"
[com.brinkus.labs/labs-parent "1.2.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Labs Parent Pom

Parent pom for Java projects

Versions

  • 1.2.0
    • Upgrade the version number of the following plugins
      • maven-assembly-plugin
      • maven-compiler-plugin
      • maven-dependency-plugin
      • maven-pmd-plugin
      • maven-site-plugin
  • 1.1.0
    • Add additional archiver information (MANIFEST.MF)
    • Deploy source and javadoc in default
    • Use the nexus staging for the deployment
  • 1.0.0
    • Baseline

Plugin Build Configurations

Source

Generate source jar during the package.

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-source-plugin</artifactId>
    <executions>
        <execution>
            <id>attach-sources</id>
            <goals>
                <goal>jar-no-fork</goal>
            </goals>
        </execution>
    </executions>
</plugin>

Javadoc

Create javadoc jar during the package.

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-javadoc-plugin</artifactId>
    <executions>
        <execution>
            <id>attach-sources</id>
            <goals>
                <goal>jar</goal>
            </goals>
        </execution>
    </executions>
</plugin>

Single assembly

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-assembly-plugin</artifactId>
    <configuration>
        <finalName>${finalJar}</finalName>
        <descriptorRefs>
            <descriptorRef>jar-with-dependencies</descriptorRef>
        </descriptorRefs>
        <appendAssemblyId>false</appendAssemblyId>
    </configuration>
    <executions>
        <execution>
            <phase>package</phase>
            <goals>
                <goal>single</goal>
            </goals>
        </execution>
    </executions>
</plugin>

Versions

Version
1.2.0
1.1.0