This repository was archived by the owner on Dec 4, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
plexus-component-metadata/src/main/java/org/codehaus/plexus/metadata/merge Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 42
42
public class Driver implements Locator , XMLReader , Attributes
43
43
{
44
44
45
+ protected static final String EXTERNAL_GENERAL_ENTITIES_PROPERTY =
46
+ "http://xml.org/sax/features/external-general-entities" ;
47
+
45
48
protected static final String DECLARATION_HANDLER_PROPERTY =
46
49
"http://xml.org/sax/properties/declaration-handler" ;
47
50
@@ -200,6 +203,8 @@ public void setFeature (String name, boolean value)
200
203
}
201
204
} else if (VALIDATION_FEATURE .equals (name )) {
202
205
pp .setFeature (XmlPullParser .FEATURE_VALIDATION , value );
206
+ } else if (EXTERNAL_GENERAL_ENTITIES_PROPERTY .equals (name )) {
207
+ // ignore
203
208
} else {
204
209
pp .setFeature (name , value );
205
210
//throw new SAXNotRecognizedException("unrecognized feature "+name);
Original file line number Diff line number Diff line change 118
118
<build >
119
119
<pluginManagement >
120
120
<plugins >
121
+ <plugin >
122
+ <groupId >org.codehaus.mojo</groupId >
123
+ <artifactId >cobertura-maven-plugin</artifactId >
124
+ <version >2.7</version >
125
+ <configuration >
126
+ <check >false</check >
127
+ <skip >true</skip >
128
+ </configuration >
129
+ </plugin >
121
130
<plugin >
122
131
<groupId >org.apache.maven.plugins</groupId >
123
132
<artifactId >maven-release-plugin</artifactId >
126
135
<autoVersionSubmodules >true</autoVersionSubmodules >
127
136
</configuration >
128
137
</plugin >
138
+ <plugin >
139
+ <groupId >org.apache.maven.plugins</groupId >
140
+ <artifactId >maven-enforcer-plugin</artifactId >
141
+ <version >3.0.0</version >
142
+ </plugin >
143
+ <plugin >
144
+ <artifactId >maven-project-info-reports-plugin</artifactId >
145
+ <version >3.1.2</version >
146
+ </plugin >
147
+ <plugin >
148
+ <artifactId >maven-checkstyle-plugin</artifactId >
149
+ <version >3.1.2</version >
150
+ <dependencies >
151
+ <dependency >
152
+ <groupId >com.puppycrawl.tools</groupId >
153
+ <artifactId >checkstyle</artifactId >
154
+ <version >9.2</version >
155
+ </dependency >
156
+ <dependency >
157
+ <groupId >org.apache.maven.shared</groupId >
158
+ <artifactId >maven-shared-resources</artifactId >
159
+ <version >4</version >
160
+ </dependency >
161
+ </dependencies >
162
+ </plugin >
129
163
</plugins >
130
164
</pluginManagement >
131
165
<plugins >
You can’t perform that action at this time.
0 commit comments