Fix eelf resource not found 16/95416/2
authorPatrick Brady <patrick.brady@att.com>
Tue, 10 Sep 2019 19:55:45 +0000 (12:55 -0700)
committerPatrick Brady <patrick.brady@att.com>
Tue, 10 Sep 2019 19:58:04 +0000 (12:58 -0700)
The eelf package needs to be exported from appc-common
where the resource bundle is added. Doing this was
causing karaf to crash on install of artifact-handler.
The cause was all of the classes being exported by the
maven shade plugin of appc-yang-generator. Removing the
shade plugin seemed to have no bad consequences.

Change-Id: Ic0758b342b8109e28ec8e11a48b2693cea7b56db
Signed-off-by: Patrick Brady <patrick.brady@att.com>
Issue-ID: APPC-1713

appc-core/appc-common-bundle/pom.xml
appc-sdc-listener/appc-yang-generator/pom.xml

index 5f2ec9d..043da55 100644 (file)
         <configuration>\r
           <instructions>\r
             <Bundle-SymbolicName>appc-common-bundle</Bundle-SymbolicName>\r
-            <Export-Package>org.onap.appc.*</Export-Package>\r
-            <Embed-Dependency></Embed-Dependency>\r
+            <Export-Package>org.onap.appc.*, com.att.eelf.*</Export-Package>\r
+            <Embed-Dependency>eelf-core</Embed-Dependency>\r
             <Embed-Transitive>true</Embed-Transitive>\r
           </instructions>\r
         </configuration>\r
index 10060b5..57ed6a9 100644 (file)
@@ -88,21 +88,6 @@ limitations under the License.
     </dependencies>
     <build>
         <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-shade-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>shade</goal>
-                        </goals>
-                    </execution>
-                </executions>
-                <configuration>
-                    <finalName>${artifactId}-${version}</finalName>
-                </configuration>
-            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>