/
pom.xml
executable file
·262 lines (252 loc) · 10.5 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
<?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>io.javaee</groupId>
<artifactId>ee-central</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>JavaEE :: IO :: Website</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<tomee.version>7.0.0-M3</tomee.version>
<javaee.api>7.0</javaee.api>
<groovy.version>2.4.6</groovy.version>
<frontend.bower.arguments>install</frontend.bower.arguments>
<frontend.gulp.arguments>build-with-tests</frontend.gulp.arguments>
<eecentral_github_atoken>${env.github_atoken}</eecentral_github_atoken>
<eecentral_twitter_oauth_consumer_key>${env.project_twitter_oauth_consumer_key}</eecentral_twitter_oauth_consumer_key>
<eecentral_twitter_oauth_consumer_secret>${env.project_twitter_oauth_consumer_secret}</eecentral_twitter_oauth_consumer_secret>
<eecentral_twitter_oauth_access_token>${env.project_twitter_oauth_access_token}</eecentral_twitter_oauth_access_token>
<eecentral_twitter_oauth_access_token_secret>${env.project_twitter_oauth_access_token_secret}</eecentral_twitter_oauth_access_token_secret>
<eecentral_config_root>${env.project_config_root}</eecentral_config_root>
<eecentral_devel_pages_root>${env.project_devel_pages_root}</eecentral_devel_pages_root>
<eecentral_class_tag_begin><class></eecentral_class_tag_begin>
<eecentral_class_tag_end></class></eecentral_class_tag_end>
<eecentral_cache_interceptor>${eecentral_class_tag_begin}io.javaee.CachedInterceptor${eecentral_class_tag_end}</eecentral_cache_interceptor>
</properties>
<repositories>
<repository>
<id>twitter4j.org</id>
<name>twitter4j.org Repository</name>
<url>http://twitter4j.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.twitter4j</groupId>
<artifactId>twitter4j-core</artifactId>
<version>4.0.4</version>
</dependency>
<dependency>
<groupId>org.tomitribe</groupId>
<artifactId>sabot</artifactId>
<version>0.9</version>
</dependency>
<dependency>
<groupId>org.apache.tomee</groupId>
<artifactId>javaee-api</artifactId>
<version>${javaee.api}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-json</artifactId>
<version>${groovy.version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-xml</artifactId>
<version>${groovy.version}</version>
</dependency>
<dependency>
<groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId>
<version>1.16</version>
</dependency>
<dependency>
<groupId>org.spockframework</groupId>
<artifactId>spock-core</artifactId>
<version>1.0-groovy-2.4</version>
<scope>test</scope>
</dependency>
<dependency> <!-- enables mocking of classes (in addition to interfaces) -->
<groupId>cglib</groupId>
<artifactId>cglib-nodep</artifactId>
<version>3.1</version>
<scope>test</scope>
</dependency>
<dependency> <!-- enables mocking of classes without default constructor (together with CGLIB) -->
<groupId>org.objenesis</groupId>
<artifactId>objenesis</artifactId>
<version>2.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
<attachClasses>true</attachClasses>
<webResources>
<resource>
<directory>target/static-resources</directory>
</resource>
</webResources>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.tomee.maven</groupId>
<artifactId>tomee-maven-plugin</artifactId>
<version>${tomee.version}</version>
<configuration>
<context>ee-central</context>
<systemVariables>
<eecentral_github_atoken>${eecentral_github_atoken}</eecentral_github_atoken>
<eecentral_twitter_oauth_consumer_key>${eecentral_twitter_oauth_consumer_key}</eecentral_twitter_oauth_consumer_key>
<eecentral_twitter_oauth_consumer_secret>${eecentral_twitter_oauth_consumer_secret}</eecentral_twitter_oauth_consumer_secret>
<eecentral_twitter_oauth_access_token>${eecentral_twitter_oauth_access_token}</eecentral_twitter_oauth_access_token>
<eecentral_twitter_oauth_access_token_secret>${eecentral_twitter_oauth_access_token_secret}</eecentral_twitter_oauth_access_token_secret>
<eecentral_config_root>${eecentral_config_root}</eecentral_config_root>
<eecentral_devel_pages_root>${eecentral_devel_pages_root}</eecentral_devel_pages_root>
</systemVariables>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>codenarc-maven-plugin</artifactId>
<version>0.22-1</version>
<configuration>
<sourceDirectory>${project.basedir}/src/main/groovy</sourceDirectory>
<groovyVersion>${groovy.version}</groovyVersion>
<maxPriority1Violations>0</maxPriority1Violations>
<maxPriority2Violations>0</maxPriority2Violations>
<maxPriority3Violations>0</maxPriority3Violations>
</configuration>
<executions>
<execution>
<phase>prepare-package</phase>
<goals>
<goal>codenarc</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<compilerId>groovy-eclipse-compiler</compilerId>
</configuration>
<dependencies>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-eclipse-compiler</artifactId>
<version>2.9.2-01</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-eclipse-batch</artifactId>
<version>2.4.3-01</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>frontend</id>
<activation>
<property>
<name>!frontend.skip</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>install-node-and-npm</id>
<phase>generate-resources</phase>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>v5.10.1</nodeVersion>
<npmVersion>3.8.6</npmVersion>
</configuration>
</execution>
<execution>
<id>npm-install</id>
<phase>generate-resources</phase>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>install</arguments>
</configuration>
</execution>
<execution>
<id>bower-install</id>
<phase>generate-resources</phase>
<goals>
<goal>bower</goal>
</goals>
<configuration>
<arguments>${frontend.bower.arguments}</arguments>
</configuration>
</execution>
<execution>
<id>gulp-build</id>
<phase>generate-resources</phase>
<goals>
<goal>gulp</goal>
</goals>
<configuration>
<arguments>${frontend.gulp.arguments}</arguments>
</configuration>
</execution>
</executions>
<configuration>
<workingDirectory>src/main/static</workingDirectory>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>devel</id>
<properties>
<eecentral_class_tag_begin><class></eecentral_class_tag_begin>
<eecentral_class_tag_end></class></eecentral_class_tag_end>
<eecentral_cache_interceptor></eecentral_cache_interceptor>
<eecentral_devel_service_project_alternative>${eecentral_class_tag_begin}io.javaee.devel.ServiceProjectDevelSpecializer${eecentral_class_tag_end}</eecentral_devel_service_project_alternative>
</properties>
</profile>
</profiles>
<scm>
<url>scm:git:git@github.com:jcpevangelists/ee-central.git</url>
<connection>scm:git:git@github.com:jcpevangelists/ee-central.git</connection>
<developerConnection>scm:git:git@github.com:jcpevangelists/ee-central.git</developerConnection>
<tag>0.0.1</tag>
</scm>
</project>