diff options
Diffstat (limited to 'spss/server')
-rw-r--r-- | spss/server/pom.xml | 24 | ||||
-rw-r--r-- | spss/server/serverlib/pom.xml | 24 | ||||
-rw-r--r-- | spss/server/serverws/pom.xml | 22 | ||||
-rw-r--r-- | spss/server/tools/pom.xml | 22 |
4 files changed, 84 insertions, 8 deletions
diff --git a/spss/server/pom.xml b/spss/server/pom.xml index b5e1b32c1..08e740cd3 100644 --- a/spss/server/pom.xml +++ b/spss/server/pom.xml @@ -10,7 +10,6 @@ <groupId>MOA.spss</groupId>
<artifactId>moa-spss</artifactId>
<packaging>pom</packaging>
- <version>2.0.x</version>
<name>MOA SP/SS Server</name>
<modules>
@@ -23,4 +22,27 @@ <repositoryPath>${basedir}/../../repository</repositoryPath>
</properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>properties-maven-plugin</artifactId>
+ <version>1.0-alpha-2</version>
+ <executions>
+ <execution>
+ <phase>initialize</phase>
+ <goals>
+ <goal>read-project-properties</goal>
+ </goals>
+ <configuration>
+ <files>
+ <file>${basedir}/../../moa-id.properties</file>
+ </files>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
</project>
diff --git a/spss/server/serverlib/pom.xml b/spss/server/serverlib/pom.xml index 42cf5bfc9..fb95746da 100644 --- a/spss/server/serverlib/pom.xml +++ b/spss/server/serverlib/pom.xml @@ -9,7 +9,7 @@ <groupId>MOA.spss.server</groupId>
<artifactId>moa-spss-lib</artifactId>
<packaging>jar</packaging>
- <version>2.0.1</version>
+ <version>${moa-spss-version}</version>
<name>MOA SP/SS API</name>
<properties>
@@ -175,9 +175,27 @@ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>properties-maven-plugin</artifactId>
+ <version>1.0-alpha-2</version>
+ <executions>
+ <execution>
+ <phase>initialize</phase>
+ <goals>
+ <goal>read-project-properties</goal>
+ </goals>
+ <configuration>
+ <files>
+ <file>${basedir}/../../../moa-id.properties</file>
+ </files>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
- <build>
- <plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
diff --git a/spss/server/serverws/pom.xml b/spss/server/serverws/pom.xml index 4f09e940d..ac06946a4 100644 --- a/spss/server/serverws/pom.xml +++ b/spss/server/serverws/pom.xml @@ -66,9 +66,27 @@ </webResources> </configuration> </plugin> - </plugins> - </build> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>properties-maven-plugin</artifactId> + <version>1.0-alpha-2</version> + <executions> + <execution> + <phase>initialize</phase> + <goals> + <goal>read-project-properties</goal> + </goals> + <configuration> + <files> + <file>${basedir}/../../../moa-id.properties</file> + </files> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> <dependencies> <dependency> <groupId>MOA.spss.server</groupId> diff --git a/spss/server/tools/pom.xml b/spss/server/tools/pom.xml index acc06ff38..880eac2c1 100644 --- a/spss/server/tools/pom.xml +++ b/spss/server/tools/pom.xml @@ -80,7 +80,25 @@ <target>1.5</target> </configuration> </plugin> - </plugins> - </build> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>properties-maven-plugin</artifactId> + <version>1.0-alpha-2</version> + <executions> + <execution> + <phase>initialize</phase> + <goals> + <goal>read-project-properties</goal> + </goals> + <configuration> + <files> + <file>${basedir}/../../../moa-id.properties</file> + </files> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> |