|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 |
| -<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 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 4 | <parent>
|
4 | 5 | <artifactId>qmq-parent</artifactId>
|
5 | 6 | <groupId>com.qunar.qmq</groupId>
|
|
37 | 38 | </dependency>
|
38 | 39 | </dependencies>
|
39 | 40 |
|
40 |
| - <build> |
41 |
| - <plugins> |
42 |
| - <plugin> |
43 |
| - <groupId>org.apache.maven.plugins</groupId> |
44 |
| - <artifactId>maven-shade-plugin</artifactId> |
45 |
| - <version>1.4</version> |
46 |
| - <executions> |
47 |
| - <execution> |
48 |
| - <phase>package</phase> |
49 |
| - <goals> |
50 |
| - <goal>shade</goal> |
51 |
| - </goals> |
52 |
| - <configuration> |
53 |
| - <createSourcesJar>true</createSourcesJar> |
54 |
| - <promoteTransitiveDependencies>true</promoteTransitiveDependencies> |
55 |
| - <artifactSet> |
56 |
| - <includes> |
57 |
| - <include>com.qunar.qmq:qmq-api</include> |
58 |
| - <include>com.qunar.qmq:qmq-common</include> |
59 |
| - <include>com.qunar.qmq:qmq-remoting</include> |
60 |
| - <include>com.qunar.qmq:qmq-client</include> |
61 |
| - </includes> |
62 |
| - </artifactSet> |
63 |
| - <transformers> |
64 |
| - <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
65 |
| - <resource>META-INF/qmq-2.0.0.xsd</resource> |
66 |
| - </transformer> |
67 |
| - <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
68 |
| - <resource>META-INF/spring.handlers</resource> |
69 |
| - </transformer> |
70 |
| - <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> |
71 |
| - <resource>META-INF/spring.schemas</resource> |
72 |
| - </transformer> |
73 |
| - </transformers> |
74 |
| - </configuration> |
75 |
| - </execution> |
76 |
| - </executions> |
77 |
| - </plugin> |
78 |
| - </plugins> |
79 |
| - </build> |
80 |
| - |
81 | 41 | <profiles>
|
82 | 42 | <profile>
|
83 | 43 | <id>release</id>
|
84 | 44 | <build>
|
85 | 45 | <plugins>
|
| 46 | + <plugin> |
| 47 | + <groupId>org.apache.maven.plugins</groupId> |
| 48 | + <artifactId>maven-shade-plugin</artifactId> |
| 49 | + <version>1.4</version> |
| 50 | + <executions> |
| 51 | + <execution> |
| 52 | + <phase>package</phase> |
| 53 | + <goals> |
| 54 | + <goal>shade</goal> |
| 55 | + </goals> |
| 56 | + <configuration> |
| 57 | + <createSourcesJar>true</createSourcesJar> |
| 58 | + <promoteTransitiveDependencies>true</promoteTransitiveDependencies> |
| 59 | + <artifactSet> |
| 60 | + <includes> |
| 61 | + <include>com.qunar.qmq:qmq-api</include> |
| 62 | + <include>com.qunar.qmq:qmq-common</include> |
| 63 | + <include>com.qunar.qmq:qmq-remoting</include> |
| 64 | + <include>com.qunar.qmq:qmq-client</include> |
| 65 | + </includes> |
| 66 | + </artifactSet> |
| 67 | + </configuration> |
| 68 | + </execution> |
| 69 | + </executions> |
| 70 | + </plugin> |
86 | 71 | <plugin>
|
87 | 72 | <groupId>org.apache.maven.plugins</groupId>
|
88 | 73 | <artifactId>maven-source-plugin</artifactId>
|
|
0 commit comments