Skip to content

Commit

Permalink
29: Use Maven Generator for AssertJ
Browse files Browse the repository at this point in the history
Task-Url: #29
  • Loading branch information
keilw committed Oct 20, 2022
1 parent 01e1cbe commit 9901289
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 14 deletions.
6 changes: 3 additions & 3 deletions assertj/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.19.0</version>
<version>3.23.1</version>
</dependency>
<dependency>
<groupId>javax.measure</groupId>
Expand All @@ -57,9 +57,9 @@
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>1.3.5</version>
<version>2.0.0</version>
<scope>compile</scope>
</dependency>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-junit</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion assertj/src/main/java/tech/uom/lib/assertj/Assertions.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* Entry point for assertions of different data types. Each method in this class is a static factory for the
* type-specific assertion objects.
*/
@javax.annotation.Generated(value = "assertj-assertions-generator")
@jakarta.annotation.Generated(value = "assertj-assertions-generator")
public class Assertions {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/**
* Entry point for BDD assertions of different data types.
*/
@javax.annotation.Generated(value = "assertj-assertions-generator")
@jakarta.annotation.Generated(value = "assertj-assertions-generator")
public class BddAssertions {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
/**
* Entry point for soft assertions of different data types.
*/
@javax.annotation.Generated(value = "assertj-assertions-generator")
@jakarta.annotation.Generated(value = "assertj-assertions-generator")
public class SoftAssertions extends org.assertj.core.api.SoftAssertions {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
/**
* Abstract base class for {@link Dimension} specific assertions - Generated by CustomAssertionGenerator.
*/
@javax.annotation.Generated(value = "assertj-assertions-generator")
@jakarta.annotation.Generated(value = "assertj-assertions-generator")
public abstract class AbstractDimensionAssert<S extends AbstractDimensionAssert<S, A>, A extends Dimension> extends AbstractObjectAssert<S, A> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
/**
* Abstract base class for {@link Quantity} specific assertions - Generated by CustomAssertionGenerator.
*/
@javax.annotation.Generated(value = "assertj-assertions-generator")
@jakarta.annotation.Generated(value = "assertj-assertions-generator")
public abstract class AbstractQuantityAssert<S extends AbstractQuantityAssert<S, A>, A extends Quantity> extends AbstractObjectAssert<S, A> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
/**
* Abstract base class for {@link Unit} specific assertions - Generated by CustomAssertionGenerator.
*/
@javax.annotation.Generated(value = "assertj-assertions-generator")
@jakarta.annotation.Generated(value = "assertj-assertions-generator")
public abstract class AbstractUnitAssert<S extends AbstractUnitAssert<S, A>, A extends Unit> extends AbstractObjectAssert<S, A> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
* extend {@link AbstractDimensionAssert} instead.
*/
@javax.annotation.Generated(value = "assertj-assertions-generator")
@jakarta.annotation.Generated(value = "assertj-assertions-generator")
public class DimensionAssert extends AbstractDimensionAssert<DimensionAssert, Dimension> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
* extend {@link AbstractQuantityAssert} instead.
*/
@javax.annotation.Generated(value = "assertj-assertions-generator")
@jakarta.annotation.Generated(value = "assertj-assertions-generator")
public class QuantityAssert extends AbstractQuantityAssert<QuantityAssert, Quantity> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
* extend {@link AbstractUnitAssert} instead.
*/
@javax.annotation.Generated(value = "assertj-assertions-generator")
@jakarta.annotation.Generated(value = "assertj-assertions-generator")
public class UnitAssert extends AbstractUnitAssert<UnitAssert, Unit> {

/**
Expand Down
2 changes: 1 addition & 1 deletion assertj/src/main/jdk9/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
module tech.uom.lib.assertj {
requires transitive java.measure;
requires tech.uom.lib.common;
requires java.annotation;
requires jakarta.annotation;
requires org.assertj.core;
requires tech.units.indriya;

Expand Down
1 change: 0 additions & 1 deletion src/main/config/uom-lib clean install.launch
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_ATTR_USE_ARGFILE" value="false"/>
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_SHOW_CODEDETAILS_IN_EXCEPTION_MESSAGES" value="true"/>
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_CLASSPATH_ONLY_JAR" value="false"/>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-14"/>
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${project_loc:uom-lib}"/>
</launchConfiguration>

0 comments on commit 9901289

Please sign in to comment.