mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-01 03:07:51 +08:00
Merge pull request #276 from GLYASAI/RAINBOND-899
[REV] Use * to indicate the name that cannot be recognized.
This commit is contained in:
commit
11f8d09554
@ -208,6 +208,10 @@ func (p *pom) getExecuteFilename(finalName string) string {
|
||||
if p.Name != "" {
|
||||
name = p.Name
|
||||
}
|
||||
} else if finalName == "${project.artifactId}" {
|
||||
name = p.ArtifactID
|
||||
} else if strings.HasPrefix(finalName, "") && strings.HasSuffix(finalName, "}") {
|
||||
name = "*"
|
||||
} else if finalName != "" {
|
||||
name = finalName
|
||||
}
|
||||
|
@ -2,4 +2,7 @@
|
||||
<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/xsd/maven-4.0.0.xsd">
|
||||
<artifactId>rbd-monitor</artifactId>
|
||||
<build>
|
||||
<finalName>${abc}</finalName>
|
||||
</build>
|
||||
</project>
|
||||
|
Loading…
Reference in New Issue
Block a user