markt-asf commented on issue #62: URL: https://github.com/apache/tomcat-jakartaee-migration/issues/62#issuecomment-2577142902
Hmm. The migration tool is designed on the basis that it "just" needs to rename some packages from `javax. ...` to `jakarta. ...`. What you are trying to do looks a little more complicated than that. If you can express your requirements in terms of package renames i.e. rename `<package>.<regular expression capture group>` to `<new package>.$1` then you could do this with a profile (or maybe several profiles). Something like (untested): ``` JAXB("com.sun.xml.bind","org.glassfish.jaxb","com[/\\.]sun[/\\.]xml[/\\.]bind([/\\.].*") ``` although that is almost certainly be too broad. You'll likely need something more specific than `.*`. Then run the EE followed by JAXB profiles. The migration tool should be easy to build from source. I suspect experimenting along the lines I suggest above and when you have a new profile that works, create a PR. -- 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...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org