Move java/ to java/org/brotli/ to fix sources.jar structure (#517)

Also added man pages to `docs/`
This commit is contained in:
Eugene Kliuchnikov
2017-02-28 16:59:52 +01:00
committed by GitHub
parent aaac88a1e0
commit c931e576d2
30 changed files with 1128 additions and 7 deletions

View File

@@ -14,18 +14,21 @@
<name>${project.groupId}:${project.artifactId}</name>
<build>
<sourceDirectory>.</sourceDirectory>
<testSourceDirectory>.</testSourceDirectory>
<sourceDirectory>../../..</sourceDirectory>
<testSourceDirectory>../../..</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<includes>
<include>**/dec/*.java</include>
</includes>
<excludes>
<exclude>**/*Test*.java</exclude>
</excludes>
<testIncludes>
<include>**/*Test*.java</include>
<include>**/dec/*Test*.java</include>
</testIncludes>
</configuration>
</plugin>
@@ -42,7 +45,7 @@
</goals>
<configuration>
<includes>
<include>**/*.java</include>
<include>**/dec/*.java</include>
</includes>
<excludes>
<exclude>**/*Test*.java</exclude>
@@ -63,6 +66,7 @@
<goal>jar</goal>
</goals>
<configuration>
<sourcepath>.</sourcepath>
<sourceFileExcludes>
<exclude>**/*Test*.java</exclude>
</sourceFileExcludes>

View File

@@ -4,7 +4,7 @@
java_library(
name = "bundle_checker_lib",
srcs = ["BundleChecker.java"],
deps = ["//java/dec:lib"],
deps = ["//java/org/brotli/dec:lib"],
)
java_binary(
@@ -15,7 +15,7 @@ java_binary(
java_test(
name = "bundle_checker_data_test",
args = ["java/integration/test_data.zip"],
args = ["java/org/brotli/integration/test_data.zip"],
data = ["test_data.zip"],
main_class = "org.brotli.integration.BundleChecker",
use_testrunner = 0,
@@ -26,7 +26,7 @@ java_test(
name = "bundle_checker_fuzz_test",
args = [
"-s",
"java/integration/fuzz_data.zip"
"java/org/brotli/integration/fuzz_data.zip"
],
data = ["fuzz_data.zip"],
main_class = "org.brotli.integration.BundleChecker",