Skip to content

Commit

Permalink
Fix unused or undeclared dependencies (#20)
Browse files Browse the repository at this point in the history
* Minor fix to dependencies.

* Fix more dependency issues.

* Another dependency tweak.
  • Loading branch information
paulthomson authored and hevrard committed Sep 27, 2018
1 parent 47f99e8 commit 9b1ef89
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 47 deletions.
1 change: 1 addition & 0 deletions ast/pom.xml
Expand Up @@ -39,6 +39,7 @@ limitations under the License.
<dependency>
<groupId>com.graphicsfuzz</groupId>
<artifactId>util</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down
22 changes: 22 additions & 0 deletions client-tests/pom.xml
Expand Up @@ -64,6 +64,28 @@ limitations under the License.
<groupId>net.sourceforge.argparse4j</groupId>
<artifactId>argparse4j</artifactId>
</dependency>
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>opencv</artifactId>
</dependency>
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>opencv</artifactId>
<classifier>linux-x86_64</classifier>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>opencv</artifactId>
<classifier>macosx-x86_64</classifier>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>opencv</artifactId>
<classifier>windows-x86_64</classifier>
<scope>runtime</scope>
</dependency>

</dependencies>

Expand Down
21 changes: 2 additions & 19 deletions generator/pom.xml
Expand Up @@ -57,36 +57,19 @@ limitations under the License.
<groupId>net.sourceforge.argparse4j</groupId>
<artifactId>argparse4j</artifactId>
</dependency>
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>opencv</artifactId>
</dependency>
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>opencv</artifactId>
<classifier>linux-x86_64</classifier>
</dependency>
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>opencv</artifactId>
<classifier>macosx-x86_64</classifier>
</dependency>
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>opencv</artifactId>
<classifier>windows-x86_64</classifier>
</dependency>
<dependency>
<groupId>com.graphicsfuzz</groupId>
<artifactId>ast</artifactId>
</dependency>
<dependency>
<groupId>com.graphicsfuzz</groupId>
<artifactId>util</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

Expand Down
3 changes: 0 additions & 3 deletions parent-all/pom.xml
Expand Up @@ -61,7 +61,6 @@ limitations under the License.
<artifactId>thrift-compiler-binary</artifactId>
<version>6e3ee39</version>
<type>zip</type>
<scope>provided</scope>
</dependency>


Expand All @@ -87,7 +86,6 @@ limitations under the License.
<artifactId>ant</artifactId>
</exclusion>
</exclusions>
<scope>provided</scope>
</dependency>

<dependency>
Expand Down Expand Up @@ -387,7 +385,6 @@ limitations under the License.
<classifier>shaders</classifier>
<version>1.0</version>
<type>zip</type>
<scope>provided</scope>
</dependency>

<dependency>
Expand Down
5 changes: 0 additions & 5 deletions parent-checkstyle/pom.xml
Expand Up @@ -71,11 +71,6 @@ limitations under the License.
<configuration>
<failOnWarning>true</failOnWarning>
<ignoreNonCompile>true</ignoreNonCompile>
<ignoredDependencies>
<ignoredDependency>org.bytedeco.javacpp-presets:opencv</ignoredDependency>
<ignoredDependency>org.apache.logging.log4j:log4j-core</ignoredDependency>
<ignoredDependency>org.apache.logging.log4j:log4j-slf4j-impl</ignoredDependency>
</ignoredDependencies>
</configuration>
</execution>
</executions>
Expand Down
20 changes: 1 addition & 19 deletions reducer/pom.xml
Expand Up @@ -91,25 +91,7 @@ limitations under the License.
<groupId>net.sourceforge.argparse4j</groupId>
<artifactId>argparse4j</artifactId>
</dependency>
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>opencv</artifactId>
</dependency>
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>opencv</artifactId>
<classifier>linux-x86_64</classifier>
</dependency>
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>opencv</artifactId>
<classifier>macosx-x86_64</classifier>
</dependency>
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>opencv</artifactId>
<classifier>windows-x86_64</classifier>
</dependency>

<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
Expand Down
2 changes: 2 additions & 0 deletions server-public/pom.xml
Expand Up @@ -111,10 +111,12 @@ limitations under the License.
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.graphicsfuzz</groupId>
Expand Down
2 changes: 2 additions & 0 deletions server/pom.xml
Expand Up @@ -99,10 +99,12 @@ limitations under the License.
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.graphicsfuzz</groupId>
Expand Down
3 changes: 3 additions & 0 deletions shadersets-util/pom.xml
Expand Up @@ -60,16 +60,19 @@ limitations under the License.
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>opencv</artifactId>
<classifier>linux-x86_64</classifier>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>opencv</artifactId>
<classifier>macosx-x86_64</classifier>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>opencv</artifactId>
<classifier>windows-x86_64</classifier>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
Expand Down
10 changes: 9 additions & 1 deletion tester/pom.xml
Expand Up @@ -54,6 +54,7 @@ limitations under the License.
<dependency>
<groupId>com.graphicsfuzz</groupId>
<artifactId>server-thrift-gen</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.graphicsfuzz</groupId>
Expand All @@ -70,39 +71,46 @@ limitations under the License.
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.bytedeco</groupId>
<artifactId>javacpp</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>opencv</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>opencv</artifactId>
<classifier>linux-x86_64</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>opencv</artifactId>
<classifier>macosx-x86_64</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.bytedeco.javacpp-presets</groupId>
<artifactId>opencv</artifactId>
<classifier>windows-x86_64</classifier>
<scope>test</scope>
</dependency>


Expand Down

0 comments on commit 9b1ef89

Please sign in to comment.