File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
src/test/java/org/codehaus/modello/xpp3 Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 193193 <localRepositoryPath >${project.build.directory} /local-repo</localRepositoryPath >
194194 <debug >true</debug >
195195 <filterProperties >
196- <plexusUtilsVersion >3.0.22 </plexusUtilsVersion >
196+ <plexusUtilsVersion >3.6.1 </plexusUtilsVersion >
197197 <junit4Version >${junit4Version} </junit4Version >
198198 <java .version>${java.version} </java .version>
199199 <jdom .version>${jdom.version} </jdom .version>
Original file line number Diff line number Diff line change 2020 <dependency >
2121 <groupId >org.codehaus.plexus</groupId >
2222 <artifactId >plexus-utils</artifactId >
23- <version >3.0.24 </version >
23+ <version >@plexusUtilsVersion@ </version >
2424 </dependency >
2525 <dependency >
2626 <groupId >org.codehaus.woodstox</groupId >
Original file line number Diff line number Diff line change 4646 <dependency >
4747 <groupId >org.codehaus.plexus</groupId >
4848 <artifactId >plexus-utils</artifactId >
49- <version >3.0.24 </version >
49+ <version >@plexusUtilsVersion@ </version >
5050 </dependency >
5151 <dependency >
5252 <groupId >junit</groupId >
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ public class Xpp3ParsingTest
2222 public void testXpp3ParsingWithModelWithWrongRootTag ()
2323 throws Exception
2424 {
25- thrown .expectMessage ( startsWith ( "Expected root element 'project' but found 'model' (position: START_TAG seen <model>... @1:7) " ) );
26-
25+ thrown .expectMessage ( startsWith ( "Expected root element 'project' but found 'model' (position: START_TAG seen <model>... @1:8 " ) );
26+
2727 File model = new File ( System .getProperty ( "basedir" ), "src/test/models/model-with-wrong-root-tag.xml" );
2828
2929 MavenXpp3Reader reader = new MavenXpp3Reader ();
@@ -36,21 +36,21 @@ public void testXpp3ParsingWithModelWithMissingElements()
3636 throws Exception
3737 {
3838 thrown .expectMessage ( startsWith ( "Unrecognised tag: 'groupId' (position: START_TAG seen ...<dependencies>" ) );
39-
39+
4040 File model = new File ( System .getProperty ( "basedir" ), "src/test/models/model-with-missing-elements.xml" );
4141
4242 MavenXpp3Reader reader = new MavenXpp3Reader ();
4343
4444 reader .read ( new XmlStreamReader ( model ), true );
4545 }
46-
46+
4747 @ Test
4848 public void testXpp3ParsingWithModelWithPostTags ()
4949 throws Exception
5050 {
5151 // internal message from MXParser
5252 thrown .expectMessage ( startsWith ( "start tag not allowed in epilog" ) );
53-
53+
5454 File model = new File ( System .getProperty ( "basedir" ), "src/test/models/model-with-post-tags.xml" );
5555
5656 MavenXpp3Reader reader = new MavenXpp3Reader ();
You can’t perform that action at this time.
0 commit comments