Skip to content

Commit 5af91da

Browse files
authored
cleanup: fix pom xml to add namespace (GoogleCloudPlatform#7886)
## Description - This is a cleanup done in preparation to the Q2-23 fixit - I am trying to fix all the incorrect GroupId usages in the pom xml to `com.example.product`. - Manually doing this is impossible. Thus I need to do it programatically. - For me to be able to programatically be able to parse the xml files it need to have the correct namespaces - In a followup PR I will open the proper GroupID change ## Checklist - [X] Please **merge** this PR for me once it is approved
1 parent eee2751 commit 5af91da

File tree

100 files changed

+378
-280
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+378
-280
lines changed

appengine-java11/gaeinfo/pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Copyright 2019 Google LLC
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
-->
16-
<project>
16+
<project xmlns="http://maven.apache.org/POM/4.0.0"
17+
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">
1718
<modelVersion>4.0.0</modelVersion>
1819
<packaging>war</packaging>
1920
<version>1.0-SNAPSHOT</version>
@@ -40,8 +41,8 @@ Copyright 2019 Google LLC
4041
${project.build.directory}/appengine-staging -->
4142
<dependencies>
4243
<!-- Dependency needs to be locally install from directory -->
43-
<!-- `java-docs-samples/appengine-java11/appengine-simple-jetty-main' -->
44-
<!-- See the README for more information -->
44+
<!-- `java-docs-samples/appengine-java11/appengine-simple-jetty-main' -->
45+
<!-- See the README for more information -->
4546
<dependency>
4647
<groupId>com.example.appengine.demo</groupId>
4748
<artifactId>simple-jetty-main</artifactId>

appengine-java8/analytics/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
-->
16-
<project>
16+
<project xmlns="http://maven.apache.org/POM/4.0.0"
17+
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">
1718
<modelVersion>4.0.0</modelVersion>
1819
<packaging>war</packaging>
1920
<version>1.0-SNAPSHOT</version>

appengine-java8/appidentity/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
-->
16-
<project>
16+
<project xmlns="http://maven.apache.org/POM/4.0.0"
17+
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">
1718
<modelVersion>4.0.0</modelVersion>
1819
<packaging>war</packaging>
1920
<version>1.0-SNAPSHOT</version>

appengine-java8/bigquery/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
-->
16-
<project>
16+
<project xmlns="http://maven.apache.org/POM/4.0.0"
17+
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">
1718
<modelVersion>4.0.0</modelVersion>
1819
<packaging>war</packaging>
1920
<version>1.0-SNAPSHOT</version>

appengine-java8/datastore-indexes-exploding/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
-->
16-
<project>
16+
<project xmlns="http://maven.apache.org/POM/4.0.0"
17+
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">
1718
<modelVersion>4.0.0</modelVersion>
1819
<packaging>war</packaging>
1920
<version>1.0-SNAPSHOT</version>

appengine-java8/datastore-indexes-perfect/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
-->
16-
<project>
16+
<project xmlns="http://maven.apache.org/POM/4.0.0"
17+
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">
1718
<modelVersion>4.0.0</modelVersion>
1819
<packaging>war</packaging>
1920
<version>1.0-SNAPSHOT</version>

appengine-java8/datastore-indexes/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
-->
16-
<project>
16+
<project xmlns="http://maven.apache.org/POM/4.0.0"
17+
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">
1718
<modelVersion>4.0.0</modelVersion>
1819
<packaging>war</packaging>
1920
<version>1.0-SNAPSHOT</version>

appengine-java8/datastore-schedule-export/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
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">
34
<modelVersion>4.0.0</modelVersion>
45
<packaging>war</packaging>
56
<version>1.0-SNAPSHOT</version>

appengine-java8/datastore/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
-->
16-
<project>
16+
<project xmlns="http://maven.apache.org/POM/4.0.0"
17+
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">
1718
<modelVersion>4.0.0</modelVersion>
1819
<packaging>war</packaging>
1920
<version>1.0-SNAPSHOT</version>
@@ -65,7 +66,7 @@
6566

6667
<dependency>
6768
<groupId>com.google.code.findbugs</groupId>
68-
<artifactId>jsr305</artifactId> <!-- @Nullable annotations -->
69+
<artifactId>jsr305</artifactId> <!-- @Nullable annotations -->
6970
<version>3.0.2</version>
7071
</dependency>
7172

appengine-java8/endpoints-v2-backend/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
-->
16-
<project>
16+
<project xmlns="http://maven.apache.org/POM/4.0.0"
17+
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">
1718
<modelVersion>4.0.0</modelVersion>
1819
<packaging>war</packaging>
1920
<version>1.0-SNAPSHOT</version>

0 commit comments

Comments
 (0)