artifactLinkPublisher with multi-module maven
Hello everybody,
I am calling your expertise to help me with this issue. Your help will be really appreciated. In fact I use RTC build engine to build a multi-modules maven project. I want to use linkPublisher ant task to publish a link. My project is composed by 4 modules. See below an extract of the parent pom with the maven-antrun-plugin configuration. This definition only exist in the parent pom. When I run the build; it is completed successfully but the link is published 4 times in tab "external links" of build result. - My first question is how to resolve this issue and only publish one link - If I want to publish different link into the modules' pom can I insert the same configuration with different links to be published. In this case how the ant-task are synchronized between them. - If I want to publish an artifact (ant task artifactLinkPublisher ), how can I create the exact link in the case I use maven snapshot. Thank you very much for your help If it is not clear, let me know and I will add more information. <build> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.3</version> <executions> <execution> <phase>compile</phase> <configuration> <tasks> <taskdef> <startBuildActivity> </tasks> <tasks> <taskdef> <linkPublisher> <linkPublisher> </tasks> <!-- <tasks> <taskdef> <completeBuildActivity> </tasks> --> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> </build> |
One answer
Let me add more information about the version:
RTC: 2.0.0.2 Maven: 2.2.1 Artifactory: 2.3.2 |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.