[ 
https://issues.apache.org/jira/browse/CAMEL-13952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16924073#comment-16924073
 ] 

D T commented on CAMEL-13952:
-----------------------------

In your root pom: [https://github.com/apache/camel/blob/master/pom.xml#L37]

 

You define the url as `http://camel.apache.org` for each submodule maven 
(implicitly) appends the module name to the url.

 

So for the `core` module this results in `http://camel.apache.org/core`.

For the `core/camel-util` this results in 
`http://camel.apache.org/core/camel-util`.

 

These urls will be then used by maven plugins and thus shown in 
dependency-reports.

 

Usecase: We need to send a list of all our used libraries including a link to 
the projects page to our customers.

For this we currently use maven's dependency site report.

This contains
||GroupId||ArtifactId||Version||Type||Licenses||

for all used dependencies. But all links for camel's dependencies result in a 
HTTP 404, which makes it useless.

Manually fixing it quite a lot of effort (checking/fixing ~100 libs/urls per 
software module), so i reported it here to be fixed "upstream" .

 

You can test it yourself by executing `mvn site` on any project that uses camel.

> Project URL in pom is incorrect
> -------------------------------
>
>                 Key: CAMEL-13952
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13952
>             Project: Camel
>          Issue Type: Wish
>            Reporter: D T
>            Priority: Minor
>
> Maven seems to append the submodules name/path to the url, thus the URL for 
> the submodules is wrong.
>  
> Examples:
> [http://camel.apache.org/camel-parent/camel-core]
> [http://camel.apache.org/camel-parent/components/camel-spring]
> [http://camel.apache.org/camel-parent/components/camel-spring-boot]
> [http://camel.apache.org/spring-boot/camel-spring-boot-dm/camel-starter-parent/components-starter/camel-core-starter]
> [http://camel.apache.org/spring-boot/camel-spring-boot-dm/camel-starter-parent/components-starter/camel-spring-boot-starter]
>  
> Please configure the submodules url correctly or add server side redirects.
>  
> Ref: https://github.com/apache/camel/blob/master/pom.xml#L37
>  
> PS: While you are at it, please use `https` links.
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to