Browse Source

Use parent 26.0.1, introduce jgitver

master
Paweł Płazieński 2 months ago
parent
commit
6259205356
7 changed files with 31 additions and 11 deletions
  1. +14
    -6
      .drone.yml
  2. +8
    -0
      .mvn/extensions.xml
  3. +7
    -0
      .mvn/jgitver.config.xml
  4. +2
    -2
      pom.xml
  5. +0
    -1
      src/main/java/org/perfectable/introspection/FunctionalReference.java
  6. +0
    -1
      src/main/java/org/perfectable/introspection/proxy/Invocation.java
  7. +0
    -1
      src/main/java/org/perfectable/introspection/proxy/InvocationHandler.java

+ 14
- 6
.drone.yml View File

@@ -8,24 +8,32 @@ platform:
arch: arm

workspace:
base: /maven/
base: /root/maven

clone:
disable: true

steps:
- name: clone
image: images.perfectable.org/git-arm32v7:2.13.1-2.26.2-r0
commands:
- git clone $DRONE_GIT_HTTP_URL .
- git checkout $DRONE_COMMIT
- name: build
image: arm32v7/maven:3.6-jdk-11-slim
volumes:
- name: maven-config
path: /root/.m2
path: /m2
commands:
- mvn -B deploy -DaltDeploymentRepository=perfectable-snapshots::default::https://maven.perfectable.org/libs-snapshot-local
- mvn -B deploy -s /m2/settings.xml -DaltDeploymentRepository=perfectable-snapshots::default::https://maven.perfectable.org/libs-snapshot-local
- name: cleanup-snapshots
image: arm32v7/bash:5.0
volumes:
- name: maven-config
path: /root/.m2
path: /m2
commands:
- rm -rf /root/.m2/repository/**/*-SNAPSHOT.*
- rm -rf /root/.m2/repository/**/*.lastUpdated
- rm -rf /m2/repository/**/*-SNAPSHOT.*
- rm -rf /m2/repository/**/*.lastUpdated
when:
status:
- success


+ 8
- 0
.mvn/extensions.xml View File

@@ -0,0 +1,8 @@
<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
<extension>
<groupId>fr.brouillard.oss</groupId>
<artifactId>jgitver-maven-plugin</artifactId>
<version>1.5.1</version>
</extension>
</extensions>

+ 7
- 0
.mvn/jgitver.config.xml View File

@@ -0,0 +1,7 @@
<configuration xmlns="http://jgitver.github.io/maven/configuration/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://jgitver.github.io/maven/configuration/1.1.0 https://jgitver.github.io/maven/configuration/jgitver-configuration-v1_1_0.xsd">
<strategy>MAVEN</strategy>
<useDirty>true</useDirty>
<regexVersionTag>[vs]([0-9]+\.[0-9]+\.[0-9]+)</regexVersionTag>
</configuration>

+ 2
- 2
pom.xml View File

@@ -4,11 +4,11 @@
<parent>
<groupId>org.perfectable</groupId>
<artifactId>perfectable</artifactId>
<version>26-SNAPSHOT</version>
<version>26.0.1</version>
</parent>

<artifactId>introspectable</artifactId>
<version>5.0.0-SNAPSHOT</version>
<version>0</version>

<name>Introspectable</name>
<description>Easier java reflections</description>


+ 0
- 1
src/main/java/org/perfectable/introspection/FunctionalReference.java View File

@@ -105,7 +105,6 @@ import kotlin.annotations.jvm.ReadOnly;
* scenarios. When method/constructor references are used to pass information around, no additional program constructs
* should be generated by the compiler. Lambdas will still produce additional synthetic method(s) in declaring class.
*/
@SuppressWarnings("serial")
public interface FunctionalReference extends Serializable {
/**
* Analyzes reference and produces information access object.


+ 0
- 1
src/main/java/org/perfectable/introspection/proxy/Invocation.java View File

@@ -27,7 +27,6 @@ public interface Invocation<R, X extends Throwable> {
* @return result of an invocation.
* @throws X exception that was thrown by invocation
*/
@SuppressWarnings({"AnnotationLocation"})
R invoke() throws X;

/**


+ 0
- 1
src/main/java/org/perfectable/introspection/proxy/InvocationHandler.java View File

@@ -23,6 +23,5 @@ public interface InvocationHandler<R, X extends Throwable, I extends Invocation<
* @return successful result of invocation processing
* @throws X exception that will be thrown on the call site
*/
@SuppressWarnings({"AnnotationLocation"})
R handle(I invocation) throws X;
}

Loading…
Cancel
Save