Skip to content

Commit 8fa774d

Browse files
committed
mvn build file++
1 parent 28c2714 commit 8fa774d

File tree

1 file changed

+45
-83
lines changed

1 file changed

+45
-83
lines changed

data-mapper/pom.xml

Lines changed: 45 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,45 @@
1-
<?xml version="1.0"?>
2-
<!--
3-
4-
The MIT License
5-
Copyright (c) 2014 Ilkka Seppälä
6-
7-
Permission is hereby granted, free of charge, to any person obtaining a copy
8-
of this software and associated documentation files (the "Software"), to deal
9-
in the Software without restriction, including without limitation the rights
10-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11-
copies of the Software, and to permit persons to whom the Software is
12-
furnished to do so, subject to the following conditions:
13-
14-
The above copyright notice and this permission notice shall be included in
15-
all copies or substantial portions of the Software.
16-
17-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23-
THE SOFTWARE.
24-
25-
-->
26-
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
27-
<modelVersion>4.0.0</modelVersion>
28-
<parent>
29-
<groupId>com.iluwatar</groupId>
30-
<artifactId>java-design-patterns</artifactId>
31-
<version>1.11.0-SNAPSHOT</version>
32-
</parent>
33-
<artifactId>data-mapper</artifactId>
34-
<dependencies>
35-
<dependency>
36-
<groupId>junit</groupId>
37-
<artifactId>junit</artifactId>
38-
<scope>test</scope>
39-
</dependency>
40-
<dependency>
41-
<groupId>log4j</groupId>
42-
<artifactId>log4j</artifactId>
43-
</dependency>
44-
</dependencies>
45-
46-
<build>
47-
48-
<!-- log4j.xml file will be copied both in ${project.build.outputDirectory} and ${project.build.directory}. Thanks to Sean Patrick Floyd (http://stackoverflow.com/questions/5637532/maven-how-to-place-resource-file-together-with-jar) -->
49-
<resources>
50-
<resource> <!-- regular processing for every resource file -->
51-
<directory>src/main/resources</directory>
52-
</resource>
53-
<resource> <!-- processing with a different output directory for log4j.xml -->
54-
<directory>src/main/resources</directory>
55-
<includes>
56-
<include>log4j.xml</include>
57-
</includes>
58-
<targetPath>..</targetPath> <!-- relative to target/classes i.e. ${project.build.directory} -->
59-
</resource>
60-
</resources>
61-
62-
<plugins>
63-
64-
<!-- This will exclude log4j.xml file from generated JAR -->
65-
<plugin>
66-
<groupId>org.apache.maven.plugins</groupId>
67-
<artifactId>maven-jar-plugin</artifactId>
68-
<version>2.6</version>
69-
<configuration>
70-
<excludes>
71-
<exclude>log4j.xml</exclude>
72-
</excludes>
73-
<archive>
74-
<manifest>
75-
<addClasspath>true</addClasspath>
76-
</manifest>
77-
</archive>
78-
</configuration>
79-
</plugin>
80-
81-
</plugins>
82-
</build>
83-
</project>
1+
<?xml version="1.0"?>
2+
<!--
3+
4+
The MIT License
5+
Copyright (c) 2016 Amit Dixit
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy
8+
of this software and associated documentation files (the "Software"), to deal
9+
in the Software without restriction, including without limitation the rights
10+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
copies of the Software, and to permit persons to whom the Software is
12+
furnished to do so, subject to the following conditions:
13+
14+
The above copyright notice and this permission notice shall be included in
15+
all copies or substantial portions of the Software.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23+
THE SOFTWARE.
24+
25+
-->
26+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
27+
<modelVersion>4.0.0</modelVersion>
28+
<parent>
29+
<groupId>com.iluwatar</groupId>
30+
<artifactId>java-design-patterns</artifactId>
31+
<version>1.11.0-SNAPSHOT</version>
32+
</parent>
33+
<artifactId>data-mapper</artifactId>
34+
<dependencies>
35+
<dependency>
36+
<groupId>junit</groupId>
37+
<artifactId>junit</artifactId>
38+
<scope>test</scope>
39+
</dependency>
40+
<dependency>
41+
<groupId>log4j</groupId>
42+
<artifactId>log4j</artifactId>
43+
</dependency>
44+
</dependencies>
45+
</project>

0 commit comments

Comments
 (0)