karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject svn commit: r1607858 - in /karaf/site/production/manual/cave/latest: ./ user-guide/
Date Fri, 04 Jul 2014 13:52:24 GMT
Author: jbonofre
Date: Fri Jul  4 13:52:23 2014
New Revision: 1607858

URL: http://svn.apache.org/r1607858
Log:
[scm-publish] Updating main site with Karaf Cave manual

Added:
    karaf/site/production/manual/cave/latest/manual.html
Modified:
    karaf/site/production/manual/cave/latest/index.html
    karaf/site/production/manual/cave/latest/overview.html
    karaf/site/production/manual/cave/latest/user-guide/administrate-cave.html
    karaf/site/production/manual/cave/latest/user-guide/cave-repository.html
    karaf/site/production/manual/cave/latest/user-guide/http-wrapper.html
    karaf/site/production/manual/cave/latest/user-guide/index.html
    karaf/site/production/manual/cave/latest/user-guide/installation.html
    karaf/site/production/manual/cave/latest/user-guide/obr-commands.html
    karaf/site/production/manual/cave/latest/user-guide/populate-repository.html
    karaf/site/production/manual/cave/latest/user-guide/proxy-repository.html

Modified: karaf/site/production/manual/cave/latest/index.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/cave/latest/index.html?rev=1607858&r1=1607857&r2=1607858&view=diff
==============================================================================
--- karaf/site/production/manual/cave/latest/index.html (original)
+++ karaf/site/production/manual/cave/latest/index.html Fri Jul  4 13:52:23 2014
@@ -8,7 +8,7 @@
     <link href="css/style.css" rel="stylesheet" type="text/css"/>
     <link href="css/pygmentize.css" rel="stylesheet" type="text/css"/>
     <title>
-      Apache Karaf Cave 2.3.0-SNAPSHOT Guides
+      Apache Karaf Cave 3.0.1-SNAPSHOT Guides
     </title>
   </head>
   <body>

