You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jena.apache.org by "MelleD (via GitHub)" <gi...@apache.org> on 2026/07/30 12:44:50 UTC

[I] Boms are not usable [jena]

MelleD opened a new issue, #4107:
URL: https://github.com/apache/jena/issues/4107

   ### Version
   
   6.1.0
   
   ### What happened?
   
   When adding `apache-jena-libs` or 'jena-bom' to a Maven paren tom project , the Spring version is overriden ,y apache shiro import.
   This makes  the current BOM/parent setup effectively unusable in any project that needs to control its own Spring version.
   
   Steps to Reproduce:
   
   Create a maven project and import
   
   ```
   <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/xsd/maven-4.0.0.xsd">
   
      <modelVersion>4.0.0</modelVersion>
   
      <parent>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-starter-parent</artifactId>
         <version>4.1.0</version>
      </parent>
      <dependencyManagement>
         <dependencies>
          <dependency>
                  <groupId>org.apache.jena</groupId>
                  <artifactId>jena-bom</artifactId>
                  <version>${jena.version}</version>
                  <type>pom</type>
               <scope>import</scope>
            </dependency>
   ```
   
   Run mvn dependency:tree or mvn help:effective-pom.
   
   and see that spring web ist 5.x.x instead of 7.x.x
   
   ### Relevant output and stacktrace
   
   ```shell
   
   ```
   
   ### Are you interested in making a pull request?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] BOM is not usable with spring-boot-starter-parent [jena]

Posted by "MelleD (via GitHub)" <gi...@apache.org>.
MelleD commented on issue #4107:
URL: https://github.com/apache/jena/issues/4107#issuecomment-5163496102

   > Have you tried the flattened BOM [#4114](https://github.com/apache/jena/pull/4114)?
   
   No not yet on my way :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] Boms are not usable [jena]

Posted by "MelleD (via GitHub)" <gi...@apache.org>.
MelleD commented on issue #4107:
URL: https://github.com/apache/jena/issues/4107#issuecomment-5131576297

   Thanks for the quick answer:
   
   > Have you tried using <exclusions> in your pom.xml to exclude the conflicting artefacts?
   
   Thats in maven 3.x.x not possible on scope import for poms. 
   
   Maybe your example missing the pom type
   
   ```
   <?xml version="1.0" encoding="UTF-8"?>
   <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/xsd/maven-4.0.0.xsd">
   
      <modelVersion>4.0.0</modelVersion>
   
      <parent>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-starter-parent</artifactId>
         <version>4.1.0</version>
      </parent>
   
      <groupId>test</groupId>
      <artifactId>test</artifactId>
      <version>DEV-SNAPSHOT</version>
      <packaging>pom</packaging>
      
      <properties>
            <jena.version>6.1.0</jena.version>
      </properties>
   
      <dependencyManagement>
         <dependencies>
            <!-- Jena -->
            <dependency>
                  <groupId>org.apache.jena</groupId>
                  <artifactId>jena-bom</artifactId>
                  <version>${jena.version}</version>
                  <type>pom</type>
               <scope>import</scope>
            </dependency>
         </dependencies>
      </dependencyManagement>
   </project>
   ```
   
   I see this on the effective pom
   
   <img width="731" height="773" alt="Image" src="https://github.com/user-attachments/assets/3035be20-9d54-41e7-97f7-de7de744f2c9" />
   
   
   If am going to this file https://github.com/apache/jena/blob/main/pom.xml
   
   I see the same result, when 
   
   <img width="744" height="747" alt="Image" src="https://github.com/user-attachments/assets/238996cb-5d4a-4a01-bd7b-5d6aa257b0a3" />
   
   When I remove
   
   ```
         <dependency>
           <groupId>org.apache.shiro</groupId>
           <artifactId>shiro-bom</artifactId>
           <version>${ver.shiro}</version>
           <scope>import</scope>
           <type>pom</type>
         </dependency>
   ```
   all is fine
   
   <img width="770" height="833" alt="Image" src="https://github.com/user-attachments/assets/93672a70-5e19-41f4-b237-abb548ee80ac" />


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] Boms are not usable [jena]

Posted by "afs (via GitHub)" <gi...@apache.org>.
afs commented on issue #4107:
URL: https://github.com/apache/jena/issues/4107#issuecomment-5153462881

   If it is just `shiro-bom` - Shiro has spring connection so it might well only be `shiro-bom` - then not using `shiro-bom` but just using `ver.shiro` is a possibility. There are only two Shiro dependencies.
   
   And, maybe, push the jetty BOM's into the Fuseki parent. While `jena-fuseki-core` is jakarta-servlet-only,  `jena-fuseki-main` and Fuseki servers are Jetty dependent. 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] Boms are not usable [jena]

