forked from mojohaus/versions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue mojohaus#931: Work in progress
- Loading branch information
Showing
4 changed files
with
52 additions
and
9 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
versions-maven-plugin/src/it/it-use-dep-version-issue-931-umlauts/api/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>test-group</groupId> | ||
<artifactId>test-artifact</artifactId> | ||
<version>DEVELOP-SNAPSHOT</version> | ||
</parent> | ||
<artifactId>foo-api</artifactId> | ||
<packaging>jar</packaging> | ||
<name>api</name> | ||
<description>API of the foo module</description> | ||
|
||
<dependencies> | ||
</dependencies> | ||
</project> |
17 changes: 17 additions & 0 deletions
17
versions-maven-plugin/src/it/it-use-dep-version-issue-931-umlauts/core/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>test-group</groupId> | ||
<artifactId>test-artifact</artifactId> | ||
<version>DEVELOP-SNAPSHOT</version> | ||
</parent> | ||
<artifactId>foo-core</artifactId> | ||
<packaging>jar</packaging> | ||
<name>core</name> | ||
<description>API of the foo module</description> | ||
|
||
<dependencies> | ||
</dependencies> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
versions-maven-plugin/src/it/it-use-dep-version-issue-931-umlauts/verify.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import groovy.xml.XmlSlurper | ||
|
||
def project = new XmlSlurper().parse( new File( basedir, 'pom.xml' ) ) | ||
assert project.dependencies.dependency.version == '1.0.1' | ||
assert project.dependencyManagement.dependencies.dependency.version == '1.0.1' | ||
assert project.description == 'Wörter mit Umlauten' |