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

Running mvn test modifies the TIFF files in src/main/resources #6

Open
ctrueden opened this issue Apr 20, 2022 · 0 comments
Open

Running mvn test modifies the TIFF files in src/main/resources #6

ctrueden opened this issue Apr 20, 2022 · 0 comments

Comments

@ctrueden
Copy link
Member

Build log
$ git status
On branch master
nothing to commit, working tree clean
$ mvn test
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------< net.imglib2:labeling >------------------------
[INFO] Building ImgLib2 Labeling 0.2.3-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-rules) @ labeling ---
[INFO] Adding ignore: module-info
[INFO] Adding ignore: META-INF/versions/*/module-info
[INFO] Adding ignore: com.esotericsoftware.kryo.*
[INFO] Adding ignore: com.esotericsoftware.minlog.*
[INFO] Adding ignore: com.esotericsoftware.reflectasm.*
[INFO] Adding ignore: com.google.inject.*
[INFO] Adding ignore: jnr.ffi.*
[INFO] Adding ignore: org.apache.hadoop.yarn.*.package-info
[INFO] Adding ignore: org.apache.spark.unused.UnusedStubClass
[INFO] Adding ignore: org.hibernate.stat.ConcurrentStatisticsImpl
[INFO] Adding ignore: org.jetbrains.kotlin.daemon.common.*
[INFO] Adding ignore: org.junit.runner.Runner
[INFO] Adding ignore: module-info
[INFO] Adding ignore: module-info
[INFO]
[INFO] --- build-helper-maven-plugin:3.0.0:regex-property (sanitize-version) @ labeling ---
[INFO]
[INFO] --- build-helper-maven-plugin:3.0.0:regex-property (guess-package) @ labeling ---
[INFO] No match to regex '[^a-z0-9_.]+' found in 'net.imglib2.labeling'. The initial value 'net.imglib2.labeling' is left as-is...
[INFO]
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ labeling ---
[INFO] Executing: /bin/sh -c cd '/Volumes/Code/scifio/Labeling' && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: /Volumes/Code/scifio/Labeling
[INFO] Storing buildNumber: ebf4c5a0ac9fc4164e5eee81422d2bac8ab85955 at timestamp: 1650479405965
[INFO] Storing buildScmBranch: master
[INFO]
[INFO] --- scijava-maven-plugin:2.0.0:set-rootdir (set-rootdir) @ labeling ---
[INFO] Setting rootdir: /Volumes/Code/scifio/Labeling
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.6:prepare-agent (jacoco-initialize) @ labeling ---
[INFO] argLine set to -javaagent:/Users/curtis/.m2/repository/org/jacoco/org.jacoco.agent/0.8.6/org.jacoco.agent-0.8.6-runtime.jar=destfile=/Volumes/Code/scifio/Labeling/target/jacoco.exec
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ labeling ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Volumes/Code/scifio/Labeling/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ labeling ---
[INFO] Compiling 2 source files to /Volumes/Code/scifio/Labeling/target/classes
[INFO] /Volumes/Code/scifio/Labeling/src/main/java/net/imglib2/labeling/DefaultLabelingIOService.java: /Volumes/Code/scifio/Labeling/src/main/java/net/imglib2/labeling/DefaultLabelingIOService.java uses unchecked or unsafe operations.
[INFO] /Volumes/Code/scifio/Labeling/src/main/java/net/imglib2/labeling/DefaultLabelingIOService.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ labeling ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 14 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ labeling ---
[INFO] Compiling 2 source files to /Volumes/Code/scifio/Labeling/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ labeling ---
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running net.imglib2.labeling.LabelingIOTest
[ECLIPSE HELPER] Indexing annotations...
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.482 s - in net.imglib2.labeling.LabelingIOTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.449 s
[INFO] Finished at: 2022-04-20T13:30:09-05:00
[INFO] ------------------------------------------------------------------------
$ git status
On branch master
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   src/test/resources/labeling/example1_sav.tif
	modified:   src/test/resources/labeling/labelSaveTestComplexMeta.tif
	modified:   src/test/resources/labeling/labelSaveTestSimple.tif
	modified:   src/test/resources/labeling/test2.tif

no changes added to commit (use "git add" and/or "git commit -a")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant