From a41c877a6b1980e0e866699633e0289d9a3fdbb5 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Wed, 5 Sep 2018 15:46:31 +0100 Subject: Fix package of apex examples and documents The examples are not packaged correctly in the apex build and the client wars are missing The links and location of the documents are corrected. Some POM duplicate dependencies removed. Javadoc warnings removed. Issue-ID: POLICY-867 Change-Id: I555c29191c61c0a9887365d95005dbc584eddf04 Signed-off-by: liamfallon --- client/client-deployment/pom.xml | 47 ++++++++++++++++++++- client/client-deployment/src/site/site.xml | 1 + client/client-editor/pom.xml | 45 +++++++++++++++++++- .../src/main/resources/webapp/css/styles.css | 4 +- .../src/main/resources/webapp/images/Apex.png | Bin 341009 -> 161205 bytes client/client-editor/src/site/site.xml | 1 + client/client-full/pom.xml | 27 ++++++++++-- .../src/main/resources/webapp/css/styles.css | 4 +- .../src/main/resources/webapp/images/Apex.png | Bin 341009 -> 161205 bytes client/client-full/src/site/site.xml | 1 + client/client-monitoring/pom.xml | 45 +++++++++++++++++++- client/client-monitoring/src/site/site.xml | 1 + 12 files changed, 165 insertions(+), 11 deletions(-) (limited to 'client') diff --git a/client/client-deployment/pom.xml b/client/client-deployment/pom.xml index ee4038c7a..aacf34a02 100644 --- a/client/client-deployment/pom.xml +++ b/client/client-deployment/pom.xml @@ -79,11 +79,11 @@ maven-dependency-plugin - unpack-client-deployment-shared-resources + unpack-client-deployment-shared-resources-war unpack-dependencies - generate-resources + validate ${project.build.directory}/${project.artifactId}-${project.version} client-common @@ -93,9 +93,51 @@ + + org.apache.maven.plugins + maven-resources-plugin + 3.1.0 + + + copy-common-resources-to-jar + initialize + + copy-resources + + + ${project.build.directory}/classes/webapp + false + + + ../client-common/src/main/resources + + + true + + + + copy-local-resources-to-jar + generate-sources + + copy-resources + + + ${project.build.directory}/classes/webapp + false + + + src/main/resources/webapp + + + true + + + + org.apache.maven.plugins maven-shade-plugin + 2.4.3 package @@ -144,6 +186,7 @@ org.apache.maven.plugins maven-war-plugin + 2.6 ui src/main/resources/webapp diff --git a/client/client-deployment/src/site/site.xml b/client/client-deployment/src/site/site.xml index 69399deef..aeb592ea6 100644 --- a/client/client-deployment/src/site/site.xml +++ b/client/client-deployment/src/site/site.xml @@ -16,6 +16,7 @@ + diff --git a/client/client-editor/pom.xml b/client/client-editor/pom.xml index 33d534993..3e250e0f4 100644 --- a/client/client-editor/pom.xml +++ b/client/client-editor/pom.xml @@ -109,7 +109,7 @@ unpack-dependencies - generate-resources + validate ${project.build.directory}/${project.artifactId}-${project.version} client-common @@ -119,9 +119,51 @@ + + org.apache.maven.plugins + maven-resources-plugin + 3.1.0 + + + copy-common-resources-to-jar + initialize + + copy-resources + + + ${project.build.directory}/classes/webapp + false + + + ../client-common/src/main/resources + + + true + + + + copy-local-resources-to-jar + generate-sources + + copy-resources + + + ${project.build.directory}/classes/webapp + false + + + src/main/resources/webapp + + + true + + + + org.apache.maven.plugins maven-shade-plugin + 2.4.3 package @@ -170,6 +212,7 @@ org.apache.maven.plugins maven-war-plugin + 2.6 ui src/main/resources/webapp diff --git a/client/client-editor/src/main/resources/webapp/css/styles.css b/client/client-editor/src/main/resources/webapp/css/styles.css index 1372ac8b3..0a0bb06c9 100644 --- a/client/client-editor/src/main/resources/webapp/css/styles.css +++ b/client/client-editor/src/main/resources/webapp/css/styles.css @@ -512,12 +512,12 @@ input:disabled { .onapLogo { padding-right: 100px; - height: 250px; + height: 75px; width: 350px; } .apexLogo { - height: 250px; + height: 267px; width: 350px; } diff --git a/client/client-editor/src/main/resources/webapp/images/Apex.png b/client/client-editor/src/main/resources/webapp/images/Apex.png index 6abacdc3e..e71451fee 100644 Binary files a/client/client-editor/src/main/resources/webapp/images/Apex.png and b/client/client-editor/src/main/resources/webapp/images/Apex.png differ diff --git a/client/client-editor/src/site/site.xml b/client/client-editor/src/site/site.xml index 1f2d5ffdb..e8c9b868f 100644 --- a/client/client-editor/src/site/site.xml +++ b/client/client-editor/src/site/site.xml @@ -16,6 +16,7 @@ + diff --git a/client/client-full/pom.xml b/client/client-full/pom.xml index 0d9ee277f..788bb1534 100644 --- a/client/client-full/pom.xml +++ b/client/client-full/pom.xml @@ -62,21 +62,21 @@ - ../client-monitoring/target/client-monitoring-${project.version} + ../client-monitoring/target/classes/webapp **/*.* webapp/monitoring - ../client-editor/target/client-editor-${project.version} + ../client-editor/target/classes/webapp **/*.* webapp/editor - ../client-deployment/target/client-deployment-${project.version} + ../client-deployment/target/classes/webapp **/*.* @@ -87,9 +87,29 @@ install ${project.build.directory}/classes + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack-client-editor-shared-resources + + unpack-dependencies + + generate-resources + + ${project.build.directory}/${project.artifactId}-${project.version} + client-common + ${project.groupId} + true + + + + org.apache.maven.plugins maven-shade-plugin + 2.4.3 package @@ -138,6 +158,7 @@ org.apache.maven.plugins maven-war-plugin + 2.6 ui target/classes/webapp diff --git a/client/client-full/src/main/resources/webapp/css/styles.css b/client/client-full/src/main/resources/webapp/css/styles.css index dfdb1803d..1592c2f09 100644 --- a/client/client-full/src/main/resources/webapp/css/styles.css +++ b/client/client-full/src/main/resources/webapp/css/styles.css @@ -279,14 +279,14 @@ .onapLogo { display: block; - height: 225px; + height: 59px; width: 325px; padding-bottom: 31px; } .apexLogo { display: block; - height: 225px; + height: 248px; width: 325px; } diff --git a/client/client-full/src/main/resources/webapp/images/Apex.png b/client/client-full/src/main/resources/webapp/images/Apex.png index 6abacdc3e..e71451fee 100644 Binary files a/client/client-full/src/main/resources/webapp/images/Apex.png and b/client/client-full/src/main/resources/webapp/images/Apex.png differ diff --git a/client/client-full/src/site/site.xml b/client/client-full/src/site/site.xml index 35e49fe79..044a76667 100644 --- a/client/client-full/src/site/site.xml +++ b/client/client-full/src/site/site.xml @@ -16,6 +16,7 @@ + diff --git a/client/client-monitoring/pom.xml b/client/client-monitoring/pom.xml index 5bfda41c0..274ac23f3 100644 --- a/client/client-monitoring/pom.xml +++ b/client/client-monitoring/pom.xml @@ -78,7 +78,7 @@ unpack-dependencies - generate-resources + validate ${project.build.directory}/${project.artifactId}-${project.version} client-common @@ -88,9 +88,51 @@ + + org.apache.maven.plugins + maven-resources-plugin + 3.1.0 + + + copy-common-resources-to-jar + initialize + + copy-resources + + + ${project.build.directory}/classes/webapp + false + + + ../client-common/src/main/resources + + + true + + + + copy-local-resources-to-jar + generate-sources + + copy-resources + + + ${project.build.directory}/classes/webapp + false + + + src/main/resources/webapp + + + true + + + + org.apache.maven.plugins maven-shade-plugin + 2.4.3 package @@ -139,6 +181,7 @@ org.apache.maven.plugins maven-war-plugin + 2.6 ui src/main/resources/webapp diff --git a/client/client-monitoring/src/site/site.xml b/client/client-monitoring/src/site/site.xml index 510752296..d3a31d2bf 100644 --- a/client/client-monitoring/src/site/site.xml +++ b/client/client-monitoring/src/site/site.xml @@ -16,6 +16,7 @@ + -- cgit 1.2.3-korg