Commit 2fbd9339 by Tuomas Riihimäki

Move maven stuff around to allow mvn versions:set usage

1 parent 095c260d
......@@ -14,3 +14,4 @@
/code/*/test-output/
moya-git.properties
*/*/bin
pom.xml.versionsBackup
#!/bin/sh
exec mvn -f ${0%/*}/moya-parent/pom.xml ${@:-package}
exec mvn -f ${0%/*}/pom.xml ${@:-package}
......@@ -4,9 +4,9 @@
<artifactId>moya-authmodule-client</artifactId>
<parent>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-parent-root</artifactId>
<version>1.0</version>
<relativePath>../moya-parent/pom-root.xml</relativePath>
<artifactId>moya</artifactId>
<version>1.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<dependencies>
<dependency>
......@@ -16,4 +16,5 @@
<scope>provided</scope>
</dependency>
</dependencies>
</project>
\ No newline at end of file
......@@ -12,13 +12,13 @@
<dependency>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-authmodule-client</artifactId>
<version>${moya.version}</version>
<version>1.2-SNAPSHOT</version>
</dependency>
</dependencies>
<parent>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-parent-root</artifactId>
<version>1.0</version>
<relativePath>../moya-parent/pom-root.xml</relativePath>
<artifactId>moya</artifactId>
<version>1.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
</project>
\ No newline at end of file
......@@ -9,14 +9,14 @@
<dependency>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-database</artifactId>
<version>${moya.version}</version>
<version>1.2-SNAPSHOT</version>
</dependency>
</dependencies>
<parent>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-parent</artifactId>
<version>1.0</version>
<version>1.2-SNAPSHOT</version>
<relativePath>../moya-parent/pom.xml</relativePath>
</parent>
</project>
\ No newline at end of file
......@@ -29,24 +29,18 @@
<dependency>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-beans-client</artifactId>
<version>${moya.version}</version>
<version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-authmodule-client</artifactId>
<version>${moya.version}</version>
<version>1.2-SNAPSHOT</version>
</dependency>
<!--
<dependency>
<groupId>javax.ejb</groupId>
<artifactId>javax.ejb-api</artifactId>
<version>3.2</version>
<scope>test</scope>
</dependency>
-->
<!-- <dependency> <groupId>javax.ejb</groupId> <artifactId>javax.ejb-api</artifactId>
<version>3.2</version> <scope>test</scope> </dependency> -->
<dependency>
<groupId>org.glassfish.main.extras</groupId>
<artifactId>glassfish-embedded-web</artifactId>
......@@ -58,7 +52,7 @@
<parent>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-parent</artifactId>
<version>1.0</version>
<version>1.2-SNAPSHOT</version>
<relativePath>../moya-parent/pom.xml</relativePath>
</parent>
</project>
\ No newline at end of file
......@@ -13,7 +13,7 @@
<parent>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-parent</artifactId>
<version>1.0</version>
<version>1.1-SNAPSHOT</version>
<relativePath>../moya-parent/pom.xml</relativePath>
</parent>
</project>
\ No newline at end of file
......@@ -48,7 +48,7 @@
<dependency>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-utils</artifactId>
<version>${moya.version}</version>
<version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.ancoron.postgresql</groupId>
......@@ -105,7 +105,7 @@
<parent>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-parent</artifactId>
<version>1.0</version>
<version>1.2-SNAPSHOT</version>
<relativePath>../moya-parent/pom.xml</relativePath>
</parent>
</project>
......@@ -34,26 +34,26 @@
<dependency>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-beans</artifactId>
<version>${moya.version}</version>
<version>1.2-SNAPSHOT</version>
<type>ejb</type>
</dependency>
<dependency>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-web</artifactId>
<version>${moya.version}</version>
<version>1.2-SNAPSHOT</version>
<type>war</type>
</dependency>
<dependency>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-mgmt-web</artifactId>
<version>${moya.version}</version>
<version>1.2-SNAPSHOT</version>
<type>war</type>
</dependency>
<dependency>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-terminal-web</artifactId>
<version>${moya.version}</version>
<version>1.2-SNAPSHOT</version>
<type>war</type>
</dependency>
</dependencies>
......@@ -63,7 +63,7 @@
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-parent</artifactId>
<relativePath>../moya-parent/pom.xml</relativePath>
<version>1.0</version>
<version>1.2-SNAPSHOT</version>
</parent>
<profiles>
......
......@@ -21,7 +21,7 @@
<dependency>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-beans-client</artifactId>
<version>${moya.version}</version>
<version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
......@@ -38,7 +38,7 @@
<parent>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-parent</artifactId>
<version>1.0</version>
<version>1.2-SNAPSHOT</version>
<relativePath>../moya-parent/pom.xml</relativePath>
</parent>
</project>
......@@ -5,9 +5,9 @@
<artifactId>moya-parent</artifactId>
<packaging>pom</packaging>
<modules>
<module>../moya-utils</module>
<module>../moya-authmodule</module>
<module>../moya-authmodule-client</module>
<module>../moya-database</module>
<module>../moya-restpojo</module>
......@@ -72,7 +72,7 @@
<dependency>
<groupId>fi.iudex</groupId>
<artifactId>utils-standalone</artifactId>
<version>1.0.12</version>
<version>1.0.13</version>
</dependency>
<dependency>
<groupId>net.sf.barcode4j</groupId>
......@@ -150,8 +150,8 @@
<parent>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-parent-root</artifactId>
<version>1.0</version>
<relativePath>pom-root.xml</relativePath>
<artifactId>moya</artifactId>
<version>1.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
</project>
......@@ -2,42 +2,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>moya-restpojo</artifactId>
<groupId>fi.codecrew.moya</groupId>
<version>1.0.7</version>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>2.7</version>
</extension>
</extensions>
</build>
<distributionManagement>
<downloadUrl>http://codecrew.fi/mvn</downloadUrl>
<repository>
......@@ -47,12 +12,18 @@
</repository>
</distributionManagement>
<dependencies>
<dependency>
<groupId>com.wordnik</groupId>
<artifactId>swagger-annotations</artifactId>
<version>1.3.12</version>
<version>${swagger.version}</version>
</dependency>
</dependencies>
<parent>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya</artifactId>
<version>1.2-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
</project>
\ No newline at end of file
......@@ -22,7 +22,7 @@
<dependency>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-beans-client</artifactId>
<version>${moya.version}</version>
<version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.primefaces</groupId>
......@@ -38,7 +38,7 @@
<parent>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-parent</artifactId>
<version>1.0</version>
<version>1.2-SNAPSHOT</version>
<relativePath>../moya-parent/pom.xml</relativePath>
</parent>
</project>
......@@ -34,7 +34,7 @@
<parent>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-parent</artifactId>
<version>1.0</version>
<version>1.2-SNAPSHOT</version>
<relativePath>../moya-parent/pom.xml</relativePath>
</parent>
<dependencies>
......
......@@ -22,7 +22,7 @@
<dependency>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-beans-client</artifactId>
<version>${moya.version}</version>
<version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>net.bull.javamelody</groupId>
......@@ -45,7 +45,7 @@
<dependency>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-restpojo</artifactId>
<version>1.0.7</version>
<version>1.2-SNAPSHOT</version>
</dependency>
</dependencies>
......@@ -53,7 +53,7 @@
<parent>
<groupId>fi.codecrew.moya</groupId>
<artifactId>moya-parent</artifactId>
<version>1.0</version>
<version>1.2-SNAPSHOT</version>
<relativePath>../moya-parent/pom.xml</relativePath>
</parent>
......
......@@ -2,13 +2,18 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>moya-parent-root</artifactId>
<groupId>fi.codecrew.moya</groupId>
<version>1.0</version>
<artifactId>moya</artifactId>
<name>Moya Online Youth Accumulator</name>
<packaging>pom</packaging>
<version>1.2-SNAPSHOT</version>
<modules>
<module>moya-parent</module>
<module>moya-authmodule</module>
</modules>
<properties>
<moya.version>1.0</moya.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java-version>1.8</java-version>
<!-- plugin versions -->
......@@ -23,6 +28,7 @@
<ejb-spec-version>3.2</ejb-spec-version>
<swagger.version>1.3.12</swagger.version>
</properties>
<url>http://codecrew.fi</url>
<organization>
<name>Codecrew RY</name>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!