File: 09-tweak-distribution.patch

package info (click to toggle)
jetty12 12.0.17-3.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 86,760 kB
  • sloc: java: 720,991; xml: 58,183; javascript: 1,041; sh: 829; jsp: 391; sql: 40; makefile: 6
file content (201 lines) | stat: -rw-r--r-- 7,861 bytes parent folder | download | duplicates (2)
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
Description: Remove optional content from the distribution (documentation, sources, test files, examples)
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/jetty-ee10/jetty-ee10-home/pom.xml
+++ b/jetty-ee10/jetty-ee10-home/pom.xml
@@ -227,7 +227,7 @@
             <goals>
               <goal>single</goal>
             </goals>
-            <phase>package</phase>
+            <phase>none</phase>
             <configuration>
               <descriptors>
                 <descriptor>src/main/assembly/jetty-source-assembly.xml</descriptor>
@@ -259,7 +259,7 @@
             <goals>
               <goal>copy-dependencies</goal>
             </goals>
-            <phase>generate-resources</phase>
+            <phase>none</phase>
             <configuration>
               <includeGroupIds>jakarta.annotation,org.ow2.asm</includeGroupIds>
               <includeArtifactIds>jakarta.annotation-api,asm,asm-commons,asm-tree,asm-analysis</includeArtifactIds>
@@ -301,7 +301,7 @@
             <goals>
               <goal>copy-dependencies</goal>
             </goals>
-            <phase>generate-resources</phase>
+            <phase>none</phase>
             <configuration>
               <includeGroupIds>jakarta.authentication</includeGroupIds>
               <includeArtifactIds>jakarta.authentication-api</includeArtifactIds>
@@ -329,7 +329,7 @@
             <goals>
               <goal>copy-dependencies</goal>
             </goals>
-            <phase>generate-resources</phase>
+            <phase>none</phase>
             <configuration>
               <prependGroupId>true</prependGroupId>
               <includeGroupIds>jakarta.servlet.jsp,jakart.el,org.mortbay.jasper,org.eclipse.jdt</includeGroupIds>
@@ -358,7 +358,7 @@
             <goals>
               <goal>copy-dependencies</goal>
             </goals>
-            <phase>generate-resources</phase>
+            <phase>none</phase>
             <configuration>
               <prependGroupId>true</prependGroupId>
               <includeGroupIds>jakarta.servlet.jsp.jstl,org.glassfish.web</includeGroupIds>
@@ -385,7 +385,7 @@
             <goals>
               <goal>copy-dependencies</goal>
             </goals>
-            <phase>generate-resources</phase>
+            <phase>none</phase>
             <configuration>
               <includeGroupIds>jakarta.websocket</includeGroupIds>
               <includeTypes>jar</includeTypes>
@@ -398,7 +398,7 @@
             <goals>
               <goal>copy-dependencies</goal>
             </goals>
-            <phase>generate-resources</phase>
+            <phase>none</phase>
             <configuration>
               <includeGroupIds>org.eclipse.jetty.ee10</includeGroupIds>
               <includeTypes>jar</includeTypes>
@@ -424,7 +424,7 @@
             <goals>
               <goal>copy-dependencies</goal>
             </goals>
-            <phase>generate-resources</phase>
+            <phase>none</phase>
             <configuration>
               <includeGroupIds>org.eclipse.jetty.websocket</includeGroupIds>
               <includeTypes>jar</includeTypes>
@@ -449,7 +449,7 @@
             <goals>
               <goal>copy-dependencies</goal>
             </goals>
-            <phase>generate-resources</phase>
+            <phase>none</phase>
             <configuration>
               <includeGroupIds>org.eclipse.jetty.ee10.websocket</includeGroupIds>
               <includeTypes>jar</includeTypes>
@@ -479,7 +479,7 @@
             <goals>
               <goal>copy</goal>
             </goals>
-            <phase>generate-resources</phase>
+            <phase>none</phase>
             <configuration>
               <artifactItems>
                 <artifactItem>
@@ -535,7 +535,7 @@
             <goals>
               <goal>copy</goal>
             </goals>
