Skip to content

Commit cc2506b

Browse files
harpreets789jzheaux
authored andcommitted
Fix: Correct OpenSAML 5.x Documentation
- Fixed invalid XML tags in dependency examples. - Corrected typo in `<artifactId>` ("opensaml-saml-imple" -> "opensaml-saml-impl"). - Excluded all OpenSAML 4.x dependencies. - Removed redundant dependencies (`opensaml-core-api` and `opensaml-core-impl`) as they are transitively included in `opensaml-saml-api` and `opensaml-saml-impl`. Closes gh-16191
1 parent dc82a6e commit cc2506b

File tree

1 file changed

+11
-28
lines changed

1 file changed

+11
-28
lines changed

docs/modules/ROOT/pages/servlet/saml2/opensaml.adoc

Lines changed: 11 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -25,44 +25,27 @@ Maven::
2525
+
2626
[source,maven,role="primary"]
2727
----
28-
<dependencyManagement>
29-
<dependencies>
30-
<dependency>
31-
<groupId>org.opensaml</groupId>
32-
<artifactId>opensaml-core-api</artifactId>
33-
<version>5.1.2</version>
34-
</dependency>
35-
<dependency>
36-
<groupId>org.opensaml</groupId>
37-
<artifactId>opensaml-core-impl</artifactId>
38-
<version>5.1.2</version>
39-
</dependency>
40-
<dependency>
41-
<groupId>org.opensaml</groupId>
42-
<artifactId>opensaml-saml-api</artifactId>
43-
<version>5.1.2</version>
44-
</dependency>
45-
<dependency>
46-
<groupId>org.opensaml</groupId>
47-
<artifactId>opensaml-saml-impl</artifactId>
48-
<version>5.1.2</version>
49-
</dependency>
50-
</dependencies>
51-
</dependencyManagement>
52-
53-
// ...
54-
5528
<dependencies>
5629
<dependency>
5730
<groupId>org.springframework.security</groupId>
5831
<artifactId>spring-security-saml2-service-provider</artifactId>
5932
<exclusions>
6033
<exclusion>
6134
<groupId>org.opensaml</groupId>
62-
<artifactId>opensaml-core</artifactId>
35+
<artifactId>*</artifactId>
6336
</exclusion>
6437
</exclusions>
6538
</dependency>
39+
<dependency>
40+
<groupId>org.opensaml</groupId>
41+
<artifactId>opensaml-saml-api</artifactId>
42+
<version>5.1.2</version>
43+
</dependency>
44+
<dependency>
45+
<groupId>org.opensaml</groupId>
46+
<artifactId>opensaml-saml-impl</artifactId>
47+
<version>5.1.2</version>
48+
</dependency>
6649
</dependencies>
6750
----
6851

0 commit comments

Comments
 (0)