devonfw-ide legacy support for maven #336
Labels
configuration
should be configurable or configuration change
enhancement
New feature or request
mvn
related to apache maven build tool
With issue #280 and PR #305 we have implemented some change that prevents some kind of compatibility between devonfw-ide and IDEasy:
settings/devon/conf/.m2/settings.xml
->conf/.m2/settings.xml
settings/templates/conf/mvn/settings.xml
->conf/mvn/settings.xml
, if template is not present usesettings/devon/conf/.m2/settings.xml
but keep same destination.Both including replacement of variables.
As a result a user that has a project for devonfw-ide and wants to try out IDEasy will get a
conf/mvn/settings.xml
and then devonfw-ide will still expectconf/.m2/settings.xml
(andconf/.m2/settings-security.xml
).Questions/approaches for a solution:
settings/devon
or newsettings/templates
) to act and behave like a template so that this alone decides ifconf/.m2
orconf/mvn
is used and not our hardcoded implementation? We could even avoid knowing where the file is located inside the template folder but just search forsettings.xml
and assume that this is for maven and apply the specific handling...settings/devon
with all its handling just as some plain legacy support and write some documentation for users in mixed setups with devonfw-ide AND IDEasy that they should simply create a symbolic link/junction pointing fromconf/.m2
toconf/mvn
?The text was updated successfully, but these errors were encountered: