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

mvm clean verify -Pqulice: unable to find validation provider #15

Open
RomanKisilenko opened this issue Jan 12, 2015 · 8 comments
Open

Comments

@RomanKisilenko
Copy link
Contributor

mvm clean verify -Pqulice fails with

[ERROR] JSR-303 validator failed to initialize: Unable to create a Configuration, because no Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath. (see http://www.jcabi.com/jcabi-aspects/jsr-303.html)
@yegor256
Copy link
Member

@RomanKisilenko it's not a failure, but a warning message. or you see a "BUILD FAILED" at the end?

@RomanKisilenko
Copy link
Contributor Author

I see build failed due to

[ERROR] Failed to execute goal com.qulice:qulice-maven-plugin:0.10:check (jcabi-check) on project jcabi-manifests: Execution jcabi-check of goal com.qulice:qulice-maven-plugin:0.10:check failed: Non-zero exit code 1: -> [Help 1]

The above mentioned error is the only error printed by qulice.

@yegor256
Copy link
Member

@RomanKisilenko show a bigger piece of log pls

@RomanKisilenko
Copy link
Contributor Author

Here it is, but it still does not explain much:

[INFO] --- qulice-maven-plugin:0.10:check (jcabi-check) @ jcabi-manifests ---
[INFO] LICENSE found: file:/Users/roman/Desktop/project/teamio/jcabi-manifests/LICENSE.txt
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[INFO] No Checkstyle violations found in 17 files
[INFO] No PMD violations found in 10 files
[INFO] /src/site/site.xml: to be validated
[INFO] jcabi-aspects 0.17.1/8b0e260 started new daemon thread jcabi-loggable for watching of @Loggable annotated methods
[ERROR] JSR-303 validator failed to initialize: Unable to create a Configuration, because no Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath. (see http://www.jcabi.com/jcabi-aspects/jsr-303.html)
[INFO] CodeNarc not required since no groovy files in /Users/roman/Desktop/project/teamio/jcabi-manifests/src
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.357s
[INFO] Finished at: Tue Jan 13 14:11:17 MSK 2015
[INFO] Final Memory: 42M/340M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.qulice:qulice-maven-plugin:0.10:check (jcabi-check) on project jcabi-manifests: Execution jcabi-check of goal com.qulice:qulice-maven-plugin:0.10:check failed: Non-zero exit code 1: -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

@yegor256
Copy link
Member

@RomanKisilenko try to run this: mvn clean install -Pqulice --errors and post the end of the log

@RomanKisilenko
Copy link
Contributor Author

@yegor256
Copy link
Member

@RomanKisilenko what is your environment? Java/Maven?

@RomanKisilenko
Copy link
Contributor Author

@yegor256

ip-192-168-3-104:jcabi-manifests roman$ ~/apache-maven-3.2.5/bin/mvn --version
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T21:29:23+04:00)
Maven home: /Users/roman/apache-maven-3.2.5
Java version: 1.8.0_25, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre
Default locale: ru_RU, platform encoding: UTF-8
OS name: "mac os x", version: "10.9.5", arch: "x86_64", family: "mac"

It was also reproducible on maven 3.0.5 and JDK 6

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

2 participants