Skip to content

Commit 347c187

Browse files
committed
maven fix
1 parent 74a35ac commit 347c187

File tree

4 files changed

+241
-0
lines changed

4 files changed

+241
-0
lines changed
Binary file not shown.
Lines changed: 198 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,198 @@
1+
<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">
2+
<modelVersion>4.0.0</modelVersion>
3+
<groupId>com.n1global</groupId>
4+
<artifactId>async-couchdb-client</artifactId>
5+
<version>0.40</version>
6+
<name>async-couchdb-client</name>
7+
8+
<properties>
9+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
10+
<project.resources.sourceEncoding>UTF-8</project.resources.sourceEncoding>
11+
<maven.compiler.source>1.8</maven.compiler.source>
12+
<maven.compiler.target>1.8</maven.compiler.target>
13+
</properties>
14+
15+
<dependencies>
16+
<dependency>
17+
<groupId>com.ning</groupId>
18+
<artifactId>async-http-client</artifactId>
19+
<version>1.9.11</version>
20+
</dependency>
21+
22+
<dependency>
23+
<groupId>com.fasterxml.jackson.core</groupId>
24+
<artifactId>jackson-databind</artifactId>
25+
<version>2.5.1</version>
26+
</dependency>
27+
28+
<dependency>
29+
<groupId>ch.qos.logback</groupId>
30+
<artifactId>logback-classic</artifactId>
31+
<version>1.1.2</version>
32+
</dependency>
33+
34+
<dependency>
35+
<groupId>org.springframework</groupId>
36+
<artifactId>spring-web</artifactId>
37+
<version>4.1.5.RELEASE</version>
38+
<exclusions>
39+
<exclusion>
40+
<groupId>*</groupId>
41+
</exclusion>
42+
</exclusions>
43+
</dependency>
44+
45+
<!-- For testing -->
46+
<dependency>
47+
<groupId>org.slf4j</groupId>
48+
<artifactId>jcl-over-slf4j</artifactId>
49+
<version>1.7.10</version>
50+
<scope>test</scope>
51+
</dependency>
52+
53+
<dependency>
54+
<groupId>net.coobird</groupId>
55+
<artifactId>thumbnailator</artifactId>
56+
<version>0.4.8</version>
57+
<scope>test</scope>
58+
</dependency>
59+
60+
<dependency>
61+
<groupId>junit</groupId>
62+
<artifactId>junit</artifactId>
63+
<version>4.12</version>
64+
<scope>test</scope>
65+
</dependency>
66+
67+
<dependency>
68+
<groupId>org.assertj</groupId>
69+
<artifactId>assertj-core</artifactId>
70+
<version>2.0.0</version>
71+
<scope>test</scope>
72+
</dependency>
73+
74+
<dependency>
75+
<groupId>org.springframework</groupId>
76+
<artifactId>spring-context</artifactId>
77+
<version>4.1.5.RELEASE</version>
78+
<exclusions>
79+
<exclusion>
80+
<groupId>commons-logging</groupId>
81+
<artifactId>commons-logging</artifactId>
82+
</exclusion>
83+
</exclusions>
84+
<scope>test</scope>
85+
</dependency>
86+
87+
<dependency>
88+
<groupId>org.springframework</groupId>
89+
<artifactId>spring-test</artifactId>
90+
<version>4.1.5.RELEASE</version>
91+
<scope>test</scope>
92+
</dependency>
93+
94+
<dependency>
95+
<groupId>org.apache.lucene</groupId>
96+
<artifactId>lucene-core</artifactId>
97+
<version>5.0.0</version>
98+
<scope>test</scope>
99+
</dependency>
100+
101+
<dependency>
102+
<groupId>org.apache.lucene</groupId>
103+
<artifactId>lucene-analyzers-common</artifactId>
104+
<version>5.0.0</version>
105+
<scope>test</scope>
106+
</dependency>
107+
</dependencies>
108+
109+
<build>
110+
<plugins>
111+
<plugin>
112+
<groupId>org.apache.maven.plugins</groupId>
113+
<artifactId>maven-source-plugin</artifactId>
114+
<version>2.4</version>
115+
<executions>
116+
<execution>
117+
<id>attach-sources</id>
118+
<goals>
119+
<goal>jar</goal>
120+
</goals>
121+
</execution>
122+
</executions>
123+
</plugin>
124+
125+
<plugin>
126+
<artifactId>maven-resources-plugin</artifactId>
127+
<version>2.7</version>
128+
<executions>
129+
<execution>
130+
<id>copy-configuration-files</id>
131+
<phase>install</phase>
132+
<goals>
133+
<goal>copy-resources</goal>
134+
</goals>
135+
<configuration>
136+
<outputDirectory>${project.basedir}/maven/com/n1global/${project.artifactId}/${project.version}</outputDirectory>
137+
<resources>
138+
<resource>
139+
<directory>${project.build.directory}</directory>
140+
<includes>
141+
<include>*.jar</include>
142+
</includes>
143+
</resource>
144+
</resources>
145+
</configuration>
146+
</execution>
147+
</executions>
148+
</plugin>
149+
150+
<plugin>
151+
<artifactId>maven-antrun-plugin</artifactId>
152+
<executions>
153+
<execution>
154+
<phase>install</phase>
155+
<configuration>
156+
<tasks>
157+
<copy file="${project.basedir}/pom.xml" tofile="${project.basedir}/maven/com/n1global/${project.artifactId}/${project.version}/${project.artifactId}-${project.version}.pom"/>
158+
</tasks>
159+
</configuration>
160+
<goals>
161+
<goal>run</goal>
162+
</goals>
163+
</execution>
164+
</executions>
165+
</plugin>
166+
</plugins>
167+
168+
<pluginManagement>
169+
<plugins>
170+
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
171+
<plugin>
172+
<groupId>org.eclipse.m2e</groupId>
173+
<artifactId>lifecycle-mapping</artifactId>
174+
<version>1.0.0</version>
175+
<configuration>
176+
<lifecycleMappingMetadata>
177+
<pluginExecutions>
178+
<pluginExecution>
179+
<pluginExecutionFilter>
180+
<groupId>org.apache.maven.plugins</groupId>
181+
<artifactId>maven-dependency-plugin</artifactId>
182+
<versionRange>[2.4,)</versionRange>
183+
<goals>
184+
<goal>copy-dependencies</goal>
185+
</goals>
186+
</pluginExecutionFilter>
187+
<action>
188+
<ignore></ignore>
189+
</action>
190+
</pluginExecution>
191+
</pluginExecutions>
192+
</lifecycleMappingMetadata>
193+
</configuration>
194+
</plugin>
195+
</plugins>
196+
</pluginManagement>
197+
</build>
198+
</project>

