From 1a86d53610c6806e4010001f344a90e134595ec7 Mon Sep 17 00:00:00 2001 From: Lusheng Ji Date: Tue, 29 Aug 2017 14:19:57 +0000 Subject: Update LICENSE.txt, pom.xml, mvn script, etc Issue-Id: DCAEGEN2-86 Change-Id: I9dcafe831bec6ad3bb2eaee85c550f8426b6a1c6 Signed-off-by: Lusheng Ji --- LICENSE.txt | 70 +++++++++++++++++++--------------- mvn-phase-script.sh | 0 pom.xml | 107 +++++++++++++++++++++++++++++++++------------------- version.properties | 6 +++ 4 files changed, 115 insertions(+), 68 deletions(-) mode change 100644 => 100755 mvn-phase-script.sh create mode 100644 version.properties diff --git a/LICENSE.txt b/LICENSE.txt index 22d3915..69d5fc1 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,30 +1,40 @@ -============LICENSE_START======================================================= -org.onap.dcae -================================================================================ -Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. -================================================================================ -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -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. -=================================================================== -=================================================================== -Licensed under the Creative Commons License, Attribution 4.0 Intl. (the "License"); -you may not use this documentation except in compliance with the License. -You may obtain a copy of the License at - https://creativecommons.org/licenses/by/4.0/ - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -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. -============LICENSE_END========================================================= -ECOMP is a trademark and service mark of AT&T Intellectual Property. +/* +* ============LICENSE_START========================================== +* =================================================================== +* Copyright © 2017 AT&T Intellectual Property. All rights reserved. +* =================================================================== +* +* Unless otherwise specified, all software contained herein is licensed +* under the Apache License, Version 2.0 (the “License”); +* you may not use this software except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* 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. +* +* +* +* Unless otherwise specified, all documentation contained herein is licensed +* under the Creative Commons License, Attribution 4.0 Intl. (the “License”); +* you may not use this documentation except in compliance with the License. +* You may obtain a copy of the License at +* +* https://creativecommons.org/licenses/by/4.0/ +* +* Unless required by applicable law or agreed to in writing, documentation +* distributed under the License is distributed on an "AS IS" BASIS, +* 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. +* +* ============LICENSE_END============================================ +* +* ECOMP is a trademark and service mark of AT&T Intellectual Property. +* +*/ + diff --git a/mvn-phase-script.sh b/mvn-phase-script.sh old mode 100644 new mode 100755 diff --git a/pom.xml b/pom.xml index 95cbe2e..41e59cc 100644 --- a/pom.xml +++ b/pom.xml @@ -1,21 +1,35 @@ - + + 4.0.0 org.onap.oparent oparent 1.0.0-SNAPSHOT - org.onap.dcaegen2.collectors snmptrap - dcae_snmptrap + snmptrap 1.0.0-SNAPSHOT http://maven.apache.org @@ -23,7 +37,7 @@ UTF-8 . - http://localhost:9000 + py @@ -31,7 +45,7 @@ **/*.py @@ -41,37 +55,30 @@ ${project.artifactId}-${project.version} + + + - org.codehaus.mojo - sonar-maven-plugin - 2.7.1 + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + + true + + + + org.apache.maven.plugins + maven-deploy-plugin + + 2.8 + + true + - - - - - - + + dir. we do not need it --> org.apache.maven.plugins maven-resources-plugin @@ -105,7 +112,7 @@ + target dir to ~/.m2. we do not need it --> org.apache.maven.plugins maven-install-plugin @@ -116,7 +123,7 @@ + we do not need it --> org.apache.maven.plugins maven-surefire-plugin @@ -127,6 +134,30 @@ + + + + + + + org.codehaus.mojo diff --git a/version.properties b/version.properties new file mode 100644 index 0000000..73415a7 --- /dev/null +++ b/version.properties @@ -0,0 +1,6 @@ +major=1 +minor=1 +patch=0 +base_version=${major}.${minor}.${patch} +release_version=${base_version} +snapshot_version=${base_version}-SNAPSHOT -- cgit 1.2.3-korg