From a6506ca21f257d4cbfe9312937392cf0349e3e67 Mon Sep 17 00:00:00 2001 From: Ed Warnicke Date: Mon, 12 Jan 2015 17:26:54 -0600 Subject: [PATCH] Working opendaylight-startup archetype Change-Id: I48b68884ccae84379fe9896ba9d660eea5cd37d6 Signed-off-by: Ed Warnicke --- .../archetypes/opendaylight-startup/pom.xml | 39 +++++++ .../META-INF/maven/archetype-metadata.xml | 102 ++++++++++++++++++ .../resources/archetype-resources/.gitignore | 18 ++++ .../__artifactId__-api/.gitignore | 1 + .../__artifactId__-api/pom.xml | 23 ++++ .../src/main/yang/__artifactId__.yang | 9 ++ .../__artifactId__-artifacts/pom.xml | 42 ++++++++ .../__artifactId__-features/pom.xml | 53 +++++++++ .../src/main/features/features.xml | 39 +++++++ .../__artifactId__-impl/pom.xml | 34 ++++++ .../src/main/config/default-config.xml | 31 ++++++ .../__classPrefix__Provider.java | 32 ++++++ .../rev141210/__classPrefix__ImplModule.java | 36 +++++++ .../__classPrefix__ImplModuleFactory.java | 23 ++++ .../src/main/yang/__artifactId__-impl.yang | 35 ++++++ .../__artifactId__-karaf/pom.xml | 57 ++++++++++ .../resources/archetype-resources/pom.xml | 25 +++++ .../projects/basic/archetype.properties | 7 ++ .../test/resources/projects/basic/goal.txt | 0 opendaylight/archetypes/pom.xml | 1 + opendaylight/commons/opendaylight/pom.xml | 2 +- 21 files changed, 608 insertions(+), 1 deletion(-) create mode 100644 opendaylight/archetypes/opendaylight-startup/pom.xml create mode 100644 opendaylight/archetypes/opendaylight-startup/src/main/resources/META-INF/maven/archetype-metadata.xml create mode 100644 opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/.gitignore create mode 100644 opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-api/.gitignore create mode 100644 opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-api/pom.xml create mode 100644 opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-api/src/main/yang/__artifactId__.yang create mode 100644 opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-artifacts/pom.xml create mode 100644 opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-features/pom.xml create mode 100644 opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-features/src/main/features/features.xml create mode 100644 opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/pom.xml create mode 100644 opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/src/main/config/default-config.xml create mode 100644 opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/src/main/java/__packageInPathFormat__/__classPrefix__Provider.java create mode 100644 opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/__artifactId__/impl/rev141210/__classPrefix__ImplModule.java create mode 100644 opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/__artifactId__/impl/rev141210/__classPrefix__ImplModuleFactory.java create mode 100644 opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/src/main/yang/__artifactId__-impl.yang create mode 100644 opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-karaf/pom.xml create mode 100644 opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/pom.xml create mode 100644 opendaylight/archetypes/opendaylight-startup/src/test/resources/projects/basic/archetype.properties create mode 100644 opendaylight/archetypes/opendaylight-startup/src/test/resources/projects/basic/goal.txt diff --git a/opendaylight/archetypes/opendaylight-startup/pom.xml b/opendaylight/archetypes/opendaylight-startup/pom.xml new file mode 100644 index 0000000000..abdb487446 --- /dev/null +++ b/opendaylight/archetypes/opendaylight-startup/pom.xml @@ -0,0 +1,39 @@ + + + 4.0.0 + + org.opendaylight.controller + opendaylight-startup-archetype + 1.0.0-SNAPSHOT + maven-archetype + + ${project.artifactId} + + + + + org.apache.maven.archetype + archetype-packaging + 2.2 + + + + + + + maven-archetype-plugin + 2.2 + + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + + false + + + + + diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/META-INF/maven/archetype-metadata.xml b/opendaylight/archetypes/opendaylight-startup/src/main/resources/META-INF/maven/archetype-metadata.xml new file mode 100644 index 0000000000..7057a86fe5 --- /dev/null +++ b/opendaylight/archetypes/opendaylight-startup/src/main/resources/META-INF/maven/archetype-metadata.xml @@ -0,0 +1,102 @@ + + + + + + ${artifactId.substring(0,1).toUpperCase()}${artifactId.substring(1)} + + + + + + + + + + + .gitignore + + + + + + pom.xml + + + + + + __artifactId__-karaf + + pom.xml + + + + + + + __artifactId__-features + + pom.xml + + + + __artifactId__-features/src/main/features + + **/*.xml + + + + + + + __artifactId__-impl + + pom.xml + + + + __artifactId__-impl/src/main/java + + **/*.java + + + + __artifactId__-impl/src/main/config + + **/*.xml + + + + __artifactId__-impl/src/main/yang + + **/*.yang + + + + + + + __artifactId__-api + + pom.xml + + + + __artifactId__-api/src/main/yang + + **/*.yang + + + + + + __artifactId__-artifacts + + pom.xml + + + + diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/.gitignore b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/.gitignore new file mode 100644 index 0000000000..4496250cc2 --- /dev/null +++ b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/.gitignore @@ -0,0 +1,18 @@ +*.class +**/target +bin/ +dist +**/logs +*~ +target +target-ide +.classpath +.project +.settings +.idea +xtend-gen +yang-gen-config +yang-gen-sal +classes +.DS_STORE +.metadata diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-api/.gitignore b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-api/.gitignore new file mode 100644 index 0000000000..b83d22266a --- /dev/null +++ b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-api/.gitignore @@ -0,0 +1 @@ +/target/ diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-api/pom.xml b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-api/pom.xml new file mode 100644 index 0000000000..bdcec2ec01 --- /dev/null +++ b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-api/pom.xml @@ -0,0 +1,23 @@ + + + + + org.opendaylight.yangtools + binding-parent + 0.7.0-SNAPSHOT + + + + 4.0.0 + ${groupId} + ${artifactId}-api + ${version} + bundle + + diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-api/src/main/yang/__artifactId__.yang b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-api/src/main/yang/__artifactId__.yang new file mode 100644 index 0000000000..14bc43582d --- /dev/null +++ b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-api/src/main/yang/__artifactId__.yang @@ -0,0 +1,9 @@ +module ${artifactId} { + yang-version 1; + namespace "urn:opendaylight:params:xml:ns:yang:example"; + prefix "${artifactId}"; + + revision "2015-01-05" { + description "Initial revision of ${artifactId} model"; + } +} diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-artifacts/pom.xml b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-artifacts/pom.xml new file mode 100644 index 0000000000..2d634d0c58 --- /dev/null +++ b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-artifacts/pom.xml @@ -0,0 +1,42 @@ +#set( $symbol_pound = '#' ) +#set( $symbol_dollar = '$' ) +#set( $symbol_escape = '\' ) + + + + + + 4.0.0 + ${groupId} + ${artifactId}-artifacts + ${version} + pom + + + + + ${symbol_dollar}{project.groupId} + ${artifactId}-api + ${symbol_dollar}{project.version} + + + ${symbol_dollar}{project.groupId} + ${artifactId}-impl + ${symbol_dollar}{project.version} + + + ${symbol_dollar}{project.groupId} + ${artifactId}-features + ${symbol_dollar}{project.version} + features + xml + + + + diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-features/pom.xml b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-features/pom.xml new file mode 100644 index 0000000000..880e2dc9d5 --- /dev/null +++ b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-features/pom.xml @@ -0,0 +1,53 @@ +#set( $symbol_pound = '#' ) +#set( $symbol_dollar = '$' ) +#set( $symbol_escape = '\' ) + + + + + org.opendaylight.odlparent + features-parent + 1.5.0-SNAPSHOT + + ${groupId} + ${artifactId}-features + ${version} + ${project.artifactId} + 4.0.0 + + 3.1.1 + + + 1.2.0-SNAPSHOT + 0.7.0-SNAPSHOT + + + + + + org.opendaylight.controller + mdsal-artifacts + ${mdsal.version} + pom + import + + + + + + ${symbol_dollar}{groupId} + ${artifactId}-impl + ${symbol_dollar}{project.version} + + + ${symbol_dollar}{groupId} + ${artifactId}-api + ${symbol_dollar}{project.version} + + + diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-features/src/main/features/features.xml b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-features/src/main/features/features.xml new file mode 100644 index 0000000000..d0b5eb6be3 --- /dev/null +++ b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-features/src/main/features/features.xml @@ -0,0 +1,39 @@ +#set( $symbol_pound = '#' ) +#set( $symbol_dollar = '$' ) +#set( $symbol_escape = '\' ) + + + + + mvn:org.opendaylight.yangtools/features-yangtools/${symbol_dollar}{yangtools.version}/xml/features + mvn:org.opendaylight.controller/features-mdsal/${symbol_dollar}{mdsal.version}/xml/features + mvn:org.opendaylight.controller/features-restconf/${symbol_dollar}{mdsal.version}/xml/features + + odl-yangtools-models + mvn:${groupId}/${artifactId}-api/${symbol_dollar}{project.version} + + + odl-mdsal-broker + odl-${artifactId}-api + mvn:${groupId}/${artifactId}-impl/${symbol_dollar}{project.version} + mvn:${groupId}/${artifactId}-impl/${symbol_dollar}{project.version}/xml/config + + + odl-${artifactId}-impl + odl-restconf + + + odl-${artifactId}-impl-rest + odl-mdsal-apidocs + odl-mdsal-xsql + + + diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/pom.xml b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/pom.xml new file mode 100644 index 0000000000..56903d0409 --- /dev/null +++ b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/pom.xml @@ -0,0 +1,34 @@ +#set( $symbol_pound = '#' ) +#set( $symbol_dollar = '$' ) +#set( $symbol_escape = '\' ) + + + + + + org.opendaylight.controller + config-parent + 0.3.0-SNAPSHOT + + + + 4.0.0 + ${groupId} + ${artifactId}-impl + ${version} + bundle + + + ${symbol_dollar}{groupId} + ${artifactId}-api + ${symbol_dollar}{project.version} + + + + diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/src/main/config/default-config.xml b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/src/main/config/default-config.xml new file mode 100644 index 0000000000..db4efb83e3 --- /dev/null +++ b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/src/main/config/default-config.xml @@ -0,0 +1,31 @@ +#set( $symbol_pound = '#' ) +#set( $symbol_dollar = '$' ) +#set( $symbol_escape = '\' ) + + + + + + + + + + + + prefix:${artifactId}-impl + ${artifactId}-default + + binding:binding-broker-osgi-registry + binding-osgi-broker + + + + + + diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/src/main/java/__packageInPathFormat__/__classPrefix__Provider.java b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/src/main/java/__packageInPathFormat__/__classPrefix__Provider.java new file mode 100644 index 0000000000..070fb4d4e4 --- /dev/null +++ b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/src/main/java/__packageInPathFormat__/__classPrefix__Provider.java @@ -0,0 +1,32 @@ +#set( $symbol_pound = '#' ) +#set( $symbol_dollar = '$' ) +#set( $symbol_escape = '\' ) +/* + * ${copyright} and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ +package ${package}; + +import org.opendaylight.controller.sal.binding.api.BindingAwareBroker.ProviderContext; +import org.opendaylight.controller.sal.binding.api.BindingAwareProvider; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class ${classPrefix}Provider implements BindingAwareProvider, AutoCloseable { + + private static final Logger LOG = LoggerFactory.getLogger(${classPrefix}Provider.class); + + @Override + public void onSessionInitiated(ProviderContext session) { + LOG.info("${classPrefix}Provider Session Initiated"); + } + + @Override + public void close() throws Exception { + LOG.info("${classPrefix}Provider Closed"); + } + +} diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/__artifactId__/impl/rev141210/__classPrefix__ImplModule.java b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/__artifactId__/impl/rev141210/__classPrefix__ImplModule.java new file mode 100644 index 0000000000..558b018788 --- /dev/null +++ b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/__artifactId__/impl/rev141210/__classPrefix__ImplModule.java @@ -0,0 +1,36 @@ +#set( $symbol_pound = '#' ) +#set( $symbol_dollar = '$' ) +#set( $symbol_escape = '\' ) +/* + * ${copyright} and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ +package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.${artifactId}.impl.rev141210; + +import ${package}.${classPrefix}Provider; + +public class ${classPrefix}ImplModule extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.${artifactId}.impl.rev141210.Abstract${classPrefix}ImplModule { + public ${classPrefix}ImplModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) { + super(identifier, dependencyResolver); + } + + public ${classPrefix}ImplModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.${artifactId}.impl.rev141210.${classPrefix}ImplModule oldModule, java.lang.AutoCloseable oldInstance) { + super(identifier, dependencyResolver, oldModule, oldInstance); + } + + @Override + public void customValidation() { + // add custom validation form module attributes here. + } + + @Override + public java.lang.AutoCloseable createInstance() { + ${classPrefix}Provider provider = new ${classPrefix}Provider(); + getBrokerDependency().registerProvider(provider); + return provider; + } + +} diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/__artifactId__/impl/rev141210/__classPrefix__ImplModuleFactory.java b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/__artifactId__/impl/rev141210/__classPrefix__ImplModuleFactory.java new file mode 100644 index 0000000000..a531fe076e --- /dev/null +++ b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/__artifactId__/impl/rev141210/__classPrefix__ImplModuleFactory.java @@ -0,0 +1,23 @@ +#set( $symbol_pound = '#' ) +#set( $symbol_dollar = '$' ) +#set( $symbol_escape = '\' ) +/* + * ${copyright} and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ +/* +* Generated file +* +* Generated from: yang module name: ${artifactId} yang module local name: ${artifactId} +* Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator +* Generated at: Fri Jan 02 13:49:24 CST 2015 +* +* Do not modify this file unless it is present under src/main directory +*/ +package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.${artifactId}.impl.rev141210; +public class ${classPrefix}ImplModuleFactory extends org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.${artifactId}.impl.rev141210.Abstract${classPrefix}ImplModuleFactory { + +} diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/src/main/yang/__artifactId__-impl.yang b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/src/main/yang/__artifactId__-impl.yang new file mode 100644 index 0000000000..7b00b849a1 --- /dev/null +++ b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-impl/src/main/yang/__artifactId__-impl.yang @@ -0,0 +1,35 @@ +module ${artifactId}-impl { + yang-version 1; + namespace "urn:opendaylight:params:xml:ns:yang:${artifactId}:impl"; + prefix "${artifactId}-impl"; + + import config { prefix config; revision-date 2013-04-05; } + import opendaylight-md-sal-binding { prefix md-sal-binding; revision-date 2013-10-28;} + + description + "Service definition for ${artifactId} project"; + + revision "2014-12-10" { + description + "Initial revision"; + } + + identity ${artifactId}-impl { + base config:module-type; + config:java-name-prefix ${classPrefix}Impl; + } + + augment "/config:modules/config:module/config:configuration" { + case ${artifactId}-impl { + when "/config:modules/config:module/config:type = '${artifactId}-impl'"; + container broker { + uses config:service-ref { + refine type { + mandatory true; + config:required-identity md-sal-binding:binding-broker-osgi-registry; + } + } + } + } + } +} diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-karaf/pom.xml b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-karaf/pom.xml new file mode 100644 index 0000000000..80fe081b09 --- /dev/null +++ b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/__artifactId__-karaf/pom.xml @@ -0,0 +1,57 @@ +#set( $symbol_pound = '#' ) +#set( $symbol_dollar = '$' ) +#set( $symbol_escape = '\' ) + + + + + org.opendaylight.controller + karaf-parent + 1.5.0-SNAPSHOT + + + 4.0.0 + ${groupId} + ${artifactId} + ${version} + ${project.artifactId} + + 3.1.1 + + + odl-${artifactId}-impl-ui + + + + + ${symbol_dollar}{project.groupId} + ${artifactId}-artifacts + ${symbol_dollar}{project.version} + pom + import + + + + + + + org.apache.karaf.features + framework + kar + + + + ${symbol_dollar}{project.groupId} + ${artifactId}-features + features + xml + runtime + + + diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/pom.xml b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/pom.xml new file mode 100644 index 0000000000..cbc021f213 --- /dev/null +++ b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/pom.xml @@ -0,0 +1,25 @@ + + + + ${groupId} + ${artifactId}-aggregator + ${version} + ${project.artifactId} + pom + 4.0.0 + + 3.1.1 + + + ${artifactId}-api + ${artifactId}-impl + ${artifactId}-karaf + ${artifactId}-features + ${artifactId}-artifacts + + diff --git a/opendaylight/archetypes/opendaylight-startup/src/test/resources/projects/basic/archetype.properties b/opendaylight/archetypes/opendaylight-startup/src/test/resources/projects/basic/archetype.properties new file mode 100644 index 0000000000..a7d692b1eb --- /dev/null +++ b/opendaylight/archetypes/opendaylight-startup/src/test/resources/projects/basic/archetype.properties @@ -0,0 +1,7 @@ +#Mon Jan 12 13:10:37 CST 2015 +package=it.pkg +version=0.1-SNAPSHOT +groupId=archetype.it +artifactId=basic +classPrefix=Basic +copyright=Copyright (c) 2013 Cisco Systems, Inc. diff --git a/opendaylight/archetypes/opendaylight-startup/src/test/resources/projects/basic/goal.txt b/opendaylight/archetypes/opendaylight-startup/src/test/resources/projects/basic/goal.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/opendaylight/archetypes/pom.xml b/opendaylight/archetypes/pom.xml index 33c2548091..d8ac923176 100644 --- a/opendaylight/archetypes/pom.xml +++ b/opendaylight/archetypes/pom.xml @@ -42,5 +42,6 @@ opendaylight-configfile-archetype opendaylight-karaf-distro-archetype opendaylight-karaf-features + opendaylight-startup diff --git a/opendaylight/commons/opendaylight/pom.xml b/opendaylight/commons/opendaylight/pom.xml index 84c04e0ebf..4d95b72ce7 100644 --- a/opendaylight/commons/opendaylight/pom.xml +++ b/opendaylight/commons/opendaylight/pom.xml @@ -1696,7 +1696,7 @@ true ${project.basedir} **\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat - **\/target\/,**\/bin\/,**\/target-ide\/,**\/${jmxGeneratorPath}\/,**\/${salGeneratorPath}\/,**\/protobuff\/ + **\/target\/,**\/bin\/,**\/target-ide\/,**\/${jmxGeneratorPath}\/,**\/${salGeneratorPath}\/,**\/protobuff\/,**\/src\/main\/resources\/archetype-resources\/**\/*.java -- 2.36.6