pom.xml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,50 @@
121121
</execution>
122122
</executions>
123123
</plugin>
124+
125+
<plugin>
126+
<artifactId>maven-resources-plugin</artifactId>
127+
<version>2.7</version>
128+
<executions>
129+
<execution>
130+
<id>copy-configuration-files</id>
131+
<phase>install</phase>
132+
<goals>
133+
<goal>copy-resources</goal>
134+
</goals>
135+
<configuration>
136+
<outputDirectory>${project.basedir}/maven/com/n1global/${project.artifactId}/${project.version}</outputDirectory>
137+
<resources>
138+
<resource>
139+
<directory>${project.build.directory}</directory>
140+
<includes>
141+
<include>*.jar</include>
142+
</includes>
143+
</resource>
144+
</resources>
145+
</configuration>
146+
</execution>
147+
</executions>
148+
</plugin>
149+
150+
<plugin>
151+
<artifactId>maven-antrun-plugin</artifactId>
152+
<executions>
153+
<execution>
154+
<phase>install</phase>
155+
<configuration>
156+
<tasks>
157+
<copy file="${project.basedir}/pom.xml" tofile="${project.basedir}/maven/com/n1global/${project.artifactId}/${project.version}/${project.artifactId}-${project.version}.pom"/>
158+
</tasks>
159+
</configuration>
160+
<goals>
161+
<goal>run</goal>
162+
</goals>
163+
</execution>
164+
</executions>
165+
</plugin>
124166
</plugins>
167+
125168
<pluginManagement>
126169
<plugins>
127170
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->

0 commit comments

Comments
 (0)