From bc335de41876acd8720dce1030a79b3a7b39c3b1 Mon Sep 17 00:00:00 2001 From: Maros Marsalek Date: Wed, 21 Sep 2016 13:51:57 +0200 Subject: HONEYCOMB-209 Configure maven site To produce site for Honeycomb + javadoc asciidoc To build the site: mvn clean install site:attach-descriptor site mvn site:stage -DstagingDirectory=/home/mmarsale/tmp/stage Change-Id: I4246bb09ba02b74a2a9c84ee73f8dba02384fffa Signed-off-by: Maros Marsalek --- tools/archetype/Readme.adoc | 13 ------------- tools/archetype/asciidoc/Readme.adoc | 13 +++++++++++++ tools/archetype/pom.xml | 8 +++++--- .../archetype-resources/__rootArtifactId__-impl/Readme.adoc | 3 --- .../main/resources/archetype-resources/asciidoc/Readme.adoc | 3 +++ .../src/main/resources/archetype-resources/pom.xml | 12 ++---------- tools/asciidoc/Readme.adoc | 3 +++ tools/pom.xml | 9 ++++++--- 8 files changed, 32 insertions(+), 32 deletions(-) delete mode 100644 tools/archetype/Readme.adoc create mode 100644 tools/archetype/asciidoc/Readme.adoc delete mode 100644 tools/archetype/src/main/resources/archetype-resources/__rootArtifactId__-impl/Readme.adoc create mode 100644 tools/archetype/src/main/resources/archetype-resources/asciidoc/Readme.adoc create mode 100644 tools/asciidoc/Readme.adoc (limited to 'tools') diff --git a/tools/archetype/Readme.adoc b/tools/archetype/Readme.adoc deleted file mode 100644 index e5528d7ee..000000000 --- a/tools/archetype/Readme.adoc +++ /dev/null @@ -1,13 +0,0 @@ -Honeycomb Plugin Archetype - - This is archetype for creating plugins for Honeycomb platform - -How to use it : - - archetype:generate -DarchetypeGroupId=io.fd.honeycomb.tools -DarchetypeArtifactId=honeycomb-plugin-archetype -DarchetypeVersion=1.16.12-SNAPSHOT - -This will generate main aggregator project containing two sub-projects - - -api - project that should contain yang model files for restconf/netconf DTO classes - -impl - implementation project that should contain plugin translation code + wiring - diff --git a/tools/archetype/asciidoc/Readme.adoc b/tools/archetype/asciidoc/Readme.adoc new file mode 100644 index 000000000..e5528d7ee --- /dev/null +++ b/tools/archetype/asciidoc/Readme.adoc @@ -0,0 +1,13 @@ +Honeycomb Plugin Archetype + + This is archetype for creating plugins for Honeycomb platform + +How to use it : + + archetype:generate -DarchetypeGroupId=io.fd.honeycomb.tools -DarchetypeArtifactId=honeycomb-plugin-archetype -DarchetypeVersion=1.16.12-SNAPSHOT + +This will generate main aggregator project containing two sub-projects + + -api - project that should contain yang model files for restconf/netconf DTO classes + -impl - implementation project that should contain plugin translation code + wiring + diff --git a/tools/archetype/pom.xml b/tools/archetype/pom.xml index 38dbcc81f..1bb56074d 100644 --- a/tools/archetype/pom.xml +++ b/tools/archetype/pom.xml @@ -3,16 +3,18 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - honeycomb-tools - io.fd.honeycomb.tools + io.fd.honeycomb.common + honeycomb-parent 1.16.12-SNAPSHOT + ../../common/honeycomb-parent - 4.0.0 io.fd.honeycomb.tools honeycomb-plugin-archetype + ${project.artifactId} 1.16.12-SNAPSHOT jar + 4.0.0 true diff --git a/tools/archetype/src/main/resources/archetype-resources/__rootArtifactId__-impl/Readme.adoc b/tools/archetype/src/main/resources/archetype-resources/__rootArtifactId__-impl/Readme.adoc deleted file mode 100644 index 8b4288e55..000000000 --- a/tools/archetype/src/main/resources/archetype-resources/__rootArtifactId__-impl/Readme.adoc +++ /dev/null @@ -1,3 +0,0 @@ ---Documentation for ${rootArtifactId} -- - -TODO Replace with general description whats the purpose of ${rootArtifactId} and how it works diff --git a/tools/archetype/src/main/resources/archetype-resources/asciidoc/Readme.adoc b/tools/archetype/src/main/resources/archetype-resources/asciidoc/Readme.adoc new file mode 100644 index 000000000..8b4288e55 --- /dev/null +++ b/tools/archetype/src/main/resources/archetype-resources/asciidoc/Readme.adoc @@ -0,0 +1,3 @@ +--Documentation for ${rootArtifactId} -- + +TODO Replace with general description whats the purpose of ${rootArtifactId} and how it works diff --git a/tools/archetype/src/main/resources/archetype-resources/pom.xml b/tools/archetype/src/main/resources/archetype-resources/pom.xml index 5445d6e7f..0b69b9b68 100644 --- a/tools/archetype/src/main/resources/archetype-resources/pom.xml +++ b/tools/archetype/src/main/resources/archetype-resources/pom.xml @@ -12,13 +12,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ---> - - - org.opendaylight.odlparent - odlparent - 1.6.2-Beryllium-SR2 - +--> + ${groupId} ${rootArtifactId}-aggregator @@ -26,9 +21,6 @@ ${rootArtifactId}-aggregator pom 4.0.0 - - 3.1.1 - ${rootArtifactId}-api diff --git a/tools/asciidoc/Readme.adoc b/tools/asciidoc/Readme.adoc new file mode 100644 index 000000000..c76ce615a --- /dev/null +++ b/tools/asciidoc/Readme.adoc @@ -0,0 +1,3 @@ += honeycomb-tools + +Overview of honeycomb-tools \ No newline at end of file diff --git a/tools/pom.xml b/tools/pom.xml index f5a1371b2..78fae3aaa 100644 --- a/tools/pom.xml +++ b/tools/pom.xml @@ -3,16 +3,19 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - honeycomb-aggregator - io.fd.honeycomb + io.fd.honeycomb.common + honeycomb-parent 1.16.12-SNAPSHOT + ../common/honeycomb-parent - 4.0.0 io.fd.honeycomb.tools honeycomb-tools + ${project.artifactId} pom 1.16.12-SNAPSHOT + 4.0.0 + Aggregator for various Honeycomb tools true -- cgit 1.2.3-korg