Created
February 4, 2014 06:29
-
-
Save DemkaAge/8799037 to your computer and use it in GitHub Desktop.
Was 7.0 stab generation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-antrun-plugin</artifactId> | |
<version>1.7</version> | |
<executions> | |
<execution> | |
<id>compile</id> | |
<phase>package</phase> | |
<configuration> | |
<target> | |
<!--гененрируем stub--> | |
<exec executable="${was.home}/bin/createEJBStubs.bat"> | |
<arg line=""${project.build.directory}${file.separator}${project.artifactId}-${project.version}.jar" -cp "${ru.brbpm:datateh-common:jar}";"${ru.brbpm-tnf.process-history:process-history-shared:jar}"" /> | |
</exec> | |
<!--подкладываем stub к скомпиленным классам--> | |
<unzip src="${project.build.directory}${file.separator}${project.artifactId}-${project.version}.jar" dest="${project.build.directory}${file.separator}classes"> | |
<patternset> | |
<include name="**/_*Stub.class" /> | |
</patternset> | |
</unzip> | |
<!--подкладываем stub в клиентскую библиотку--> | |
<jar update="yes" destfile="${project.build.directory}${file.separator}${project.artifactId}-${project.version}-client.jar" basedir="${project.build.directory}${file.separator}classes"> | |
<patternset> | |
<include name="**/_*Stub.class" /> | |
</patternset> | |
</jar> | |
</target> | |
</configuration> | |
<goals> | |
<goal>run</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment