mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Maven: test
This commit is contained in:
+33
@@ -291,6 +291,39 @@ public class DependenciesImportingTest extends MavenImportingTestCase {
|
||||
assertModuleModuleDeps("m1", "m2");
|
||||
}
|
||||
|
||||
public void testInterSnapshotModuleDependenciesWithVersionRanges() throws Exception {
|
||||
createProjectPom("<groupId>test</groupId>" +
|
||||
"<artifactId>project</artifactId>" +
|
||||
"<packaging>pom</packaging>" +
|
||||
"<version>1</version>" +
|
||||
|
||||
"<modules>" +
|
||||
" <module>m1</module>" +
|
||||
" <module>m2</module>" +
|
||||
"</modules>");
|
||||
|
||||
createModulePom("m1", "<groupId>test</groupId>" +
|
||||
"<artifactId>m1</artifactId>" +
|
||||
"<version>1</version>" +
|
||||
|
||||
"<dependencies>" +
|
||||
" <dependency>" +
|
||||
" <groupId>test</groupId>" +
|
||||
" <artifactId>m2</artifactId>" +
|
||||
" <version>[, 1-SNAPSHOT]</version>" +
|
||||
" </dependency>" +
|
||||
"</dependencies>");
|
||||
|
||||
createModulePom("m2", "<groupId>test</groupId>" +
|
||||
"<artifactId>m2</artifactId>" +
|
||||
"<version>1-SNAPSHOT</version>");
|
||||
|
||||
importProject();
|
||||
assertModules("project", "m1", "m2");
|
||||
|
||||
assertModuleModuleDeps("m1", "m2");
|
||||
}
|
||||
|
||||
public void testInterModuleDependenciesWithoutModuleGroup() throws Exception {
|
||||
createProjectPom("<groupId>test</groupId>" +
|
||||
"<artifactId>project</artifactId>" +
|
||||
|
||||
Reference in New Issue
Block a user