projects/guix·blob java-team · refs

107 lines · 4.0 KiB

1Author: Danny Milosavljevic <[email protected]>
2Date: 2026-03-31
3Subject: Update simplevalidation to 1.14.1.
4
5diff -urN orig/ValidationAPI/pom.xml mod/ValidationAPI/pom.xml
6--- orig/ValidationAPI/pom.xml 2022-07-23 01:17:30.000000000 +0000
7+++ mod/ValidationAPI/pom.xml 2026-03-18 08:31:38.200321916 +0000
8@@ -4,7 +4,7 @@
9 <parent>
10 <artifactId>simplevalidation-parent</artifactId>
11 <groupId>com.mastfrog</groupId>
12- <version>1.14</version>
13+ <version>1.14.1</version>
14 </parent>
15 <modelVersion>4.0.0</modelVersion>
16 <artifactId>simplevalidation</artifactId>
17diff -urN orig/nbstubs/pom.xml mod/nbstubs/pom.xml
18--- orig/nbstubs/pom.xml 2022-07-23 01:17:30.000000000 +0000
19+++ mod/nbstubs/pom.xml 2026-03-18 08:31:38.200321916 +0000
20@@ -4,7 +4,7 @@
21 <parent>
22 <artifactId>simplevalidation-parent</artifactId>
23 <groupId>com.mastfrog</groupId>
24- <version>1.14</version>
25+ <version>1.14.1</version>
26 </parent>
27 <modelVersion>4.0.0</modelVersion>
28 <artifactId>nbstubs</artifactId>
29diff -urN orig/nbstubs/src/org/openide/util/lookup/ServiceProvider.java mod/nbstubs/src/org/openide/util/lookup/ServiceProvider.java
30--- orig/nbstubs/src/org/openide/util/lookup/ServiceProvider.java 1970-01-01 00:00:00.000000000 +0000
31+++ mod/nbstubs/src/org/openide/util/lookup/ServiceProvider.java 2026-03-18 08:31:38.200321916 +0000
32@@ -0,0 +1,31 @@
33+/*
34+ * Copyright 2025 Danny Milosavljevic
35+ *
36+ * Licensed under the Apache License, Version 2.0 (the "License");
37+ * you may not use this file except in compliance with the License.
38+ * You may obtain a copy of the License at
39+ *
40+ * http://www.apache.org/licenses/LICENSE-2.0
41+ *
42+ * Unless required by applicable law or agreed to in writing, software
43+ * distributed under the License is distributed on an "AS IS" BASIS,
44+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
45+ * See the License for the specific language governing permissions and
46+ * limitations under the License.
47+ */
48+package org.openide.util.lookup;
49+
50+import java.lang.annotation.ElementType;
51+import java.lang.annotation.Retention;
52+import java.lang.annotation.RetentionPolicy;
53+import java.lang.annotation.Target;
54+
55+@Retention(RetentionPolicy.SOURCE)
56+@Target(ElementType.TYPE)
57+public @interface ServiceProvider {
58+ Class<?> service();
59+
60+ String path() default "";
61+
62+ int position() default Integer.MAX_VALUE;
63+}
64diff -urN orig/pom.xml mod/pom.xml
65--- orig/pom.xml 2022-07-23 01:17:30.000000000 +0000
66+++ mod/pom.xml 2026-03-18 08:31:38.200321916 +0000
67@@ -21,7 +21,7 @@
68 </organization>
69 <packaging>pom</packaging>
70 <name>Simple Validation (parent)</name>
71- <version>1.14</version>
72+ <version>1.14.1</version>
73 <description>
74 Simple Validation Parent Project:
75 This is a simple library for quickly adding validation code to Swing user-interfaces.
76diff -urN orig/simplevalidation-swing/pom.xml mod/simplevalidation-swing/pom.xml
77--- orig/simplevalidation-swing/pom.xml 2022-07-23 01:17:30.000000000 +0000
78+++ mod/simplevalidation-swing/pom.xml 2026-03-18 08:41:00.326700212 +0000
79@@ -5,7 +5,7 @@
80 <parent>
81 <groupId>com.mastfrog</groupId>
82 <artifactId>simplevalidation-parent</artifactId>
83- <version>1.14</version>
84+ <version>1.14.1</version>
85 </parent>
86 <artifactId>simplevalidation-swing</artifactId>
87 <scm>
88@@ -49,17 +49,12 @@
89 </build>
90 <dependencies>
91 <dependency>
92- <groupId>${project.groupId}</groupId>
93+ <groupId>com.mastfrog</groupId>
94 <artifactId>simplevalidation</artifactId>
95 </dependency>
96 <dependency>
97- <groupId>${project.groupId}</groupId>
98+ <groupId>com.mastfrog</groupId>
99 <artifactId>nbstubs</artifactId>
100 </dependency>
101- <dependency>
102- <groupId>org.netbeans.api</groupId>
103- <artifactId>org-openide-util-lookup</artifactId>
104- <scope>provided</scope>
105- </dependency>
106 </dependencies>
107 </project>