|
21 | 21 | <component xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" |
22 | 22 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
23 | 23 | xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> |
24 | | - <moduleSets> |
25 | | - <moduleSet> |
26 | | - <useAllReactorProjects>true</useAllReactorProjects> |
27 | | - <!--Now, select which projects to include in this module-set. --> |
| 24 | + <dependencySets> |
| 25 | + <dependencySet> |
| 26 | + <!-- Now, select which projects to include in this module-set. --> |
28 | 27 | <includes> |
29 | 28 | <include>org.apache.drill.exec:drill-jdbc:jar</include> |
30 | 29 | <include>org.apache.drill:drill-protocol:jar</include> |
|
48 | 47 | <include>org.apache.drill.contrib:drill-opentsdb-storage:jar</include> |
49 | 48 | <include>org.apache.drill.contrib:drill-udfs:jar</include> |
50 | 49 | </includes> |
51 | | - <sources> |
52 | | - <includeModuleDirectory>false</includeModuleDirectory> |
53 | | - <fileSets> |
54 | | - <fileSet> |
55 | | - <directory>target</directory> |
56 | | - <outputDirectory>jars</outputDirectory> |
57 | | - <includes> |
58 | | - <include>*.jar</include> |
59 | | - </includes> |
60 | | - <excludes> |
61 | | - <exclude>*sources.jar</exclude> |
62 | | - <exclude>*javadoc.jar</exclude> |
63 | | - <exclude>*tests.jar</exclude> |
64 | | - <exclude>original-*</exclude> |
65 | | - </excludes> |
66 | | - </fileSet> |
67 | | - </fileSets> |
68 | | - </sources> |
69 | | - </moduleSet> |
| 50 | + <outputDirectory>jars</outputDirectory> |
| 51 | + <useProjectArtifact>false</useProjectArtifact> |
| 52 | + </dependencySet> |
70 | 53 |
|
71 | | - <moduleSet> |
72 | | - <useAllReactorProjects>true</useAllReactorProjects> |
| 54 | + <dependencySet> |
73 | 55 | <!-- Drill-on-YARN goes into its own directory so it does not end up |
74 | 56 | on the Drillbit class path. Define the jars/tools folder as any jar |
75 | 57 | we ship that is not used by drillbits. --> |
76 | 58 | <includes> |
77 | 59 | <include>org.apache.drill:drill-yarn:jar</include> |
78 | 60 | </includes> |
79 | | - <sources> |
80 | | - <includeModuleDirectory>false</includeModuleDirectory> |
81 | | - <fileSets> |
82 | | - <fileSet> |
83 | | - <directory>target</directory> |
84 | | - <outputDirectory>jars/tools</outputDirectory> |
85 | | - <includes> |
86 | | - <include>*.jar</include> |
87 | | - </includes> |
88 | | - <excludes> |
89 | | - <exclude>*sources.jar</exclude> |
90 | | - <exclude>*javadoc.jar</exclude> |
91 | | - <exclude>*tests.jar</exclude> |
92 | | - </excludes> |
93 | | - </fileSet> |
94 | | - </fileSets> |
95 | | - </sources> |
96 | | - </moduleSet> |
| 61 | + <outputDirectory>jars/tools</outputDirectory> |
| 62 | + <useProjectArtifact>false</useProjectArtifact> |
| 63 | + </dependencySet> |
97 | 64 |
|
98 | | - <moduleSet> |
99 | | - <useAllReactorProjects>true</useAllReactorProjects> |
| 65 | + <dependencySet> |
100 | 66 | <includes> |
101 | 67 | <include>org.apache.drill.exec:drill-jdbc-all:jar</include> |
102 | 68 | </includes> |
103 | | - <sources> |
104 | | - <includeModuleDirectory>false</includeModuleDirectory> |
105 | | - <fileSets> |
106 | | - <fileSet> |
107 | | - <directory>target</directory> |
108 | | - <outputDirectory>jars/jdbc-driver</outputDirectory> |
109 | | - <includes> |
110 | | - <include>*.jar</include> |
111 | | - </includes> |
112 | | - <excludes> |
113 | | - <exclude>*sources.jar</exclude> |
114 | | - <exclude>*javadoc.jar</exclude> |
115 | | - <exclude>*tests.jar</exclude> |
116 | | - <exclude>original-*</exclude> |
117 | | - </excludes> |
118 | | - </fileSet> |
119 | | - </fileSets> |
120 | | - </sources> |
121 | | - </moduleSet> |
122 | | - </moduleSets> |
| 69 | + <outputDirectory>jars/jdbc-driver</outputDirectory> |
| 70 | + <useProjectArtifact>false</useProjectArtifact> |
| 71 | + </dependencySet> |
123 | 72 |
|
124 | | - <dependencySets> |
125 | 73 | <dependencySet> |
126 | 74 | <outputDirectory>jars</outputDirectory> |
127 | 75 | <unpack>false</unpack> |
|
0 commit comments