[jira] [Commented] (VELOCITY-970) velocity-engine-core contains commons-io Maven descriptor

2024-01-11 Thread Michael Osipov (Jira)


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

Michael Osipov commented on VELOCITY-970:
-

[~cbrisson], I think we can live without it. It's people's responsibility to 
provide reasonable values. I'd remove it for non-test and later review test as 
well.

> velocity-engine-core contains commons-io Maven descriptor
> -
>
> Key: VELOCITY-970
> URL: https://issues.apache.org/jira/browse/VELOCITY-970
> Project: Velocity
>  Issue Type: Bug
>  Components: Engine
>Affects Versions: 2.3
>Reporter: Thomas Mortagne
>Priority: Major
>
> commons-io is embedded in velocity-engine-core, which is OK from Java point 
> of view since its package is renamed (not causing any dependency problems).
> The problem is that it contains the commons-io Maven descriptors at the 
> standard location (/META-INF/maven/commons-io/commons-io/), which is a 
> problem when you analyze JAR files to find what's in it because it ends up 
> being identified as a JAR exposing commons-io (which is not the case since 
> it's weaved).
> Honestly, it feels very strange to embed commons-io in the first place given 
> that commons-lang for example is a transitive dependency, so I feel like the 
> simplest would just be to remove all the plumbing to embed and weave 
> commons-io and simply keep it as a regular transitive dependency.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org



[jira] [Commented] (VELOCITY-970) velocity-engine-core contains commons-io Maven descriptor

2024-01-11 Thread Thomas Mortagne (Jira)


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

Thomas Mortagne commented on VELOCITY-970:
--

OK, I actually did not know the shade plugin was also modifying the pom.

> velocity-engine-core contains commons-io Maven descriptor
> -
>
> Key: VELOCITY-970
> URL: https://issues.apache.org/jira/browse/VELOCITY-970
> Project: Velocity
>  Issue Type: Bug
>  Components: Engine
>Affects Versions: 2.3
>Reporter: Thomas Mortagne
>Priority: Major
>
> commons-io is embedded in velocity-engine-core, which is OK from Java point 
> of view since its package is renamed (not causing any dependency problems).
> The problem is that it contains the commons-io Maven descriptors at the 
> standard location (/META-INF/maven/commons-io/commons-io/), which is a 
> problem when you analyze JAR files to find what's in it because it ends up 
> being identified as a JAR exposing commons-io (which is not the case since 
> it's weaved).
> Honestly, it feels very strange to embed commons-io in the first place given 
> that commons-lang for example is a transitive dependency, so I feel like the 
> simplest would just be to remove all the plumbing to embed and weave 
> commons-io and simply keep it as a regular transitive dependency.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org



Re: [PR] VELOCITY-970: velocity-engine-core contains commons-io Maven descriptor [velocity-engine]

2024-01-11 Thread via GitHub


tmortagne commented on PR #37:
URL: https://github.com/apache/velocity-engine/pull/37#issuecomment-1887573776

   OK, this time I saw it I think :)
   
   I'm not 100% sure my modification of maven-bundle-plugin is right, as I'm 
not used to 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: dev-unsubscr...@velocity.apache.org

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


-
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org



[jira] [Commented] (VELOCITY-970) velocity-engine-core contains commons-io Maven descriptor

2024-01-11 Thread Claude Brisson (Jira)


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

Claude Brisson commented on VELOCITY-970:
-

That's not strange, that's an effect of the shading: one pom is to compile it, 
one to use it at runtime.

 

> velocity-engine-core contains commons-io Maven descriptor
> -
>
> Key: VELOCITY-970
> URL: https://issues.apache.org/jira/browse/VELOCITY-970
> Project: Velocity
>  Issue Type: Bug
>  Components: Engine
>Affects Versions: 2.3
>Reporter: Thomas Mortagne
>Priority: Major
>
> commons-io is embedded in velocity-engine-core, which is OK from Java point 
> of view since its package is renamed (not causing any dependency problems).
> The problem is that it contains the commons-io Maven descriptors at the 
> standard location (/META-INF/maven/commons-io/commons-io/), which is a 
> problem when you analyze JAR files to find what's in it because it ends up 
> being identified as a JAR exposing commons-io (which is not the case since 
> it's weaved).
> Honestly, it feels very strange to embed commons-io in the first place given 
> that commons-lang for example is a transitive dependency, so I feel like the 
> simplest would just be to remove all the plumbing to embed and weave 
> commons-io and simply keep it as a regular transitive dependency.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org



[jira] [Commented] (VELOCITY-970) velocity-engine-core contains commons-io Maven descriptor

2024-01-11 Thread Thomas Mortagne (Jira)


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

Thomas Mortagne commented on VELOCITY-970:
--

bq. we should include it as a direct dependency

Strangely it seems to be the case on github 
(https://github.com/apache/velocity-engine/blob/master/velocity-engine-core/pom.xml#L322)
 but it's not in the 2.3 pom deployed on Maven Central.

> velocity-engine-core contains commons-io Maven descriptor
> -
>
> Key: VELOCITY-970
> URL: https://issues.apache.org/jira/browse/VELOCITY-970
> Project: Velocity
>  Issue Type: Bug
>  Components: Engine
>Affects Versions: 2.3
>Reporter: Thomas Mortagne
>Priority: Major
>
> commons-io is embedded in velocity-engine-core, which is OK from Java point 
> of view since its package is renamed (not causing any dependency problems).
> The problem is that it contains the commons-io Maven descriptors at the 
> standard location (/META-INF/maven/commons-io/commons-io/), which is a 
> problem when you analyze JAR files to find what's in it because it ends up 
> being identified as a JAR exposing commons-io (which is not the case since 
> it's weaved).
> Honestly, it feels very strange to embed commons-io in the first place given 
> that commons-lang for example is a transitive dependency, so I feel like the 
> simplest would just be to remove all the plumbing to embed and weave 
> commons-io and simply keep it as a regular transitive dependency.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org



Re: [PR] VELOCITY-970: velocity-engine-core contains commons-io Maven descriptor [velocity-engine]

2024-01-11 Thread via GitHub


tmortagne commented on PR #37:
URL: https://github.com/apache/velocity-engine/pull/37#issuecomment-1887307090

   Hi @michael-o, thanks for taking a look.
   
   I'm sorry, I don't see what you mean. The only reference left to commons-io 
is [the 
dependency](https://github.com/tmortagne/velocity-engine/blob/VELOCITY-970/velocity-engine-core/pom.xml#L289)
 (which strangely was already a transitive dependency, contrary to what's on 
[maven central for 
2.3](https://repo1.maven.org/maven2/org/apache/velocity/velocity-engine-core/2.3/velocity-engine-core-2.3.pom)).


-- 
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: dev-unsubscr...@velocity.apache.org

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


-
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org



[jira] [Commented] (VELOCITY-970) velocity-engine-core contains commons-io Maven descriptor

2024-01-11 Thread Thomas Mortagne (Jira)


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

Thomas Mortagne commented on VELOCITY-970:
--

Proposal pull request on https://github.com/apache/velocity-engine/pull/37.

> velocity-engine-core contains commons-io Maven descriptor
> -
>
> Key: VELOCITY-970
> URL: https://issues.apache.org/jira/browse/VELOCITY-970
> Project: Velocity
>  Issue Type: Bug
>  Components: Engine
>Affects Versions: 2.3
>Reporter: Thomas Mortagne
>Priority: Major
>
> commons-io is embedded in velocity-engine-core, which is OK from Java point 
> of view since its package is renamed (not causing any dependency problems).
> The problem is that it contains the commons-io Maven descriptors at the 
> standard location (/META-INF/maven/commons-io/commons-io/), which is a 
> problem when you analyze JAR files to find what's in it because it ends up 
> being identified as a JAR exposing commons-io (which is not the case since 
> it's weaved).
> Honestly, it feels very strange to embed commons-io in the first place given 
> that commons-lang for example is a transitive dependency, so I feel like the 
> simplest would just be to remove all the plumbing to embed and weave 
> commons-io and simply keep it as a regular transitive dependency.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org



[jira] [Comment Edited] (VELOCITY-970) velocity-engine-core contains commons-io Maven descriptor

2024-01-11 Thread Thomas Mortagne (Jira)


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

Thomas Mortagne edited comment on VELOCITY-970 at 1/11/24 2:04 PM:
---

Proposal pull request available on 
https://github.com/apache/velocity-engine/pull/37.


was (Author: tmortagne):
Proposal pull request on https://github.com/apache/velocity-engine/pull/37.

> velocity-engine-core contains commons-io Maven descriptor
> -
>
> Key: VELOCITY-970
> URL: https://issues.apache.org/jira/browse/VELOCITY-970
> Project: Velocity
>  Issue Type: Bug
>  Components: Engine
>Affects Versions: 2.3
>Reporter: Thomas Mortagne
>Priority: Major
>
> commons-io is embedded in velocity-engine-core, which is OK from Java point 
> of view since its package is renamed (not causing any dependency problems).
> The problem is that it contains the commons-io Maven descriptors at the 
> standard location (/META-INF/maven/commons-io/commons-io/), which is a 
> problem when you analyze JAR files to find what's in it because it ends up 
> being identified as a JAR exposing commons-io (which is not the case since 
> it's weaved).
> Honestly, it feels very strange to embed commons-io in the first place given 
> that commons-lang for example is a transitive dependency, so I feel like the 
> simplest would just be to remove all the plumbing to embed and weave 
> commons-io and simply keep it as a regular transitive dependency.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org



[PR] VELOCITY-970: velocity-engine-core contains commons-io Maven descriptor [velocity-engine]

2024-01-11 Thread via GitHub


tmortagne opened a new pull request, #37:
URL: https://github.com/apache/velocity-engine/pull/37

   Jira issue: https://issues.apache.org/jira/browse/VELOCITY-970
   
   The idea is to remove commons-io from the velocity-engine-core JAR since 
there does not seem to be a clear reason to do that (it's not like it was the 
only dependency and commons-io is know to have a pretty good retro 
compatibility policy). In my case, it also causes problems with a tool in 
charge of identifying Maven artifacts in the classloader because it also embbed 
the Maven descriptor.


-- 
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: dev-unsubscr...@velocity.apache.org

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


-
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org



[jira] [Updated] (VELOCITY-970) velocity-engine-core contains commons-io Maven descriptor

2024-01-11 Thread Thomas Mortagne (Jira)


 [ 
https://issues.apache.org/jira/browse/VELOCITY-970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Mortagne updated VELOCITY-970:
-
Description: 
commons-io is embedded in velocity-engine-core, which is OK from Java point of 
view since its package is renamed (not causing any dependency problems).

The problem is that it contains the commons-io Maven descriptors at the 
standard location (/META-INF/maven/commons-io/commons-io/), which is a problem 
when you analyze JAR files to find what's in it because it ends up being 
identified as a JAR exposing commons-io (which is not the case since it's 
weaved).

Honestly, it feels very strange to embed commons-io in the first place given 
that commons-lang for example is a transitive dependency, so I feel like the 
simplest would just be to remove all the plumbing to embed and weave commons-io 
and simply keep it as a regular transitive dependency.

  was:
commons-io is embedded in velocity-engine-core, which is OK from Java point of 
view since its package is renamed (not causing any dependency problems).

The problem is that it contains the commons-io Maven descriptors at the 
standard location (/META-INF/maven/commons-io/commons-io/), which is a problem 
when you analyze JAR files to find what's in it because it ends up being 
identified as a JAR exposing commons-io (which is not the case since it's 
weaved).

Honestly, it feels very strange to embed commons-io in the first place given 
that commons-lang for example is a transitive dependency, so I feel like the 
simplest would just be to remove all the plumbing to embed and weave commons-io 
and simply keep it as transitive dependency.


> velocity-engine-core contains commons-io Maven descriptor
> -
>
> Key: VELOCITY-970
> URL: https://issues.apache.org/jira/browse/VELOCITY-970
> Project: Velocity
>  Issue Type: Bug
>  Components: Engine
>Affects Versions: 2.3
>Reporter: Thomas Mortagne
>Priority: Major
>
> commons-io is embedded in velocity-engine-core, which is OK from Java point 
> of view since its package is renamed (not causing any dependency problems).
> The problem is that it contains the commons-io Maven descriptors at the 
> standard location (/META-INF/maven/commons-io/commons-io/), which is a 
> problem when you analyze JAR files to find what's in it because it ends up 
> being identified as a JAR exposing commons-io (which is not the case since 
> it's weaved).
> Honestly, it feels very strange to embed commons-io in the first place given 
> that commons-lang for example is a transitive dependency, so I feel like the 
> simplest would just be to remove all the plumbing to embed and weave 
> commons-io and simply keep it as a regular transitive dependency.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org



[jira] [Updated] (VELOCITY-970) velocity-engine-core contains commons-io Maven descriptor

2024-01-11 Thread Thomas Mortagne (Jira)


 [ 
https://issues.apache.org/jira/browse/VELOCITY-970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Mortagne updated VELOCITY-970:
-
Description: 
commons-io is embedded in velocity-engine-core, which is OK from Java point of 
view since its package is renamed (not causing any dependency problems).

The problem is that it contains the commons-io Maven descriptors at the 
standard location (/META-INF/maven/commons-io/commons-io/), which is a problem 
when you analyze JAR files to find what's in it because it ends up being 
identified as a JAR exposing commons-io (which is not the case since it's 
weaved).

Honestly, it feels very strange to embed commons-io in the first place given 
that commons-lang for example is a transitive dependency, so I feel like the 
simplest would just be to remove all the plumbing to embed and weave commons-io 
and simply keep it as transitive dependency.

  was:
commons-io is embedded in velocity-engine-core, which is OK from Java point of 
view since it's weaved (not causing any dependency problems).

The problem is that it contains the commons-io Maven descriptors at the 
standard location (/META-INF/maven/commons-io/commons-io/), which is a problem 
when you analyze JAR files to find what's in it because it ends up being 
identified as a JAR exposing commons-io (which is not the case since it's 
weaved).

Honestly, it feels very strange to embed commons-io in the first place given 
that commons-lang for example is a transitive dependency, so I feel like the 
simplest would just be to remove all the plumbing to embed and weave commons-io 
and simply keep it as transitive dependency.


> velocity-engine-core contains commons-io Maven descriptor
> -
>
> Key: VELOCITY-970
> URL: https://issues.apache.org/jira/browse/VELOCITY-970
> Project: Velocity
>  Issue Type: Bug
>  Components: Engine
>Affects Versions: 2.3
>Reporter: Thomas Mortagne
>Priority: Major
>
> commons-io is embedded in velocity-engine-core, which is OK from Java point 
> of view since its package is renamed (not causing any dependency problems).
> The problem is that it contains the commons-io Maven descriptors at the 
> standard location (/META-INF/maven/commons-io/commons-io/), which is a 
> problem when you analyze JAR files to find what's in it because it ends up 
> being identified as a JAR exposing commons-io (which is not the case since 
> it's weaved).
> Honestly, it feels very strange to embed commons-io in the first place given 
> that commons-lang for example is a transitive dependency, so I feel like the 
> simplest would just be to remove all the plumbing to embed and weave 
> commons-io and simply keep it as transitive dependency.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org



[jira] [Created] (VELOCITY-970) velocity-engine-core contains commons-io Maven descriptor

2024-01-11 Thread Thomas Mortagne (Jira)
Thomas Mortagne created VELOCITY-970:


 Summary: velocity-engine-core contains commons-io Maven descriptor
 Key: VELOCITY-970
 URL: https://issues.apache.org/jira/browse/VELOCITY-970
 Project: Velocity
  Issue Type: Bug
  Components: Engine
Affects Versions: 2.3
Reporter: Thomas Mortagne


commons-io is embedded in velocity-engine-core, which is OK from Java point of 
view since it's weaved (not causing any dependency problems).

The problem is that it contains the commons-io Maven descriptors at the 
standard location (/META-INF/maven/commons-io/commons-io/), which is a problem 
when you analyze JAR files to find what's in it because it ends up being 
identified as a JAR exposing commons-io (which is not the case since it's 
weaved).

Honestly, it feels very strange to embed commons-io in the first place given 
that commons-lang for example is a transitive dependency, so I feel like the 
simplest would just be to remove all the plumbing to embed and weave commons-io 
and simply keep it as transitive dependency.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

-
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org