[hibernate-issues] [Hibernate-JIRA] Commented: (HV-547) Make Hibernate Validator build not fail

Hardy Ferentschik (JIRA) noreply at atlassian.com
Mon Jan 2 05:23:21 EST 2012


    [ http://opensource.atlassian.com/projects/hibernate/browse/HV-547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44815#comment-44815 ] 

Hardy Ferentschik commented on HV-547:
--------------------------------------

The build works fine. In fact it is configured the same way as Search. The difference might be that in Search we currently don't have an active translation. Other than that you can influence the build via the properties _disableDocumentationBuild_, _disableDistributionBuild_ and _jdocbook.ignoreTranslations_ - see http://community.jboss.org/wiki/ContributingtoHibernateValidator#Build_options

I don't want to disable the doc build per default, but I will add a echo warning

> Make Hibernate Validator build not fail
> ---------------------------------------
>
>                 Key: HV-547
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HV-547
>             Project: Hibernate Validator
>          Issue Type: Improvement
>          Components: build
>            Reporter: Emmanuel Bernard
>
> When running mvn clean install, I always get failures on the manual build.
> {code}
> [INFO] Hibernate Validator Aggregator .................... SUCCESS [1.319s]
> [INFO] Hibernate Validator ............................... SUCCESS [27.278s]
> [INFO] Hibernate Validator TCK Runner .................... SUCCESS [19.637s]
> [INFO] Hibernate Validator Integration Tests ............. SUCCESS [26.355s]
> [INFO] Hibernate Validator Annotation Processor .......... SUCCESS [3.330s]
> [INFO] Hibernate Validator Quickstart .................... SUCCESS [12.296s]
> [INFO] Hibernate Validator Manual ........................ FAILURE [19.885s]
> [INFO] Hibernate Validator Distribution .................. SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1:55.078s
> [INFO] Finished at: Fri Dec 23 14:36:25 CET 2011
> [INFO] Final Memory: 45M/108M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.5:translate (default) on project hibernate-validator-documentation: Unexpected problem: unable to execute po2xml : Cannot run program "po2xml": error=2, No such file or directory -> [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/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :hibernate-validator-documentation
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list