Skip to content

Commit

Permalink
Remove unneeded .gitignore, and unneeded libs copy step for Android t…
Browse files Browse the repository at this point in the history
…argets. Update plugins. Fix javadoc warning / checkstyle problem.
  • Loading branch information
srowen committed Jun 8, 2016
1 parent 032e154 commit 58f748a
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 121 deletions.
2 changes: 0 additions & 2 deletions android-integration/.gitignore

This file was deleted.

30 changes: 0 additions & 30 deletions android-integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,36 +34,6 @@
<version>3.2.2-SNAPSHOT</version>
</parent>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-androidtest</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.google.zxing</groupId>
<artifactId>android-integration</artifactId>
<version>${project.version}</version>
<type>jar</type>
</artifactItem>
</artifactItems>
<outputDirectory>../androidtest/libs</outputDirectory>
<overWriteIfNewer>true</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

<name>ZXing Android Integration lib</name>
<description>Integration helper classes for Android applications wanting to create/scan barcodes</description>

Expand Down
6 changes: 0 additions & 6 deletions android/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions androidtest/.gitignore

This file was deleted.

2 changes: 0 additions & 2 deletions core/.gitignore

This file was deleted.

49 changes: 0 additions & 49 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,55 +35,6 @@
<version>3.2.2-SNAPSHOT</version>
</parent>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-android</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.google.zxing</groupId>
<artifactId>core</artifactId>
<version>${project.version}</version>
<type>jar</type>
</artifactItem>
</artifactItems>
<outputDirectory>../android/libs</outputDirectory>
<overWriteIfNewer>true</overWriteIfNewer>
</configuration>
</execution>
<execution>
<id>copy-androidtest</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.google.zxing</groupId>
<artifactId>core</artifactId>
<version>${project.version}</version>
<type>jar</type>
</artifactItem>
</artifactItems>
<outputDirectory>../androidtest/libs</outputDirectory>
<overWriteIfNewer>true</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

<name>ZXing Core</name>
<description>Core barcode encoding/decoding library</description>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ protected static int parseFinderValue(int[] counters,
}

/**
* @param array values to sum
* @return sum of values
* @deprecated call {@link MathUtils#sum(int[])}
*/
@Deprecated
Expand Down
2 changes: 2 additions & 0 deletions core/src/main/java/com/google/zxing/pdf417/PDF417Common.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ private PDF417Common() {
}

/**
* @param moduleBitCount values to sum
* @return sum of values
* @deprecated call {@link MathUtils#sum(int[])}
*/
@Deprecated
Expand Down
6 changes: 0 additions & 6 deletions glass/.gitignore

This file was deleted.

2 changes: 0 additions & 2 deletions javase/.gitignore

This file was deleted.

17 changes: 4 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,6 @@
<fileset>
<directory>.</directory>
<includes>
<include>**/bin/**</include>
<include>**/gen/**</include>
<include>**/libs/*</include>
<include>**/out/**</include>
<include>**/classes/**</include>
<include>**/gwt-unitCache/**</include>
<include>**/webapp/generator/**</include>
Expand All @@ -240,7 +236,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.0</version>
<version>3.0.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -341,11 +337,6 @@
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
Expand All @@ -354,7 +345,7 @@
<plugin>
<groupId>com.simpligility.maven.plugins</groupId>
<artifactId>android-maven-plugin</artifactId>
<version>4.4.1</version>
<version>4.4.2</version>
<extensions>true</extensions>
<executions>
<execution>
Expand Down Expand Up @@ -426,7 +417,7 @@
<configuration>
<configLocation>src/checkstyle/checkstyle.xml</configLocation>
<!-- Android generated files -->
<excludes>**/R.java,**/BuildConfig.java</excludes>
<excludes>**/R.java,**/BuildConfig.java,**/Manifest.java</excludes>
</configuration>
<executions>
<execution>
Expand Down Expand Up @@ -507,7 +498,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.6.201602180812</version>
<version>0.7.7.201606060606</version>
<executions>
<execution>
<goals>
Expand Down
2 changes: 0 additions & 2 deletions zxing.appspot.com/.gitignore

This file was deleted.

2 changes: 0 additions & 2 deletions zxingorg/.gitignore

This file was deleted.

2 changes: 1 addition & 1 deletion zxingorg/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.3.9.M1</version>
<version>9.4.0.M0</version>
<configuration>
<webAppSourceDirectory>src/web</webAppSourceDirectory>
</configuration>
Expand Down

0 comments on commit 58f748a

Please sign in to comment.