[bv-dev] Can't find jboss-test-audit in the BV TCK

Gunnar Morling gunnar at hibernate.org
Sun Dec 23 13:25:33 EST 2012


Hi Antonio,

It's an ongoing debate whether it's good to put repo information into POMs
or not, see e.g. [1]. The major problem is that users of such a pom.xml as
dependency will get that repo pulled into their own build, which might not
be what they want.

Now I guess there won't be many people using the TCK as dependency, but I
still think it's saver to leave the repo info out of the POM and have users
add it to their settings.xml. With the BV reference implementation we
provide an examplary settings.xml which can be used for building: mvn clean
install -s settings-example.xml. I've created a ticket for the TCK to do
the same [2].

Thanks again for your feedback,

--Gunnar

[1]
http://www.sonatype.com/people/2009/02/why-putting-repositories-in-your-poms-is-a-bad-idea/
[2] https://hibernate.onjira.com/browse/BVTCK-30


2012/12/23 Antonio Goncalves <antonio.mailing at gmail.com>

> Thanks, just by adding the following repository in the pom.xml works. You
> might want to add it to the pom as not everybody declares JBoss Repo in
> their settings.xml
>
>   <repositories>
>     <repository>
>       <id>jboss-public-repository</id>
>       <name>JBoss Public Repository</name>
>       <url>https://repository.jboss.org/nexus/content/groups/public-jboss/
> </url>
>     </repository>
>   </repositories>
>
>
> Thanks again
>
>
> 2012/12/23 Gunnar Morling <gunnar at hibernate.org>
>
>> https://community.jboss.org/wiki/MavenGettingStarted-Users
>
>
>
>
> --
> Antonio Goncalves
> Software architect and Java Champion
>
> Web site <http://www.antoniogoncalves.org/> | Twitter<http://twitter.com/agoncal>
>  | LinkedIn <http://www.linkedin.com/in/agoncal> | Paris JUG<http://www.parisjug.org/>
>  | Devoxx France <http://www.devoxx.fr/>
>
> _______________________________________________
> beanvalidation-dev mailing list
> beanvalidation-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/beanvalidation-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/beanvalidation-dev/attachments/20121223/96218a94/attachment.html 


More information about the beanvalidation-dev mailing list