Monday, May 4, 2015

JBoss Switchyard Application pom.xml Fix

The Issue

When you import switchyard application from JBoss quickstart project, you may see the Jboss Devveloper Studio [JBDS] complain about the execution task. This is a well know problem.

The Solution

To fix this problem, simple put the following code to the pom.xml before the end of build tag like the following:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<pluginmanagement>
         <plugins>
             <plugin>
                 <groupid>org.eclipse.m2e</groupid>
                 <artifactid>lifecycle-mapping</artifactid>
                 <version>1.0.0</version>
                 <configuration>
                     <lifecyclemappingmetadata>
                         <pluginexecutions>
                             <pluginexecution>
                                 <pluginexecutionfilter>
                                                 <groupid>org.switchyard</groupid>
                                                 <artifactid>switchyard-plugin</artifactid>
                                     <versionrange>[1.0.0,)</versionrange>
                                     <goals>
                                         <goal>configure</goal>
                                     </goals>
                                 </pluginexecutionfilter>
                                 <action>
                                     <execute>
                                 </execute></action>
                             </pluginexecution>
                         </pluginexecutions>
                     </lifecyclemappingmetadata>
                 </configuration>
             </plugin>
            </plugins>
 </pluginmanagement>

Make sure update the maven project

No comments:

Post a Comment

Anypoint Studio Error: The project is missing Munit lIbrary to run tests

Anypoint Studio 7.9 has a bug. Even if we following the article: https://help.mulesoft.com/s/article/The-project-is-missing-MUnit-libraries-...