dk.swissarmyronin:guava-lombok-mockito-archetype

A quick start template that provides Guava, Lombok, JUnit, Mockito, and SLF4J.

License

License

Categories

Categories

Mockito Unit Testing Lombok Application Layer Libs Code Generators Guava General Purpose Libraries Utility
GroupId

GroupId

dk.swissarmyronin
ArtifactId

ArtifactId

guava-lombok-mockito-archetype
Last Version

Last Version

1.3
Release Date

Release Date

Type

Type

jar
Description

Description

dk.swissarmyronin:guava-lombok-mockito-archetype
A quick start template that provides Guava, Lombok, JUnit, Mockito, and SLF4J.
Project URL

Project URL

https://github.com/SwissArmyRonin/guava-lombok-mockito-archetype
Source Code Management

Source Code Management

https://github.com/SwissArmyRonin/guava-lombok-mockito-archetype

Download guava-lombok-mockito-archetype

How to add to project

<!-- https://jarcasting.com/artifacts/dk.swissarmyronin/guava-lombok-mockito-archetype/ -->
<dependency>
    <groupId>dk.swissarmyronin</groupId>
    <artifactId>guava-lombok-mockito-archetype</artifactId>
    <version>1.3</version>
</dependency>
// https://jarcasting.com/artifacts/dk.swissarmyronin/guava-lombok-mockito-archetype/
implementation 'dk.swissarmyronin:guava-lombok-mockito-archetype:1.3'
// https://jarcasting.com/artifacts/dk.swissarmyronin/guava-lombok-mockito-archetype/
implementation ("dk.swissarmyronin:guava-lombok-mockito-archetype:1.3")
'dk.swissarmyronin:guava-lombok-mockito-archetype:jar:1.3'
<dependency org="dk.swissarmyronin" name="guava-lombok-mockito-archetype" rev="1.3">
  <artifact name="guava-lombok-mockito-archetype" type="jar" />
</dependency>
@Grapes(
@Grab(group='dk.swissarmyronin', module='guava-lombok-mockito-archetype', version='1.3')
)
libraryDependencies += "dk.swissarmyronin" % "guava-lombok-mockito-archetype" % "1.3"
[dk.swissarmyronin/guava-lombok-mockito-archetype "1.3"]

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.

README

This archetype is a quick start template that provides Guava, Lombok, JUnit, Mockito, and SLF4J.

Usage

$ mvn archetype:generate -DarchetypeGroupId=dk.swissarmyronin -DarchetypeArtifactId=guava-lombok-mockito-archetype -DarchetypeVersion=1.3

Troubleshooting

If the archetype generation fails, check the code out and build it, then add it to the local archetype catalog.

Clone and build

Clone the repository's master branch and build it.

$ git clone -b master https://github.com/SwissArmyRonin/guava-lombok-mockito-archetype.git
$ cd guava-lombok-mockito-archetype
$ export GPG_TTY=$(tty)
$ mvn install

Add to catalog

Open ~/.m2/archetype-catalog.xml and add the snippet below. Remember to set the version to the same version that you just built:

<?xml version="1.0" encoding="UTF-8"?>
<archetype-catalog  xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-catalog/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-catalog/1.0.0 http://maven.apache.org/xsd/archetype-catalog-1.0.0.xsd">
  <archetypes>
    <archetype>
      <groupId>dk.swissarmyronin</groupId>
      <artifactId>guava-lombok-mockito-archetype</artifactId>
      <version>1.3</version>
      <description>A quick start template that provides Guava, Lombok, JUnit, Mockito, and SLF4J.</description>
    </archetype>
  </archetypes>
</archetype-catalog>

Now the archetype is available from the command line and in your IDE.

dk.swissarmyronin

SwissArmyRonin

Versions

Version
1.3
1.2