You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Markus Windhager (JIRA)" <ji...@apache.org> on 2017/11/16 08:40:00 UTC
[jira] [Commented] (MDEP-323) dependency:go-offline
-DexcludeGroupIds=xxxx still try to resolve artifacts in the excluded group
xxxx
[ https://issues.apache.org/jira/browse/MDEP-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16254955#comment-16254955 ]
Markus Windhager commented on MDEP-323:
---------------------------------------
I also got the same Issue.
The "com.oracle.adf.library:ADF-Library-Dependencies:12.1.3-0-0" pom is an artificial dependency automatically created by JDeveloper.
The adf-library-dependencies pom is different for each and every module and should therefore never be deployed to the artifactory...
So fixing this behaviour is crucial for me.
{{$ mvn -v
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
Maven home: C:\Development\apache-maven-3.5.0\bin\..
Java version: 1.8.0_92, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_92\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
$ mvn org.apache.maven.plugins:maven-dependency-plugin:3.0.2:go-offline -f pom.xml -DexcludeArtifactIds=ADF-Library-Dependencies
[WARNING] The POM for com.oracle.adf.library:ADF-Library-Dependencies:pom:12.1.3-0-0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.355 s
[INFO] Finished at: 2017-11-16T09:26:12+01:00
[INFO] Final Memory: 16M/201M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project Test: Could not resolve dependencies for project test:Test:jar:1.0-SNAPSHOT:
The following artifacts could not be resolved: com.oracle.adf.library:ADF-Library-Dependencies:pom:12.1.3-0-0}}
> dependency:go-offline -DexcludeGroupIds=xxxx still try to resolve artifacts in the excluded group xxxx
> ------------------------------------------------------------------------------------------------------
>
> Key: MDEP-323
> URL: https://issues.apache.org/jira/browse/MDEP-323
> Project: Maven Dependency Plugin
> Issue Type: Bug
> Components: go-offline
> Affects Versions: 2.3
> Environment: windows / cygwin xp64 bit / bash / maven 3.0.3
> Reporter: Jason Pyeron
> Attachments: go-offline_copy-dependencies_patch_sample.zip, test.tgz
>
>
> see thread: http://mail-archives.apache.org/mod_mbox/maven-users/201109.mbox/%3c0B02C46601D44673A4A2DF4C4F907E9E@black%3e
> in attached sample pom structure:
> mvn org.apache.maven.plugins:maven-dependency-plugin:2.3:go-offline -DexcludeGroupIds=us.pdinc.foo.maven.test
> fails
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)