[jira] [Created] (SCM-858) Configuration for git path

2018-01-05 Thread Michael Warnecke (JIRA)
Michael Warnecke created SCM-858:


 Summary: Configuration for git path
 Key: SCM-858
 URL: https://issues.apache.org/jira/browse/SCM-858
 Project: Maven SCM
  Issue Type: Improvement
  Components: maven-scm-provider-gitexe
Affects Versions: 1.9.5
Reporter: Michael Warnecke


When git is not in {{$PATH}}, executions of maven builds using 
maven-scm-provider-gitexe will fail with a message like this:

{code}
[ERROR] Failed to execute goal 
org.codehaus.mojo:buildnumber-maven-plugin:1.4:create (default) on project 
test: Cannot get the
 revision information from the scm repository :
[ERROR] Exception while executing SCM command. Error while executing command. 
Error while executing process. Cannot run program "git" (in di
rectory "C:\dev\test"): CreateProcess error=2, Das System kann die ang
egebene Datei nicht finden
{code}

Some configuration for the path to git's executable is desirable.



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


[jira] [Commented] (MNG-6213) Maven doesn't check the validity of scope value

2017-09-24 Thread Michael Warnecke (JIRA)

[ 
https://issues.apache.org/jira/browse/MNG-6213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16178125#comment-16178125
 ] 

Michael Warnecke commented on MNG-6213:
---

Are different scopes only used in {{dependencyManagement}}? Because there ist a 
check in place for the {{dependency}} section

> Maven doesn't check the validity of scope value
> ---
>
> Key: MNG-6213
> URL: https://issues.apache.org/jira/browse/MNG-6213
> Project: Maven
>  Issue Type: Improvement
>  Components: POM
>Affects Versions: 3.3.9
> Environment: Apache Maven 3.3.9 
> (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T01:41:47+09:00)
> Maven home: /usr/local/Cellar/maven/3.3.9/libexec
> Java version: 1.8.0_121, vendor: Oracle Corporation
> Java home: 
> /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.12.4", arch: "x86_64", family: "mac"
>Reporter: Jin Kwon
>Priority: Minor
>  Labels: scope
>
> I accidentally  put a wrong value into the {{scope}} tag.
> {code:xml}
>   
> 
>   
> org.glassfish.jersey
> jersey-bom
> 2.26-b03
> pom
> include 
>   
>   
>   
> {code}
> And, of course, my dependency doesn't work.
> {code:xml}
>   
> 
>   org.glassfish.jersey.core
>   jersey-common
>   test
> 
>   
> {code}
> {code}
> 'dependencies.dependency.version' for 
> org.glassfish.jersey.core:jersey-common:jar is missing.
> {code}
> Maven should complains about the wrong value of {{include}}.



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