Skip to content

Commit d4e1976

Browse files
committed
Modify Generated annotation to be retention CLASS, bump dependency for test mockito-core
1 parent 2530bd2 commit d4e1976

File tree

5 files changed

+17
-10
lines changed

5 files changed

+17
-10
lines changed

inject-test/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<properties>
1313
<jupiter.version>5.8.2</jupiter.version>
14-
<mockito.version>4.6.0</mockito.version>
14+
<mockito.version>4.6.1</mockito.version>
1515
</properties>
1616

1717
<dependencies>
@@ -58,14 +58,14 @@
5858
<dependency>
5959
<groupId>io.avaje</groupId>
6060
<artifactId>avaje-http-api</artifactId>
61-
<version>1.11</version>
61+
<version>1.17</version>
6262
<scope>test</scope>
6363
</dependency>
6464

6565
<dependency>
6666
<groupId>io.avaje</groupId>
6767
<artifactId>avaje-jex</artifactId>
68-
<version>2.1</version>
68+
<version>2.2</version>
6969
<scope>test</scope>
7070
</dependency>
7171

@@ -79,7 +79,7 @@
7979
<dependency>
8080
<groupId>io.javalin</groupId>
8181
<artifactId>javalin</artifactId>
82-
<version>4.6.0</version>
82+
<version>4.6.1</version>
8383
<scope>test</scope>
8484
</dependency>
8585

inject/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
<dependency>
2323
<groupId>io.avaje</groupId>
2424
<artifactId>avaje-lang</artifactId>
25-
<version>1.0</version>
25+
<version>1.1</version>
2626
</dependency>
2727

2828
<dependency>
2929
<groupId>org.mockito</groupId>
3030
<artifactId>mockito-core</artifactId>
31-
<version>4.6.0</version>
31+
<version>4.6.1</version>
3232
<optional>true</optional>
3333
</dependency>
3434

inject/src/main/java/io/avaje/inject/aop/Aspect.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
* Specify the priority ordering when multiple aspects are on a method.
2727
* <p>
2828
* When multiple aspects are on a method they are nested. The highest
29-
* {@link #ordering()} value will be the outer-most aspect, the lowest
30-
* ordering will be the inner-most aspect.
29+
* ordering value will be the outer-most aspect, the lowest ordering will
30+
* be the inner-most aspect.
3131
* <p>
3232
* The outer-most aspect will have it's <em>before</em> executed first,
3333
* followed by the <em>before</em> of the inner nested aspects ultimately

inject/src/main/java/io/avaje/inject/spi/DependencyMeta.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
package io.avaje.inject.spi;
22

3+
import java.lang.annotation.ElementType;
4+
import java.lang.annotation.Retention;
5+
import java.lang.annotation.RetentionPolicy;
6+
import java.lang.annotation.Target;
7+
38
/**
4-
* Hold bean dependency meta data intended for internal use by code generation (Java annotation processing).
9+
* Hold bean dependency metadata intended for internal use by code generation (Java annotation processing).
510
*/
11+
@Target(ElementType.METHOD)
12+
@Retention(RetentionPolicy.CLASS)
613
public @interface DependencyMeta {
714

815
/**

inject/src/main/java/io/avaje/inject/spi/Generated.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Marks source code that has been generated.
1010
*/
1111
@Target(ElementType.TYPE)
12-
@Retention(RetentionPolicy.RUNTIME)
12+
@Retention(RetentionPolicy.CLASS)
1313
public @interface Generated {
1414

1515
/**

0 commit comments

Comments
 (0)