You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuweni.apache.org by GitBox <gi...@apache.org> on 2021/04/08 13:01:10 UTC

[GitHub] [incubator-tuweni] melowe opened a new issue #208: Inconsistent module naming

melowe opened a new issue #208:
URL: https://github.com/apache/incubator-tuweni/issues/208


   Publishing artefacts using publishToMavenLocal reveals an issue with dependency naming. While the artefacts are published using only the short module name some dependencies are declared using the Tuweni prefix..  I've been forced to hack a resolutionStrategy to deal with this but its far from ideal. 
   
   ```    
   resolutionStrategy.eachDependency {details ->
     if(details.requested.group == "org.apache.tuweni" && details.requested.name.startsWith("tuweni")) {
           def shortName = details.requested.name.replaceFirst("tuweni-","")
           details.useTarget("org.apache.tuweni:"+ shortName +":"+ details.requested.version)
         }
   }```


-- 
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tuweni.apache.org
For additional commands, e-mail: dev-help@tuweni.apache.org


[GitHub] [incubator-tuweni] atoulme closed issue #208: Inconsistent module naming

Posted by GitBox <gi...@apache.org>.
atoulme closed issue #208:
URL: https://github.com/apache/incubator-tuweni/issues/208


   


-- 
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tuweni.apache.org
For additional commands, e-mail: dev-help@tuweni.apache.org


[GitHub] [incubator-tuweni] atoulme commented on issue #208: Inconsistent module naming

Posted by GitBox <gi...@apache.org>.
atoulme commented on issue #208:
URL: https://github.com/apache/incubator-tuweni/issues/208#issuecomment-818230540


   Which dependencies do you see displaying this issue? Can you give a reproduction path?


-- 
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tuweni.apache.org
For additional commands, e-mail: dev-help@tuweni.apache.org


[GitHub] [incubator-tuweni] atoulme commented on issue #208: Inconsistent module naming

Posted by GitBox <gi...@apache.org>.
atoulme commented on issue #208:
URL: https://github.com/apache/incubator-tuweni/issues/208#issuecomment-856261896


   This was fixed for 2.0.0.


-- 
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tuweni.apache.org
For additional commands, e-mail: dev-help@tuweni.apache.org