|
23 | 23 | import java.io.File; |
24 | 24 | import java.io.IOException; |
25 | 25 | import java.util.Date; |
26 | | - |
27 | 26 | import junitparams.JUnitParamsRunner; |
28 | 27 | import junitparams.Parameters; |
29 | 28 | import org.joda.time.DateTime; |
@@ -74,19 +73,19 @@ public void testCraftPropertiesOutputFileWithFullPath() throws IOException { |
74 | 73 | .getCanonicalPath()); |
75 | 74 | } |
76 | 75 |
|
| 76 | + /** |
| 77 | + * test cases for output timestamp parsing. |
| 78 | + * This timestamp is configured for Reproducible Builds' archive entries |
| 79 | + * (https://maven.apache.org/guides/mini/guide-reproducible-builds.html). The value from <code> |
| 80 | + * ${project.build.outputTimestamp}</code> is either formatted as ISO 8601 <code> |
| 81 | + * yyyy-MM-dd'T'HH:mm:ssXXX</code> or as an int representing seconds since the epoch (like <a |
| 82 | + * href="https://reproducible-builds.org/docs/source-date-epoch/">SOURCE_DATE_EPOCH</a>. |
| 83 | + * When using ISO 8601 formatting please note that the entire expression must be entirely either |
| 84 | + * in the basic format (20240215T135459+0100) or in the |
| 85 | + * extended format (e.g. 2024-02-15T13:54:59+01:00). |
| 86 | + * The maven plugin only supports the extended format. |
| 87 | + */ |
77 | 88 | private Object[] parametersParseOutputTimestamp() { |
78 | | - /** |
79 | | - * test cases for output timestamp parsing. |
80 | | - * This timestamp is configured for Reproducible Builds' archive entries |
81 | | - * (https://maven.apache.org/guides/mini/guide-reproducible-builds.html). The value from <code> |
82 | | - * ${project.build.outputTimestamp}</code> is either formatted as ISO 8601 <code> |
83 | | - * yyyy-MM-dd'T'HH:mm:ssXXX</code> or as an int representing seconds since the epoch (like <a |
84 | | - * href="https://reproducible-builds.org/docs/source-date-epoch/">SOURCE_DATE_EPOCH</a>. |
85 | | - * When using ISO 8601 formatting please note that the entire expression must be entirely either |
86 | | - * in the basic format (20240215T135459+0100) or in the |
87 | | - * extended format (e.g. 2024-02-15T13:54:59+01:00). |
88 | | - * The maven plugin only supports the extended format. |
89 | | - */ |
90 | 89 | return new Object[] { |
91 | 90 | // long since epoch |
92 | 91 | new Object[] { |
|
0 commit comments