...
Code Block |
---|
|
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<profiles>
<profile>
<id>national-connector-impl</id>
<properties>
<national-connector-impl.groupId>se.apotekensservice</national-connector-impl.groupId>
<national-connector-impl.artifactId>epsos-shelob</national-connector-impl.artifactId>
<national-connector-impl.version>0.0.1-SNAPSHOT</national-connector-impl.version>
</properties>
</profile>
</profiles>
</settings>
|
Here are the Maven commands:
Code Block |
---|
|
# build epsos-ws-serverwith no implementation
mvn clean install
# build epsos-ws-server with mock implementations
mvn clean install -P national-connector-mock-impl
# build epsos-ws-server with real implementations
mvn clean install -P national-connector-impl
|
References
Java SE6 ServiceLoader
...