maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MRELEASE-989) prepare-with-pom - Cannot add release POM to SCM - API regression
Date Mon, 25 Sep 2017 20:06:01 GMT

    [ https://issues.apache.org/jira/browse/MRELEASE-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16179690#comment-16179690
] 

Robert Scholte commented on MRELEASE-989:
-----------------------------------------

I'd prefer to upgrade the java requirement to Java 7 and solve this properly with Path instances

> prepare-with-pom - Cannot add release POM to SCM - API regression
> -----------------------------------------------------------------
>
>                 Key: MRELEASE-989
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-989
>             Project: Maven Release Plugin
>          Issue Type: Bug
>          Components: scm
>    Affects Versions: 2.5.3
>         Environment: Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
> Maven home: D:\maven\apache-maven-3.5.0\bin\..
> Java version: 1.8.0_60, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0_60\jre
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>  Included: org.apache.maven.plugins:maven-release-plugin:jar:2.5.3
>  Included: com.google.code.maven-scm-provider-svnjava:maven-scm-provider-svnjava:jar:2.1.1
>  Included: org.apache.maven.scm:maven-scm-provider-svn-commons:jar:1.8
>  Included: net.java.dev.jna:jna:jar:3.5.2
>  Included: commons-lang:commons-lang:jar:2.6
>  Included: commons-io:commons-io:jar:2.1
>  Included: org.tmatesoft.svnkit:svnkit:jar:1.8.7
>  Included: com.jcraft:jsch.agentproxy.svnkit-trilead-ssh2:jar:0.0.7
>  Included: com.jcraft:jsch.agentproxy.core:jar:0.0.7
>            Reporter: Georg Tsakumagos
>            Priority: Critical
>         Attachments: maven-console.log
>
>
> Preparing a prepare-with-pom fails due to the changed SCM API.
> The ScmFileSet constructor needs a base path and a list of relative file paths. The release
plugin provides a full qualified path. The SCM concat the full qualified path to the basepath
and is not able to locate the file. The path should be relative as described in JavaDoc. 
> May the problem arise to some svn scm implementation which interprets the JavaDoc to
precise. But hey thats the reason someone writes javadoc. The constructor org.apache.maven.scm.ScmFileSet.ScmFileSet(File,
List<File>) should check the restriction and fail fast. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message