-
Notifications
You must be signed in to change notification settings - Fork 1
/
pom.xml
110 lines (103 loc) · 3.27 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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>
<groupId>info.scce.dime</groupId>
<artifactId>dime-project</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>DIME Project</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<dywa.app.dir>${project.basedir}/target/dywa-app</dywa.app.dir>
<dywa.config.dir>${project.basedir}/dywa-config/</dywa.config.dir>
</properties>
<profiles>
<profile>
<id>app-init</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-archetype-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>create dywa app</id>
<goals>
<goal>generate</goal>
</goals>
<phase>initialize</phase>
</execution>
</executions>
<configuration>
<interactiveMode>false</interactiveMode>
<basedir>${project.build.directory}</basedir>
<archetypeGroupId>info.scce.dime</archetypeGroupId>
<archetypeArtifactId>dywa-app-archetype</archetypeArtifactId>
<archetypeVersion>1.0-SNAPSHOT</archetypeVersion>
<!--<archetypeCatalog>https://ls5svn.cs.tu-dortmund.de/maven-public/</archetypeCatalog>-->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>copy-depdendency</id>
<phase>generate-resources</phase>
<goals>
<goal>run</goal>
</goals>
<!-- <configuration>
<tasks>
<echo>Copying dependency definition</echo>
<copy file="${project.basedir}/dependency/pom.xml"
tofile="${dywa.app.dir}/app-addon/pom.xml"
overwrite="true"/>
</tasks>
</configuration> -->
<configuration>
<target>
<echo>Copying addon projects</echo>
<delete>
<fileset dir="${basedir}/target/dywa-app/app-addon" includes="**/*" />
</delete>
<copy todir="${basedir}/target/dywa-app/app-addon">
<fileset dir="${project.basedir}/dependency" includes="**/*" />
</copy>
</target>
</configuration>
</execution>
<execution>
<id>copy-asset</id>
<phase>generate-resources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<echo>Copying assets</echo>
<copy todir="${dywa.app.dir}/app-presentation/src/main/webapp/asset/">
<fileset dir="${project.basedir}/asset">
<include name="**/*"/>
</fileset>
</copy>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<repositories>
<repository>
<id>cinco-meta-snapshot</id>
<name>Cinco Meta Snapshot Repository</name>
<url>https://ls5download.cs.tu-dortmund.de:8888/repository/cinco-meta-snapshot/</url>
</repository>
</repositories>
</project>