Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
3a9d6242
Commit
3a9d6242
authored
Nov 14, 2014
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sync up versions used in Maven integration tests
Fixes gh-1797
parent
345ced16
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
40 additions
and
30 deletions
+40
-30
pom.xml
...ing-boot-maven-plugin/src/it/jar-exclude-artifact/pom.xml
+2
-2
pom.xml
...spring-boot-maven-plugin/src/it/jar-exclude-entry/pom.xml
+2
-2
pom.xml
...spring-boot-maven-plugin/src/it/jar-exclude-group/pom.xml
+2
-2
pom.xml
...aven-plugin/src/it/jar-lib-name-conflict/acme-lib/pom.xml
+1
-1
pom.xml
...-plugin/src/it/jar-lib-name-conflict/test-project/pom.xml
+1
-1
pom.xml
...oot-tools/spring-boot-maven-plugin/src/it/jar-pom/pom.xml
+2
-2
pom.xml
...ls/spring-boot-maven-plugin/src/it/jar-test-scope/pom.xml
+3
-3
pom.xml
...s/spring-boot-maven-plugin/src/it/jar-with-unpack/pom.xml
+3
-3
verify.groovy
...ng-boot-maven-plugin/src/it/jar-with-unpack/verify.groovy
+2
-2
pom.xml
...ng-boot-tools/spring-boot-maven-plugin/src/it/jar/pom.xml
+2
-2
pom.xml
...g-boot-tools/spring-boot-maven-plugin/src/it/prop/pom.xml
+2
-2
pom.xml
...tools/spring-boot-maven-plugin/src/it/run-exclude/pom.xml
+2
-2
pom.xml
...ng-boot-tools/spring-boot-maven-plugin/src/it/war/pom.xml
+2
-2
Verify.java
.../src/test/java/org/springframework/boot/maven/Verify.java
+14
-4
No files found.
spring-boot-tools/spring-boot-maven-plugin/src/it/jar-exclude-artifact/pom.xml
View file @
3a9d6242
...
...
@@ -43,12 +43,12 @@
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
<version>
4.0.5.RELEASE
</version>
<version>
@spring.version@
</version>
</dependency>
<dependency>
<groupId>
javax.servlet
</groupId>
<artifactId>
javax.servlet-api
</artifactId>
<version>
3.0.1
</version>
<version>
@servlet-api.version@
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
...
...
spring-boot-tools/spring-boot-maven-plugin/src/it/jar-exclude-entry/pom.xml
View file @
3a9d6242
...
...
@@ -48,12 +48,12 @@
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
<version>
4.0.5.RELEASE
</version>
<version>
@spring.version@
</version>
</dependency>
<dependency>
<groupId>
javax.servlet
</groupId>
<artifactId>
javax.servlet-api
</artifactId>
<version>
3.0.1
</version>
<version>
@servlet-api.version@
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
...
...
spring-boot-tools/spring-boot-maven-plugin/src/it/jar-exclude-group/pom.xml
View file @
3a9d6242
...
...
@@ -43,12 +43,12 @@
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
<version>
4.0.5.RELEASE
</version>
<version>
@spring.version@
</version>
</dependency>
<dependency>
<groupId>
javax.servlet
</groupId>
<artifactId>
javax.servlet-api
</artifactId>
<version>
3.0.1
</version>
<version>
@servlet-api.version@
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
...
...
spring-boot-tools/spring-boot-maven-plugin/src/it/jar-lib-name-conflict/acme-lib/pom.xml
View file @
3a9d6242
...
...
@@ -14,7 +14,7 @@
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
<version>
4.0.5.RELEASE
</version>
<version>
@spring.version@
</version>
</dependency>
</dependencies>
</project>
spring-boot-tools/spring-boot-maven-plugin/src/it/jar-lib-name-conflict/test-project/pom.xml
View file @
3a9d6242
...
...
@@ -51,7 +51,7 @@
<dependency>
<groupId>
javax.servlet
</groupId>
<artifactId>
javax.servlet-api
</artifactId>
<version>
3.0.1
</version>
<version>
@servlet-api.version@
</version>
<scope>
provided
</scope>
</dependency>
</dependencies>
...
...
spring-boot-tools/spring-boot-maven-plugin/src/it/jar-pom/pom.xml
View file @
3a9d6242
...
...
@@ -29,12 +29,12 @@
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
<version>
4.0.5.RELEASE
</version>
<version>
@spring.version@
</version>
</dependency>
<dependency>
<groupId>
javax.servlet
</groupId>
<artifactId>
javax.servlet-api
</artifactId>
<version>
3.0.1
</version>
<version>
@servlet-api.version@
</version>
<scope>
provided
</scope>
</dependency>
</dependencies>
...
...
spring-boot-tools/spring-boot-maven-plugin/src/it/jar-test-scope/pom.xml
View file @
3a9d6242
...
...
@@ -43,18 +43,18 @@
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
<version>
4.0.5.RELEASE
</version>
<version>
@spring.version@
</version>
</dependency>
<dependency>
<groupId>
javax.servlet
</groupId>
<artifactId>
javax.servlet-api
</artifactId>
<version>
3.0.1
</version>
<version>
@servlet-api.version@
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
log4j
</groupId>
<artifactId>
log4j
</artifactId>
<version>
1.2.17
</version>
<version>
@log4j.version@
</version>
<scope>
test
</scope>
</dependency>
</dependencies>
...
...
spring-boot-tools/spring-boot-maven-plugin/src/it/jar-with-unpack/pom.xml
View file @
3a9d6242
...
...
@@ -48,18 +48,18 @@
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
<version>
4.0.5.RELEASE
</version>
<version>
@spring.version@
</version>
</dependency>
<dependency>
<groupId>
javax.servlet
</groupId>
<artifactId>
javax.servlet-api
</artifactId>
<version>
3.0.1
</version>
<version>
@servlet-api.version@
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
log4j
</groupId>
<artifactId>
log4j
</artifactId>
<version>
1.2.17
</version>
<version>
@log4j.version@
</version>
</dependency>
</dependencies>
</project>
spring-boot-tools/spring-boot-maven-plugin/src/it/jar-with-unpack/verify.groovy
View file @
3a9d6242
...
...
@@ -22,7 +22,7 @@ new Verify.JarArchiveVerification(f, Verify.SAMPLE_APP) {
@Override
protected
void
verifyZipEntries
(
Verify
.
ArchiveVerifier
verifier
)
throws
Exception
{
super
.
verifyZipEntries
(
verifier
)
verifier
.
hasUnpackEntry
(
"lib/spring-core-
4.0.5.RELEASE.jar
"
)
verifier
.
hasNonUnpackEntry
(
"lib/spring-context-
4.0.5.RELEASE.jar
"
)
verifier
.
hasUnpackEntry
(
"lib/spring-core-"
)
verifier
.
hasNonUnpackEntry
(
"lib/spring-context-"
)
}
}.
verify
();
spring-boot-tools/spring-boot-maven-plugin/src/it/jar/pom.xml
View file @
3a9d6242
...
...
@@ -43,12 +43,12 @@
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
<version>
4.0.5.RELEASE
</version>
<version>
@spring.version@
</version>
</dependency>
<dependency>
<groupId>
javax.servlet
</groupId>
<artifactId>
javax.servlet-api
</artifactId>
<version>
3.0.1
</version>
<version>
@servlet-api.version@
</version>
<scope>
provided
</scope>
</dependency>
</dependencies>
...
...
spring-boot-tools/spring-boot-maven-plugin/src/it/prop/pom.xml
View file @
3a9d6242
...
...
@@ -43,12 +43,12 @@
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
<version>
4.0.5.RELEASE
</version>
<version>
@spring.version@
</version>
</dependency>
<dependency>
<groupId>
javax.servlet
</groupId>
<artifactId>
javax.servlet-api
</artifactId>
<version>
3.0.1
</version>
<version>
@servlet-api.version@
</version>
<scope>
provided
</scope>
</dependency>
</dependencies>
...
...
spring-boot-tools/spring-boot-maven-plugin/src/it/run-exclude/pom.xml
View file @
3a9d6242
...
...
@@ -38,12 +38,12 @@
<dependency>
<groupId>
log4j
</groupId>
<artifactId>
log4j
</artifactId>
<version>
1.2.17
</version>
<version>
@log4j.version@
</version>
</dependency>
<dependency>
<groupId>
javax.servlet
</groupId>
<artifactId>
javax.servlet-api
</artifactId>
<version>
3.0.1
</version>
<version>
@servlet-api.version@
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
...
...
spring-boot-tools/spring-boot-maven-plugin/src/it/war/pom.xml
View file @
3a9d6242
...
...
@@ -42,12 +42,12 @@
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
<version>
4.0.5.RELEASE
</version>
<version>
@spring.version@
</version>
</dependency>
<dependency>
<groupId>
javax.servlet
</groupId>
<artifactId>
javax.servlet-api
</artifactId>
<version>
3.0.1
</version>
<version>
@servlet-api.version@
</version>
<scope>
provided
</scope>
</dependency>
</dependencies>
...
...
spring-boot-tools/spring-boot-maven-plugin/src/test/java/org/springframework/boot/maven/Verify.java
View file @
3a9d6242
...
...
@@ -87,15 +87,25 @@ public class Verify {
}
}
public
boolean
hasNonUnpackEntry
(
String
entry
)
{
return
!
hasUnpackEntry
(
entry
);
public
boolean
hasNonUnpackEntry
(
String
entry
Name
)
{
return
!
hasUnpackEntry
(
entry
Name
);
}
public
boolean
hasUnpackEntry
(
String
entry
)
{
String
comment
=
this
.
content
.
get
(
entry
).
getComment
();
public
boolean
hasUnpackEntry
(
String
entry
Name
)
{
String
comment
=
getEntryStartingWith
(
entryName
).
getComment
();
return
comment
!=
null
&&
comment
.
startsWith
(
"UNPACK:"
);
}
private
ZipEntry
getEntryStartingWith
(
String
entryName
)
{
for
(
Map
.
Entry
<
String
,
ZipEntry
>
entry
:
this
.
content
.
entrySet
())
{
if
(
entry
.
getKey
().
startsWith
(
entryName
))
{
return
entry
.
getValue
();
}
}
throw
new
IllegalStateException
(
"Unable to find entry starting with "
+
entryName
);
}
public
boolean
hasEntry
(
String
entry
)
{
return
this
.
content
.
containsKey
(
entry
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment