[GitHub] [maven-resolver-ant-tasks] lwr edited a comment on issue #2: [MRESOLVER-98] resolver ant task doesn't obey dependencyManagement
lwr edited a comment on issue #2: [MRESOLVER-98] resolver ant task doesn't obey dependencyManagement URL: https://github.com/apache/maven-resolver-ant-tasks/pull/2#issuecomment-603686980 @snoopyhzy I had said that why I am here for, this project `maven-resolver-ant-tasks` is not workable. this PR fixes one (dependency management version problem), but another not fixed yet (see the new committed test case `testResolvePomWithScopedAndManagement`). So, my suggestion is 1. stay use the retired `maven-ant-tasks` project 2. with patching it's embedded super pom-4.0.0.xml 3. run `mvn dependency:resolve` before run the ant task so all download problems could be avoided 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: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [maven-resolver-ant-tasks] lwr edited a comment on issue #2: [MRESOLVER-98] resolver ant task doesn't obey dependencyManagement
lwr edited a comment on issue #2: [MRESOLVER-98] resolver ant task doesn't obey dependencyManagement URL: https://github.com/apache/maven-resolver-ant-tasks/pull/2#issuecomment-603686980 @snoopyhzy I had said that why I am here for, this project `maven-resolver-ant-tasks` is not workable. this PR fixes one (dependency management version problem), but another not fixed yet (see the new committed test case `testResolvePomWithScopedAndManagement`). So, my suggestion is 1. stay use the retired `maven-ant-tasks` project 2. with patching it's embedded super pom-4.0.0.xml 3. run `mvn dependency:resolve` before the ant task run so all download problems could be avoided 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: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [maven-resolver-ant-tasks] lwr edited a comment on issue #2: [MRESOLVER-98] resolver ant task doesn't obey dependencyManagement
lwr edited a comment on issue #2: [MRESOLVER-98] resolver ant task doesn't obey dependencyManagement URL: https://github.com/apache/maven-resolver-ant-tasks/pull/2#issuecomment-601711529 @snoopyhzy that project is already retired, no any issue reporting will be fixed and has no meaning. I had found the same problem what you reported I in https://issues.apache.org/jira/browse/MANTTASKS-251 That issue only occurs while processing dependency with type=import (mirror not being applied), in most situations that is not a problem until recently that http://repo1.maven.org being shutdown (enforcing https accessing). We have several choices: 1. first I try maven-resolver-ant-tasks and now I am being here 2. secondly I try patch the super pom as last comment, and that works. 3. meanwhile run command `mvn dependency:resolve` before the ant execution, would help workaround the download problem, both "central repo http problem" and "mirror problem" ```bash mvn dependency:resolve -s settings.xml ``` 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: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [maven-resolver-ant-tasks] lwr edited a comment on issue #2: [MRESOLVER-98] resolver ant task doesn't obey dependencyManagement
lwr edited a comment on issue #2: [MRESOLVER-98] resolver ant task doesn't obey dependencyManagement URL: https://github.com/apache/maven-resolver-ant-tasks/pull/2#issuecomment-601711529 @snoopyhzy that project is already retired, no any issue reporting will be fixed and has no meaning. I had found the same problem what you reported I in https://issues.apache.org/jira/browse/MANTTASKS-251 That issue only occurs while processing dependency with type=import (mirror not being applied), in most situations that is not a problem until recently that http://repo1.maven.org being shutdown (enforcing https accessing). We have several choices: 1. first I try maven-resolver-ant-tasks and now I am being here 2. secondly I try patch the super bom as last comment, and that works. 3. meanwhile run command `mvn dependency:resolve` before the ant execution, would help workaround the download problem, both "central repo http problem" and "mirror problem" ```bash mvn dependency:resolve -s settings.xml ``` 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: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [maven-resolver-ant-tasks] lwr edited a comment on issue #2: [MRESOLVER-98] resolver ant task doesn't obey dependencyManagement
lwr edited a comment on issue #2: [MRESOLVER-98] resolver ant task doesn't obey dependencyManagement URL: https://github.com/apache/maven-resolver-ant-tasks/pull/2#issuecomment-601667880 @snoopyhzy I have abandon this project as a solution of maven ant integration this PR fixes the DependencyManagement version issue but still have the scope issue, so I think the maven resolver is not a stable solution I can rely on this time. Now I switch back to use the deprecated [maven-ant-task](https://maven.apache.org/ant-tasks/) project, with a little patch ```xml http://repo1.maven.org/maven2; value="https://repo1.maven.org/maven2; /> ``` 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: us...@infra.apache.org With regards, Apache Git Services
[GitHub] [maven-resolver-ant-tasks] lwr edited a comment on issue #2: [MRESOLVER-98] resolver ant task doesn't obey dependencyManagement
lwr edited a comment on issue #2: [MRESOLVER-98] resolver ant task doesn't obey dependencyManagement URL: https://github.com/apache/maven-resolver-ant-tasks/pull/2#issuecomment-593997719 After applying the patch, the resolving mechanism still does not work as expected test case ```xml org.apache.maven.resolver maven-resolver-api 1.4.1 org.apache.maven.resolver maven-resolver-util 1.4.1 test ``` the dependency tree ``` [INFO] \- org.apache.maven.resolver:maven-resolver-util:jar:1.4.1:test [INFO]\- org.apache.maven.resolver:maven-resolver-api:jar:1.4.1:test ``` but the resolver will incorrectly resolve `maven-resolver-api` as `compile` scope I think it would be caused by the resolver itself, will 1.4.2 resolve this problem? 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: us...@infra.apache.org With regards, Apache Git Services