Posted by "MelleD (via GitHub)" <gi...@apache.org>.
MelleD commented on issue #4107:
URL: https://github.com/apache/jena/issues/4107#issuecomment-5158257881

   > I opened the PR [#4114](https://github.com/apache/jena/pull/4114) with a proposed solution. Please check whether this solves your issue. Just install (`mvn install`) jena-bom which now includes the `flatten-maven-plugin` and see if using this new jena-bom pom.xml works as intended. The plugin creates a `.flattened-pom.xml` (note the leading dot that might make the file hidden) that replaces the original pom.xml.
   
   Sure thanks a lot let me check the next days if this helps 
   
   
   > Which Jena artifacts do you want to use?
   
   I'm not sure if we're talking past each other.
   
   You can check out my project and just run with Spring Web, and you'll see that it always uses the wrong version.
   It doesn't matter which Jena dependency you use.
   I'm happy to make an extra commit, though. But the current effective POM and my screenshots already show the version conflict—even with the BOM import.
   I'm not sure how a different dependency would change that.
   That's a perfect MRE, isn't it? ;)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] Boms are not usable [jena]

Posted by "afs (via GitHub)" <gi...@apache.org>.
afs commented on issue #4107:
URL: https://github.com/apache/jena/issues/4107#issuecomment-5147063985

   I didn't have a problem with your example. What should I be seeing?
   
   Where did you remove shiro-bom from?
   
   Which Jena artifacts do you want to use?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] BOM is not usable with spring-boot-starter-parent [jena]

Posted by "afs (via GitHub)" <gi...@apache.org>.
afs commented on issue #4107:
URL: https://github.com/apache/jena/issues/4107#issuecomment-5163250155

   Have you tried the flattened POM #4114?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] Boms are not usable [jena]

Posted by "afs (via GitHub)" <gi...@apache.org>.
afs commented on issue #4107:
URL: https://github.com/apache/jena/issues/4107#issuecomment-5143491924

   I'm not seeing where this is in you example:
   
   ```
         <dependency>
           <groupId>org.apache.shiro</groupId>
           <artifactId>shiro-bom</artifactId>
           <version>${ver.shiro}</version>
           <scope>import</scope>
           <type>pom</type>
         </dependency>
   ```
   
   jena-bom by itself doesn't pull in any dependencies.
   That happens when you use a jena dependency.
   
   jena-bom does not mention shiro. 
   shiro is a dependency in Fuseki.
   
   Which Jena artifacts do you want to use? That's where to control exclusions.
   
   So it sound like the maven resolve algorithm is making a choice you don't want. That is controlled by the exclusions on jar artifacts.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] Boms are not usable [jena]

