-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] ApplicationFormatter: detect the namespace for Maven placeholde…
…rs (#243) When the manifest.json contains a Maven placeholder the namespace cannot be detected properly. With this extension the namespace can be resolved from the pom.xml from the pom entries or Maven properties.
- Loading branch information
1 parent
81e29f0
commit 250571b
Showing
6 changed files
with
191 additions
and
8 deletions.
There are no files selected for viewing
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
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,41 @@ | ||
<?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"> | ||
|
||
|
||
<!--************************************************************************** | ||
* POM SECTION: Maven Model Version Settings | ||
***************************************************************************--> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
|
||
|
||
<!--************************************************************************** | ||
* POM SECTION: Maven Settings | ||
***************************************************************************--> | ||
|
||
<groupId>com.sap.test</groupId> | ||
<artifactId>application.h</artifactId> | ||
<version>1.0.0</version> | ||
<packaging>war</packaging> | ||
|
||
|
||
<!--************************************************************************** | ||
* POM SECTION: Project Settings | ||
***************************************************************************--> | ||
|
||
<name>application.h</name> | ||
<description>Simple SAPUI5 based application</description> | ||
|
||
|
||
<!--************************************************************************** | ||
* POM SECTION: Properties Settings | ||
***************************************************************************--> | ||
|
||
<properties> | ||
|
||
<componentName>application.h</componentName> | ||
|
||
</properties> | ||
|
||
|
||
</project> |
13 changes: 13 additions & 0 deletions
13
test/fixtures/application.h/webapp-project.artifactId/manifest.json
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,13 @@ | ||
{ | ||
"_version": "1.1.0", | ||
"sap.app": { | ||
"_version": "1.1.0", | ||
"id": "${project.artifactId}", | ||
"type": "application", | ||
"applicationVersion": { | ||
"version": "1.2.2" | ||
}, | ||
"embeds": ["embedded"], | ||
"title": "{{title}}" | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
test/fixtures/application.h/webapp-properties.appId/manifest.json
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,13 @@ | ||
{ | ||
"_version": "1.1.0", | ||
"sap.app": { | ||
"_version": "1.1.0", | ||
"id": "${appId}", | ||
"type": "application", | ||
"applicationVersion": { | ||
"version": "1.2.2" | ||
}, | ||
"embeds": ["embedded"], | ||
"title": "{{title}}" | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
test/fixtures/application.h/webapp-properties.componentName/manifest.json
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,13 @@ | ||
{ | ||
"_version": "1.1.0", | ||
"sap.app": { | ||
"_version": "1.1.0", | ||
"id": "${componentName}", | ||
"type": "application", | ||
"applicationVersion": { | ||
"version": "1.2.2" | ||
}, | ||
"embeds": ["embedded"], | ||
"title": "{{title}}" | ||
} | ||
} |
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