aboutsummaryrefslogtreecommitdiffstats
path: root/aai-schema/src
diff options
context:
space:
mode:
authorKajur, Harish (vk250x) <vk250x@att.com>2019-04-10 11:55:07 -0400
committerJames Forsyth <jf2512@att.com>2019-04-10 15:56:34 +0000
commit5ae7993c2fd3d9ed56a60ab7018ceeb9d59c0584 (patch)
tree2b83700806dedef38143e35eec0c29cf47474784 /aai-schema/src
parentbd30b66c9cd6a18f3c4c7560afddb813b76c385c (diff)
Change configuration to l3-network multiplicity
Issue-ID: AAI-2355 Change-Id: I4b31abbb5a60e6809fc43c0157626ab405942852 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
Diffstat (limited to 'aai-schema/src')
-rw-r--r--aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_v14.json2
-rw-r--r--aai-schema/src/main/resources/onap/dbedgerules/v15/DbEdgeRules_v15.json2
-rw-r--r--aai-schema/src/main/resources/onap/dbedgerules/v16/DbEdgeRules_v16.json2
3 files changed, 3 insertions, 3 deletions
diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_v14.json b/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_v14.json
index 2eed800..f7e762c 100644
--- a/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_v14.json
+++ b/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_v14.json
@@ -2609,7 +2609,7 @@
"to": "l3-network",
"label": "org.onap.relationships.inventory.PartOf",
"direction": "OUT",
- "multiplicity": "ONE2ONE",
+ "multiplicity": "MANY2MANY",
"contains-other-v": "NONE",
"delete-other-v": "NONE",
"prevent-delete": "NONE",
diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v15/DbEdgeRules_v15.json b/aai-schema/src/main/resources/onap/dbedgerules/v15/DbEdgeRules_v15.json
index 1f6829c..2d448aa 100644
--- a/aai-schema/src/main/resources/onap/dbedgerules/v15/DbEdgeRules_v15.json
+++ b/aai-schema/src/main/resources/onap/dbedgerules/v15/DbEdgeRules_v15.json
@@ -2622,7 +2622,7 @@
"to": "l3-network",
"label": "org.onap.relationships.inventory.PartOf",
"direction": "OUT",
- "multiplicity": "ONE2ONE",
+ "multiplicity": "MANY2MANY",
"contains-other-v": "NONE",
"delete-other-v": "NONE",
"prevent-delete": "NONE",
diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v16/DbEdgeRules_v16.json b/aai-schema/src/main/resources/onap/dbedgerules/v16/DbEdgeRules_v16.json
index 1f6829c..2d448aa 100644
--- a/aai-schema/src/main/resources/onap/dbedgerules/v16/DbEdgeRules_v16.json
+++ b/aai-schema/src/main/resources/onap/dbedgerules/v16/DbEdgeRules_v16.json
@@ -2622,7 +2622,7 @@
"to": "l3-network",
"label": "org.onap.relationships.inventory.PartOf",
"direction": "OUT",
- "multiplicity": "ONE2ONE",
+ "multiplicity": "MANY2MANY",
"contains-other-v": "NONE",
"delete-other-v": "NONE",
"prevent-delete": "NONE",
4' href='#n274'>274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

	<!-- PLEASE READ !!!!! This file is generated from ccsdk/parent/setup/src/main/template/pom-template.xml 
		Any updates needed should be made to that template and not to the generated 
		pom.xml file -->

	<modelVersion>4.0.0</modelVersion>
	<packaging>pom</packaging>
	<groupId>org.onap.ccsdk.parent</groupId>
	<artifactId>feature-repo-parent</artifactId>
	<version>1.4.2-SNAPSHOT</version>

	<parent>
		<groupId>org.opendaylight.odlparent</groupId>
		<artifactId>feature-repo-parent</artifactId>
		<version>4.0.10</version>
		<relativePath />
	</parent>


	<name>ONAP :: ${project.groupId} :: ${project.artifactId}</name>
	<url>http://wiki.onap.org</url>
	<description>Root POM to be used in place of odlparent for CCSDK based projects</description>


	<issueManagement>
		<system>JIRA</system>
		<url>https://jira.onap.org/</url>
	</issueManagement>

	<properties>

		<!-- properties from oparent -->
		<maven.compiler.source>1.8</maven.compiler.source>
		<maven.compiler.target>1.8</maven.compiler.target>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
		<onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
		<!-- sitePath may be overridden in the inheriting POM if desired -->
		<sitePath>/content/sites/site/${project.groupId}/${project.artifactId}/${project.version}</sitePath>
		<jacoco.version>0.7.7.201606060606</jacoco.version>
		<sonar-jacoco-listeners.version>3.2</sonar-jacoco-listeners.version>
		<sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
		<!-- Default Sonar configuration -->
		<sonar.jacoco.reportPaths>target/code-coverage/jacoco-ut.exec,target/code-coverage/jacoco-it.exec</sonar.jacoco.reportPaths>
		<!-- Note: This list should match jacoco-maven-plugin's exclusion list 
			below -->
		<sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
		<!-- If following file exist, auto-generation of swagger.json will be done -->
		<swagger-properties>${basedir}/src/main/resources/swagger.properties</swagger-properties>
		<!-- If following file exist, auto-generation of sdk will be done -->
		<swagger-json>${basedir}/src/main/resources/swagger.json</swagger-json>
		<!-- end of properties from oparent -->

		<!-- ONAP repositories -->
		<onap.nexus.host>nexus.onap.org</onap.nexus.host>
		<onap.nexus.port>443</onap.nexus.port>
		<onap.nexus.protocol>https</onap.nexus.protocol>
		<onap.nexus.public-url>https://nexus.onap.org/content/groups/public</onap.nexus.public-url>
		<onap.nexus.staging-url>https://nexus.onap.org/content/groups/staging</onap.nexus.staging-url>
		<onap.nexus.release-url>https://nexus.onap.org/content/repositories/releases</onap.nexus.release-url>
		<onap.nexus.snapshot-url>https://nexus.onap.org/content/repositories/snapshots</onap.nexus.snapshot-url>
		<onap.nexus.staging.server-id>ecomp-staging</onap.nexus.staging.server-id>
		<onap.nexus.staging.profile-id>176c31dfe190a</onap.nexus.staging.profile-id>


		<!-- OpenDaylight repositories -->
		<opendaylight.nexus.public-url>https://nexus.opendaylight.org/content/repositories/public/</opendaylight.nexus.public-url>
		<opendaylight.nexus.snapshot-url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</opendaylight.nexus.snapshot-url>


		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<java.version.source>1.8</java.version.source>
		<java.version.target>1.8</java.version.target>
		<bundle.plugin.version>2.5.0</bundle.plugin.version>
		<maven.compile.plugin.version>2.5.1</maven.compile.plugin.version>
		<features.file>features.xml</features.file>
		<jmxGeneratorPath>src/main/yang-gen-config</jmxGeneratorPath>
		<salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
		<checkstyle.skip>true</checkstyle.skip>


		<sonar.language>java</sonar.language>
		<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
		<sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
		<sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero>
		<sonar.projectVersion>${project.version}</sonar.projectVersion>




		<!-- CCSDK component versions -->
		<ccsdk.sli.core.version>0.6.2-SNAPSHOT</ccsdk.sli.core.version>
		<ccsdk.sli.adaptors.version>0.6.2-SNAPSHOT</ccsdk.sli.adaptors.version>
		<ccsdk.sli.northbound.version>0.6.2-SNAPSHOT</ccsdk.sli.northbound.version>
		<ccsdk.sli.plugins.version>0.6.2-SNAPSHOT</ccsdk.sli.plugins.version>
		<ccsdk.distribution.version>0.6.2-SNAPSHOT</ccsdk.distribution.version>
		<sdnctl.sli.version>${ccsdk.sli.core.version}</sdnctl.sli.version>
		<sdnctl.aai.service.version>${ccsdk.sli.adaptors.version}</sdnctl.aai.service.version>
		<sdnctl.dblib.version>${ccsdk.sli.core.version}</sdnctl.dblib.version>
		<sdnctl.mdsal.resource.version>${ccsdk.sli.adaptors.version}</sdnctl.mdsal.resource.version>
		<sdnctl.slipluginutils.version>${ccsdk.sli.core.version}</sdnctl.slipluginutils.version>


		<!-- Support libraries used by OpenDaylight -->
		<odl.controller.mdsal.version>1.9.1</odl.controller.mdsal.version>
		<odl.mdsal.version>3.0.8</odl.mdsal.version>
		<odl.mdsal.model.version>1.0.8</odl.mdsal.model.version>
		<odl.netconf.restconf.version>1.9.1</odl.netconf.restconf.version>
		<odl.netconf.netconf.version>1.6.1</odl.netconf.netconf.version>
		<odl.netconf.sal.rest.docgen.version>1.9.1</odl.netconf.sal.rest.docgen.version>

		<!-- Used by aaa, vtn -->
		<commons.codec.version>1.12</commons.codec.version>
		<!-- Used by netconf, ovsdb -->
		<commons.lang3.version>3.8.1</commons.lang3.version>
		<!-- Used by sfc, snmp4sdn; see also affinity, toolkit -->
		<commons.lang.version>2.6</commons.lang.version>
		<!-- Used by neutron; see also controller, vtn -->
		<commons.net.version>3.6</commons.net.version>
		<!-- Used by neutron -->
		<eclipse.persistence.version>2.7.3</eclipse.persistence.version>
		<!-- Used by aaa -->
		<felix.dependencymanager.version>4.4.1</felix.dependencymanager.version>
		<!-- Used by lacp, netconf, ovsdb, sfc, toolkit; see also vtn -->
		<gson.version>2.8.5</gson.version>
		<!-- Used by aaa, dlux, persistence, snmp4sdn, sxp -->
		<guava.version>25.1-jre</guava.version>
		<!-- Used by aaa, alto, netconf, ovsdb, sfc; see also affinity, defense4all, 
			integration/distribution, snmp4sdn, toolkit, ttp -->
		<jackson.version>2.9.8</jackson.version>
		<jackson.bom.version>2.9.8</jackson.bom.version>
		<!-- Used by snmp4sdn, yangtools -->
		<javassist.version>3.24.1-GA</javassist.version>

		<!-- FIXME remove all dependencies for jersey 1.17 after migration all 
			projects -->
		<!-- Used by aaa, alto, netconf, neutron, sfc; see also affinity, defense4all, 
			snmp4sdn, toolkit -->
		<jersey.version>2.25.1</jersey.version>
		<!-- Used by sfc -->
		<jersey.client.version>2.25.1</jersey.client.version>

		<!-- New packages for jersey migration 1.17 to 2.8 -->
		<!-- appache.geronimo.bundle for DocGen -->
		<!-- Used by aaa, iotdm, netconf, ovsdb, sfc -->
		<org.json.version>20131018</org.json.version>



		<!-- Used everywhere -->
		<junit.version>4.12</junit.version>
		<!-- Used by coretutorials, sfc, snmp4sdn, sxp; see also affinity, toolkit -->
		<logback.version>1.2.3</logback.version>
		<!-- Used by nic, sfc, sxp, tsdr -->
		<mockito.version>1.10.19</mockito.version>
		<!-- Used by bgpcep, netconf, ovsdb, sxp; see also opendove, toolkit -->
		<netty.version>4.1.34.Final</netty.version>
		<!-- Used by openflowjava, persistence, sfc, snmp4sdn, sxp; see also affinity, 
			toolkit -->
		<slf4j.version>1.7.25</slf4j.version>
		<!-- Used in integration/distribution; see also affinity, snmp4sdn, toolkit, 
			tsdr, ttp -->
		<spring.version>4.3.24.RELEASE</spring.version>



		<!-- Extra support libraries used by SDN-C -->
		<jackson-annotations-version>${jackson.version}</jackson-annotations-version>
		<jvnet.jaxb2.version>0.6.4</jvnet.jaxb2.version>
		<antlr.version>4.7.2</antlr.version>

		<eelf.maven.plugin.version>1.0.0</eelf.maven.plugin.version>


		<!-- Managed dependency versions -->
		<apache.httpcomponents.core.version>4.4.4</apache.httpcomponents.core.version>
		<apache.httpcomponents.client.version>4.5.2</apache.httpcomponents.client.version>
		<derby.version>10.14.2.0</derby.version>
		<eelf.version>1.0.0</eelf.version>
		<grpc.version>1.17.1</grpc.version>
		<mariadb.connector.version>2.1.1</mariadb.connector.version>
		<mariadb4j.version>2.2.3</mariadb4j.version>
		<testng.version>6.11</testng.version>
		<tomcat-jdbc.version>8.5.14</tomcat-jdbc.version>
		<jetty.version>9.4.12.v20180830</jetty.version>
		<skip.karaf.featureTest>true</skip.karaf.featureTest>
	</properties>

	<profiles>
		<!-- Profiles from ONAP oparent -->
		<profile>
			<id>generate-json</id>
			<activation>
				<file>
					<exists>${swagger-properties}</exists>
				</file>
				<property>
					<name>swagger-sdk.generate-json</name>
				</property>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.codehaus.mojo</groupId>
						<artifactId>properties-maven-plugin</artifactId>
						<version>1.0.0</version>
						<executions>
							<execution>
								<phase>initialize</phase>
								<goals>
									<goal>read-project-properties</goal>
								</goals>
								<configuration>
									<files>
										<file>${basedir}/src/main/resources/swagger.properties</file>
									</files>
								</configuration>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<groupId>com.github.kongchen</groupId>
						<artifactId>swagger-maven-plugin</artifactId>
						<version>3.1.4</version>
						<configuration>
							<apiSources>
								<apiSource>
									<locations>${api-rest-package}</locations>
									<schemes>http,https</schemes>
									<host>${api-host-ip}:${api-host-port}</host>
									<basePath>${api-base-path}</basePath>
									<info>
										<title>${api-title}</title>
										<version>${api-version}</version>
										<description>${api-description}</description>
										<license>
											<name>${api-license}</name>
										</license>
									</info>
									<swaggerDirectory>${basedir}/src/main/resources</swaggerDirectory>
								</apiSource>
							</apiSources>
						</configuration>
						<executions>
							<execution>
								<phase>compile</phase>
								<goals>
									<goal>generate</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-install-plugin</artifactId>
						<version>2.3.1</version>
						<executions>
							<execution>
								<id>install-file-id</id>
								<phase>install</phase>
								<goals>
									<goal>install-file</goal>
								</goals>
								<configuration>
									<file>${basedir}/src/main/resources/swagger.json</file>
									<groupId>${project.groupId}</groupId>
									<artifactId>${project.artifactId}-swagger-schema</artifactId>
									<version>${project.version}</version>
									<packaging>json</packaging>
								</configuration>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
		<profile>
			<id>generate-sdk</id>
			<activation>
				<file>
					<exists>${swagger-json}</exists>
				</file>
				<property>
					<name>swagger-sdk.generate-java-sdk</name>
				</property>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-antrun-plugin</artifactId>
						<version>1.8</version>
						<executions>
							<execution>
								<phase>initialize</phase>
								<id>ant-create-script</id>
								<configuration>
									<exportAntProperties>true</exportAntProperties>
									<tasks>
										<taskdef resource="net/sf/antcontrib/antlib.xml"
											classpathref="maven.plugin.classpath" />
										<condition property="is_windows" value="true">
											<os family="windows" />
										</condition>
										<condition property="isLinux" value="true">
											<os family="unix" />
										</condition>
										<if>
											<equals arg1="${is_windows}" arg2="true" />
											<then>
												<property name="swagger.sdk.script.file"
													value="generated-source-script.bat" />
												<echo
													file="${project.build.directory}${file.separator}generated-source-script.bat"
													append="true"
													message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
												<echo
													file="${project.build.directory}${file.separator}generated-source-script.bat"
													append="true"
													message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
											</then>
											<else>
												<property name="swagger.sdk.script.file"
													value="generated-source-script.sh" />
												<echo
													file="${project.build.directory}${file.separator}generated-source-script.sh"
													append="true"
													message="cd ${project.build.directory}${file.separator}generated-sources${line.separator}" />
												<echo
													file="${project.build.directory}${file.separator}generated-source-script.sh"
													append="true"
													message="mvn clean install -Dmaven.test.skip=true${line.separator}" />
												<chmod
													file="${project.build.directory}${file.separator}generated-source-script.sh"
													perm="755" />
											</else>
										</if>
									</tasks>
								</configuration>
								<goals>
									<goal>run</goal>
								</goals>
							</execution>
						</executions>
						<dependencies>
							<dependency>
								<groupId>ant-contrib</groupId>
								<artifactId>ant-contrib</artifactId>
								<version>1.0b3</version>
								<exclusions>
									<exclusion>
										<artifactId>ant</artifactId>
										<groupId>ant</groupId>
									</exclusion>
								</exclusions>
							</dependency>
						</dependencies>
					</plugin>
					<plugin>
						<groupId>io.swagger</groupId>
						<artifactId>swagger-codegen-maven-plugin</artifactId>
						<version>2.2.1</version>
						<executions>
							<execution>
								<goals>
									<goal>generate</goal>
								</goals>
								<configuration>
									<inputSpec>${basedir}/src/main/resources/swagger.json</inputSpec>
									<output>${project.build.directory}/generated-sources</output>
									<language>java</language>
									<configOptions>
										<dateLibrary>joda</dateLibrary>
									</configOptions>
									<library>jersey2</library>
									<groupId>${project.groupId}</groupId>
									<artifactId>${project.artifactId}-java-sdk</artifactId>
									<artifactVersion>${project.version}</artifactVersion>
									<modelPackage>${project.groupId}.${project.artifactId}.client.model</modelPackage>
									<apiPackage>${project.groupId}.${project.artifactId}.client.api</apiPackage>
									<invokerPackage>${project.groupId}.${project.artifactId}.client.invoker</invokerPackage>
								</configuration>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<artifactId>exec-maven-plugin</artifactId>
						<groupId>org.codehaus.mojo</groupId>
						<version>1.5.0</version>
						<executions>
							<execution>
								<id>swagger-generate-sources</id>
								<phase>generate-sources</phase>
								<goals>
									<goal>exec</goal>
								</goals>
								<configuration>
									<executable>${project.build.directory}${file.separator}${swagger.sdk.script.file}</executable>
								</configuration>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-clean-plugin</artifactId>
						<version>3.0.0</version>
						<executions>
							<execution>
								<id>clean-generated-files</id>
								<phase>generate-sources</phase>
								<goals>
									<goal>clean</goal>
								</goals>
								<configuration>
									<filesets>
										<fileset>
											<directory>${project.build.directory}/generated-sources</directory>
										</fileset>
									</filesets>
								</configuration>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
			<dependencies>
				<dependency>
					<groupId>org.onap.msb.swagger-sdk</groupId>
					<artifactId>swagger-sdk</artifactId>
					<version>1.0.0</version>
				</dependency>
			</dependencies>
		</profile>

		<!-- End of profiles from ONAP oparent -->

		<profile>
			<id>yang-compile</id>
			<activation>
				<file>
					<exists>src/main/yang</exists>
				</file>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.opendaylight.yangtools</groupId>
						<artifactId>yang-maven-plugin</artifactId>
						<version>2.1.8</version>
						<dependencies>
							<dependency>
								<groupId>org.opendaylight.mdsal</groupId>
								<artifactId>maven-sal-api-gen-plugin</artifactId>
								<version>${odl.mdsal.model.version}</version>
								<type>jar</type>
							</dependency>
							<dependency>
								<groupId>org.opendaylight.netconf</groupId>
								<artifactId>sal-rest-docgen-maven</artifactId>
								<version>${odl.netconf.sal.rest.docgen.version}</version>
								<type>jar</type>
							</dependency>
						</dependencies>
						<executions>
							<execution>
								<goals>
									<goal>generate-sources</goal>
								</goals>
								<configuration>
									<yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
									<codeGenerators>
										<generator>
											<codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
											<outputBaseDir>${salGeneratorPath}</outputBaseDir>
										</generator>
										<generator>
											<codeGeneratorClass>org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator</codeGeneratorClass>
											<outputBaseDir>target/swagger</outputBaseDir>
										</generator>
									</codeGenerators>
									<inspectDependencies>true</inspectDependencies>
								</configuration>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>

	</profiles>


	<dependencyManagement>
		<dependencies>

			<!-- Note: If value in BOM conflicts with value inherited from
			parent pom, inherited value takes precedence.  This seems more like
			a bug than a feature, but this is how maven 3.6 works -->
			<dependency>
				<groupId>org.onap.ccsdk.parent</groupId>
				<artifactId>dependencies-odl-bom</artifactId>
				<version>1.4.2-SNAPSHOT</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>

			<!-- Override incorrect versions in ODL parent poms -->
			<!-- to match versions actually installed in ODL Neon -->
			<dependency>
				<groupId>com.google.protobuf</groupId>
				<artifactId>protobuf-java</artifactId>
				<version>3.6.1</version>
			</dependency>
			<dependency>
				<groupId>io.netty</groupId>
				<artifactId>netty-transport</artifactId>
				<version>4.1.34.Final</version>
			</dependency>
			<dependency>
				<groupId>io.netty</groupId>
				<artifactId>netty-all</artifactId>
				<version>4.1.34.Final</version>
				<!-- <version>${netty.version}</version> -->
			</dependency>
			<dependency>
				<groupId>junit</groupId>
				<artifactId>junit</artifactId>
				<version>4.12</version>
				<scope>test</scope>
			</dependency>
			<dependency>
				<groupId>org.eclipse.jetty</groupId>
				<artifactId>jetty-server</artifactId>
				<version>9.4.12.v20180830</version>
			</dependency>
			<dependency>
				<groupId>org.eclipse.jetty</groupId>
				<artifactId>jetty-servlets</artifactId>
				<version>9.4.12.v20180830</version>
			</dependency>
			<dependency>
				<groupId>org.glassfish.jersey.bundles.repackaged</groupId>
				<artifactId>jersey-guava</artifactId>
				<version>2.25.1</version>
			</dependency>
			<dependency>
				<groupId>org.codehaus.jettison</groupId>
				<artifactId>jettison</artifactId>
				<version>1.3.8</version>
			</dependency>
		</dependencies>

	</dependencyManagement>

	<pluginRepositories>
		<pluginRepository>
			<id>onap-public</id>
			<url>${onap.nexus.public-url}</url>
			<releases>
				<enabled>true</enabled>
			</releases>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</pluginRepository>
		<pluginRepository>
			<id>onap-staging</id>
			<url>${onap.nexus.staging-url}</url>
			<releases>
				<enabled>true</enabled>
			</releases>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</pluginRepository>
		<pluginRepository>
			<id>onap-snapshot</id>
			<url>${onap.nexus.snapshot-url}</url>
			<releases>
				<enabled>false</enabled>
			</releases>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</pluginRepository>
		<pluginRepository>
			<id>opendaylight-mirror</id>
			<name>opendaylight-mirror</name>
			<url>${opendaylight.nexus.public-url}</url>
			<releases>
				<enabled>true</enabled>
				<updatePolicy>never</updatePolicy>
			</releases>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</pluginRepository>
		<pluginRepository>
			<id>opendaylight-snapshot</id>
			<name>opendaylight-snapshot</name>
			<url>${opendaylight.nexus.snapshot-url}</url>
			<releases>
				<enabled>false</enabled>
			</releases>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</pluginRepository>
		<!-- Black Duck plugin dependencies -->
		<pluginRepository>
			<id>JCenter</id>
			<name>JCenter Repository</name>
			<url>http://jcenter.bintray.com</url>
		</pluginRepository>

		<pluginRepository>
			<id>Restlet</id>
			<name>Restlet Repository</name>
			<url>http://maven.restlet.com</url>
		</pluginRepository>
	</pluginRepositories>


	<repositories>
		<repository>
			<id>onap-public</id>
			<url>https://nexus.onap.org/content/groups/public</url>
			<releases>
				<enabled>true</enabled>
				<updatePolicy>never</updatePolicy>
			</releases>
			<snapshots>
				<enabled>true</enabled>
				<updatePolicy>always</updatePolicy>
			</snapshots>
		</repository>
		<repository>
			<id>onap-staging</id>
			<url>https://nexus.onap.org/content/groups/staging</url>
			<releases>
				<enabled>true</enabled>
				<updatePolicy>never</updatePolicy>
			</releases>
			<snapshots>
				<enabled>true</enabled>
				<updatePolicy>always</updatePolicy>
			</snapshots>
		</repository>
		<repository>
			<id>ecomp-release</id>
			<name>onap-repository-releases</name>
			<url>https://nexus.onap.org/content/repositories/releases</url>
			<releases>
				<enabled>true</enabled>
				<updatePolicy>never</updatePolicy>
			</releases>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</repository>
		<repository>
			<id>ecomp-snapshot</id>
			<name>onap-repository-snapshots</name>
			<url>https://nexus.onap.org/content/repositories/snapshots</url>
			<releases>
				<enabled>false</enabled>
			</releases>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</repository>
		<repository>
			<id>opendaylight-mirror</id>
			<name>opendaylight-mirror</name>
			<url>https://nexus.opendaylight.org/content/repositories/public/</url>
			<releases>
				<enabled>true</enabled>
				<updatePolicy>never</updatePolicy>
			</releases>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</repository>
		<repository>
			<id>opendaylight-snapshot</id>
			<name>opendaylight-snapshot</name>
			<url>https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
			<releases>
				<enabled>false</enabled>
			</releases>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</repository>

	</repositories>

	<distributionManagement>
		<repository>
			<id>ecomp-releases</id>
			<url>https://nexus.onap.org/content/repositories/releases</url>
		</repository>
		<snapshotRepository>
			<id>ecomp-snapshots</id>
			<url>https://nexus.onap.org/content/repositories/snapshots</url>
		</snapshotRepository>
	</distributionManagement>

	<build>
		<pluginManagement>
			<plugins>

				<!-- Plugins from ONAP version (parent of oparent) -->

				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-deploy-plugin</artifactId>
					<!-- This version supports the "deployAtEnd" parameter -->
					<version>2.8</version>
					<configuration>
						<skip />
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-site-plugin</artifactId>
					<version>3.6</version>
					<dependencies>
						<dependency>
							<groupId>org.apache.maven.wagon</groupId>
							<artifactId>wagon-webdav-jackrabbit</artifactId>
							<version>2.10</version>
						</dependency>
					</dependencies>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-enforcer-plugin</artifactId>
					<version>3.0.0-M2</version>
					<executions>
						<execution>
							<id>enforce-property</id>
							<goals>
								<goal>enforce</goal>
							</goals>
							<configuration>
								<rules>
									<requireProperty>
										<property>onap.nexus.url</property>
										<message>You must set a onap.nexus.url property in your
											~/.m2/settings.xml. See oparent/settings.xml for an example.</message>
									</requireProperty>
								</rules>
								<fail>true</fail>
							</configuration>
						</execution>
						<execution>
							<id>enforce-no-snapshots</id>
							<goals>
								<goal>enforce</goal>
							</goals>
							<configuration>
								<rules>
									<requireReleaseDeps>
										<failWhenParentIsSnapshot>false</failWhenParentIsSnapshot>
										<onlyWhenRelease>true</onlyWhenRelease>
										<level>WARN</level>
									</requireReleaseDeps>
								</rules>
							</configuration>
						</execution>
					</executions>
				</plugin>
				<!-- https://mvnrepository.com/artifact/org.sonarsource.scanner.maven/sonar-maven-plugin -->
				<plugin>
					<groupId>org.sonarsource.scanner.maven</groupId>
					<artifactId>sonar-maven-plugin</artifactId>
					<version>3.2</version>
				</plugin>
				<!-- end of plugins from ONAP version (parent of oparent) -->

				<!-- Plugins from ONAP oparent -->

				<plugin>
					<groupId>org.jacoco</groupId>
					<artifactId>jacoco-maven-plugin</artifactId>
					<version>${jacoco.version}</version>
					<configuration>
						<!-- Note: This exclusion list should match <sonar.exclusions> property 
							above -->
						<excludes>
							<exclude>**/gen/**</exclude>
							<exclude>**/generated-sources/**</exclude>
							<exclude>**/yang-gen/**</exclude>
							<exclude>**/pax/**</exclude>
						</excludes>
					</configuration>
					<executions>
						<!-- Prepares the property pointing to the JaCoCo runtime agent which 
							is passed as VM argument when Maven the Surefire plugin is executed. -->
						<execution>
							<id>pre-unit-test</id>
							<goals>
								<goal>prepare-agent</goal>
							</goals>
							<configuration>
								<!-- Sets the path to the file which contains the execution data. -->
								<destFile>${project.build.directory}/code-coverage/jacoco-ut.exec</destFile>
								<!-- Sets the name of the property containing the settings for JaCoCo 
									runtime agent. -->
								<propertyName>surefireArgLine</propertyName>
							</configuration>
						</execution>
						<!-- Ensures that the code coverage report for unit tests is created 
							after unit tests have been run. -->
						<execution>
							<id>post-unit-test</id>
							<phase>test</phase>
							<goals>
								<goal>report</goal>
							</goals>
							<configuration>
								<!-- Sets the path to the file which contains the execution data. -->
								<dataFile>${project.build.directory}/code-coverage/jacoco-ut.exec</dataFile>
								<!-- Sets the output directory for the code coverage report. -->
								<outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
							</configuration>
						</execution>
						<execution>
							<id>pre-integration-test</id>
							<phase>pre-integration-test</phase>
							<goals>
								<goal>prepare-agent</goal>
							</goals>
							<configuration>
								<!-- Sets the path to the file which contains the execution data. -->
								<destFile>${project.build.directory}/code-coverage/jacoco-it.exec</destFile>
								<!-- Sets the name of the property containing the settings for JaCoCo 
									runtime agent. -->
								<propertyName>failsafeArgLine</propertyName>
							</configuration>
						</execution>
						<!-- Ensures that the code coverage report for integration tests after 
							integration tests have been run. -->
						<execution>
							<id>post-integration-test</id>
							<phase>post-integration-test</phase>
							<goals>
								<goal>report</goal>
							</goals>
							<configuration>
								<!-- Sets the path to the file which contains the execution data. -->
								<dataFile>${project.build.directory}/code-coverage/jacoco-it.exec</dataFile>
								<!-- Sets the output directory for the code coverage report. -->
								<outputDirectory>${project.reporting.outputDirectory}/jacoco-it</outputDirectory>
							</configuration>
						</execution>
					</executions>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-surefire-plugin</artifactId>
					<version>2.22.0</version>
					<configuration>
						<!-- Sets the VM argument line used when unit tests are run. -->
						<argLine>${surefireArgLine}</argLine>
						<!-- Excludes integration tests when unit tests are run. -->
						<excludes>
							<exclude>**/IT*.java</exclude>
						</excludes>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-failsafe-plugin</artifactId>
					<version>2.22.0</version>
					<executions>
						<!-- Ensures that both integration-test and verify goals of the Failsafe 
							Maven plugin are executed. -->
						<execution>
							<id>integration-tests</id>
							<goals>
								<goal>integration-test</goal>
								<goal>verify</goal>
							</goals>
							<configuration>
								<!-- Sets the VM argument line used when integration tests are run. -->
								<argLine>${failsafeArgLine}</argLine>
							</configuration>
						</execution>
					</executions>
				</plugin>

				<!-- End of plugins from ONAP oparent -->
				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>properties-maven-plugin</artifactId>
					<version>1.0.0</version>
					<executions>
						<execution>
							<goals>
								<goal>set-system-properties</goal>
							</goals>
							<configuration>
								<properties>
									<property>
										<name>maven.wagon.http.ssl.allowall</name>
										<value>${ssl.allowall}</value>
									</property>
									<property>
										<name>maven.wagon.http.ssl.insecure</name>
										<value>${ssl.insecure}</value>
									</property>
								</properties>
							</configuration>
						</execution>
					</executions>
				</plugin>

				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>versions-maven-plugin</artifactId>
					<version>2.5</version>
					<configuration>
						<processAllModules>true</processAllModules>
					</configuration>
				</plugin>
				<plugin>
					<artifactId>maven-scm-plugin</artifactId>
					<version>1.8.1</version>
					<configuration>
						<tag>${project.artifactId}-${project.version}</tag>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
		<plugins>

			<!-- Plugins from oparent version (parent of oparent) -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-deploy-plugin</artifactId>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-site-plugin</artifactId>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-enforcer-plugin</artifactId>
			</plugin>
			<!-- end of plugins from oparent version (parent of oparent) -->

			<!-- Plugins from oparent -->
			<plugin>
				<artifactId>maven-checkstyle-plugin</artifactId>
				<version>2.17</version>
				<dependencies>
					<dependency>
						<groupId>org.onap.oparent</groupId>
						<artifactId>checkstyle</artifactId>
						<version>1.2.2</version>
					</dependency>
				</dependencies>
				<executions>
					<execution>
						<id>onap-license</id>
						<goals>
							<goal>check</goal>
						</goals>
						<phase>process-sources</phase>
						<configuration>
							<configLocation>onap-checkstyle/check-license.xml</configLocation>
							<includeResources>false</includeResources>
							<includeTestSourceDirectory>true</includeTestSourceDirectory>
							<includeTestResources>false</includeTestResources>
							<sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
							<excludes>
							</excludes>
							<consoleOutput>true</consoleOutput>
							<failOnViolation>false</failOnViolation>
						</configuration>
					</execution>
					<execution>
						<id>onap-java-style</id>
						<goals>
							<goal>check</goal>
						</goals>
						<phase>process-sources</phase>
						<configuration>
							<!-- Use Google Java Style Guide: https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml 
								with minor changes -->
							<configLocation>onap-checkstyle/onap-java-style.xml</configLocation>
							<!-- <sourceDirectory> is needed so that checkstyle ignores the generated 
								sources directory -->
							<sourceDirectory>${project.build.sourceDirectory}/src/main/java</sourceDirectory>
							<includeResources>true</includeResources>
							<includeTestSourceDirectory>true</includeTestSourceDirectory>
							<includeTestResources>true</includeTestResources>
							<excludes>
							</excludes>
							<consoleOutput>true</consoleOutput>
							<failOnViolation>false</failOnViolation>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>build-helper-maven-plugin</artifactId>
				<version>1.12</version>
			</plugin>
			<!-- Jacoco / Sonar -->
			<plugin>
				<groupId>org.jacoco</groupId>
				<artifactId>jacoco-maven-plugin</artifactId>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-failsafe-plugin</artifactId>
			</plugin>
			<!-- end of plugins from oparent -->
			<plugin>
			    <groupId>org.apache.maven.plugins</groupId>
			    <artifactId>maven-javadoc-plugin</artifactId>
			    <version>2.10.4</version>
			    <executions>
			        <execution>
			            <id>attach-javadocs</id>
			            <goals>
			                <goal>jar</goal>
			            </goals>
			            <configuration>
			                <additionalparam>-Xdoclint:none</additionalparam>
			            </configuration>
			        </execution>
			    </executions>
			</plugin>
		</plugins>
	</build>
    <reporting>
		<plugins>
			<plugin>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.10.4</version>
				<configuration>
					<failOnError>false</failOnError>
					<additionalparam>-Xdoclint:none</additionalparam>
				</configuration>
			</plugin>
		</plugins>
	</reporting>
	<organization>
		<name>ONAP</name>
	</organization>
</project>