Added: karaf/site/production/manual/cave/latest/manual.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/cave/latest/manual.html?rev=1607858&view=auto
==============================================================================
--- karaf/site/production/manual/cave/latest/manual.html (added)
+++ karaf/site/production/manual/cave/latest/manual.html Fri Jul  4 13:52:23 2014
@@ -0,0 +1,798 @@
+
+<!DOCTYPE html>
+<html>
+<head>
+  <style type="text/css">
+/*
+
+Copyright (c) 2005 Hakon Wium Lie and Bert Bos
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+*/
+html {
+  margin: 0; padding: 0;
+  font: 10pt/1.26 "Gill Sans", sans-serif;
+}
+
+h1, h2, h3, h4, h5, h6 {
+  font-family: "Gill Sans", sans-serif;
+  margin: 2em 0 0.5em 0;
+  page-break-after: avoid;
+}
+
+h1 {
+  font-size: 2.0em;
+  font-weight: 900;
+
+  margin: 0;
+  margin-left:-2cm;
+  margin-top:-1cm;
+  margin-bottom:1.5cm;
+  top: 0cm;
+  left: 0cm;
+  padding: 2cm;
+  padding-top: 0cm;
+  padding-bottom: 1cm;
+  background: #888;
+  border-bottom-right-radius: 2cm;
+  page-break-before: always;
+  page-break-inside: avoid;
+}
+
+@media screen, handheld {
+h1 {
+  margin-top:1cm;
+  background-image: url("chapter-rounded-bottom.png");
+  background-repeat: no-repeat;
+  background-position: bottom right;
+}
+div.page-reset > h1 {
+  margin-top:0cm;
+}
+}
+
+
+h2 {
+  font-size: 1.2em;
+  text-transform: uppercase;
+  font-weight: bold;
+}
+
+h3 {
+  font-size: 1em;
+  font-weight: bold;
+}
+
+q::before {
+  content: "\201C";
+}
+
+q::after {
+  content: "\201D";
+}
+
+p { margin: 0 }
+p + p { text-indent: 1.3em ; margin-top: 0.2em; }
+p.sidenote + p, p.caption, p.art { text-indent: 0 }
+
+p.author {
+  margin-top: 2em;
+  text-indent: 0;
+  text-align: right;
+}
+
+a { text-decoration: none; color: black }
+
+/* cross-references */
+
+a.pageref::after { content: " on page " target-counter(attr(href), page); }
+a.chapref::before { content: " Chapter " target-counter(attr(href), chapter) ", "; }
+a.figref { content: " Figure " target-counter(attr(href), figure); }
+a.tableref { content: " Table " target-counter(attr(href), figure); }
+a.listingref { content: " Listing " target-counter(attr(href), listing); }
+
+/* sidenotes */
+
+.sidenote {
+  float: left;
+  clear: left;
+  margin: 0 0 1em -41%;
+  width: 37%;
+  font-size: 0.9em;
+  font-style: normal;
+  text-indent: 0;
+  text-align: right;
+  page-break-inside: avoid;
+}
+
+/* sidebars */
+
+div.sidebar {
+  float: top-next;
+  margin: 1.2em 0 1.2em 0;
+  border: thin solid;
+  background: #CCC;
+  padding: 0.5em 1em;
+  page-break-inside: avoid;
+  column-count: 2;
+  column-gap: 1.5em;
+}
+
+div.sidebar h2 {
+  margin-top: 0;
+}
+
+/* frontpage */
+
+.title p{
+	font-size:22pt;
+  	font-family: "Gill Sans", sans-serif;
+  	text-align: center;
+}
+
+.copyright-section {
+	text-align: center;
+	font-size: 9pt;
+	page-break-after: always;
+	margin-top: 50pt;
+	margin-bottom: 20pt;
+}
+
+.toc-title {
+	font-size:18pt;
+  	font-family: "Gill Sans", sans-serif;
+  	text-align: left;
+  	margin-left:20pt;
+  	margin-bottom: 40pt;
+
+}
+
+/* figures, tables, and listings */
+
+div.confluenceTableSmall th.confluenceTh {
+  font-size: 11px;
+}
+
+div.confluenceTableSmall td.confluenceTd {
+  font-size: 7px;
+}
+
+div.figure {
+  margin: 1em 0;
+  counter-increment: figure;
+}
+
+div.figure .caption, div.table .caption {
+  font-size: 0.9em;
+  font-style: italic;
+}
+
+div.figure .caption::before {
+  content: "Figure " counter(figure) ". ";
+  font-weight: bold;
+  font-style: normal;
+}
+
+div.table .caption::before {
+  content: "Table " counter(table) ". ";
+  font-weight: bold;
+  font-style: normal;
+}
+
+div.table {
+  margin: 1em 0;
+  counter-increment: table;
+}
+
+div.table th {
+  text-align: left;
+}
+
+table th, table td {
+  text-align: left;
+  padding-right: 1em;
+  page-break-inside: avoid;
+}
+
+table th {
+  border-top: thin solid;
+  border-bottom: thin solid;
+  padding-top: 0.2em;
+  padding-bottom: 0.2em;
+}
+table td {
+  border-top: none;
+  border-bottom: thin dotted;
+  padding-top: 0.2em;
+  padding-bottom: 0.2em;
+}
+
+div.Scrollbar {
+	display: none;
+}
+
+
+/* Weird div.codeHeader a b::before would be a better selection
+   but prince does not properly match it.. Firefox does. */
+div.codeHeader::before {
+  content: "Listing " counter(listing) ". ";
+  font-weight: bold;
+  font-style: normal;
+}
+div.codeHeader a b {
+  font-style: italic;
+  font-weight: normal;
+}
+div.codeHeader {
+  font-size: 0.9em;
+  counter-increment: listing;
+}
+div.code {
+	border: 1px dashed #c0c0c0;
+    font-size: 12px;
+	font-family: Courier;
+    margin: 5px;
+	line-height: 13px;
+	padding: 3px;
+	background-color: #f8f8f8;
+
+}
+
+
+@page {
+  margin: 2cm;
+  size: 7in 9.25in;
+
+  @footnotes {
+    border-top: thin solid black;
+    padding-top: 0.3em;
+    margin-top: 0.6em;
+  }
+}
+
+
+/* define default page and names pages: cover, blank, frontmatter */
+div.page-reset {
+    counter-reset: page 1;
+}
+
+@page :left {
+  @top-left-corner {
+    font-weight: 900; font: 9pt "Gill Sans", serif;
+    content: counter(page);
+    text-align: left;
+    margin-left: 1cm;
+    visibility: hidden;
+  }
+  @top-left {
+    font-weight: 900;
+    font: 9pt "Gill Sans", serif; white-space: pre; text-transform: uppercase; letter-spacing: 0.1em;
+    content: string(header, first);
+    visibility: hidden;
+  }
+  @bottom-left-corner {
+    font-weight: 900; font: 9pt "Gill Sans", serif;
+    content: counter(page);
+    text-align: left;
+    margin-left: 1cm;
+  }
+  @bottom-left {
+    font-weight: 900;
+    font: 9pt "Gill Sans", serif; white-space: pre; text-transform: uppercase; letter-spacing: 0.1em;
+    content: string(header, first);
+  }
+}
+
+@page :right {
+  @top-right-corner {
+    font-weight: 900; font: 9pt "Gill Sans", serif;
+    content: counter(page);
+    text-align: left;
+    margin-left: 1cm;
+    visibility: hidden;
+  }
+  @top-right {
+    font-weight: 900;
+    font: 9pt "Gill Sans", serif; white-space: pre; text-transform: uppercase; letter-spacing: 0.1em;
+    content: string(header, first)
+    visibility: hidden;
+  }
+  @bottom-right-corner {
+    font-weight: 900; font: 9pt "Gill Sans", serif;
+    content: counter(page);
+    text-align: right;
+    margin-right: 1cm;
+  }
+  @bottom-right {
+    font-weight: 900; font: 9pt "Gill Sans", serif;
+    white-space: pre; text-transform: uppercase; letter-spacing: 0.1em;
+    content: string(header, first)
+  }
+}
+
+/*
+  In theory we should be able to use the :first selector so taht
+  we can put the page numbering on the bottom of the first page of the chapter
+  but have the rest of the pages number at the top.  But this does not seem
+  to work.  See http://www.princexml.com/doc/6.0/page-selectors/
+
+  So for now just always number at the bottom :(
+*/
+/*
+div.chapter { page: bottom-number; }
+@page bottom-number :first {
+  @top-left {
+    visibility: hidden;
+  }
+  @bottom-left {
+    visibility: visible;
+  }
+  @top-right {
+    visibility: hidden;
+  }
+  @bottom-right {
+    visibility: visible;
+  }
+}
+*/
+
+@page cover { margin: 0; }
+
+@page frontmatter :left {
+  @bottom-left-corner {
+    content: counter(page, lower-roman);
+  }
+  @bottom-left-corner {
+    content: counter(page, lower-roman);
+  }
+}
+
+@page frontmatter :right {
+  @bottom-right-corner {
+    content: counter(page, lower-roman);
+  }
+  @bottom-right-corner {
+    content: counter(page, lower-roman);
+  }
+}
+
+@page blank :left {
+  @top-left { visibility: hidden; }
+  @bottom-left { visibility: hidden; }
+  @top-left-corner { visibility: hidden; }
+  @bottom-left-corner { visibility: hidden; }
+}
+
+@page blank :right {
+  @top-right { visibility: hidden; }
+  @bottom-right { visibility: hidden; }
+  @top-right-corner { visibility: hidden; }
+  @bottom-right-corner { visibility: hidden; }
+}
+
+/* footnotes */
+.footnote {
+  display: none;                   /* default rule */
+
+  display: prince-footnote;        /* prince-specific rules */
+  position: footnote;
+  footnote-style-position: inside;
+
+  counter-increment: footnote;
+  margin-left: 1.4em;
+  font-size: 90%;
+  line-height: 1.4;
+}
+
+.footnote::footnote-call {
+  vertical-align: super;
+  font-size: 80%;
+}
+
+.footnote::footnote-marker {
+  vertical-align: super;
+  color: green;
+  padding-right: 0.4em;
+}
+
+/* Confluence contents to hide */
+#labels-section {
+	display: none;
+}
+#comments-section {
+	display: none;
+}
+#footer {
+	display: none;
+}
+.hidden {
+	display: none;
+}
+
+/*
+   A book consists of different types of sections. We propose to use
+   DIV elements with these class names:
+
+    frontcover
+    halftitlepage: contains the title of the book
+    titlepage: contains the title of the book, name of author(s) and publisher
+    imprint: left page with copyright, publisher, library printing information
+    dedication: right page with short dedication
+    foreword: written by someone other than the author(s)
+    toc: table of contents
+    preface: preface, including acknowledgements
+    chapter: each chapter is given its own DIV element
+    references: contains list of references
+    appendix: each appendix is given its own
+    bibliography
+    glossary
+    index
+    colophon: describes how the book was produced
+    backcover
+
+   A book will use several of the types listed above, but few books
+   will use all of them.
+*/
+
+/* which section uses which named page */
+
+div.halftitlepage, div.titlepage, div.imprint, div.dedication { page: blank }
+div.foreword, div.toc, div.preface { page: frontmatter }
+
+
+/* page breaks */
+div.frontcover, div.halftitlepage, div.titlepage { page-break-before: right }
+div.imprint { page-break-before: always; }
+div.chapter { page-break-before: always; }
+div.dedication, div.foreword, div.toc, div.preface, div.reference,
+div.appendix, div.bibliography, div.glossary, div.index, div.colophon {
+  page-break-before: always
+}
+div.backcover { page-break-before: left }
+
+/* titlepage, halftitlepage */
+
+div.titlepage h1, div.halftitlepage h1 { margin-bottom: 2em; }
+div.titlepage h2, div.halftitlepage h2 { font-size: 1.2em; margin-bottom: 3em; }
+div.titlepage h3, div.halftitlepage h3 { font-size: 1em; margin-bottom: 3em; }
+div.titlepage p, div.halftitlepage p {
+  font-size: 1.4em;
+  font-weight: bold;
+  margin: 0; padding: 0;
+}
+
+
+/* TOC */
+
+ul.toc, ul.toc ul {
+  list-style-type: none;
+  margin: 0; padding: 0;
+  margin-left: 3cm;
+}
+ul.toc ul {
+  margin-left: 1em;
+  font-weight: normal;
+}
+ul.toc > li {
+  font-weight: bold;
+  margin-bottom: 0.5em;
+}
+ul.toc a::after {
+  content: leader('.') target-counter(attr(href), page);
+  font-style: normal;
+}
+ul.toc > li.frontmatter a::after {
+  content: leader('.') target-counter(attr(href), page, lower-roman);
+  font-style: normal;
+}
+ul.toc > li.endmatter a::after {
+  content: leader('.') target-counter(attr(href), page);
+  font-style: normal;
+}
+ul.toc > li.chapter::before {
+  content: "Chapter " counter(toc-chapter, decimal);
+  display: block;
+  margin: 1em 0 0.1em -2.5cm;
+  font-weight: normal;
+  counter-increment: toc-chapter;
+  page-break-after: avoid;
+}
+
+/* chapter numbers */
+
+div.chapter { counter-increment: chapter; }
+div.chapter h1::before {
+  text-transform: uppercase;
+  letter-spacing: 0.15em;
+  content: "Chapter  " counter(chapter) " \A\B0 \B0 \B0 \B0\A";
+  white-space: pre;
+  font-size: 50%;
+}
+
+div.frontcover h1::before, div.titlepage h1::before, div.halftitlepage h1::before {
+  content: normal; /* that is, none */
+}
+
+h1 { string-set: header content();}
+div.chapter h1 { string-set: header "Chapter " counter(chapter) " - " content(); }
+
+/* index */
+
+ul.index {
+  list-style-type: none;
+  margin: 0; padding: 0;
+  column-count: 2;
+  column-gap: 1em;
+}
+
+ul.index a::after { content: ", " target-counter(attr(href), page); }
+
+
+span.element, span.attribute {
+  text-transform: uppercase;
+  font-weight: bold;
+  font-size: 80%;
+}
+span.property { font-weight: bold }
+code, span.css, span.value, span.declaration {
+  font: 90% "Lucida Console", "Lucida Sans Typewriter", monospace;
+}
+
+
+@media screen, handheld {
+  html {font: 14px "Gill Sans", sans-serif; }
+  h1 { margin-bottom: 0.5em }
+  div.frontcover, div.halftitlepage, div.titlepage, div.imprint,
+  div.dedication, div.foreword, div.toc, div.index { display: none }
+  body {
+      margin: 0cm;
+      margin-left: 2cm;
+      margin-right: 2cm;
+  }
+}
+
+/*
+ * Enhancements to the take advantage of some of the style markup that
+ * Confluence generates
+ */
+a sup img { visibility: hidden; position: absolute;}
+
+img {
+  prince-image-resolution:150dpi;
+}
+
+table {
+  font: "Lucida Console", "Lucida Sans Typewriter", monospace;
+}
+
+table td {
+  font-size: 10pt;
+}
+
+pre {
+   white-space: pre-wrap;
+}
+
+.codeContent {
+  font-size: 80%;
+}
+.code {
+}
+.code-keyword {
+  color: #000091;
+  background-color: inherit;
+}
+
+.code-object {
+  color: #910091;
+  background-color: inherit;
+}
+
+.code-quote {
+  color: #009100;
+  background-color: inherit;
+}
+
+.code-comment {
+  color: #808080;
+  background-color: inherit;
+}
+
+
+.code-xml .code-keyword {
+  color: inherit;
+  font-weight: bold;
+}
+
+.code-tag {
+  color: #000091;
+  background-color: inherit;
+}
+
+.noteMacro { border-color: #F0C000; background-color: #FFFFCE;}
+.warningMacro { border-color: #CC0000; background-color: #FFCCCC }
+.infoMacro { border-color: #3c78b5; background-color: #D8E4F1; }
+.tipMacro { border-color: #090; background-color: #dfd;}
+.noteMacro, .warningMacro, .infoMacro, .tipMacro, .informationMacroPadding {
+  border: thin solid;
+  float: top-next;
+  margin: 1em 0 1.2em 0;
+  padding: 0.5em;
+  column-count: 2;
+  column-gap: 1.5em;
+  width: 100%;
+}
+table.infoMacro td, table.warningMacro td, table.tipMacro td, table.noteMacro td, table.sectionMacro td {
+    border: none;
+}
+table.infoMacro p, table.warningMacro p, table.tipMacro p, table.noteMacro p, table.sectionMacro p {
+    font-size:x-small;
+    margin-top: 1em;
+}
+  </style>
+  <style type="text/css">
+.syntax .hll { background-color: #ffffcc }
+.syntax  { background: #f0f0f0; }
+.syntax .c { color: #60a0b0; font-style: italic } /* Comment */
+.syntax .err { border: 1px solid #FF0000 } /* Error */
+.syntax .k { color: #007020; font-weight: bold } /* Keyword */
+.syntax .o { color: #666666 } /* Operator */
+.syntax .cm { color: #60a0b0; font-style: italic } /* Comment.Multiline */
+.syntax .cp { color: #007020 } /* Comment.Preproc */
+.syntax .c1 { color: #60a0b0; font-style: italic } /* Comment.Single */
+.syntax .cs { color: #60a0b0; background-color: #fff0f0 } /* Comment.Special */
+.syntax .gd { color: #A00000 } /* Generic.Deleted */
+.syntax .ge { font-style: italic } /* Generic.Emph */
+.syntax .gr { color: #FF0000 } /* Generic.Error */
+.syntax .gh { color: #000080; font-weight: bold } /* Generic.Heading */
+.syntax .gi { color: #00A000 } /* Generic.Inserted */
+.syntax .go { color: #808080 } /* Generic.Output */
+.syntax .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
+.syntax .gs { font-weight: bold } /* Generic.Strong */
+.syntax .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
+.syntax .gt { color: #0040D0 } /* Generic.Traceback */
+.syntax .kc { color: #007020; font-weight: bold } /* Keyword.Constant */
+.syntax .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */
+.syntax .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */
+.syntax .kp { color: #007020 } /* Keyword.Pseudo */
+.syntax .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
+.syntax .kt { color: #902000 } /* Keyword.Type */
+.syntax .m { color: #40a070 } /* Literal.Number */
+.syntax .s { color: #4070a0 } /* Literal.String */
+.syntax .na { color: #4070a0 } /* Name.Attribute */
+.syntax .nb { color: #007020 } /* Name.Builtin */
+.syntax .nc { color: #0e84b5; font-weight: bold } /* Name.Class */
+.syntax .no { color: #60add5 } /* Name.Constant */
+.syntax .nd { color: #555555; font-weight: bold } /* Name.Decorator */
+.syntax .ni { color: #d55537; font-weight: bold } /* Name.Entity */
+.syntax .ne { color: #007020 } /* Name.Exception */
+.syntax .nf { color: #06287e } /* Name.Function */
+.syntax .nl { color: #002070; font-weight: bold } /* Name.Label */
+.syntax .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
+.syntax .nt { color: #062873; font-weight: bold } /* Name.Tag */
+.syntax .nv { color: #bb60d5 } /* Name.Variable */
+.syntax .ow { color: #007020; font-weight: bold } /* Operator.Word */
+.syntax .w { color: #bbbbbb } /* Text.Whitespace */
+.syntax .mf { color: #40a070 } /* Literal.Number.Float */
+.syntax .mh { color: #40a070 } /* Literal.Number.Hex */
+.syntax .mi { color: #40a070 } /* Literal.Number.Integer */
+.syntax .mo { color: #40a070 } /* Literal.Number.Oct */
+.syntax .sb { color: #4070a0 } /* Literal.String.Backtick */
+.syntax .sc { color: #4070a0 } /* Literal.String.Char */
+.syntax .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
+.syntax .s2 { color: #4070a0 } /* Literal.String.Double */
+.syntax .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */
+.syntax .sh { color: #4070a0 } /* Literal.String.Heredoc */
+.syntax .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */
+.syntax .sx { color: #c65d09 } /* Literal.String.Other */
+.syntax .sr { color: #235388 } /* Literal.String.Regex */
+.syntax .s1 { color: #4070a0 } /* Literal.String.Single */
+.syntax .ss { color: #517918 } /* Literal.String.Symbol */
+.syntax .bp { color: #007020 } /* Name.Builtin.Pseudo */
+.syntax .vc { color: #bb60d5 } /* Name.Variable.Class */
+.syntax .vg { color: #bb60d5 } /* Name.Variable.Global */
+.syntax .vi { color: #bb60d5 } /* Name.Variable.Instance */
+.syntax .il { color: #40a070 } /* Literal.Number.Integer.Long */
+
+
+/* don't highlight errors */
+.syntax .err {
+  border: none;
+}
+
+.syntax {
+  font-size: .9em;
+  font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
+  background-color: #F8F8FF;
+
+  overflow:auto;
+  -moz-background-clip:border;
+  -moz-background-inline-policy:continuous;
+  -moz-background-origin:padding;
+  margin: 1em 0 1em 0;
+  border:1px solid #DDDDDD;
+
+  border-top-left-radius: 8px; -webkit-border-top-left-radius: 8px; -moz-border-radius-topleft: 8px;
+  border-top-right-radius: 8px; -webkit-border-top-right-radius: 8px; -moz-border-radius-topright: 8px;
+  border-style: solid;  border-width: 1px; border-color: #dedede !important;
+  padding: 1em;
+}
+.syntax .linenodiv  {
+  background-color:#ECECEC;
+  border-right:1px solid #DDDDDD;
+  color:#AAAAAA;
+  padding: .5em;
+  text-align:right;
+}
+.syntax .highlight  {
+}
+.syntax pre {
+  margin:0;
+}
+
+pre.syntax {
+  padding: .5em;
+  background-color: #F8F8FF; overflow:auto;
+}
+
+.syntax code {
+  font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
+  font-size: 10pt;
+}
+
+div.compare { width: 700px; }
+div.compare div.compare-left { float:left; width:340px; padding:5px; margin-top: 15px; }
+div.compare div.compare-right { float:right; width:340px; padding:5px; margin-top: 15px; }
+div.compare div h3 {
+  margin-left: 15px;
+  padding: 5px 15px;
+  display: inline;
+  font-size: .8em;
+  color: #666;
+
+  border-top: 1px solid #ccc; -moz-border-top-colors: #ccc white white #e5e5e5;
+  border-left: 1px solid #ccc; -moz-border-left-colors: #ccc white white #e5e5e5;
+  border-right: 1px solid #ccc;-moz-border-right-colors: #ccc white white #e5e5e5;
+  border-top-left-radius: 8px; -webkit-border-top-left-radius: 8px;  -moz-border-radius-topleft: 8px;
+  border-top-right-radius: 8px; -webkit-border-top-right-radius: 8px; -moz-border-radius-topright: 8px;
+}
+div.compare div div {
+  margin: 5px 0px 0px 0px;
+}
+.clear {
+  clear:both;
+}
+.wide div.compare div.compare-left { float:none; width:700px; }
+.wide div.compare div.compare-right { float:none; width:700px; }
+
+  </style>
+
+  <title>Apache Karaf Cave 3.0.1-SNAPSHOT Guides</title>
+</head>
+<body>
+  <div id="titlepage">
+    <div id="title">Apache Karaf Cave</div>
+    <div id="subtitle">Version 3.0.1-SNAPSHOT</div>
+  </div>
+  <div id="main">
+    <div class="title">\\\\\\\\Apache Karaf CaveUser Guide\\\\\\\\</div><div class="copyright-section">Copyright 2013 The Apache Software FoundationThe PDF format of the Karaf Manual has been generated by Prince XML (http://www.princexml.com).</div><div class="toc-title">Table of contents</div><ol style="list-style: none;"><li><a href="#Overview.html">Overview</a></li><li><a href="#UserGuide.html">User Guide</a></li></ol><h1 id="Overview">Overview</h1><h1 id="ApacheKarafCaveoverview">Apache Karaf Cave overview</h1><p>Apache Karaf Cave is an Apache Karaf sub-project.</p><p>It provides an OSGi Bundle Repository (OBR) and Karaf Features Repository (KFR).</p><p>OBR provides a service that can automatically install a bundle, with its deployment dependencies, from a bundle<br/>repository.</p><p>Apache Karaf Cave provides the following features:</p><ul><li><strong>Storage</strong>: Karaf Cave includes a storage backend. The default one is a simple filesystem backend. As the Cave backend<p>
 is designed in a plugin way, you can implement your own backend (for instance, JDBC or LDAP backend).</p></li><li><strong>OBR Metadata Generation</strong>: Karaf Cave automatically creates the OBR metadata for you, using the artifacts presents<p>in the Cave repository storage.</p></li><li><strong>OBR Registration</strong>: Karaf Cave allows you to directly register a Cave repository into an OBR RepositoryAdmin OSGi<p>service.</p></li><li><strong>Artifact Upload</strong>: Users can upload OSGi bundle in a Cave repository. It supports URLs like mvn:groupId/artifactId/version,<p>file:, http:, etc.</p></li><li><strong>Repository proxy</strong>: Karaf Cave is able to proxy an existing repository, for instance an existing Maven repository.<p>The artifacts are located on the "external" repository, Cave handles the OBR metadata. Cave supports file: and http:<br/>URLs, it means that Cave is able to browse a remote HTTP Maven repository for instance.</p></li><li><strong>Repository population<
 /strong>: Karaf Cave is able to get artifacts present on an "external" repository (local file: or<p>remote http:), looking for OSGi bundles, and copy the artifacts in the Cave repository storage.</p><p>The <tt>cave-server</tt> feature provides the OBR and KFR server, including the storage backend, management layer and shell commands.</p></li></ul><h1 id="UserGuide">User Guide</h1>
+  </div>
+</body>
+</html>
\ No newline at end of file

Modified: karaf/site/production/manual/cave/latest/overview.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/cave/latest/overview.html?rev=1607858&r1=1607857&r2=1607858&view=diff
==============================================================================
--- karaf/site/production/manual/cave/latest/overview.html (original)
+++ karaf/site/production/manual/cave/latest/overview.html Fri Jul  4 13:52:23 2014
@@ -8,7 +8,7 @@
     <link href="css/style.css" rel="stylesheet" type="text/css"/>
     <link href="css/pygmentize.css" rel="stylesheet" type="text/css"/>
     <title>
-      Apache Karaf Cave 2.3.0-SNAPSHOT Guides
+      Apache Karaf Cave 3.0.1-SNAPSHOT Guides
     </title>
   </head>
   <body>
@@ -34,4 +34,4 @@
         <td id="cell-1-2">
           <div style="padding: 5px;">
             <div id="banner">
-              <h1 id="ApacheKarafCaveoverview">Apache Karaf Cave overview</h1><p>Apache Karaf Cave is an Apache Karaf sub-project.</p><p>It provides an OSGi Bundle Repository (OBR) and Karaf Features Repository (KFR).</p><p>OBR provides a service that can automatically install a bundle, with its deployment dependencies, from a bundle<br/>repository.</p><p>Apache Karaf Cave provides the following features:</p><ul><li><strong>Storage</strong>: Karaf Cave includes a storage backend. The default one is a simple filesystem backend. As the Cave backend<p>is designed in a plugin way, you can implement your own backend (for instance, JDBC or LDAP backend).</p></li><li><strong>OBR Metadata Generation</strong>: Karaf Cave automatically creates the OBR metadata for you, using the artifacts presents<p>in the Cave repository storage.</p></li><li><strong>OBR Registration</strong>: Karaf Cave allows you to directly register a Cave repository into an OBR RepositoryAdmin OSGi<p>service.</p></li><li>
 <strong>Artifact Upload</strong>: Users can upload OSGi bundle in a Cave repository. It supports URLs like mvn:groupId/artifactId/version,<p>file:, http:, etc.</p></li><li><strong>Repository proxy</strong>: Karaf Cave is able to proxy an existing repository, for instance an existing Maven repository.<p>The artifacts are located on the "external" repository, Cave handles the OBR metadata. Cave supports file: and http:<br/>URLs, it means that Cave is able to browse a remote HTTP Maven repository for instance.</p></li><li><strong>Repository population</strong>: Karaf Cave is able to get artifacts present on an "external" repository (local file: or<p>remote http:), looking for OSGi bundles, and copy the artifacts in the Cave repository storage.</p><p>Karaf Cave provides two components:</p></li><li>the cave-server is the OBR and KFR server, including the storage, the management layer, the REST service layer, etc.</li><li>the cave-client is a local OBR service proxy that use a remote Cave
  OBR server (not yet available).</li></ul>
\ No newline at end of file
+              <h1 id="ApacheKarafCaveoverview">Apache Karaf Cave overview</h1><p>Apache Karaf Cave is an Apache Karaf sub-project.</p><p>It provides an OSGi Bundle Repository (OBR) and Karaf Features Repository (KFR).</p><p>OBR provides a service that can automatically install a bundle, with its deployment dependencies, from a bundle<br/>repository.</p><p>Apache Karaf Cave provides the following features:</p><ul><li><strong>Storage</strong>: Karaf Cave includes a storage backend. The default one is a simple filesystem backend. As the Cave backend<p>is designed in a plugin way, you can implement your own backend (for instance, JDBC or LDAP backend).</p></li><li><strong>OBR Metadata Generation</strong>: Karaf Cave automatically creates the OBR metadata for you, using the artifacts presents<p>in the Cave repository storage.</p></li><li><strong>OBR Registration</strong>: Karaf Cave allows you to directly register a Cave repository into an OBR RepositoryAdmin OSGi<p>service.</p></li><li>
 <strong>Artifact Upload</strong>: Users can upload OSGi bundle in a Cave repository. It supports URLs like mvn:groupId/artifactId/version,<p>file:, http:, etc.</p></li><li><strong>Repository proxy</strong>: Karaf Cave is able to proxy an existing repository, for instance an existing Maven repository.<p>The artifacts are located on the "external" repository, Cave handles the OBR metadata. Cave supports file: and http:<br/>URLs, it means that Cave is able to browse a remote HTTP Maven repository for instance.</p></li><li><strong>Repository population</strong>: Karaf Cave is able to get artifacts present on an "external" repository (local file: or<p>remote http:), looking for OSGi bundles, and copy the artifacts in the Cave repository storage.</p><p>The <tt>cave-server</tt> feature provides the OBR and KFR server, including the storage backend, management layer and shell commands.</p></li></ul>
\ No newline at end of file

Modified: karaf/site/production/manual/cave/latest/user-guide/administrate-cave.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/cave/latest/user-guide/administrate-cave.html?rev=1607858&r1=1607857&r2=1607858&view=diff
==============================================================================
--- karaf/site/production/manual/cave/latest/user-guide/administrate-cave.html (original)
+++ karaf/site/production/manual/cave/latest/user-guide/administrate-cave.html Fri Jul  4 13:52:23 2014
@@ -8,7 +8,7 @@
     <link href="../css/style.css" rel="stylesheet" type="text/css"/>
     <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/>
     <title>
-      Apache Karaf Cave 2.3.0-SNAPSHOT Guides
+      Apache Karaf Cave 3.0.1-SNAPSHOT Guides
     </title>
   </head>
   <body>

Modified: karaf/site/production/manual/cave/latest/user-guide/cave-repository.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/cave/latest/user-guide/cave-repository.html?rev=1607858&r1=1607857&r2=1607858&view=diff
==============================================================================
--- karaf/site/production/manual/cave/latest/user-guide/cave-repository.html (original)
+++ karaf/site/production/manual/cave/latest/user-guide/cave-repository.html Fri Jul  4 13:52:23 2014
@@ -8,7 +8,7 @@
     <link href="../css/style.css" rel="stylesheet" type="text/css"/>
     <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/>
     <title>
-      Apache Karaf Cave 2.3.0-SNAPSHOT Guides
+      Apache Karaf Cave 3.0.1-SNAPSHOT Guides
     </title>
   </head>
   <body>
@@ -59,36 +59,43 @@
 #
 storage.location=cave
 </pre><p>For instance, you can define <tt>/var/cave/store</tt> for the <tt>storage.location</tt> property.</p><h2 id="Create">Create</h2><p>The <tt>cave:repository-create</tt> command creates a new repository:</p><pre>
-karaf@root> cave:repository-create my-repository
+karaf@root()> cave:repository-create my-repository
 </pre><p>A repository is identified by a name, <tt>my-repository</tt> in our example.</p><p>Apache Karaf Cave creates the repository storage for you.</p><p>If you want to use an existing directory, and avoid Cave to create one in the storage location, you can use the <tt>-l</tt><br/>(<tt>--location</tt>) option:</p><pre>
-karaf@root> cave:repository-create -l /home/user/.m2/repository m2
+karaf@root()> cave:repository-create -l /home/user/.m2/repository m2
 </pre><p>By default, Apache Karaf Cave scans the repository storage and create the OBR metadata. You can use the <tt>-no</tt> (<tt>--no-obr-generate</tt>)<br/>option to avoid this step:</p><pre>
-karaf@root> cave:repository-create -no -l /home/user/.m2/repository m2
+karaf@root()> cave:repository-create -no -l /home/user/.m2/repository m2
 </pre><p>By default, Apache Karaf Cave registers (installs) a new repository into the OBR service. You can use the <tt>-ni</tt> (<tt>--no-install</tt>)<br/>option to avoid this step:</p><pre>
-karaf@root> cave:repository-create -ni -l /home/user/m2/repository m2
-</pre><p>NB: the <tt>-no</tt> and <tt>-ni</tt> options are interesting when you use an existing location for the repository. If you create a<br/>new empty repository, these options don't have really any effect.</p><h2 id="List">List</h2><p>You can list the repositories:</p><pre>
-karaf@root> cave:repositories-list
-Name                 Location
-[my-repository]      [/opt/apache-karaf-2.3.3/cave/my-repository]
-[m2]                 [/home/user/.m2/repository]
-</pre><p>You can find the repository name and location.</p><h2 id="RepositoryandOBRservice">Repository and OBR service</h2><p>By default, Apache Karaf Cave installs the repository in the Apache Karaf OBR service.</p><p>You can see the installed repositories using the <tt>obr:listurl</tt> command:</p><pre>
-karaf@root> obr:listurl
-file:/home/jbonofre/.m2/repository/repository.xml
-file:/home/jbonofre/apache-karaf-2.3.3/cave/my-repository/repository.xml
+karaf@root()> cave:repository-create -ni -l /home/user/m2/repository m2
+</pre><p>NB: the <tt>-no</tt> and <tt>-ni</tt> options are interesting when you use an existing location for the repository. If you create a<br/>new empty repository, these options don't have really any effect.</p><h2 id="List">List</h2><p>You can list the repositories using the <tt>cave:repositories</tt> command:</p><pre>
+karaf@root()> cave:repositories
+Name          | Location
+--------------------------------------------------------------------
+my-repository | /home/jbonofre/apache-karaf-3.0.1/cave/my-repository
+m2            | /home/jbonofre/.m2/repository
+</pre><p>You can find the repository name and location.</p><h2 id="RepositoryandOBRservice">Repository and OBR service</h2><p>By default, Apache Karaf Cave installs the repository in the Apache Karaf OBR service.</p><p>You can see the installed repositories using the <tt>obr:url-list</tt> command:</p><pre>
+karaf@root()> obr:url-list
+Index | OBR URL
+--------------------------------------------------------------------------------
+0     | file:/home/jbonofre/.m2/repository/repository.xml
+1     | file:/home/jbonofre/apache-karaf-3.0.1/cave/my-repository/repository.xml
 </pre><p>You can refresh a repository or install a repository in the OBR service using the <tt>cave:repository-install</tt> command:</p><pre>
-karaf@root> cave:repository-install my-repository
+karaf@root()> cave:repository-install my-repository
 </pre><p>You can uninstall a repository from the Apache Karaf OBR service using the <tt>cave:repository-uninstall</tt> command:</p><pre>
-karaf@root> cave:repository-uninstall my-repository
-</pre><p>You can see with the <tt>obr:listurl</tt> command that the repository is no more known by the OBR service:</p><pre>
-karaf@root> obr:listurl
-file:/home/jbonofre/.m2/repository/repository.xml
+karaf@root()> cave:repository-uninstall my-repository
+</pre><p>You can see with the <tt>obr:url-list</tt> command that the repository is no more known by the OBR service:</p><pre>
+karaf@root()> obr:url-list
+Index | OBR URL
+---------------------------------------------------------
+0     | file:/home/jbonofre/.m2/repository/repository.xml
 </pre><p>You can "re-install" the repository at any time using the <tt>cave:repository-install</tt> command again:</p><pre>
-karaf@root> cave:repository-install my-repository
-karaf@root> obr:listurl
-file:/home/jbonofre/.m2/repository/repository.xml
-file:/home/jbonofre/apache-karaf-2.3.3/cave/my-repository/repository.xml
+karaf@root()> cave:repository-install my-repository
+karaf@root()> obr:url-list
+Index | OBR URL
+--------------------------------------------------------------------------------
+0     | file:/home/jbonofre/.m2/repository/repository.xml
+1     | file:/home/jbonofre/apache-karaf-3.0.1/cave/my-repository/repository.xml
 </pre><p>At any time, you can force the generation and update of the OBR metadata using the <tt>cave:repository-update</tt> command:</p><pre>
-karaf@root> cave:repository-update my-repository
+karaf@root()> cave:repository-update my-repository
 </pre><p>This command scan the repository storage location, seeking all OSGi bundles, and generate the OBR metadata (aka a repository.xml).</p><p>NB: If you add or remove any artifact in the repository storage location by hand (for instance, using cp, rm, etc on Unix),<br/>you have to update the repository OBR metadata using the <tt>cave:repository-update</tt> command.</p><h2 id="Destroy">Destroy</h2><p>The <tt>cave:repository-destroy</tt> command deletes the repository storage location:</p><pre>
-karaf@root> cave:repository-destroy my-repository
+karaf@root()> cave:repository-destroy my-repository
 </pre><div class="warning" style="border: 1px solid #c00;background-color: #fcc;margin: 20px;padding: 0px 6px 0px 6px;"><p>Be aware that this command completely deletes the repository storage. By extremely careful when using this command<br/>with repository using "custom" location.</p></div><h2 id="Whatsnext">What's next</h2><p>Apache Karaf Cave provides a HTTP service to expose the repositories. It allows you to use the repositories remotely.<br/>You can find details in the <a href="http-wrapper.html">HTTP wrapper service section</a> of the user guide.</p><p>If repositories are installed in the OBR service, you can use the OBR command as explained in the <a href="obr-command.html">OBR commands section</a><br/>of the user guide.</p>
\ No newline at end of file

Modified: karaf/site/production/manual/cave/latest/user-guide/http-wrapper.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/cave/latest/user-guide/http-wrapper.html?rev=1607858&r1=1607857&r2=1607858&view=diff
==============================================================================
--- karaf/site/production/manual/cave/latest/user-guide/http-wrapper.html (original)
+++ karaf/site/production/manual/cave/latest/user-guide/http-wrapper.html Fri Jul  4 13:52:23 2014
@@ -8,7 +8,7 @@
     <link href="../css/style.css" rel="stylesheet" type="text/css"/>
     <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/>
     <title>
-      Apache Karaf Cave 2.3.0-SNAPSHOT Guides
+      Apache Karaf Cave 3.0.1-SNAPSHOT Guides
     </title>
   </head>
   <body>
@@ -35,10 +35,11 @@
           <div style="padding: 5px;">
             <div id="banner">
               <h1 id="HTTPwrapperservice">HTTP wrapper service</h1><p>When you install the Apache Karaf Cave Server, it starts a HTTP service wrapper.</p><p>It means that all artifacts and OBR metadata presents in local repositories are exposed over HTTP.</p><h2 id="OBRmetadataaccess">OBR metadata access</h2><p>Assuming that you have the following repositories:</p><pre>
-karaf@root> cave:repositories-list
-Name                 Location
-[cave-repo]          [/opt/apache-karaf-2.2.2/cave/my-repository]
-[m2]                 [/home/user/.m2/repository]
+karaf@root()> cave:repositories
+Name          | Location
+--------------------------------------------------------------------
+my-repository | /home/jbonofre/apache-karaf-3.0.1/cave/my-repository
+m2            | /home/jbonofre/.m2/repository
 </pre><p>You can access the OBR metadata using the following URL in your favorite browser:</p><pre>
 http://localhost:8181/cave/m2-repository.xml
 </pre><p>and</p><pre>
@@ -46,29 +47,31 @@ http://localhost:8181/cave/my-repository
 </pre><p>NB: the port 8181 is the default one of the Apache Karaf HTTP service.</p><p>You can see that the URL follows the format:</p><p>You can note the OBR metadata Cave URL format:</p><pre>
 http://[cave_server_hostname]:[http_service_port]/cave/[cave_repository_name]-repository.xml
 </pre><p>It means that you can register the repositories on remote Apache Karaf instances.</p><p>In a remote Apache Karaf instance, you just have to install the obr feature and register the HTTP wrapper repository.xml URL:</p><pre>
-karaf@other> features:install obr
-karaf@other> obr:addurl http://cave_server:8181/cave/cave-repo-repository.xml
-karaf@other> obr:addurl http://cave_server:8181/cave/m2-repository.xml
+karaf@other()> feature:install obr
+karaf@other()> obr:url-add http://cave_server:8181/cave/cave-repo-repository.xml
+karaf@other()> obr:url-add http://cave_server:8181/cave/m2-repository.xml
 </pre><h2 id="OSGibundlesaccess">OSGi bundles access</h2><p>Apache Karaf Cave HTTP wrapper service also provide the OSGi bundles binaries via HTTP.</p><p>For instance, you have register the my-repository repository in the OBR service:</p><pre>
-karaf@root> cave:repository-install my-repository
+karaf@root()> cave:repository-install my-repository
 </pre><p>So you have the following bundles available in the OBR service:</p><pre>
-karaf@root> obr:list
-org.apache.servicemix.bundles.commons-dbcp - Apache ServiceMix :: Bundles :: commons-dbcp (1.4.0.1)
-org.apache.servicemix.bundles.commons-pool - Apache ServiceMix :: Bundles :: commons-pool (1.5.4.3)
+karaf@root()> obr:list
+Name                                                                                                  | Symbolic Name                                                       | Version
+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
+Apache ServiceMix :: Bundles :: commons-dbcp                                                          | org.apache.servicemix.bundles.commons-dbcp                          | 1.4.0.3
+...
 </pre><p>If we take a look on the detail of the commons-dbcp bundle:</p><pre>
-karaf@root> obr:info org.apache.servicemix.bundles.commons-dbcp
+karaf@root()> obr:info org.apache.servicemix.bundles.commons-dbcp
 --------------------------------------------
 Apache ServiceMix :: Bundles :: commons-dbcp
 --------------------------------------------
-id: org.apache.servicemix.bundles.commons-dbcp/1.4.0.1
+id: org.apache.servicemix.bundles.commons-dbcp/1.4.0.3
 description: This OSGi bundle wraps commons-dbcp 1.4 jar file.
 documentation: http://www.apache.org/
 symbolicname: org.apache.servicemix.bundles.commons-dbcp
 presentationname: Apache ServiceMix :: Bundles :: commons-dbcp
 license: http://www.apache.org/licenses/LICENSE-2.0.txt
-uri: file:/home/user/apache-karaf-2.3.3/cave/cave-repo/org.apache.servicemix.bundles.commons-dbcp-1.4.0.1.jar
-size: 159721
-version: 1.4.0.1
+uri: file:/home/jbonofre/.m2/repository/org/apache/servicemix/bundles/org.apache.servicemix.bundles.commons-dbcp/1.4_3/org.apache.servicemix.bundles.commons-dbcp-1.4_3.jar
+size: 171252
+version: 1.4.0.3
 Requires:
    package:(&amp;(package=javax.naming))
    package:(&amp;(package=javax.naming.spi))
@@ -80,31 +83,31 @@ Requires:
    package:(&amp;(package=org.xml.sax))
    package:(&amp;(package=org.xml.sax.helpers))
 Capabilities:
-   bundle:{manifestversion=2, symbolicname=org.apache.servicemix.bundles.commons-dbcp, presentationname=Apache ServiceMix :: Bundles :: commons-dbcp, version=1.4.0.1}
+   bundle:{manifestversion=2, symbolicname=org.apache.servicemix.bundles.commons-dbcp, presentationname=Apache ServiceMix :: Bundles :: commons-dbcp, version=1.4.0.3}
    package:{package=org.apache.commons.dbcp.cpdsadapter, uses:=org.apache.commons.dbcp,javax.naming,javax.sql,org.apache.commons.pool.impl,org.apache.commons.pool,javax.naming.spi, version=1.4.0}
    package:{package=org.apache.commons.dbcp, uses:=org.apache.commons.pool.impl,org.apache.commons.pool,javax.sql,javax.naming,javax.naming.spi,org.apache.commons.jocl,org.xml.sax, version=1.4.0}
    package:{package=org.apache.commons.dbcp.managed, uses:=org.apache.commons.dbcp,javax.sql,org.apache.commons.pool.impl,javax.transaction,org.apache.commons.pool,javax.transaction.xa, version=1.4.0}
    package:{package=org.apache.commons.dbcp.datasources, uses:=javax.sql,org.apache.commons.pool,javax.naming,org.apache.commons.dbcp,javax.naming.spi,org.apache.commons.pool.impl, version=1.4.0}
    package:{package=org.apache.commons.jocl, uses:=org.xml.sax.helpers,org.xml.sax, version=1.4.0}
-</pre><p>we can see that the URI is {{file:/home/user/apache-karaf-2.3.3/cave/cave-repo/org.apache.servicemix.bundles.commons-dbcp-1.4.0.1.jar.</p><p>But the HTTP wrapper service also exposes the bundle on:</p><pre>
-http://localhost:8181/cave/org.apache.servicemix.bundles.commons-dbcp-1.4.0.1.jar
+</pre><p>we can see that the URI is <tt>file:/home/jbonofre/.m2/repository/org/apache/servicemix/bundles/org.apache.servicemix.bundles.commons-dbcp/1.4_3/org.apache.servicemix.bundles.commons-dbcp-1.4_3.jar</tt>.</p><p>But the HTTP wrapper service also exposes the bundle on:</p><pre>
+http://localhost:8181/cave/org.apache.servicemix.bundles.commons-dbcp-1.4.0.3.jar
 </pre><p>Actually, Apache Karaf Cave handles bundle URI relatively to the repository.</p><p>So, it means that, if you register the my-repository repository on a remote Apache Karaf instance:</p><pre>
-karaf@other> features:install obr
-karaf@other> obr:addurl http://cave_server:8181/cave/my-repository-repository.xml
+karaf@other()> feature:install obr
+karaf@other()> obr:url-add http://cave_server:8181/cave/my-repository-repository.xml
 </pre><p>you can take a look on the commons-dbcp details:</p><pre>
-karaf@root> obr:info org.apache.servicemix.bundles.commons-dbcp
+karaf@root()> obr:info org.apache.servicemix.bundles.commons-dbcp
 --------------------------------------------
 Apache ServiceMix :: Bundles :: commons-dbcp
 --------------------------------------------
-id: org.apache.servicemix.bundles.commons-dbcp/1.4.0.1
+id: org.apache.servicemix.bundles.commons-dbcp/1.4.0.3
 description: This OSGi bundle wraps commons-dbcp 1.4 jar file.
 documentation: http://www.apache.org/
 symbolicname: org.apache.servicemix.bundles.commons-dbcp
 presentationname: Apache ServiceMix :: Bundles :: commons-dbcp
 license: http://www.apache.org/licenses/LICENSE-2.0.txt
-uri: http://cave_server:8181/cave/org.apache.servicemix.bundles.commons-dbcp-1.4.0.1.jar
-size: 159721
-version: 1.4.0.1
+uri: http://localhost:8181/cave/org.apache.servicemix.bundles.commons-dbcp-1.4.0.3.jar
+size: 171252
+version: 1.4.0.3
 Requires:
    package:(&amp;(package=javax.naming))
    package:(&amp;(package=javax.naming.spi))
@@ -116,17 +119,17 @@ Requires:
    package:(&amp;(package=org.xml.sax))
    package:(&amp;(package=org.xml.sax.helpers))
 Capabilities:
-   bundle:{manifestversion=2, symbolicname=org.apache.servicemix.bundles.commons-dbcp, presentationname=Apache ServiceMix :: Bundles :: commons-dbcp, version=1.4.0.1}
+   bundle:{manifestversion=2, symbolicname=org.apache.servicemix.bundles.commons-dbcp, presentationname=Apache ServiceMix :: Bundles :: commons-dbcp, version=1.4.0.3}
    package:{package=org.apache.commons.dbcp.cpdsadapter, uses:=org.apache.commons.dbcp,javax.naming,javax.sql,org.apache.commons.pool.impl,org.apache.commons.pool,javax.naming.spi, version=1.4.0}
    package:{package=org.apache.commons.dbcp, uses:=org.apache.commons.pool.impl,org.apache.commons.pool,javax.sql,javax.naming,javax.naming.spi,org.apache.commons.jocl,org.xml.sax, version=1.4.0}
    package:{package=org.apache.commons.dbcp.managed, uses:=org.apache.commons.dbcp,javax.sql,org.apache.commons.pool.impl,javax.transaction,org.apache.commons.pool,javax.transaction.xa, version=1.4.0}
    package:{package=org.apache.commons.dbcp.datasources, uses:=javax.sql,org.apache.commons.pool,javax.naming,org.apache.commons.dbcp,javax.naming.spi,org.apache.commons.pool.impl, version=1.4.0}
    package:{package=org.apache.commons.jocl, uses:=org.xml.sax.helpers,org.xml.sax, version=1.4.0}
-</pre><p>we can see that the URI is <tt>http://cave_server:8181/cave/org.apache.servicemix.bundles.commons-dbcp-1.4.0.1.jar</tt>.</p><p>It means that we can use directly <tt>obr:deploy</tt> command:</p><pre>
+</pre><p>we can see that the URI is <tt>http://localhost:8181/cave/org.apache.servicemix.bundles.commons-dbcp-1.4.0.3.jar</tt>.</p><p>It means that we can use directly <tt>obr:deploy</tt> command:</p><pre>
 karaf@root> obr:deploy org.apache.servicemix.bundles.commons-dbcp
 Target resource(s):
 -------------------
-   Apache ServiceMix :: Bundles :: commons-dbcp (1.4.0.1)
+   Apache ServiceMix :: Bundles :: commons-dbcp (1.4.0.3)
 
 Required resource(s):
 ---------------------

Modified: karaf/site/production/manual/cave/latest/user-guide/index.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/cave/latest/user-guide/index.html?rev=1607858&r1=1607857&r2=1607858&view=diff
==============================================================================
--- karaf/site/production/manual/cave/latest/user-guide/index.html (original)
+++ karaf/site/production/manual/cave/latest/user-guide/index.html Fri Jul  4 13:52:23 2014
@@ -8,7 +8,7 @@
     <link href="../css/style.css" rel="stylesheet" type="text/css"/>
     <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/>
     <title>
-      Apache Karaf Cave 2.3.0-SNAPSHOT Guides
+      Apache Karaf Cave 3.0.1-SNAPSHOT Guides
     </title>
   </head>
   <body>

Modified: karaf/site/production/manual/cave/latest/user-guide/installation.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/cave/latest/user-guide/installation.html?rev=1607858&r1=1607857&r2=1607858&view=diff
==============================================================================
--- karaf/site/production/manual/cave/latest/user-guide/installation.html (original)
+++ karaf/site/production/manual/cave/latest/user-guide/installation.html Fri Jul  4 13:52:23 2014
@@ -8,7 +8,7 @@
     <link href="../css/style.css" rel="stylesheet" type="text/css"/>
     <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/>
     <title>
-      Apache Karaf Cave 2.3.0-SNAPSHOT Guides
+      Apache Karaf Cave 3.0.1-SNAPSHOT Guides
     </title>
   </head>
   <body>
@@ -35,14 +35,15 @@
           <div style="padding: 5px;">
             <div id="banner">
               <h1 id="Installation">Installation</h1><p>This chapter describes how to install Apache Karaf Cave into an existing Apache Karaf instance.</p><h2 id="Preinstallationrequirements">Pre-installation requirements</h2><p>As Apache Karaf Cave is a Apache Karaf sub-project, it has to be installed into a running Apache Karaf instance.</p><p>Apache Karaf Cave is available as Apache Karaf features. The easiest way to install is just to have an internet<br/>connection from the Apache Karaf running instance.</p><h2 id="RegistrationoftheApacheKarafCavefeatures">Registration of the Apache Karaf Cave features</h2><p>Simply register the Apache Karaf Cave features URL in your Apache Karaf instance:</p><pre>
-karaf@root> features:addurl mvn:org.apache.karaf.cave/apache-karaf-cave/2.3.0/xml/features
+karaf@root()> feature:repo-add mvn:org.apache.karaf.cave/apache-karaf-cave/3.0.0/xml/features
 </pre><p>Now Apache Karaf Cave features are available, ready to be installed:</p><pre>
-karaf@root> features:list|grep -i cave
-[uninstalled  ] [2.3.0 ] cave-server                   karaf-cave-2.3.0
+karaf@root()> feature:list |grep -i cave
+cave-server                   | 3.0.0   | x         | karaf-cave-3.0.0 |
 </pre><h3 id="StartingApacheKarafCaveServer">Starting Apache Karaf Cave Server</h3><p>The Apache Karaf Cave Server is installed by the <tt>cave-server</tt> feature:</p><pre>
-karaf@root> features:install cave-server
-</pre><p>NB: installation of the cave-server feature will install additional features, such as obr, http, war, CXF. It could take<br/>several minutes depending of your network connection speed.</p><p>New Apache Karaf Cave commands are now available:</p><pre>
-karaf@root> cave:&lt;TAB>
-cave:repositories-list             cave:repository-create             cave:repository-install            cave:repository-populate
-cave:repository-proxy              cave:repository-uninstall          cave:repository-update             cave:repository-upload-artifact
+karaf@root()> feature:install cave-server
+</pre><p>NB: installation of the cave-server feature will install additional features, such as obr, http, war. It could take<br/>several minutes depending of your network connection speed.</p><p>New Apache Karaf Cave commands are now available:</p><pre>
+karaf@root()> cave:&lt;TAB>
+cave:repositories            cave:repository-create       cave:repository-destroy
+cave:repository-install      cave:repository-populate     cave:repository-proxy
+cave:repository-uninstall    cave:repository-update       cave:repository-upload
 </pre>
\ No newline at end of file

Modified: karaf/site/production/manual/cave/latest/user-guide/obr-commands.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/cave/latest/user-guide/obr-commands.html?rev=1607858&r1=1607857&r2=1607858&view=diff
==============================================================================
--- karaf/site/production/manual/cave/latest/user-guide/obr-commands.html (original)
+++ karaf/site/production/manual/cave/latest/user-guide/obr-commands.html Fri Jul  4 13:52:23 2014
@@ -8,7 +8,7 @@
     <link href="../css/style.css" rel="stylesheet" type="text/css"/>
     <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/>
     <title>
-      Apache Karaf Cave 2.3.0-SNAPSHOT Guides
+      Apache Karaf Cave 3.0.1-SNAPSHOT Guides
     </title>
   </head>
   <body>
@@ -35,64 +35,63 @@
           <div style="padding: 5px;">
             <div id="banner">
               <h1 id="OBRcommands">OBR commands</h1><p>To install a repository in the OBR service, you have to use:</p><pre>
-karaf@root> cave:repository-install cave-repo
+karaf@root()> cave:repository-install cave-repo
 </pre><p>Now, you can see the repository OBR metadata register in the OBR service:</p><pre>
-karaf@root> obr:listurl
-file:/home/jbonofre/apache-karaf-2.2.2/cave/cave-repo/repository.xml
+karaf@root()> obr:url-list
+Index | OBR URL
+--------------------------------------------------------------------------------
+0     | file:/home/jbonofre/apache-karaf-3.0.1/cave/my-repository/repository.xml
 </pre><p>And the OSGi bundles present in the repository OSGi bundles are available in the OBR service:</p><pre>
-karaf@root> obr:list
-[...]
-slf4j.log4j12 - slf4j-log4j12 (1.6.1)
-slf4j.simple - slf4j-simple (1.6.1)
-org.springframework.aop - Spring AOP (3.0.5.RELEASE)
-org.springframework.asm - Spring ASM (3.0.5.RELEASE)
-org.springframework.beans - Spring Beans (3.0.5.RELEASE)
-org.springframework.context - Spring Context (3.0.5.RELEASE)
-org.springframework.core - Spring Core (3.0.5.RELEASE)
-org.springframework.expression - Spring Expression Language (3.0.5.RELEASE)
-org.springframework.web - Spring Web (3.0.5.RELEASE)
-org.springframework.osgi.extensions.annotations - spring-osgi-annotation (1.2.1)
-org.springframework.osgi.core - spring-osgi-core (1.2.1)
-org.springframework.osgi.extender - spring-osgi-extender (1.2.1)
-org.springframework.osgi.io - spring-osgi-io (1.2.1)
-stax2-api - Stax2 API (3.1.1)
-stax2-api - Stax2 API (3.0.2)
-woodstox-core-asl - Woodstox XML-processor (4.1.1)
-org.apache.ws.xmlschema.core - XmlSchema Core (2.0.0)
+karaf@root()> obr:list
+Name                                         | Symbolic Name                              | Version
+---------------------------------------------------------------------------------------------------
+Apache ServiceMix :: Bundles :: commons-dbcp | org.apache.servicemix.bundles.commons-dbcp | 1.4.0.3
+...
 </pre><p>You can get some detail about an OSGi bundle:</p><pre>
-karaf@root> obr:info slf4j.api,1.6.1
----------
-slf4j-api
----------
-id: slf4j.api/1.6.1
-description: The slf4j API
-symbolicname: slf4j.api
-presentationname: slf4j-api
-uri: file:/home/jbonofre/apache-karaf-2.2.2/cave/cave-repo/slf4j-api-1.6.1.jar
-size: 25496
-version: 1.6.1
+karaf@root()> obr:info org.apache.servicemix.bundles.commons-dbcp,1.4.0.3
+--------------------------------------------
+Apache ServiceMix :: Bundles :: commons-dbcp
+--------------------------------------------
+id: org.apache.servicemix.bundles.commons-dbcp/1.4.0.3
+description: This OSGi bundle wraps commons-dbcp 1.4 jar file.
+documentation: http://www.apache.org/
+symbolicname: org.apache.servicemix.bundles.commons-dbcp
+presentationname: Apache ServiceMix :: Bundles :: commons-dbcp
+license: http://www.apache.org/licenses/LICENSE-2.0.txt
+uri: file:/home/jbonofre/apache-karaf-3.0.1/cave/my-repository/org.apache.servicemix.bundles.commons-dbcp-1.4.0.3.jar
+size: 171252
+version: 1.4.0.3
 Requires:
-   package:(&amp;(package=org.slf4j.impl)(version>=1.6.0))
-   ee:(|(ee=J2SE-1.3))
+   package:(&amp;(package=javax.naming))
+   package:(&amp;(package=javax.naming.spi))
+   package:(&amp;(package=javax.sql))
+   package:(&amp;(package=javax.transaction))
+   package:(&amp;(package=javax.transaction.xa))
+   package:(&amp;(package=org.apache.commons.pool)(version>=1.3.0)(!(version>=2.0.0)))
+   package:(&amp;(package=org.apache.commons.pool.impl)(version>=1.3.0)(!(version>=2.0.0)))
+   package:(&amp;(package=org.xml.sax))
+   package:(&amp;(package=org.xml.sax.helpers))
 Capabilities:
-   bundle:{manifestversion=2, symbolicname=slf4j.api, presentationname=slf4j-api, version=1.6.1}
-   package:{package=org.slf4j, version=1.6.1}
-   package:{package=org.slf4j.spi, version=1.6.1}
-   package:{package=org.slf4j.helpers, version=1.6.1}
-</pre><p>NB: in Apache Karaf, the OBR entry format is symbolicname,version</p><p>You have the details of the OSGi bundle, especially the requirements and capabilities of the bundle.</p><p>OBR is able to resolve the dependencies between bundles, depending of the requirements and capabilities of each bundle.<br/>It's able to manage version, etc.</p><p>For instance, we have the following commons-pool bundle details:</p><pre>
+   bundle:{manifestversion=2, symbolicname=org.apache.servicemix.bundles.commons-dbcp, presentationname=Apache ServiceMix :: Bundles :: commons-dbcp, version=1.4.0.3}
+   package:{package=org.apache.commons.dbcp.cpdsadapter, uses:=org.apache.commons.dbcp,javax.naming,javax.sql,org.apache.commons.pool.impl,org.apache.commons.pool,javax.naming.spi, version=1.4.0}
+   package:{package=org.apache.commons.dbcp, uses:=org.apache.commons.pool.impl,org.apache.commons.pool,javax.sql,javax.naming,javax.naming.spi,org.apache.commons.jocl,org.xml.sax, version=1.4.0}
+   package:{package=org.apache.commons.dbcp.managed, uses:=org.apache.commons.dbcp,javax.sql,org.apache.commons.pool.impl,javax.transaction,org.apache.commons.pool,javax.transaction.xa, version=1.4.0}
+   package:{package=org.apache.commons.dbcp.datasources, uses:=javax.sql,org.apache.commons.pool,javax.naming,org.apache.commons.dbcp,javax.naming.spi,org.apache.commons.pool.impl, version=1.4.0}
+   package:{package=org.apache.commons.jocl, uses:=org.xml.sax.helpers,org.xml.sax, version=1.4.0}
+</pre><p>NB: in Apache Karaf, the OBR entry format is symbolicname,version</p><p>You have the details of the OSGi bundle, especially the requirements and capabilities of the bundle.</p><p>OBR is able to resolve the dependencies between bundles, depending of the requirements and capabilities of each bundle.<br/>It's able to manage version, etc.</p><p>For instance, we have the following commons-dbcp bundle details:</p><pre>
 karaf@root> obr:info org.apache.servicemix.bundles.commons-dbcp
 --------------------------------------------
 Apache ServiceMix :: Bundles :: commons-dbcp
 --------------------------------------------
-id: org.apache.servicemix.bundles.commons-dbcp/1.4.0.1
+id: org.apache.servicemix.bundles.commons-dbcp/1.4.0.3
 description: This OSGi bundle wraps commons-dbcp 1.4 jar file.
 documentation: http://www.apache.org/
 symbolicname: org.apache.servicemix.bundles.commons-dbcp
 presentationname: Apache ServiceMix :: Bundles :: commons-dbcp
 license: http://www.apache.org/licenses/LICENSE-2.0.txt
-uri: file:/home/jbonofre/apache-karaf-2.2.2/cave/cave-repo/org.apache.servicemix.bundles.commons-dbcp-1.4.0.1.jar
-size: 159721
-version: 1.4.0.1
+uri: file:/home/jbonofre/apache-karaf-3.0.1/cave/my-repository/org.apache.servicemix.bundles.commons-dbcp-1.4.0.3.jar
+size: 171252
+version: 1.4.0.3
 Requires:
    package:(&amp;(package=javax.naming))
    package:(&amp;(package=javax.naming.spi))
@@ -104,14 +103,15 @@ Requires:
    package:(&amp;(package=org.xml.sax))
    package:(&amp;(package=org.xml.sax.helpers))
 Capabilities:
-   bundle:{manifestversion=2, symbolicname=org.apache.servicemix.bundles.commons-dbcp, presentationname=Apache ServiceMix :: Bundles :: commons-dbcp, version=1.4.0.1}
+   bundle:{manifestversion=2, symbolicname=org.apache.servicemix.bundles.commons-dbcp, presentationname=Apache ServiceMix :: Bundles :: commons-dbcp, version=1.4.0.3}
    package:{package=org.apache.commons.dbcp.cpdsadapter, uses:=org.apache.commons.dbcp,javax.naming,javax.sql,org.apache.commons.pool.impl,org.apache.commons.pool,javax.naming.spi, version=1.4.0}
    package:{package=org.apache.commons.dbcp, uses:=org.apache.commons.pool.impl,org.apache.commons.pool,javax.sql,javax.naming,javax.naming.spi,org.apache.commons.jocl,org.xml.sax, version=1.4.0}
    package:{package=org.apache.commons.dbcp.managed, uses:=org.apache.commons.dbcp,javax.sql,org.apache.commons.pool.impl,javax.transaction,org.apache.commons.pool,javax.transaction.xa, version=1.4.0}
    package:{package=org.apache.commons.dbcp.datasources, uses:=javax.sql,org.apache.commons.pool,javax.naming,org.apache.commons.dbcp,javax.naming.spi,org.apache.commons.pool.impl, version=1.4.0}
    package:{package=org.apache.commons.jocl, uses:=org.xml.sax.helpers,org.xml.sax, version=1.4.0}
+
 </pre><p>We can see that commons-dbcp requires org.apache.commons.pool package (between version 1.3.0 and 2.0.0).</p><p>If we take a look on commons-pool bundle details:</p><pre>
-karaf@root> obr:info org.apache.servicemix.bundles.commons-pool
+karaf@root()> obr:info org.apache.servicemix.bundles.commons-pool
 --------------------------------------------
 Apache ServiceMix :: Bundles :: commons-pool
 --------------------------------------------
@@ -121,7 +121,7 @@ documentation: http://www.apache.org/
 symbolicname: org.apache.servicemix.bundles.commons-pool
 presentationname: Apache ServiceMix :: Bundles :: commons-pool
 license: http://www.apache.org/licenses/LICENSE-2.0.txt
-uri: file:/home/jbonofre/apache-karaf-2.2.2/cave/cave-repo/org.apache.servicemix.bundles.commons-pool-1.5.4.3.jar
+uri: file:/home/jbonofre/apache-karaf-3.0.1/cave/my-repository/org.apache.servicemix.bundles.commons-pool-1.5.4.3.jar
 size: 97332
 version: 1.5.4.3
 Capabilities:
@@ -129,10 +129,10 @@ Capabilities:
    package:{package=org.apache.commons.pool.impl, uses:=org.apache.commons.pool, version=1.5.4}
    package:{package=org.apache.commons.pool, version=1.5.4}
 </pre><p>This bundle provides package org.apache.commons.pool capability.</p><p>It means that if I deploy the commons-dbcp bundle, the OBR should also install the commons-pool bundle:</p><pre>
-karaf@root> obr:deploy org.apache.servicemix.bundles.commons-dbcp
+karaf@root()> obr:deploy org.apache.servicemix.bundles.commons-dbcp
 Target resource(s):
 -------------------
-   Apache ServiceMix :: Bundles :: commons-dbcp (1.4.0.1)
+   Apache ServiceMix :: Bundles :: commons-dbcp (1.4.0.3)
 
 Required resource(s):
 ---------------------

Modified: karaf/site/production/manual/cave/latest/user-guide/populate-repository.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/cave/latest/user-guide/populate-repository.html?rev=1607858&r1=1607857&r2=1607858&view=diff
==============================================================================
--- karaf/site/production/manual/cave/latest/user-guide/populate-repository.html (original)
+++ karaf/site/production/manual/cave/latest/user-guide/populate-repository.html Fri Jul  4 13:52:23 2014
@@ -8,7 +8,7 @@
     <link href="../css/style.css" rel="stylesheet" type="text/css"/>
     <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/>
     <title>
-      Apache Karaf Cave 2.3.0-SNAPSHOT Guides
+      Apache Karaf Cave 3.0.1-SNAPSHOT Guides
     </title>
   </head>
   <body>
@@ -35,16 +35,16 @@
           <div style="padding: 5px;">
             <div id="banner">
               <h1 id="Populaterepository">Populate repository</h1><p>You can add new artifacts in a repository.</p><h2 id="Uploadasingleartifact">Upload a single artifact</h2><p>You can upload a single artifact into a Cave Repository:</p><pre>
-karaf@root> cave:repository-upload-artifact my-repository file:/home/user/.m2/repository/org/apache/servicemix/bundles/org.apache.servicemix.bundles.asm/3.3_2/org.apache.servicemix.bundles.asm-3.3_2.jar
-karaf@root> cave:repository-upload-artifact my-repository http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/qpid/qpid-broker/0.8.0/qpid-broker-0.8.0.jar
+karaf@root()> cave:repository-upload-artifact my-repository file:/home/jbonofre/.m2/repository/org/apache/servicemix/bundles/org.apache.servicemix.bundles.asm/3.3_2/org.apache.servicemix.bundles.asm-3.3_2.jar
+karaf@root()> cave:repository-upload-artifact my-repository http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/qpid/qpid-broker/0.8.0/qpid-broker-0.8.0.jar
 </pre><p>You can also use Maven style URL:</p><pre>
-karaf@root> cave:repository-upload-artifact my-repository mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ant/1.7.0_5
+karaf@root()> cave:repository-upload-artifact my-repository mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.ant/1.7.0_5
 </pre><h3 id="Populatefromanexternalrepository">Populate from an external repository</h3><p>You can also make a kind of "bulk" population of your repository, using an external repository:</p><pre>
-karaf@root> cave:repository-populate my-repository file:/home/user/.m2/repository
+karaf@root()> cave:repository-populate my-repository file:/home/jbonofre/.m2/repository
 </pre><p>Apache Karaf Cave supports <tt>file:</tt> but also <tt>http:</tt> URL. It means that Apache Karaf Cave is able to browse a remote repository and copy the artifacts<br/>in your "local" repository.</p><p>For instance, you can populate your repository using all Ant ServiceMix bundles present on the Central Maven<br/>repository:</p><pre>
-karaf@root> cave:repository-populate my-repository http://repo1.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.ant/
+karaf@root()> cave:repository-populate my-repository http://repo1.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.ant/
 </pre><p>You can also populate with the whole Central Maven Repository:</p><pre>
-karaf@root> cave:repository-populate my-repository http://repo1.maven.org/maven2
+karaf@root()> cave:repository-populate my-repository http://repo1.maven.org/maven2
 </pre><div class="warning" style="border: 1px solid #c00;background-color: #fcc;margin: 20px;padding: 0px 6px 0px 6px;"><p>Maven Central repository is really huge and populating from the whole Maven Central Repository will take<br/>very very long time. It's just for demonstration purpose.</p></div><p>You can filter the artifacts that you want to pick up to populate the repository. The <tt>cave:repository-populate</tt> command accepts<br/>a regex option for the filter. For instance, to pick up only joda-time version 2 artifact, you can run:</p><pre>
-karaf@root> cave:repository-populate --filter .*joda-time-2.* my-repository http://repo2.maven.org/maven2/joda-time/joda-time
+karaf@root()> cave:repository-populate --filter .*joda-time-2.* my-repository http://repo2.maven.org/maven2/joda-time/joda-time
 </pre>
\ No newline at end of file

Modified: karaf/site/production/manual/cave/latest/user-guide/proxy-repository.html
URL: http://svn.apache.org/viewvc/karaf/site/production/manual/cave/latest/user-guide/proxy-repository.html?rev=1607858&r1=1607857&r2=1607858&view=diff
==============================================================================
--- karaf/site/production/manual/cave/latest/user-guide/proxy-repository.html (original)
+++ karaf/site/production/manual/cave/latest/user-guide/proxy-repository.html Fri Jul  4 13:52:23 2014
@@ -8,7 +8,7 @@
     <link href="../css/style.css" rel="stylesheet" type="text/css"/>
     <link href="../css/pygmentize.css" rel="stylesheet" type="text/css"/>
     <title>
-      Apache Karaf Cave 2.3.0-SNAPSHOT Guides
+      Apache Karaf Cave 3.0.1-SNAPSHOT Guides
     </title>
   </head>
   <body>
@@ -35,7 +35,7 @@
           <div style="padding: 5px;">
             <div id="banner">
               <h1 id="Proxyrepository">Proxy repository</h1><p>As you can <a href="populate-repository.html">populate repository</a>, you can also proxy an "external" repository.</p><p>It means that the artifacts stay on the remote repository, Apache Karaf Cave generates the OBR metadata in the local repository<br/>for the remote artifacts:</p><pre>
-karaf@root> cave:repository-proxy my-repository http://repo1.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.commons-lang/
+karaf@root()> cave:repository-proxy my-repository http://repo1.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.commons-lang/
 </pre><p>NB: the Cave repository will only handle the OBR metadata, it doesn't monitor the remote repository. It means that you<br/>have to call the <tt>cave:proxy-repository</tt> command each time the remote repository change (new artifacts, etc).</p><p>NB: a best practice is to create a Cave repository dedicated for each proxied repository.</p><p>The <tt>cave:proxy-repository</tt> command accepts the filter option, as the <tt>cave:populate-repository</tt> command:</p><pre>
-karaf@root> cave:repository-proxy --filter .*joda-time-2.* my-repository http://repo2.maven.org/maven2/joda-time/joda-time
+karaf@root()> cave:repository-proxy --filter .*joda-time-2.* my-repository http://repo2.maven.org/maven2/joda-time/joda-time
 </pre>
\ No newline at end of file



Mime
View raw message