Skip to content

Commit 5af91da

Browse files
authored
cleanup: fix pom xml to add namespace (#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

+4-3
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

+2-1
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

+2-1
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

+2-1
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

+2-1
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

+2-1
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

+2-1
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

+2-1
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

+3-2
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

+2-1
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/endpoints-v2-guice/pom.xml

+4-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
-->
17-
<project>
17+
<project xmlns="http://maven.apache.org/POM/4.0.0"
18+
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">
1819
<modelVersion>4.0.0</modelVersion>
1920
<packaging>war</packaging>
2021
<version>1.0-SNAPSHOT</version>
@@ -31,7 +32,7 @@
3132
<artifactId>shared-configuration</artifactId>
3233
<version>1.2.0</version>
3334
</parent>
34-
35+
3536
<properties>
3637
<maven.compiler.target>1.8</maven.compiler.target>
3738
<maven.compiler.source>1.8</maven.compiler.source>
@@ -40,7 +41,7 @@
4041
<endpoints.management.version>1.0.4</endpoints.management.version>
4142
<endpoints.project.id>YOUR_PROJECT_ID</endpoints.project.id>
4243
</properties>
43-
44+
4445
<dependencies>
4546
<!-- Compile/runtime dependencies -->
4647
<dependency>

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

+7-6
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
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>
@@ -103,11 +104,11 @@ limitations under the License.
103104
You must replace YOUR_PROJECT_ID with your
104105
Google Cloud Project Id
105106
-->
106-
<hostname>YOUR_PROJECT_ID.appspot.com</hostname>
107-
</configuration>
108-
</plugin>
109-
<!-- [END endpoints_maven_configuration] -->
110-
</plugins>
107+
<hostname>YOUR_PROJECT_ID.appspot.com</hostname>
108+
</configuration>
109+
</plugin>
110+
<!-- [END endpoints_maven_configuration] -->
111+
</plugins>
111112
</build>
112113
<!-- [END pom_build] -->
113114
</project>

appengine-java8/firebase-event-proxy/pom.xml

+10-9
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
See the License for the specific language governing permissions and
1313
limitations under the License.
1414
-->
15-
<project>
15+
<project xmlns="http://maven.apache.org/POM/4.0.0"
16+
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">
1617
<modelVersion>4.0.0</modelVersion>
1718
<packaging>war</packaging>
1819
<version>1.0-SNAPSHOT</version>
@@ -78,16 +79,16 @@
7879

7980
<!-- Test Dependencies -->
8081
<dependency>
81-
<groupId>com.google.appengine</groupId>
82-
<artifactId>appengine-testing</artifactId>
83-
<version>2.0.12</version>
84-
<scope>test</scope>
82+
<groupId>com.google.appengine</groupId>
83+
<artifactId>appengine-testing</artifactId>
84+
<version>2.0.12</version>
85+
<scope>test</scope>
8586
</dependency>
8687
<dependency>
87-
<groupId>com.google.appengine</groupId>
88-
<artifactId>appengine-api-stubs</artifactId>
89-
<version>2.0.12</version>
90-
<scope>test</scope>
88+
<groupId>com.google.appengine</groupId>
89+
<artifactId>appengine-api-stubs</artifactId>
90+
<version>2.0.12</version>
91+
<scope>test</scope>
9192
</dependency>
9293
</dependencies>
9394

appengine-java8/firebase-tictactoe/pom.xml

+26-25
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>
@@ -78,40 +79,40 @@
7879

7980
<!-- Test Dependencies -->
8081
<dependency>
81-
<groupId>junit</groupId>
82-
<artifactId>junit</artifactId>
83-
<version>4.13.2</version>
84-
<scope>test</scope>
82+
<groupId>junit</groupId>
83+
<artifactId>junit</artifactId>
84+
<version>4.13.2</version>
85+
<scope>test</scope>
8586
</dependency>
8687
<dependency>
87-
<groupId>org.mockito</groupId>
88-
<artifactId>mockito-all</artifactId>
89-
<version>1.10.19</version>
90-
<scope>test</scope>
88+
<groupId>org.mockito</groupId>
89+
<artifactId>mockito-all</artifactId>
90+
<version>1.10.19</version>
91+
<scope>test</scope>
9192
</dependency>
9293
<dependency>
93-
<groupId>com.google.appengine</groupId>
94-
<artifactId>appengine-testing</artifactId>
95-
<version>2.0.12</version>
96-
<scope>test</scope>
94+
<groupId>com.google.appengine</groupId>
95+
<artifactId>appengine-testing</artifactId>
96+
<version>2.0.12</version>
97+
<scope>test</scope>
9798
</dependency>
9899
<dependency>
99-
<groupId>com.google.appengine</groupId>
100-
<artifactId>appengine-api-stubs</artifactId>
101-
<version>2.0.12</version>
102-
<scope>test</scope>
100+
<groupId>com.google.appengine</groupId>
101+
<artifactId>appengine-api-stubs</artifactId>
102+
<version>2.0.12</version>
103+
<scope>test</scope>
103104
</dependency>
104105
<dependency>
105-
<groupId>com.google.appengine</groupId>
106-
<artifactId>appengine-tools-sdk</artifactId>
107-
<version>2.0.12</version>
108-
<scope>test</scope>
106+
<groupId>com.google.appengine</groupId>
107+
<artifactId>appengine-tools-sdk</artifactId>
108+
<version>2.0.12</version>
109+
<scope>test</scope>
109110
</dependency>
110111
<dependency>
111-
<groupId>com.google.truth</groupId>
112-
<artifactId>truth</artifactId>
113-
<version>1.1.3</version>
114-
<scope>test</scope>
112+
<groupId>com.google.truth</groupId>
113+
<artifactId>truth</artifactId>
114+
<version>1.1.3</version>
115+
<scope>test</scope>
115116
</dependency>
116117
</dependencies>
117118
<build>

appengine-java8/gaeinfo/pom.xml

+4-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ Copyright 2017 Google Inc.
1414
limitations under the License.
1515
-->
1616
<!-- [START pom] -->
17-
<project>
17+
<project xmlns="http://maven.apache.org/POM/4.0.0"
18+
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">
1819
<modelVersion>4.0.0</modelVersion>
1920
<packaging>war</packaging>
2021
<version>1.0-SNAPSHOT</version>
@@ -32,7 +33,7 @@ Copyright 2017 Google Inc.
3233
</parent>
3334

3435
<!-- [START compiler] -->
35-
<properties> <!-- App Engine Standard currently requires Java 8 -->
36+
<properties> <!-- App Engine Standard currently requires Java 8 -->
3637
<maven.compiler.target>1.8</maven.compiler.target>
3738
<maven.compiler.source>1.8</maven.compiler.source>
3839
</properties>
@@ -109,4 +110,4 @@ Copyright 2017 Google Inc.
109110
</plugins>
110111
</build>
111112
</project>
112-
<!-- [END pom] -->
113+
<!-- [END pom] -->

appengine-java8/iap/pom.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Copyright 2017 Google Inc.
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/images/pom.xml

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Copyright 2015 Google Inc.
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>
@@ -39,7 +40,7 @@ Copyright 2015 Google Inc.
3940
<dependency>
4041
<groupId>com.google.appengine</groupId>
4142
<artifactId>appengine-api-1.0-sdk</artifactId>
42-
<version>2.0.12</version>
43+
<version>2.0.12</version>
4344
</dependency>
4445

4546
<dependency>

appengine-java8/mail/pom.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Copyright 2016 Google Inc.
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/mailgun/pom.xml

+2-1
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/mailjet/pom.xml

+2-1
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/memcache/pom.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Copyright 2015 Google Inc.
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/metadata/pom.xml

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ Copyright 2017 Google Inc.
1414
limitations under the License.
1515
-->
1616
<!-- [START pom] -->
17-
<project>
17+
<project xmlns="http://maven.apache.org/POM/4.0.0"
18+
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">
1819
<modelVersion>4.0.0</modelVersion>
1920
<packaging>war</packaging>
2021
<version>1.0-SNAPSHOT</version>
@@ -104,4 +105,4 @@ Copyright 2017 Google Inc.
104105
</plugins>
105106
</build>
106107
</project>
107-
<!-- [END pom] -->
108+
<!-- [END pom] -->

0 commit comments

Comments
 (0)