fix config file for mdsal-trace and filtering mechanism
[controller.git] / opendaylight / md-sal / mdsal-trace / api / pom.xml
index ea1f7bbf7716ccc303a54a01b7cf0860392be6ef..79ecc8d528b571817035ed251acaae68a74574e0 100644 (file)
@@ -48,6 +48,28 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
             <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
           </configuration>
         </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>attach-artifacts</id>
+            <goals>
+              <goal>attach-artifact</goal>
+            </goals>
+            <phase>package</phase>
+            <configuration>
+              <artifacts>
+                <artifact>
+                  <file>${project.build.directory}/classes/initial/mdsaltrace_config.xml</file>
+                  <type>xml</type>
+                  <classifier>config</classifier>
+                </artifact>
+              </artifacts>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
   </build>
 </project>