aboutsummaryrefslogtreecommitdiff
path: root/id
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2015-07-17 11:16:18 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2015-07-17 11:16:18 +0200
commit9cf5a828582b61bd8944060c2bb3b409d92f5b48 (patch)
tree4056bb87a38f8bc45db1a5bd93d0711726d36d3f /id
parentcb56ed963a635ff718e1024492b6f3875150297d (diff)
downloadmoa-id-spss-9cf5a828582b61bd8944060c2bb3b409d92f5b48.tar.gz
moa-id-spss-9cf5a828582b61bd8944060c2bb3b409d92f5b48.tar.bz2
moa-id-spss-9cf5a828582b61bd8944060c2bb3b409d92f5b48.zip
add CLI for 2.x -> 3.x configuration migration
Diffstat (limited to 'id')
-rw-r--r--id/assembly-auth.xml22
-rw-r--r--id/server/moa-id-commons/pom.xml36
2 files changed, 58 insertions, 0 deletions
diff --git a/id/assembly-auth.xml b/id/assembly-auth.xml
index 3e50bb300..701f3912b 100644
--- a/id/assembly-auth.xml
+++ b/id/assembly-auth.xml
@@ -128,6 +128,28 @@
<moduleSet>
<includes>
+ <include>MOA.id.server:moa-id-commons</include>
+ </includes>
+ <binaries>
+ <includeDependencies>true</includeDependencies>
+ <outputDirectory>/migration/</outputDirectory>
+ <outputFileNameMapping>${artifactId}.${extension}</outputFileNameMapping>
+ <unpack>false</unpack>
+<!-- <dependencySets>
+ <dependencySet>
+ <includes>
+ <include>iaik:commons-iaik</include>
+ <include>MOA:moa-common</include>
+ </includes>
+ <outputDirectory>/source/repositority</outputDirectory>
+ <outputFileNameMapping>${artifactId}.${extension}</outputFileNameMapping>
+ </dependencySet>
+ </dependencySets> -->
+ </binaries>
+ </moduleSet>
+
+ <moduleSet>
+ <includes>
<include>MOA.id:moa-id-oa</include>
</includes>
<sources>
diff --git a/id/server/moa-id-commons/pom.xml b/id/server/moa-id-commons/pom.xml
index 591998185..ed18301df 100644
--- a/id/server/moa-id-commons/pom.xml
+++ b/id/server/moa-id-commons/pom.xml
@@ -317,6 +317,42 @@
</configuration>
</plugin>
+<!-- CLI for 2.x to 3.x migragtion -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.4</version>
+ <configuration>
+ <archive>
+ <manifest>
+ <addClasspath>true</addClasspath>
+ <mainClass>at.gv.egovernment.moa.id.commons.config.MigrateConfiguration</mainClass>
+ <classpathPrefix>dependency-jars/</classpathPrefix>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.5.1</version>
+ <executions>
+ <execution>
+ <id>copy-dependencies</id>
+ <phase>package</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>
+ ${project.build.directory}/dependency-jars/
+ </outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+
<!-- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>