Weblogic JWSC and Maven - Pom.xml
And my pom file look like this:
build->plugins
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>generate-sources</id>
<phase>generate-sources</phase>
<configuration>
<tasks>
<property name="build.compiler"
value="extJavac" />
<ant inheritRefs="true"
antfile="mvn-build.xml" dir=".">
<property
value="${project.build.directory}" name="build.dir" />
<property
value="${project.artifactId}" name="artifact.id" />
<property value="${project.version}"
name="version" />
<property
refid="maven.compile.classpath" name="dependencies" />
<target name="all" />
</ant>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<execution>
<id>clean</id>
<phase>clean</phase>
<configuration>
<tasks>
<property name="build.compiler"
value="extJavac" />
<ant inheritRefs="true"
antfile="mvn-build.xml" dir=".">
<property
value="${project.build.directory}" name="build.dir" />
<property
refid="maven.compile.classpath" name="dependencies" />
<target name="clean" />
</ant>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home