Runtime properties renginering
This commit is contained in:
48
pom.xml
48
pom.xml
@@ -8,53 +8,7 @@
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>default-properties</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<properties>
|
||||
<api.env>dev</api.env>
|
||||
<api.url>http://localhost:8085</api.url>
|
||||
<webapp.env>dev</webapp.env>
|
||||
<webapp.url>http://localhost:8080</webapp.url>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>custom-properties</id>
|
||||
<activation>
|
||||
<file>
|
||||
<exists>../pairgoth.properties</exists>
|
||||
</file>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>properties-maven-plugin</artifactId>
|
||||
<version>1.2.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>initialize</phase>
|
||||
<goals>
|
||||
<goal>read-project-properties</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<!--<quiet>true</quiet>-->
|
||||
<files>
|
||||
<file>../pairgoth.properties</file>
|
||||
</files>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<!-- CB: Temporary add my repository, while waiting for SSE Java server module author to incorporate my PR or for me to fork it -->
|
||||
<!-- CB: Temporary add my repository, while waiting for SSE Java server module author to incorporate my PR or for me to fork it -->
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>central</id>
|
||||
|
Reference in New Issue
Block a user