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

cannot get a file containing checksums #146

Open
mrbln opened this issue Oct 7, 2022 · 0 comments
Open

cannot get a file containing checksums #146

mrbln opened this issue Oct 7, 2022 · 0 comments

Comments

@mrbln
Copy link

mrbln commented Oct 7, 2022

Hey there,

I'm using below configuration in my project's pom.xml file.

<groupId>net.nicoulaj.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
<version>1.10</version>
<executions>
  <execution>
	<goals>
	  <goal>files</goal>
	</goals>
  </execution>
</executions>
<configuration>
  <fileSets>
	<fileSet>
	  <directory>${project.build.sourceDirectory}</directory>
	  <includes>
		<include>*.java</include>
	  </includes>
	  <excludes>
		<exclude>*.properties</exclude>
	  </excludes>
	</fileSet>
  </fileSets>
  <algorithms>
	<algorithm>MD5</algorithm>
  </algorithms>
  <csvSummary>true</csvSummary>
  <csvSummaryFile>dependencies-checksums.csv</csvSummaryFile>
</configuration>

I expect a dependencies-checksums.csv file somewhere in my project but after running "mvn clean install" command, I cannot get or see anything in project folder even though the command finishes successfully.

And even I tried to run "mvn net.nicoulaj.maven.plugins:checksum-maven-plugin:1.10:files" but I got The parameters 'fileSets' for goal net.nicoulaj.maven.plugins:checksum-maven-plugin:1.10:files are missing or invalid message with failure. I didn't see or find any correct usage to give fileSets parameter.

Am I doing something wrong or do I need to change a parameter in this configuration?

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