Posted by "MelleD (via GitHub)" <gi...@apache.org>.
MelleD commented on issue #4107:
URL: https://github.com/apache/jena/issues/4107#issuecomment-5131749376

   Here is an MRE https://github.com/MelleD/jena-test
   
   mvn help:effective-pom | grep -A 2 spring-web
   ```
   --
             <artifactId>spring-websocket</artifactId>
             <version>7.0.8</version>
           </dependency>
   --
             <artifactId>spring-web</artifactId>
             <version>5.3.39</version>
             <exclusions>
   --
             <artifactId>spring-webmvc</artifactId>
             <version>5.3.39</version>
             <exclusions>
   --
             <artifactId>brave-instrumentation-spring-web</artifactId>
             <version>6.3.1</version>
           </dependency>
   --
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] BOM is not usable with spring-boot-starter-parent [jena]

Posted by "MelleD (via GitHub)" <gi...@apache.org>.
MelleD commented on issue #4107:
URL: https://github.com/apache/jena/issues/4107#issuecomment-5163536964

   So apache bom works with PR, @Aklakan kudos to you :)
   
   <img width="1363" height="1259" alt="Image" src="https://github.com/user-attachments/assets/40279fcd-7868-45f2-bfbf-3861d57fd71c" />
   
   
   But apache-libs (as expected without flatten) not, but I will use `jena-bom` so for me fine :). Just for you information.
   
   <img width="1380" height="1273" alt="Image" src="https://github.com/user-attachments/assets/69e15d74-44be-4b4e-a2f5-0000b5b7db6c" />
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] Boms are not usable [jena]

Posted by "Aklakan (via GitHub)" <gi...@apache.org>.
Aklakan commented on issue #4107:
URL: https://github.com/apache/jena/issues/4107#issuecomment-5152539186

   I opened a PR with a proposed solution. You want to try out whether this solves your issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] Boms are not usable [jena]

Posted by "afs (via GitHub)" <gi...@apache.org>.
afs commented on issue #4107:
URL: https://github.com/apache/jena/issues/4107#issuecomment-5159279095

   I don't think it is unreasonable to get as much background as possible in case the situation occurs elsewhere.
   
   Whether this is jena-as-a-library or jena-as-embedded-triple-store makes a difference.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] BOM is not usable with spring-boot-starter-parent [jena]

Posted by "MelleD (via GitHub)" <gi...@apache.org>.
MelleD commented on issue #4107:
URL: https://github.com/apache/jena/issues/4107#issuecomment-5165162622

   Yes the evil of all is the scope import without exclusion but this how poms/boms imports works in maven when you use dependency management for direct dependencies you are right but for management this will not work as far as I know.
   Let me try  


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] BOM is not usable with spring-boot-starter-parent [jena]

Posted by "MelleD (via GitHub)" <gi...@apache.org>.
MelleD commented on issue #4107:
URL: https://github.com/apache/jena/issues/4107#issuecomment-5165817925

   Jip without import it's not possible to use it as dependency management section.
   
   See new commit
   
   just run clean install
   
   ```
   [ERROR] [ERROR] Some problems were encountered while processing the POMs:
   [ERROR] 'dependencies.dependency.version' for org.apache.jena:jena-rdfpatch:jar is missing. @ line 25, column 19
    @ 
   [ERROR] The build could not read 1 project -> [Help 1]
   [ERROR]   
   [ERROR]   The project jena-test:jena-test-module:DEV-SNAPSHOT (/jena-test/jena-test-module/pom.xml) has 1 error
   [ERROR]     'dependencies.dependency.version' for org.apache.jena:jena-rdfpatch:jar is missing. @ line 25, column 19
   [ERROR] 
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] Boms are not usable [jena]

Posted by "rvesse (via GitHub)" <gi...@apache.org>.
rvesse commented on issue #4107:
URL: https://github.com/apache/jena/issues/4107#issuecomment-5131299630

   Please can you provide an actual working `pom.xml` that reproduces this problem?
   
   I've attempted to tidy up your example like so:
   
   ```xml
   <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/xsd/maven-4.0.0.xsd">
   
      <modelVersion>4.0.0</modelVersion>
      <groupId>test</groupId>
      <artifactId>test</artifactId>
      <version>0.0.1-SNAPSHOT</version>
      <parent>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-starter-parent</artifactId>
         <version>4.1.0</version>
      </parent>
      <properties>
   	   <jena.version>6.1.0</jena.version>
      </properties>
       <dependencies>
          <dependency>
                  <groupId>org.apache.jena</groupId>
                  <artifactId>jena-bom</artifactId>
                  <version>${jena.version}</version>
                  <type>pom</type>
               <scope>import</scope>
       </dependency>
     </dependencies>
   </project>
   ```
   
   But a `mvn dependency:tree` doesn't show what you are describing so this example is not sufficiently complete for us to investigate properly:
   
   ```
   [INFO] -----------------------------< test:test >------------------------------
   [INFO] Building test 0.0.1-SNAPSHOT
   [INFO]   from pom.xml
   [INFO] --------------------------------[ jar ]---------------------------------
   [INFO] 
   [INFO] --- dependency:3.10.0:tree (default-cli) @ test ---
   [INFO] test:test:jar:0.0.1-SNAPSHOT
   [INFO] \- org.apache.jena:jena-bom:pom:6.1.0:import
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  0.703 s
   [INFO] Finished at: 2026-07-30T14:12:26+01:00
   [INFO] ------------------------------------------------------------------------
   ```
   
   ---
   
   Have you tried using `<exclusions>` in your `pom.xml` to exclude the conflicting artefacts?
   
   It should be possible to workaround this problem on your end, it's not uncommon to have to exclude transitive dependencies to force your desired versions to be used over those provided by a dependency


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] BOM is not usable with spring-boot-starter-parent [jena]

Posted by "afs (via GitHub)" <gi...@apache.org>.
afs closed issue #4107: BOM is not usable with spring-boot-starter-parent
URL: https://github.com/apache/jena/issues/4107


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] BOM is not usable with spring-boot-starter-parent [jena]