-            <phase>generate-resources</phase>
+            <phase>none</phase>
             <configuration>
               <artifactItems>
                 <artifactItem>
--- a/jetty-home/pom.xml
+++ b/jetty-home/pom.xml
@@ -286,7 +286,7 @@
             <goals>
               <goal>single</goal>
             </goals>
-            <phase>package</phase>
+            <phase>none</phase>
             <configuration>
               <descriptors>
                 <descriptor>src/main/assembly/jetty-source-assembly.xml</descriptor>
@@ -308,6 +308,7 @@
             <phase>generate-resources</phase>
             <configuration>
               <artifactItems>
+<!--
                 <artifactItem>
                   <groupId>org.eclipse.jetty</groupId>
                   <artifactId>jetty-project</artifactId>
@@ -318,6 +319,7 @@
                   <outputDirectory>${assembly-directory}/</outputDirectory>
                   <destFileName>VERSION.txt</destFileName>
                 </artifactItem>
+-->
                 <artifactItem>
                   <groupId>org.eclipse.jetty</groupId>
                   <artifactId>jetty-start</artifactId>
@@ -351,7 +353,7 @@
             <goals>
               <goal>copy-dependencies</goal>
             </goals>
-            <phase>generate-resources</phase>
+            <phase>none</phase>
             <configuration>
               <includeGroupIds>org.eclipse.jetty</includeGroupIds>
               <excludeGroupIds>org.eclipse.jetty.orbit,org.eclipse.jetty.http2,org.eclipse.jetty.http3,org.eclipse.jetty.quic,org.eclipse.jetty.websocket,org.eclipse.jetty.fcgi,org.eclipse.jetty.toolchain,org.apache.taglibs</excludeGroupIds>
@@ -378,7 +380,7 @@
             <goals>
               <goal>copy-dependencies</goal>
             </goals>
-            <phase>generate-resources</phase>
+            <phase>none</phase>
             <configuration>
               <includeGroupIds>org.eclipse.jetty.fcgi</includeGroupIds>
               <includeTypes>jar</includeTypes>
@@ -404,7 +406,7 @@
             <goals>
               <goal>copy-dependencies</goal>
             </goals>
-            <phase>generate-resources</phase>
+            <phase>none</phase>
             <configuration>
               <includeGroupIds>org.eclipse.jetty.http2</includeGroupIds>
               <includeArtifactIds>jetty-http2-hpack,jetty-http2-common,jetty-http2-server</includeArtifactIds>
@@ -431,7 +433,7 @@
             <goals>
               <goal>copy-dependencies</goal>
             </goals>
-            <phase>generate-resources</phase>
+            <phase>none</phase>
             <configuration>
               <includeGroupIds>org.eclipse.jetty.http3</includeGroupIds>
               <includeArtifactIds>jetty-http3-server</includeArtifactIds>
@@ -458,7 +460,7 @@
             <goals>
               <goal>copy-dependencies</goal>
             </goals>
-            <phase>generate-resources</phase>
+            <phase>none</phase>
             <configuration>
               <includeGroupIds>org.eclipse.jetty,org.slf4j</includeGroupIds>
               <includeArtifactIds>jetty-slf4j-impl,slf4j-api</includeArtifactIds>
@@ -497,6 +499,7 @@
                   <version>${project.version}</version>
                   <type>zip</type>
                 </artifactItem>
+<!--
                 <artifactItem>
                   <groupId>org.eclipse.jetty.ee9</groupId>
                   <artifactId>jetty-ee9-home</artifactId>
@@ -509,6 +512,7 @@
                   <version>${project.version}</version>
                   <type>zip</type>
                 </artifactItem>
+-->
               </artifactItems>
               <outputDirectory>${assembly-directory}</outputDirectory>
             </configuration>
@@ -518,7 +522,7 @@
             <goals>
               <goal>unpack</goal>
             </goals>
-            <phase>generate-resources</phase>
+            <phase>none</phase>
             <configuration>
               <artifactItems>
                 <artifactItem>