You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2023/03/04 18:02:38 UTC

[maven-shade-plugin] branch MSHADE-420 created (now 50a6571)

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a change to branch MSHADE-420
in repository https://gitbox.apache.org/repos/asf/maven-shade-plugin.git


      at 50a6571  [MSHADE-420] create IT: 2 runs with different TZ give different jars

This branch includes the following new commits:

     new 50a6571  [MSHADE-420] create IT: 2 runs with different TZ give different jars

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-shade-plugin] 01/01: [MSHADE-420] create IT: 2 runs with different TZ give different jars

Posted by hb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch MSHADE-420
in repository https://gitbox.apache.org/repos/asf/maven-shade-plugin.git

commit 50a6571ed385be208f48bccc44b7ae02d41c0364
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sat Mar 4 19:01:17 2023 +0100

    [MSHADE-420] create IT: 2 runs with different TZ give different jars
---
 src/it/projects/MSHADE-420/invoker.properties | 19 +++++++
 src/it/projects/MSHADE-420/pom.xml            | 73 +++++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/src/it/projects/MSHADE-420/invoker.properties b/src/it/projects/MSHADE-420/invoker.properties
new file mode 100644
index 0000000..cf4249c
--- /dev/null
+++ b/src/it/projects/MSHADE-420/invoker.properties
@@ -0,0 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+invoker.goals.1 = clean package -Duser.timezone=UTC -DfinalName=UTC
+invoker.goals.2 = package -Duser.timezone=Japan/Tokyo -DfinalName=Tokyo
diff --git a/src/it/projects/MSHADE-420/pom.xml b/src/it/projects/MSHADE-420/pom.xml
new file mode 100644
index 0000000..ffdbc3e
--- /dev/null
+++ b/src/it/projects/MSHADE-420/pom.xml
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<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">
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.maven.its.shade.parallel</groupId>
+  <artifactId>mshade420</artifactId>
+  <version>1.0</version>
+
+  <name>MSHADE-420</name>
+  <description>
+    Some jar entries are timezone-sensitive.
+  </description>
+
+  <dependencies>
+    <dependency>
+      <groupId>net.java.dev.jna</groupId>
+      <artifactId>jna</artifactId>
+      <version>5.13.0</version>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-shade-plugin</artifactId>
+        <version>@project.version@</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>shade</goal>
+            </goals>
+            <configuration>
+              <finalName>${finalName}</finalName>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <version>3.5.0</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>copy-dependencies</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>