[ 
https://issues.apache.org/jira/browse/BROOKLYN-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14214455#comment-14214455
 ] 

Aled Sage commented on BROOKLYN-87:
-----------------------------------

This is in 
`https://repository.apache.org/index.html#nexus-search;quick~brooklyn core`

The maven you'd need is:

    <dependency>
      <groupId>org.apache.brooklyn</groupId>
      <artifactId>brooklyn-core</artifactId>
      <version>0.7.0-SNAPSHOT</version>
      <classifier>tests</classifier>
    </dependency>

and the repositories (which are already referenced in 
https://github.com/brooklyncentral/clocker/blob/master/pom.xml):

    <repositories>
        <repository>
            <id>apache-snapshots</id>
            
<url>https://repository.apache.org/content/repositories/snapshots</url>
            <releases>
                <enabled>false</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
    </repositories>

For Clocker, you'll also want the `advanced-networking` downstream project so 
include:

        <repository>
            <id>sonatype-nexus-snapshots</id>
            <name>Sonatype Nexus Snapshots</name>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
            <releases>
                <enabled>false</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>

When Brooklyn `0.7.0-M2-incubating` is released (going through the Apache vote 
currently), that will become available in maven central etc.


> Should core-tests be released to Maven Repository?
> --------------------------------------------------
>
>                 Key: BROOKLYN-87
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-87
>             Project: Brooklyn
>          Issue Type: Improvement
>    Affects Versions: 0.7.0-M1
>            Reporter: David Medinets
>            Priority: Minor
>
> The Clocker example references TestApplication which does not seem to be in a 
> jar file available in a maven repository. 
> After compiling Brooklyn, the TestApplication class is located in 
> ./core/target/brooklyn-core-0.7.0-SNAPSHOT-tests.jar. 
> Should that jar be available in the maven repositories?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to