-
Notifications
You must be signed in to change notification settings - Fork 112
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
mvn qulice:check -Pqulice fails to read license #400
Comments
isn't it a duplicate of #397? |
@darkled ok, let's try to fix this separately |
@darkled this task will get someone's attention soon |
@krzyk this task is yours, go ahead |
@darkled thanks for tis bug, I topped your account for 15 mins, transaction |
@darkled could you share pom.xml and the full path name you use for the project? |
@krzyk I think they succeed because your <license>file:${basedir}/LICENSE.txt</license> In my case <profile>
<id>qulice</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.jcabi</groupId>
<artifactId>jcabi-maven-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>${hibernate.validator}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>com.qulice</groupId>
<artifactId>qulice-maven-plugin</artifactId>
<version>0.12.1</version>
<configuration>
<license>file://${basedir}/LICENSE.txt</license>
<excludes combine.children="append">
<exclude>findbugs:.*</exclude>
<exclude>checkstyle:/src/main/resources/com/sigzig/.*</exclude>
</excludes>
</configuration>
<dependencies>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>${hibernate.validator}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile> |
@darkled In your example profile, license is defined as |
@darkled also, why override license configuration, and add |
@davvd please give me more time |
@krzyk you're right, when if I remove |
@darkled actually there is already info about correct configuration on www.qulice.com, let me know if you think we should add more info there |
@darkled also the same configuration is in the README.md |
@krzyk it looks very confusing, I think we need to say it explicitly in one or two sentences. |
@krzyk e.g. |
@darkled I've added explanation to the README, please close this issue |
@krzyk thanks! |
Running locally under windows 7
mvn qulice:check -Pqulice -e
on a project withLICENSE.txt
inside the project folder leads to the following error:It seems that the method
com.qulice.checkstyle.CheckstyleValidator.header(Environment)
builds a wrong URL.The text was updated successfully, but these errors were encountered: