File tree 6 files changed +27
-27
lines changed
src/org/eclipse/jgit/build/test
6 files changed +27
-27
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<classpath >
3
- <classpathentry kind =" src" output =" target/classes" path =" src" >
3
+ <classpathentry including = " **/*.java " kind =" src" output =" target/classes" path =" src" >
4
4
<attributes >
5
5
<attribute name =" optional" value =" true" />
6
6
<attribute name =" maven.pomderived" value =" true" />
7
7
</attributes >
8
8
</classpathentry >
9
- <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11 " >
9
+ <classpathentry kind =" con" path =" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17 " >
10
10
<attributes >
11
11
<attribute name =" maven.pomderived" value =" true" />
12
12
</attributes >
16
16
<attribute name =" maven.pomderived" value =" true" />
17
17
</attributes >
18
18
</classpathentry >
19
- <classpathentry kind =" src" path =" target/generated-sources/annotations" >
20
- <attributes >
21
- <attribute name =" optional" value =" true" />
22
- <attribute name =" maven.pomderived" value =" true" />
23
- <attribute name =" ignore_optional_problems" value =" true" />
24
- <attribute name =" m2e-apt" value =" true" />
25
- </attributes >
26
- </classpathentry >
27
- <classpathentry kind =" src" output =" target/test-classes" path =" target/generated-test-sources/test-annotations" >
28
- <attributes >
29
- <attribute name =" optional" value =" true" />
30
- <attribute name =" maven.pomderived" value =" true" />
31
- <attribute name =" ignore_optional_problems" value =" true" />
32
- <attribute name =" m2e-apt" value =" true" />
33
- </attributes >
34
- </classpathentry >
35
19
<classpathentry kind =" output" path =" target/classes" />
36
20
</classpath >
Original file line number Diff line number Diff line change 20
20
<nature >org.eclipse.m2e.core.maven2Nature</nature >
21
21
<nature >org.eclipse.jdt.core.javanature</nature >
22
22
</natures >
23
+ <filteredResources >
24
+ <filter >
25
+ <id >1733244779460</id >
26
+ <name ></name >
27
+ <type >30</type >
28
+ <matcher >
29
+ <id >org.eclipse.core.resources.regexFilterMatcher</id >
30
+ <arguments >node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments >
31
+ </matcher >
32
+ </filter >
33
+ </filteredResources >
23
34
</projectDescription >
Original file line number Diff line number Diff line change
1
+ eclipse.preferences.version =1
2
+ encoding/src =UTF-8
Original file line number Diff line number Diff line change 1
1
eclipse.preferences.version =1
2
- org.eclipse.jdt.core.compiler.codegen.targetPlatform =11
3
- org.eclipse.jdt.core.compiler.compliance =11
2
+ org.eclipse.jdt.core.compiler.codegen.targetPlatform =17
3
+ org.eclipse.jdt.core.compiler.compliance =17
4
4
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures =disabled
5
5
org.eclipse.jdt.core.compiler.problem.forbiddenReference =warning
6
6
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures =ignore
7
7
org.eclipse.jdt.core.compiler.processAnnotations =disabled
8
- org.eclipse.jdt.core.compiler.release =disabled
9
- org.eclipse.jdt.core.compiler.source =11
8
+ org.eclipse.jdt.core.compiler.release =enabled
9
+ org.eclipse.jdt.core.compiler.source =17
10
10
org.eclipse.jdt.core.formatter.align_fields_grouping_blank_lines =2147483647
11
11
org.eclipse.jdt.core.formatter.align_type_members_on_columns =false
12
12
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression =16
Original file line number Diff line number Diff line change 8
8
<name >jgit maven build test</name >
9
9
10
10
<properties >
11
- <java .version>11 </java .version>
12
- <jgit-version >7.0 .0.202409031743 -r</jgit-version >
11
+ <java .version>17 </java .version>
12
+ <jgit-version >7.1 .0.202411261347 -r</jgit-version >
13
13
</properties >
14
14
15
15
<build >
41
41
</snapshots >
42
42
<id >jgit-oss-staging</id >
43
43
<name >JGit OSS staging repository</name >
44
- <url >https://oss.sonatype.org/content/repositories/orgeclipsejgit-1205 </url >
44
+ <url >https://oss.sonatype.org/content/repositories/orgeclipsejgit-1206 </url >
45
45
<layout >default</layout >
46
46
</repository >
47
47
</repositories >
Original file line number Diff line number Diff line change 4
4
import java .nio .file .Files ;
5
5
6
6
import org .eclipse .jgit .lfs .Lfs ;
7
- import org .eclipse .jgit .lib .GpgSigner ;
7
+ import org .eclipse .jgit .lib .GpgConfig . GpgFormat ;
8
8
import org .eclipse .jgit .lib .Repository ;
9
+ import org .eclipse .jgit .lib .Signer ;
10
+ import org .eclipse .jgit .lib .Signers ;
9
11
import org .eclipse .jgit .storage .file .FileRepositoryBuilder ;
10
12
import org .eclipse .jgit .transport .SshSessionFactory ;
11
13
@@ -15,7 +17,8 @@ public static void main(String[] args) throws IOException {
15
17
Repository db = FileRepositoryBuilder .create (Files .createTempDirectory ("jgit-build-test" ).toFile ());
16
18
Lfs lfs = new Lfs (db );
17
19
System .out .println (lfs .getLfsObjDir ());
18
- GpgSigner signer = GpgSigner .getDefault ();
20
+
21
+ Signer signer = Signers .get (GpgFormat .OPENPGP );
19
22
System .out .println (signer .getClass ().getCanonicalName ());
20
23
SshSessionFactory sshFactory = SshSessionFactory .getInstance ();
21
24
System .out .println (sshFactory .getClass ().getCanonicalName ());
You can’t perform that action at this time.
0 commit comments