Generate list of direct dependencies for repository and publish to Nexus.
Change-Id: Ie6bbce3c7c976701253a5b34e854e88c79ca0b8c
Issue-ID: CCSDK-1986
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
 target/
 target-ide/
 yang-gen-sal/
+direct-dependencies.txt
 
                                </plugins>
                        </build>
                </profile>
+               <profile>
+                       <id>dependency-list</id>
+                       <build>
+                               <plugins>
+                                       <plugin>
+                                               <groupId>com.github.ferstl</groupId>
+                                               <artifactId>depgraph-maven-plugin</artifactId>
+                                               <executions>
+                                                       <execution>
+                                                               <phase>validate</phase>
+                                                               <inherited>false</inherited>
+                                                               <goals>
+                                                                       <goal>aggregate</goal>
+                                                               </goals>
+                                                       </execution>
+                                               </executions>
+                                       </plugin>
+                                       <plugin>
+                                               <groupId>org.codehaus.mojo</groupId>
+                                               <artifactId>build-helper-maven-plugin</artifactId>
+                                               <executions>
+                                                       <execution>
+                                                               <id>attach-artifacts</id>
+                                                               <phase>package</phase>
+                                                               <inherited>false</inherited>
+                                                               <goals>
+                                                                       <goal>attach-artifact</goal>
+                                                               </goals>
+                                                               <configuration>
+                                                                       <artifacts>
+                                                                               <artifact>
+                                                                                       <file>${dependency-list.file}</file>
+                                                                                       <type>txt</type>
+                                                                                       <classifier>dependencies</classifier>
+                                                                               </artifact>
+                                                                       </artifacts>
+                                                               </configuration>
+                                                       </execution>
+                                               </executions>
+                                       </plugin>
+                               </plugins>
+                       </build>
+               </profile>
        </profiles>
 </project>