This is an automated email from the ASF dual-hosted git repository.

joewitt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git

commit bc2ba9537ac37e0907828a2fc6d7545413749e17
Author: Joe Witt <joew...@apache.org>
AuthorDate: Wed Jan 12 15:47:27 2022 -0700

    NIFI-9525 including same pattern for nifi registry.  This is commmit 2/2 
for NIFI-9525
---
 nifi-registry/nifi-registry-assembly/pom.xml | 50 +++-------------------------
 1 file changed, 5 insertions(+), 45 deletions(-)

diff --git a/nifi-registry/nifi-registry-assembly/pom.xml 
b/nifi-registry/nifi-registry-assembly/pom.xml
index c7ddd06..13db72f 100644
--- a/nifi-registry/nifi-registry-assembly/pom.xml
+++ b/nifi-registry/nifi-registry-assembly/pom.xml
@@ -371,51 +371,11 @@
                                         </mapping>
                                         <mapping>
                                             
<directory>/opt/nifi-registry/nifi-registry-${project.version}/lib</directory>
-                                        </mapping>
-                                        <!--
-                                            The lib/shared mapping includes 
the common dependencies between the registry
-                                            application (lib) and registry 
bootstrap (lib/bootstrap).
-
-                                            The lib/bootstrap mapping then 
excludes what was in lib/shared and includes
-                                            the other dependencies needed for 
the registry bootstrap.
-
-                                            The lib mapping excludes what was 
in lib/shared and excluded the bootstrap module,
-                                            and would bring in everything else 
from the lib directory of a non RPM build.
-                                            -->
-                                        <mapping>
-                                            
<directory>/opt/nifi-registry/nifi-registry-${project.version}/lib</directory>
-                                            <dependency>
-                                                <excludes>
-                                                    
<exclude>org.apache.commons:commons-lang3</exclude>
-                                                    
<exclude>org.apache.nifi.registry:nifi-registry-utils</exclude>
-                                                    
<exclude>org.apache.nifi.registry:nifi-registry-bootstrap</exclude>
-                                                    
<exclude>org.apache.nifi.registry:nifi-registry-docs</exclude>
-                                                </excludes>
-                                            </dependency>
-                                        </mapping>
-                                        <mapping>
-                                            
<directory>/opt/nifi-registry/nifi-registry-${project.version}/lib/bootstrap</directory>
-                                            <dependency>
-                                                <includes>
-                                                    
<include>org.slf4j:slf4j-api</include>
-                                                    
<include>ch.qos.logback:logback-classic</include>
-                                                    
<include>ch.qos.logback:logback-core</include>
-                                                    
<include>org.apache.nifi.registry:nifi-registry-bootstrap</include>
-                                                </includes>
-                                                <excludes>
-                                                    
<exclude>org.apache.commons:commons-lang3</exclude>
-                                                    
<exclude>org.apache.nifi.registry:nifi-registry-utils</exclude>
-                                                </excludes>
-                                            </dependency>
-                                        </mapping>
-                                        <mapping>
-                                            
<directory>/opt/nifi-registry/nifi-registry-${project.version}/lib/shared</directory>
-                                            <dependency>
-                                                <includes>
-                                                    
<include>org.apache.commons:commons-lang3</include>
-                                                    
<include>org.apache.nifi.registry:nifi-registry-utils</include>
-                                                </includes>
-                                            </dependency>
+                                            <sources>
+                                                <source>
+                                                    
<location>${project.build.directory}/nifi-registry-${project.version}-bin/nifi-registry-${project.version}/lib</location>
+                                                </source>
+                                            </sources>
                                         </mapping>
                                         <mapping>
                                             
<directory>/opt/nifi-registry/nifi-registry-${project.version}/docs</directory>

Reply via email to