1
- <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2
- xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3
- <modelVersion >4.0.0</modelVersion >
4
-
5
- <groupId >agentville.agents.bingo.player</groupId >
6
- <artifactId >agentville-bingo-player</artifactId >
7
- <version >0.0.1-SNAPSHOT</version >
8
- <packaging >jar</packaging >
9
-
10
- <name >Ein JADE Agent </name >
11
- <url >http://agentville.wordpress.com</url >
12
-
13
- <properties >
14
- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
15
- </properties >
16
-
17
- <repositories >
18
- <repository >
19
- <id >tilab</id >
20
- <url >http://jade.tilab.com/maven/</url >
21
- </repository >
22
- </repositories >
23
-
24
- <dependencies >
25
- <dependency >
26
- <groupId >com.tilab.jade</groupId >
27
- <artifactId >jade</artifactId >
28
- <version >4.3.0</version >
29
- <scope >compile</scope >
30
- </dependency >
31
- <dependency >
32
- <groupId >com.tilab.jade</groupId >
33
- <artifactId >jade-misc</artifactId >
34
- <version >2.4.0</version >
35
- <scope >compile</scope >
36
- </dependency >
37
- <dependency >
38
- <groupId >com.tilab.jade</groupId >
39
- <artifactId >jade-test-suite</artifactId >
40
- <version >1.11.0</version >
41
- <scope >test</scope >
42
- </dependency >
43
- </dependencies >
44
-
45
- <build >
46
- <pluginManagement >
47
- <plugins >
48
- <plugin >
49
- <groupId >org.codehaus.mojo</groupId >
50
- <artifactId >build-helper-maven-plugin</artifactId >
51
- <version >1.8</version >
52
- </plugin >
53
- <plugin >
54
- <groupId >org.eclipse.m2e</groupId >
55
- <artifactId >lifecycle-mapping</artifactId >
56
- <version >1.0.0</version >
57
- <configuration >
58
- <lifecycleMappingMetadata >
59
- <pluginExecutions >
60
- <!-- copy-dependency plugin -->
61
- <pluginExecution >
62
- <pluginExecutionFilter >
63
- <groupId >org.codehaus.mojo</groupId >
64
- <artifactId >build-helper-maven-plugin</artifactId >
65
- <versionRange >[1.8,)</versionRange >
66
- <goals >
67
- <goal >regex-property</goal >
68
- </goals >
69
- </pluginExecutionFilter >
70
- <action >
71
- <ignore />
72
- </action >
73
- </pluginExecution >
74
- </pluginExecutions >
75
- </lifecycleMappingMetadata >
76
- </configuration >
77
- </plugin >
78
- </plugins >
79
- </pluginManagement >
80
- <plugins >
81
- <plugin >
82
- <groupId >org.codehaus.mojo</groupId >
83
- <artifactId >build-helper-maven-plugin</artifactId >
84
- <version >1.8</version >
85
- <executions >
86
- <execution >
87
- <id >regex-property</id >
88
- <goals >
89
- <goal >regex-property</goal >
90
- </goals >
91
- <configuration >
92
- <name >project.group_Id</name >
93
- <value >${project.groupId} </value >
94
- <regex >[\.]</regex >
95
- <replacement >_</replacement >
96
- <failIfNoMatch >false</failIfNoMatch >
97
- </configuration >
98
- </execution >
99
- </executions >
100
- </plugin >
101
- <plugin >
102
- <groupId >org.apache.maven.plugins</groupId >
103
- <artifactId >maven-jar-plugin</artifactId >
104
- <version >2.4</version >
105
- <configuration >
106
- <archive >
107
- <!-- Erweitert das default-Manifest: -->
108
- <manifest >
109
- <mainClass >${project.groupId} .AgentStarter</mainClass >
110
- <addDefaultImplementationEntries >true</addDefaultImplementationEntries >
111
- </manifest >
112
- </archive >
113
- </configuration >
114
- <executions >
115
- <!-- Hier wird ein zusätzliches JAR erzeugt, das den Konventionen von
116
- JADE entspricht und so auch ohne Main-Methode ausgeführt oder über den
117
- RMA in einen schon laufenden Container importiert werden kann. -->
118
- <execution >
119
- <id >jade-agent</id >
120
- <goals ><goal >jar</goal ></goals >
121
- <phase >package</phase >
122
- <configuration >
123
- <finalName >${project.group_Id} _MyAgent</finalName >
124
- </configuration >
125
- </execution >
126
- </executions >
127
- </plugin >
128
-
129
- <!-- <plugin> -->
130
- <!-- <artifactId>maven-surefire-plugin</artifactId> -->
131
- <!-- <configuration> -->
132
- <!-- <systemProperties> -->
133
- <!-- <property> -->
134
- <!-- <name>java.util.logging.config.file</name> -->
135
- <!-- <value>src/main/resources/myLogging.properties</value> -->
136
- <!-- </property> -->
137
- <!-- <property> -->
138
- <!-- <name>testlog.dir</name> -->
139
- <!-- <value>${project.build.directory}</value> -->
140
- <!-- </property> -->
141
- <!-- </systemProperties> -->
142
- <!-- </configuration> -->
143
- <!-- </plugin> -->
144
-
145
-
146
- </plugins >
147
- </build >
1
+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3
+ <modelVersion >4.0.0</modelVersion >
4
+
5
+ <groupId >agentville.agents.bingo.player</groupId >
6
+ <artifactId >agentville-bingo-player</artifactId >
7
+ <version >0.0.1-SNAPSHOT</version >
8
+ <packaging >jar</packaging >
9
+
10
+ <name >JADE Bingo Player </name >
11
+ <url >http://agentville.wordpress.com</url >
12
+
13
+ <properties >
14
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
15
+ </properties >
16
+
17
+ <repositories >
18
+ <repository >
19
+ <id >tilab</id >
20
+ <url >http://jade.tilab.com/maven/</url >
21
+ </repository >
22
+ </repositories >
23
+
24
+ <dependencies >
25
+ <dependency >
26
+ <groupId >com.tilab.jade</groupId >
27
+ <artifactId >jade</artifactId >
28
+ <version >4.3.0</version >
29
+ <scope >compile</scope >
30
+ </dependency >
31
+ <dependency >
32
+ <groupId >com.tilab.jade</groupId >
33
+ <artifactId >jade-misc</artifactId >
34
+ <version >2.4.0</version >
35
+ <scope >compile</scope >
36
+ </dependency >
37
+ <dependency >
38
+ <groupId >com.tilab.jade</groupId >
39
+ <artifactId >jade-test-suite</artifactId >
40
+ <version >1.11.0</version >
41
+ <scope >test</scope >
42
+ </dependency >
43
+ </dependencies >
44
+
45
+ <build >
46
+ <pluginManagement >
47
+ <plugins >
48
+ <plugin >
49
+ <groupId >org.codehaus.mojo</groupId >
50
+ <artifactId >build-helper-maven-plugin</artifactId >
51
+ <version >1.8</version >
52
+ </plugin >
53
+ <plugin >
54
+ <groupId >org.eclipse.m2e</groupId >
55
+ <artifactId >lifecycle-mapping</artifactId >
56
+ <version >1.0.0</version >
57
+ <configuration >
58
+ <lifecycleMappingMetadata >
59
+ <pluginExecutions >
60
+ <!-- copy-dependency plugin -->
61
+ <pluginExecution >
62
+ <pluginExecutionFilter >
63
+ <groupId >org.codehaus.mojo</groupId >
64
+ <artifactId >build-helper-maven-plugin</artifactId >
65
+ <versionRange >[1.8,)</versionRange >
66
+ <goals >
67
+ <goal >regex-property</goal >
68
+ </goals >
69
+ </pluginExecutionFilter >
70
+ <action >
71
+ <ignore />
72
+ </action >
73
+ </pluginExecution >
74
+ </pluginExecutions >
75
+ </lifecycleMappingMetadata >
76
+ </configuration >
77
+ </plugin >
78
+ </plugins >
79
+ </pluginManagement >
80
+ <plugins >
81
+ <plugin >
82
+ <groupId >org.codehaus.mojo</groupId >
83
+ <artifactId >build-helper-maven-plugin</artifactId >
84
+ <version >1.8</version >
85
+ <executions >
86
+ <execution >
87
+ <id >regex-property</id >
88
+ <goals >
89
+ <goal >regex-property</goal >
90
+ </goals >
91
+ <configuration >
92
+ <name >project.group_Id</name >
93
+ <value >${project.groupId} </value >
94
+ <regex >[\.]</regex >
95
+ <replacement >_</replacement >
96
+ <failIfNoMatch >false</failIfNoMatch >
97
+ </configuration >
98
+ </execution >
99
+ </executions >
100
+ </plugin >
101
+ <plugin >
102
+ <groupId >org.apache.maven.plugins</groupId >
103
+ <artifactId >maven-jar-plugin</artifactId >
104
+ <version >2.4</version >
105
+ <configuration >
106
+ <archive >
107
+ <!-- Erweitert das default-Manifest: -->
108
+ <manifest >
109
+ <mainClass >${project.groupId} .AgentStarter</mainClass >
110
+ <addDefaultImplementationEntries >true</addDefaultImplementationEntries >
111
+ </manifest >
112
+ </archive >
113
+ </configuration >
114
+ <executions >
115
+ <!-- Hier wird ein zusätzliches JAR erzeugt, das den Konventionen von
116
+ JADE entspricht und so auch ohne Main-Methode ausgeführt oder über den
117
+ RMA in einen schon laufenden Container importiert werden kann. -->
118
+ <execution >
119
+ <id >jade-agent</id >
120
+ <goals ><goal >jar</goal ></goals >
121
+ <phase >package</phase >
122
+ <configuration >
123
+ <finalName >${project.group_Id} _MyAgent</finalName >
124
+ </configuration >
125
+ </execution >
126
+ </executions >
127
+ </plugin >
128
+
129
+ <!-- <plugin> -->
130
+ <!-- <artifactId>maven-surefire-plugin</artifactId> -->
131
+ <!-- <configuration> -->
132
+ <!-- <systemProperties> -->
133
+ <!-- <property> -->
134
+ <!-- <name>java.util.logging.config.file</name> -->
135
+ <!-- <value>src/main/resources/myLogging.properties</value> -->
136
+ <!-- </property> -->
137
+ <!-- <property> -->
138
+ <!-- <name>testlog.dir</name> -->
139
+ <!-- <value>${project.build.directory}</value> -->
140
+ <!-- </property> -->
141
+ <!-- </systemProperties> -->
142
+ <!-- </configuration> -->
143
+ <!-- </plugin> -->
144
+
145
+
146
+ </plugins >
147
+ </build >
148
148
</project >
0 commit comments