You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Evans Ye (JIRA)" <ji...@apache.org> on 2015/12/02 16:36:11 UTC

[jira] [Commented] (BIGTOP-2081) implement a nexus docker container for CI

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

Evans Ye commented on BIGTOP-2081:
----------------------------------

I've poor knowledge on nexus. But the gradle code looks good.
Just one more thing, there're two unrelated newline introduce in the patch. ;)

> implement a nexus docker container for CI
> -----------------------------------------
>
>                 Key: BIGTOP-2081
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-2081
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: build
>            Reporter: Olaf Flebbe
>            Assignee: Olaf Flebbe
>             Fix For: 1.1.0
>
>         Attachments: BIGTOP-2081.1.patch, BIGTOP-2081.2.patch
>
>
> In order to cache all the maven dependencies we need a maven artifact proxy server.
> Lets create a docker OSS nexus server with some proxy repositories already preconfigured.
> Persistent data  is handled by a data volume container see
> https://docs.docker.com/userguide/dockervolumes/ 
> The client config will be handled by something like, if client ip port 8081 is mapped to server ip port 8081
> {code}
> cat >$HOME/.m2/settings.xml <<EOF
> <settings>
>   <mirrors>
>     <mirror>
>       <id>conjars</id>
>       <name>nexus conjars</name>
>       <url>http://localhost:8081/nexus/content/repositories/conjars/</url>
>       <mirrorOf>conjars</mirrorOf>
>     </mirror>
>     <mirror>
>       <id>central</id>
>       <name>nexus central</name>
>       <url>http://localhost:8081/nexus/content/repositories/central/</url>
>       <mirrorOf>central</mirrorOf>
>     </mirror>
>      <mirror>
>       <id>repository.jboss.org</id>
>       <name>nexus jboss</name>
>     <url>http://localhost:8081/nexus/content/repositories/repository.jboss.org/</url>
>       <mirrorOf>repository.jboss.org</mirrorOf>
>     </mirror>
>     <mirror>
>       <id>apache snapshot</id>
>       <name>apache snapshot</name>
>       <url>http://localhost:8081/nexus/content/repositories/apache_snapshots/</url>
>       <mirrorOf>apache snapshot</mirrorOf>
>     </mirror>
>     <mirror>
>       <id>apache https snapshot</id>
>       <url>http://localhost:8081/nexus/content/repositories/apache_snapshots.https/</url>
>       <mirrorOf>apache.snapshots.https</mirrorOf>
>     </mirror>
> 	<mirror>
>        <id>maven2-repository.atlassian</id>
>        <url>http://localhost:8081/nexus/content/repositories/maven2-repository.atlassian/</url>
>        <mirrorOf>maven2-repository.atlassian</mirrorOf>
>     </mirror>
>   </mirrors>
> </settings>
> EOF
> {code}



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