Add server profile
This commit is contained in:
parent
6befb0a5a6
commit
afff1c57a0
@ -24,23 +24,28 @@
|
|||||||
<version>${cxf.version}</version>
|
<version>${cxf.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<build>
|
<profiles>
|
||||||
<plugins>
|
<profile>
|
||||||
<plugin>
|
<id>server</id>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<build>
|
||||||
<artifactId>exec-maven-plugin</artifactId>
|
<plugins>
|
||||||
<executions>
|
<plugin>
|
||||||
<execution>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<phase>process-test-classes</phase>
|
<artifactId>exec-maven-plugin</artifactId>
|
||||||
<goals>
|
<executions>
|
||||||
<goal>java</goal>
|
<execution>
|
||||||
</goals>
|
<phase>process-test-classes</phase>
|
||||||
<configuration>
|
<goals>
|
||||||
<mainClass>com.baeldung.cxf.introduction.Server</mainClass>
|
<goal>java</goal>
|
||||||
</configuration>
|
</goals>
|
||||||
</execution>
|
<configuration>
|
||||||
</executions>
|
<mainClass>com.baeldung.cxf.introduction.Server</mainClass>
|
||||||
</plugin>
|
</configuration>
|
||||||
</plugins>
|
</execution>
|
||||||
</build>
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
</project>
|
</project>
|
Loading…
x
Reference in New Issue
Block a user