Using was6-maven-plugin to generate ejb stub

to configure th plugin, add the following to your build plugin.

 <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>was6-maven-plugin</artifactId>
                <version>1.2</version>
                <executions>
                    <execution>
                        <phase>validate</phase>
                        <goals>
                            <goal>ejbdeploy</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <wasHome>${wasHome}</wasHome>

                    <legacyMode>true</legacyMode>
		    <verbose>true</verbose>
                </configuration>
<!-- might need add dependencies here -->
</plugin>

猜你喜欢

转载自asianboycn.iteye.com/blog/2115654
EJB
今日推荐