Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve field handling #212

Merged
merged 4 commits into from
Sep 3, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use invoker:install to make annotations dependency available to tests
  • Loading branch information
Marcono1234 committed Sep 2, 2022
commit 36f445a5c630227b2ffa47ac225caca8d771b1e6
3 changes: 3 additions & 0 deletions animal-sniffer-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@
<filterProperties>
<java.home>${env.JAVA_HOME}</java.home>
</filterProperties>
<extraArtifacts>
<extraArtifact>org.codehaus.mojo:animal-sniffer-annotations:${project.version}</extraArtifact>
</extraArtifacts>
</configuration>
</plugin>
</plugins>
Expand Down
6 changes: 1 addition & 5 deletions animal-sniffer-maven-plugin/src/it/fields/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,12 @@
<packaging>jar</packaging>

<name>fields</name>

<dependencies>
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-annotations</artifactId>
<version>${annotationsDependencyVersion}</version>
<!-- This is a temporary workaround until the first version with FIELD as target has been released;
then this can instead use any of the released versions -->
<scope>system</scope>
<systemPath>${project.basedir}/../../../../animal-sniffer-annotations/target/animal-sniffer-annotations-${annotationsDependencyVersion}.jar</systemPath>
</dependency>
</dependencies>

Expand Down