Skip to content

Commit

Permalink
Merge pull request #276 from GLYASAI/RAINBOND-899
Browse files Browse the repository at this point in the history
[REV] Use * to indicate the name that cannot be recognized.
  • Loading branch information
barnettZQG authored Apr 14, 2019
2 parents 8db0d6f + 91b38c2 commit 11f8d09
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions builder/parser/code/multisvc/maven.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
3 changes: 3 additions & 0 deletions builder/parser/code/multisvc/rbd-monitor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 11f8d09

Please sign in to comment.