[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-1053) Hibernate Search Maven should compile out of the box

Hardy Ferentschik (JIRA) noreply at atlassian.com
Fri Mar 2 11:37:48 EST 2012


    [ https://hibernate.onjira.com/browse/HSEARCH-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45802#comment-45802 ] 

Hardy Ferentschik commented on HSEARCH-1053:
--------------------------------------------

The best practice is not to add the repository information to the pom. See also https://community.jboss.org/wiki/MavenGettingStarted-Users#comment-3259

One we could do (we do that in Validator as well) is to check in a sample _settings.xml_ file at the root level. This way a user can get started at any time via:

{code}
mvn clean install -s example-settings.xml
{code}

At a later stage he then can decide to add the required information to his _~/.m2/settings.xml_

> Hibernate Search Maven should compile out of the box
> ----------------------------------------------------
>
>                 Key: HSEARCH-1053
>                 URL: https://hibernate.onjira.com/browse/HSEARCH-1053
>             Project: Hibernate Search
>          Issue Type: Improvement
>          Components: build
>            Reporter: Marc Schipperheyn
>            Priority: Trivial
>
> When you check out Hibernate Search from github, and try to maven install it, you get a bunch of errors that are caused by missing jboss maven repositories. You are supposed to add these in your settings.xml. IMHO it doesn't make any sense to have to muck about with maven settings in order to be able to use project specific repositories, unless maybe if you work there. I recommend simply adding the required repositories in the root pom.xml.

--
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