Posted by "MelleD (via GitHub)" <gi...@apache.org>.
MelleD commented on issue #4107:
URL: https://github.com/apache/jena/issues/4107#issuecomment-5167409379

   Yes fair point but it sounds like a bom is a little bit misleading to use this as dependency.
   
   
   ```
     <name>Apache Jena - Libraries POM</name>
     <version>6.3.0-SNAPSHOT</version>
   
     <parent>
       <groupId>org.apache.jena</groupId>
       <artifactId>jena</artifactId>
       <version>6.3.0-SNAPSHOT</version>
     </parent>
   
     <description>
       A POM artifact that references all the standard Jena Libraries with a single dependency.
     </description>
   ```
   
   
   But got the point it's more like the spring starter to include/group some dependencies directly in one declaration. Maybe removing the word "POM artifact" could be more understandable.
   
   https://github.com/spring-projects/spring-boot/blob/main/starter/spring-boot-starter-web/build.gradle


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] Boms are not usable [jena]

Posted by "afs (via GitHub)" <gi...@apache.org>.
afs commented on issue #4107:
URL: https://github.com/apache/jena/issues/4107#issuecomment-5153446025

   @MelleD,
   
   Which Jena artifacts do you want to use?
   
   I'm guessing that you aren't using Fuseki artifacts.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] Boms are not usable [jena]

Posted by "MelleD (via GitHub)" <gi...@apache.org>.
MelleD commented on issue #4107:
URL: https://github.com/apache/jena/issues/4107#issuecomment-5150245538

   And which spring version is included in your effective  Pom?
   You can try Jena query builder 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] BOM is not usable with spring-boot-starter-parent [jena]

Posted by "afs (via GitHub)" <gi...@apache.org>.
afs commented on issue #4107:
URL: https://github.com/apache/jena/issues/4107#issuecomment-5166379412

   `apache-jena-libs` is not a BOM - it's a regular dependency that pulls in jena artifacts as convenience way to pull the libraries.
   Te firsty version it had a single dependency (jena-tdb1) which that i-turnm pulled in the rest via recusive dependencies.
   Now it's a list.
   
   ```
   <dependencyManagement>
       <dependency>
          <groupId>org.apache.jena</groupId>
          <artifactId>apache-jena-libs</artifactId>
          <version>X.Y.Z</version>
       </dependency>
   </dependencyManagement>
   ```
   then depend on `apache-jena-libs`.
   
   If you want to `dependencyManagement` versions for many artifacts without adding them as artifacts this way, use `jena-bom`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] BOM is not usable with spring-boot-starter-parent [jena]

Posted by "MelleD (via GitHub)" <gi...@apache.org>.
MelleD commented on issue #4107:
URL: https://github.com/apache/jena/issues/4107#issuecomment-5163217834

   But there’s a difference between asking for more information and saying, “I can’t reproduce it.” My question was, “Can you reproduce it? Do you see the problem right away?”
   It’s just a general and specific Maven problem. It doesn’t even have to be a specific project.
   
   By the way, the problem also occurs with Apache libraries—see my last commit.
   
   It looks like this:       
   
   ```
      <dependency>
                  <groupId>org.apache.jena</groupId>
                  <artifactId>apache-jena-libs</artifactId>
                  <version>${jena.version}</version>
                  <type>pom</type>
               <scope>import</scope>
            </dependency>
   ```
   
   <img width="907" height="451" alt="Image" src="https://github.com/user-attachments/assets/5edf5602-a72a-450e-bf7c-df9604d9c873" />


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] BOM is not usable with spring-boot-starter-parent [jena]

Posted by "afs (via GitHub)" <gi...@apache.org>.
afs commented on issue #4107:
URL: https://github.com/apache/jena/issues/4107#issuecomment-5165109467

   Try without the scope import.
   
   The documentation has:
   ```
   <dependency>
      <groupId>org.apache.jena</groupId>
      <artifactId>apache-jena-libs</artifactId>
      <type>pom</type>
      <version>X.Y.Z</version>
   </dependency>
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org


Re: [I] Boms are not usable [jena]

Posted by "MelleD (via GitHub)" <gi...@apache.org>.
MelleD commented on issue #4107:
URL: https://github.com/apache/jena/issues/4107#issuecomment-5146480691

   Jena bom has Jena as parent and in this parent there is shiro. Checkout my MRE there you see the example you don’t need an deps to Jena you have just to import Jena bom and your classpath is broken because the parent of Jena import boms.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org