[jira] [Created] (ARCHETYPE-555) My archetype is not in the catalog.xml

2018-08-18 Thread Matthias Fuchs (JIRA)
Matthias Fuchs created ARCHETYPE-555:


 Summary: My archetype is not in the catalog.xml
 Key: ARCHETYPE-555
 URL: https://issues.apache.org/jira/browse/ARCHETYPE-555
 Project: Maven Archetype
  Issue Type: Bug
Reporter: Matthias Fuchs


This is the url to the archetype: 
[https://search.maven.org/artifact/io.spot-next.archetypes/archetype-empty/1.0.6-BETA-20180817/maven-archetype]

 

It is declared as archetype, so it should be in the catalog file too, right?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (MJLINK-23) Allow setting additional modulepaths

2018-08-18 Thread JIRA
Guillermo González de Agüero created MJLINK-23:
--

 Summary: Allow setting additional modulepaths
 Key: MJLINK-23
 URL: https://issues.apache.org/jira/browse/MJLINK-23
 Project: Maven JLink Plugin
  Issue Type: Bug
Affects Versions: 3.0.0-alpha-2
Reporter: Guillermo González de Agüero


There's a modulePaths property but it's missing the @Parameter annotation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] ggam opened a new pull request #2: [MJLINK-23] Allow setting additional modulepaths

2018-08-18 Thread GitBox
ggam opened a new pull request #2: [MJLINK-23] Allow setting additional 
modulepaths
URL: https://github.com/apache/maven-jlink-plugin/pull/2
 
 
   There's a modulePaths property but it's missing the @Parameter annotation.
   
   
   I hereby declare this contribution to be licenced under the [Apache License 
Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


[jira] [Commented] (MJLINK-23) Allow setting additional modulepaths

2018-08-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on MJLINK-23:
--

ggam opened a new pull request #2: [MJLINK-23] Allow setting additional 
modulepaths
URL: https://github.com/apache/maven-jlink-plugin/pull/2
 
 
   There's a modulePaths property but it's missing the @Parameter annotation.
   
   
   I hereby declare this contribution to be licenced under the [Apache License 
Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Allow setting additional modulepaths
> 
>
> Key: MJLINK-23
> URL: https://issues.apache.org/jira/browse/MJLINK-23
> Project: Maven JLink Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.0-alpha-2
>Reporter: Guillermo González de Agüero
>Priority: Major
>
> There's a modulePaths property but it's missing the @Parameter annotation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] erikhakansson commented on a change in pull request #49: [MNG-2802] Concurrent-safe access to local Maven repository

2018-08-18 Thread GitBox
erikhakansson commented on a change in pull request #49: [MNG-2802] 
Concurrent-safe access to local Maven repository
URL: https://github.com/apache/maven-wagon/pull/49#discussion_r211069493
 
 

 ##
 File path: 
wagon-providers/wagon-file-test/src/main/java/org/apache/maven/wagon/providers/file/LazyLockableFileOutputStreamTestDriver.java
 ##
 @@ -0,0 +1,75 @@
+package org.apache.maven.wagon.providers.file;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import java.io.File;
+import java.io.IOException;
+import java.io.OutputStream;
+import java.util.concurrent.TimeUnit;
+
+/**
+ * Test driver for LazyLockableFileOutputStreamIntegrationTest
+ */
+public class LazyLockableFileOutputStreamTestDriver
+{
+public static void main( String[] args ) throws Exception
+{
+File file = new File( args[0] );
+long timeout = Long.parseLong( args[1] );
+long startTime = System.currentTimeMillis();
+OutputStream outputStream = new LazyLockableFileOutputStream( file, 
timeout, TimeUnit.SECONDS );
+try
+{
+outputStream.write( 1 );
+}
+catch ( IOException e )
+{
+if ( e.getMessage().equals( "Can't write file, lock " + 
file.getAbsolutePath() + ".lck exists" ) )
+{
+System.out.println( "ready" );
+// CHECKSTYLE_OFF: MagicNumber
+System.exit( 126 );
+// CHECKSTYLE_ON: MagicNumber
+}
+else if ( e.getMessage().equals( "Failed to create lockfile " + 
file.getAbsolutePath()
++ ".lck after waiting " + timeout + " seconds. File 
already exists." ) )
+{
+long diff = System.currentTimeMillis() - startTime;
+if ( diff < TimeUnit.SECONDS.toMillis( timeout ) )
+{
+throw new Exception( "We were supposed to wait for " + 
timeout
++ " seconds, but Exception came early at " + diff 
+ " milliseconds." );
+}
+System.out.println( "ready" );
+// CHECKSTYLE_OFF: MagicNumber
+System.exit( 127 );
 
 Review comment:
   Ah, I was not aware of that! But since the 
LazyLockableFileOutputStreamTestDriver isn't directly managed by surefire, but 
instead launched in a separate JVM, shouldn't it be quite safe anyway?
   
   It's a very convenient way of reporting results out to the actual test 
without having to read the output stream. Which would be the alternative 
solution.


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


[jira] [Commented] (MNG-2802) Concurrent-safe access to local Maven repository

2018-08-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on MNG-2802:
-

erikhakansson commented on a change in pull request #49: [MNG-2802] 
Concurrent-safe access to local Maven repository
URL: https://github.com/apache/maven-wagon/pull/49#discussion_r211069493
 
 

 ##
 File path: 
wagon-providers/wagon-file-test/src/main/java/org/apache/maven/wagon/providers/file/LazyLockableFileOutputStreamTestDriver.java
 ##
 @@ -0,0 +1,75 @@
+package org.apache.maven.wagon.providers.file;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import java.io.File;
+import java.io.IOException;
+import java.io.OutputStream;
+import java.util.concurrent.TimeUnit;
+
+/**
+ * Test driver for LazyLockableFileOutputStreamIntegrationTest
+ */
+public class LazyLockableFileOutputStreamTestDriver
+{
+public static void main( String[] args ) throws Exception
+{
+File file = new File( args[0] );
+long timeout = Long.parseLong( args[1] );
+long startTime = System.currentTimeMillis();
+OutputStream outputStream = new LazyLockableFileOutputStream( file, 
timeout, TimeUnit.SECONDS );
+try
+{
+outputStream.write( 1 );
+}
+catch ( IOException e )
+{
+if ( e.getMessage().equals( "Can't write file, lock " + 
file.getAbsolutePath() + ".lck exists" ) )
+{
+System.out.println( "ready" );
+// CHECKSTYLE_OFF: MagicNumber
+System.exit( 126 );
+// CHECKSTYLE_ON: MagicNumber
+}
+else if ( e.getMessage().equals( "Failed to create lockfile " + 
file.getAbsolutePath()
++ ".lck after waiting " + timeout + " seconds. File 
already exists." ) )
+{
+long diff = System.currentTimeMillis() - startTime;
+if ( diff < TimeUnit.SECONDS.toMillis( timeout ) )
+{
+throw new Exception( "We were supposed to wait for " + 
timeout
++ " seconds, but Exception came early at " + diff 
+ " milliseconds." );
+}
+System.out.println( "ready" );
+// CHECKSTYLE_OFF: MagicNumber
+System.exit( 127 );
 
 Review comment:
   Ah, I was not aware of that! But since the 
LazyLockableFileOutputStreamTestDriver isn't directly managed by surefire, but 
instead launched in a separate JVM, shouldn't it be quite safe anyway?
   
   It's a very convenient way of reporting results out to the actual test 
without having to read the output stream. Which would be the alternative 
solution.


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Concurrent-safe access to local Maven repository
> 
>
> Key: MNG-2802
> URL: https://issues.apache.org/jira/browse/MNG-2802
> Project: Maven
>  Issue Type: Improvement
>  Components: Artifacts and Repositories
>Reporter: Stepan Roh
>Assignee: John Casey
>Priority: Major
> Fix For: Issues to be reviewed for 3.x
>
>
> It seems that access to local Maven repository is not concurrent-safe that is 
> multiple Mavens running in parallel may damage contents of local Maven 
> repository. It would be a nice improvement, because sharing of local 
> repository will lower the need for contacting any other repository. I know 
> that Maven proxy can be used, but that adds another layer which may 
> unnecessarily stress the machine it runs on.
> *NOTE:* 
> http://takari.io/book/30-team-maven.html#concurrent-safe-local-repository is 
> a Takari Extension for Apache Maven that introduces a concurrent-safe 
> local-re

[GitHub] khmarbaise commented on issue #2: [MJLINK-23] Allow setting additional modulepaths

2018-08-18 Thread GitBox
khmarbaise commented on issue #2: [MJLINK-23] Allow setting additional 
modulepaths
URL: https://github.com/apache/maven-jlink-plugin/pull/2#issuecomment-414061396
 
 
   It would be helpful if you used the templates as they are provided during 
the creation of the pull request...
   Apart from that would you please squash your commits into a single commit


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


[jira] [Commented] (MJLINK-23) Allow setting additional modulepaths

2018-08-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on MJLINK-23:
--

khmarbaise commented on issue #2: [MJLINK-23] Allow setting additional 
modulepaths
URL: https://github.com/apache/maven-jlink-plugin/pull/2#issuecomment-414061396
 
 
   It would be helpful if you used the templates as they are provided during 
the creation of the pull request...
   Apart from that would you please squash your commits into a single commit


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Allow setting additional modulepaths
> 
>
> Key: MJLINK-23
> URL: https://issues.apache.org/jira/browse/MJLINK-23
> Project: Maven JLink Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.0-alpha-2
>Reporter: Guillermo González de Agüero
>Priority: Major
>
> There's a modulePaths property but it's missing the @Parameter annotation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] ggam closed pull request #2: [MJLINK-23] Allow setting additional modulepaths

2018-08-18 Thread GitBox
ggam closed pull request #2: [MJLINK-23] Allow setting additional modulepaths
URL: https://github.com/apache/maven-jlink-plugin/pull/2
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):



 


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


[jira] [Commented] (MJLINK-23) Allow setting additional modulepaths

2018-08-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on MJLINK-23:
--

ggam closed pull request #2: [MJLINK-23] Allow setting additional modulepaths
URL: https://github.com/apache/maven-jlink-plugin/pull/2
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):



 


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Allow setting additional modulepaths
> 
>
> Key: MJLINK-23
> URL: https://issues.apache.org/jira/browse/MJLINK-23
> Project: Maven JLink Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.0-alpha-2
>Reporter: Guillermo González de Agüero
>Priority: Major
>
> There's a modulePaths property but it's missing the @Parameter annotation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] ggam opened a new pull request #2: [MJLINK-23] Allow setting additional modulepaths

2018-08-18 Thread GitBox
ggam opened a new pull request #2: [MJLINK-23] Allow setting additional 
modulepaths
URL: https://github.com/apache/maven-jlink-plugin/pull/2
 
 
   There's a modulePaths property but it's missing the @parameter annotation.
   
   -
   
   Following this checklist to help us incorporate your 
   contribution quickly and easily:
   
- [X] Make sure there is a [JIRA 
issue](https://issues.apache.org/jira/browse/MJLINK) filed 
  for the change (usually before you start working on it).  Trivial 
changes like typos do not 
  require a JIRA issue.  Your pull request should address just this 
issue, without 
  pulling in other changes.
- [X] Each commit in the pull request should have a meaningful subject line 
and body.
- [X] Format the pull request title like `[MJLINK-XXX] - Fixes bug in 
ApproximateQuantiles`,
  where you replace `MJLINK-XXX` with the appropriate JIRA issue. Best 
practice
  is to use the JIRA issue title in the pull request title and in the 
first line of the 
  commit message.
- [X] Write a pull request description that is detailed enough to 
understand what the pull request does, how, and why.
- [X] Run `mvn clean verify` to make sure basic checks pass. A more 
thorough check will 
  be performed on your pull request automatically.
- [X] You have run the integration tests successfully (`mvn -Prun-its clean 
verify`).
   
   If your pull request is about ~20 lines of code you don't need to sign an
   [Individual Contributor License 
Agreement](https://www.apache.org/licenses/icla.pdf) if you are unsure
   please ask on the developers list.
   
   To make clear that you license your contribution under 
   the [Apache License Version 2.0, January 
2004](http://www.apache.org/licenses/LICENSE-2.0)
   you have to acknowledge this by using the following check-box.
   
- [X] I hereby declare this contribution to be licenced under the [Apache 
License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)
   
- [ ] In any other case, please file an [Apache Individual Contributor 
License Agreement](https://www.apache.org/licenses/icla.pdf).
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


[jira] [Commented] (MJLINK-23) Allow setting additional modulepaths

2018-08-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on MJLINK-23:
--

ggam opened a new pull request #2: [MJLINK-23] Allow setting additional 
modulepaths
URL: https://github.com/apache/maven-jlink-plugin/pull/2
 
 
   There's a modulePaths property but it's missing the @parameter annotation.
   
   -
   
   Following this checklist to help us incorporate your 
   contribution quickly and easily:
   
- [X] Make sure there is a [JIRA 
issue](https://issues.apache.org/jira/browse/MJLINK) filed 
  for the change (usually before you start working on it).  Trivial 
changes like typos do not 
  require a JIRA issue.  Your pull request should address just this 
issue, without 
  pulling in other changes.
- [X] Each commit in the pull request should have a meaningful subject line 
and body.
- [X] Format the pull request title like `[MJLINK-XXX] - Fixes bug in 
ApproximateQuantiles`,
  where you replace `MJLINK-XXX` with the appropriate JIRA issue. Best 
practice
  is to use the JIRA issue title in the pull request title and in the 
first line of the 
  commit message.
- [X] Write a pull request description that is detailed enough to 
understand what the pull request does, how, and why.
- [X] Run `mvn clean verify` to make sure basic checks pass. A more 
thorough check will 
  be performed on your pull request automatically.
- [X] You have run the integration tests successfully (`mvn -Prun-its clean 
verify`).
   
   If your pull request is about ~20 lines of code you don't need to sign an
   [Individual Contributor License 
Agreement](https://www.apache.org/licenses/icla.pdf) if you are unsure
   please ask on the developers list.
   
   To make clear that you license your contribution under 
   the [Apache License Version 2.0, January 
2004](http://www.apache.org/licenses/LICENSE-2.0)
   you have to acknowledge this by using the following check-box.
   
- [X] I hereby declare this contribution to be licenced under the [Apache 
License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)
   
- [ ] In any other case, please file an [Apache Individual Contributor 
License Agreement](https://www.apache.org/licenses/icla.pdf).
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Allow setting additional modulepaths
> 
>
> Key: MJLINK-23
> URL: https://issues.apache.org/jira/browse/MJLINK-23
> Project: Maven JLink Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.0-alpha-2
>Reporter: Guillermo González de Agüero
>Priority: Major
>
> There's a modulePaths property but it's missing the @Parameter annotation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] ggam commented on issue #2: [MJLINK-23] Allow setting additional modulepaths

2018-08-18 Thread GitBox
ggam commented on issue #2: [MJLINK-23] Allow setting additional modulepaths
URL: https://github.com/apache/maven-jlink-plugin/pull/2#issuecomment-414062386
 
 
   Sorry I thought the template was just for contributors to make sure we do 
the needed checks. I didn't think it was needed at all since all the checks 
need to be marked before it can be approved.
   
   The commits are squashed now.


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


[jira] [Commented] (MJLINK-23) Allow setting additional modulepaths

2018-08-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on MJLINK-23:
--

ggam commented on issue #2: [MJLINK-23] Allow setting additional modulepaths
URL: https://github.com/apache/maven-jlink-plugin/pull/2#issuecomment-414062386
 
 
   Sorry I thought the template was just for contributors to make sure we do 
the needed checks. I didn't think it was needed at all since all the checks 
need to be marked before it can be approved.
   
   The commits are squashed now.


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Allow setting additional modulepaths
> 
>
> Key: MJLINK-23
> URL: https://issues.apache.org/jira/browse/MJLINK-23
> Project: Maven JLink Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.0-alpha-2
>Reporter: Guillermo González de Agüero
>Priority: Major
>
> There's a modulePaths property but it's missing the @Parameter annotation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] khmarbaise commented on issue #2: [MJLINK-23] Allow setting additional modulepaths

2018-08-18 Thread GitBox
khmarbaise commented on issue #2: [MJLINK-23] Allow setting additional 
modulepaths
URL: https://github.com/apache/maven-jlink-plugin/pull/2#issuecomment-414062810
 
 
   First many thanks that you followed the guide lines. This makes my work 
easier. 
   And yes the templates make it easy to follow them (for contributors as well 
as committers) and will create an email to the developers and furthermore it 
will create an entry into the appropriate [JIRA 
issue](https://issues.apache.org/jira/browse/MJLINK-23) which also contains the 
filled template with all information needed for a committer(s).
   
   I will merge as soon as possible but currently we have some issues with our 
CI systems at the moment so it could take some time..


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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] khmarbaise commented on issue #2: [MJLINK-23] Allow setting additional modulepaths

2018-08-18 Thread GitBox
khmarbaise commented on issue #2: [MJLINK-23] Allow setting additional 
modulepaths
URL: https://github.com/apache/maven-jlink-plugin/pull/2#issuecomment-414062872
 
 
   It will take some time see here: 
https://builds.apache.org/job/maven-box/job/maven-jlink-plugin/job/MJLINK-23/


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


[jira] [Commented] (MJLINK-23) Allow setting additional modulepaths

2018-08-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on MJLINK-23:
--

khmarbaise commented on issue #2: [MJLINK-23] Allow setting additional 
modulepaths
URL: https://github.com/apache/maven-jlink-plugin/pull/2#issuecomment-414062810
 
 
   First many thanks that you followed the guide lines. This makes my work 
easier. 
   And yes the templates make it easy to follow them (for contributors as well 
as committers) and will create an email to the developers and furthermore it 
will create an entry into the appropriate [JIRA 
issue](https://issues.apache.org/jira/browse/MJLINK-23) which also contains the 
filled template with all information needed for a committer(s).
   
   I will merge as soon as possible but currently we have some issues with our 
CI systems at the moment so it could take some time..


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Allow setting additional modulepaths
> 
>
> Key: MJLINK-23
> URL: https://issues.apache.org/jira/browse/MJLINK-23
> Project: Maven JLink Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.0-alpha-2
>Reporter: Guillermo González de Agüero
>Priority: Major
>
> There's a modulePaths property but it's missing the @Parameter annotation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MJLINK-23) Allow setting additional modulepaths

2018-08-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on MJLINK-23:
--

khmarbaise commented on issue #2: [MJLINK-23] Allow setting additional 
modulepaths
URL: https://github.com/apache/maven-jlink-plugin/pull/2#issuecomment-414062872
 
 
   It will take some time see here: 
https://builds.apache.org/job/maven-box/job/maven-jlink-plugin/job/MJLINK-23/


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Allow setting additional modulepaths
> 
>
> Key: MJLINK-23
> URL: https://issues.apache.org/jira/browse/MJLINK-23
> Project: Maven JLink Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.0-alpha-2
>Reporter: Guillermo González de Agüero
>Priority: Major
>
> There's a modulePaths property but it's missing the @Parameter annotation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (MJLINK-23) Allow setting additional modulepaths

2018-08-18 Thread Karl Heinz Marbaise (JIRA)


 [ 
https://issues.apache.org/jira/browse/MJLINK-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Heinz Marbaise reassigned MJLINK-23:
-

Assignee: Karl Heinz Marbaise

> Allow setting additional modulepaths
> 
>
> Key: MJLINK-23
> URL: https://issues.apache.org/jira/browse/MJLINK-23
> Project: Maven JLink Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.0-alpha-2
>Reporter: Guillermo González de Agüero
>Assignee: Karl Heinz Marbaise
>Priority: Major
> Fix For: 3.0.0
>
>
> There's a modulePaths property but it's missing the @Parameter annotation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MJLINK-23) Allow setting additional modulepaths

2018-08-18 Thread Karl Heinz Marbaise (JIRA)


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

Karl Heinz Marbaise commented on MJLINK-23:
---

Done in 
[09527d6cd7c9f397fbca498b4fc0f0df797fa280|https://gitbox.apache.org/repos/asf?p=maven-jlink-plugin.git;a=commitdiff;h=09527d6cd7c9f397fbca498b4fc0f0df797fa280]

> Allow setting additional modulepaths
> 
>
> Key: MJLINK-23
> URL: https://issues.apache.org/jira/browse/MJLINK-23
> Project: Maven JLink Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.0-alpha-2
>Reporter: Guillermo González de Agüero
>Priority: Major
> Fix For: 3.0.0
>
>
> There's a modulePaths property but it's missing the @Parameter annotation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (MJLINK-23) Allow setting additional modulepaths

2018-08-18 Thread Karl Heinz Marbaise (JIRA)


 [ 
https://issues.apache.org/jira/browse/MJLINK-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Heinz Marbaise updated MJLINK-23:
--
Fix Version/s: 3.0.0

> Allow setting additional modulepaths
> 
>
> Key: MJLINK-23
> URL: https://issues.apache.org/jira/browse/MJLINK-23
> Project: Maven JLink Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.0-alpha-2
>Reporter: Guillermo González de Agüero
>Assignee: Karl Heinz Marbaise
>Priority: Major
> Fix For: 3.0.0
>
>
> There's a modulePaths property but it's missing the @Parameter annotation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (MJLINK-23) Allow setting additional modulepaths

2018-08-18 Thread Karl Heinz Marbaise (JIRA)


 [ 
https://issues.apache.org/jira/browse/MJLINK-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Heinz Marbaise closed MJLINK-23.
-
Resolution: Done

> Allow setting additional modulepaths
> 
>
> Key: MJLINK-23
> URL: https://issues.apache.org/jira/browse/MJLINK-23
> Project: Maven JLink Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.0-alpha-2
>Reporter: Guillermo González de Agüero
>Priority: Major
>
> There's a modulePaths property but it's missing the @Parameter annotation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] khmarbaise commented on issue #2: [MJLINK-23] Allow setting additional modulepaths

2018-08-18 Thread GitBox
khmarbaise commented on issue #2: [MJLINK-23] Allow setting additional 
modulepaths
URL: https://github.com/apache/maven-jlink-plugin/pull/2#issuecomment-414065811
 
 
   I will thank you our INFRA Team cause they fixed the issue on the CI system 
very fast...So the results looks Ok. I have merged into master.
   Many thanks for your contribution. 


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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] khmarbaise closed pull request #2: [MJLINK-23] Allow setting additional modulepaths

2018-08-18 Thread GitBox
khmarbaise closed pull request #2: [MJLINK-23] Allow setting additional 
modulepaths
URL: https://github.com/apache/maven-jlink-plugin/pull/2
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java 
b/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java
index ccc82a6..79691a5 100644
--- a/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java
+++ b/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java
@@ -168,6 +168,11 @@
 @Parameter
 private String endian;
 
+/**
+ * Include additional paths on the --module-path option.
+ * Project dedependencies and JDK modules are automatically added.
+ */
+@Parameter
 private List modulePaths;
 
 /**


 


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


[jira] [Commented] (MJLINK-23) Allow setting additional modulepaths

2018-08-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on MJLINK-23:
--

khmarbaise closed pull request #2: [MJLINK-23] Allow setting additional 
modulepaths
URL: https://github.com/apache/maven-jlink-plugin/pull/2
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java 
b/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java
index ccc82a6..79691a5 100644
--- a/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java
+++ b/src/main/java/org/apache/maven/plugins/jlink/JLinkMojo.java
@@ -168,6 +168,11 @@
 @Parameter
 private String endian;
 
+/**
+ * Include additional paths on the --module-path option.
+ * Project dedependencies and JDK modules are automatically added.
+ */
+@Parameter
 private List modulePaths;
 
 /**


 


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Allow setting additional modulepaths
> 
>
> Key: MJLINK-23
> URL: https://issues.apache.org/jira/browse/MJLINK-23
> Project: Maven JLink Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.0-alpha-2
>Reporter: Guillermo González de Agüero
>Assignee: Karl Heinz Marbaise
>Priority: Major
> Fix For: 3.0.0
>
>
> There's a modulePaths property but it's missing the @Parameter annotation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MJLINK-23) Allow setting additional modulepaths

2018-08-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on MJLINK-23:
--

khmarbaise commented on issue #2: [MJLINK-23] Allow setting additional 
modulepaths
URL: https://github.com/apache/maven-jlink-plugin/pull/2#issuecomment-414065811
 
 
   I will thank you our INFRA Team cause they fixed the issue on the CI system 
very fast...So the results looks Ok. I have merged into master.
   Many thanks for your contribution. 


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Allow setting additional modulepaths
> 
>
> Key: MJLINK-23
> URL: https://issues.apache.org/jira/browse/MJLINK-23
> Project: Maven JLink Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.0-alpha-2
>Reporter: Guillermo González de Agüero
>Assignee: Karl Heinz Marbaise
>Priority: Major
> Fix For: 3.0.0
>
>
> There's a modulePaths property but it's missing the @Parameter annotation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MJLINK-23) Allow setting additional modulepaths

2018-08-18 Thread Hudson (JIRA)


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

Hudson commented on MJLINK-23:
--

Build succeeded in Jenkins: Maven TLP » maven-jlink-plugin » master #24

See 
https://builds.apache.org/job/maven-box/job/maven-jlink-plugin/job/master/24/

> Allow setting additional modulepaths
> 
>
> Key: MJLINK-23
> URL: https://issues.apache.org/jira/browse/MJLINK-23
> Project: Maven JLink Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.0-alpha-2
>Reporter: Guillermo González de Agüero
>Assignee: Karl Heinz Marbaise
>Priority: Major
> Fix For: 3.0.0
>
>
> There's a modulePaths property but it's missing the @Parameter annotation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] ggam commented on issue #2: [MJLINK-23] Allow setting additional modulepaths

2018-08-18 Thread GitBox
ggam commented on issue #2: [MJLINK-23] Allow setting additional modulepaths
URL: https://github.com/apache/maven-jlink-plugin/pull/2#issuecomment-414066080
 
 
   Thanks for all the explanations. Great to see all working.
   
   El sáb., 18 ago. 2018 17:26, Karl Heinz Marbaise 
   escribió:
   
   > I will thank you our INFRA Team cause they fixed the issue on the CI
   > system very fast...So the results looks Ok. I have merged into master.
   > Many thanks for your contribution.
   >
   > —
   > You are receiving this because you modified the open/close state.
   > Reply to this email directly, view it on GitHub
   > 
,
   > or mute the thread
   > 

   > .
   >
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


[jira] [Commented] (MJLINK-23) Allow setting additional modulepaths

2018-08-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on MJLINK-23:
--

ggam commented on issue #2: [MJLINK-23] Allow setting additional modulepaths
URL: https://github.com/apache/maven-jlink-plugin/pull/2#issuecomment-414066080
 
 
   Thanks for all the explanations. Great to see all working.
   
   El sáb., 18 ago. 2018 17:26, Karl Heinz Marbaise 
   escribió:
   
   > I will thank you our INFRA Team cause they fixed the issue on the CI
   > system very fast...So the results looks Ok. I have merged into master.
   > Many thanks for your contribution.
   >
   > —
   > You are receiving this because you modified the open/close state.
   > Reply to this email directly, view it on GitHub
   > 
,
   > or mute the thread
   > 

   > .
   >
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Allow setting additional modulepaths
> 
>
> Key: MJLINK-23
> URL: https://issues.apache.org/jira/browse/MJLINK-23
> Project: Maven JLink Plugin
>  Issue Type: Bug
>Affects Versions: 3.0.0-alpha-2
>Reporter: Guillermo González de Agüero
>Assignee: Karl Heinz Marbaise
>Priority: Major
> Fix For: 3.0.0
>
>
> There's a modulePaths property but it's missing the @Parameter annotation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] asfgit closed pull request #5: [MJAVADOC-528] - Invalid 'expires' attribute

2018-08-18 Thread GitBox
asfgit closed pull request #5: [MJAVADOC-528] - Invalid 'expires' attribute
URL: https://github.com/apache/maven-javadoc-plugin/pull/5
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/src/it/projects/MJAVADOC-528/invoker.properties 
b/src/it/projects/MJAVADOC-528/invoker.properties
new file mode 100644
index 000..a4e250d
--- /dev/null
+++ b/src/it/projects/MJAVADOC-528/invoker.properties
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+invoker.goals=clean javadoc:javadoc
diff --git a/src/it/projects/MJAVADOC-528/pom.xml 
b/src/it/projects/MJAVADOC-528/pom.xml
new file mode 100644
index 000..c14787f
--- /dev/null
+++ b/src/it/projects/MJAVADOC-528/pom.xml
@@ -0,0 +1,55 @@
+
+
+
+
+http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
+  4.0.0
+
+  org.apache.maven.plugins.maven-javadoc-plugin.it
+  mjavadoc-528
+  1.0-SNAPSHOT
+
+  
+UTF-8
+  
+
+  
+
+  
+
+  org.apache.maven.plugins
+  maven-javadoc-plugin
+  @pom.version@
+  
+true
+  
+
+  
+
+  
+
+  
+ 
+   com.google.code.gson
+   gson
+   2.5
+ 
+  
+
diff --git a/src/it/projects/MJAVADOC-528/src/main/java/foo/bar/MyClass.java 
b/src/it/projects/MJAVADOC-528/src/main/java/foo/bar/MyClass.java
new file mode 100644
index 000..e5960e3
--- /dev/null
+++ b/src/it/projects/MJAVADOC-528/src/main/java/foo/bar/MyClass.java
@@ -0,0 +1,24 @@
+package foo.bar;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+public class MyClass
+{
+}
diff --git a/src/it/projects/MJAVADOC-528/verify.groovy 
b/src/it/projects/MJAVADOC-528/verify.groovy
new file mode 100644
index 000..66dfbd1
--- /dev/null
+++ b/src/it/projects/MJAVADOC-528/verify.groovy
@@ -0,0 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+File log = new File( basedir, 'build.log' )
+assert !( log.text =~ /.*Invalid cookie header:[^\r\n]+\. Invalid 'expires' 
attribute:.*/ )
diff --git a/src/main/java/org/apache/maven/plugins/javadoc/JavadocUtil.java 
b/src/main/java/org/apache/maven/plugins/javadoc/JavadocUtil.java
index a740c6e..c96d12a 100644
--- a/src/main/java/org/apache/maven/plugins/javadoc/JavadocUtil.java
+++ b/src/main/java/org/apache/maven/plugins/javadoc/JavadocUtil.ja

[jira] [Commented] (MJAVADOC-528) Invalid 'expires' attribute

2018-08-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on MJAVADOC-528:
-

asfgit closed pull request #5: [MJAVADOC-528] - Invalid 'expires' attribute
URL: https://github.com/apache/maven-javadoc-plugin/pull/5
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/src/it/projects/MJAVADOC-528/invoker.properties 
b/src/it/projects/MJAVADOC-528/invoker.properties
new file mode 100644
index 000..a4e250d
--- /dev/null
+++ b/src/it/projects/MJAVADOC-528/invoker.properties
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+invoker.goals=clean javadoc:javadoc
diff --git a/src/it/projects/MJAVADOC-528/pom.xml 
b/src/it/projects/MJAVADOC-528/pom.xml
new file mode 100644
index 000..c14787f
--- /dev/null
+++ b/src/it/projects/MJAVADOC-528/pom.xml
@@ -0,0 +1,55 @@
+
+
+
+
+http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
+  4.0.0
+
+  org.apache.maven.plugins.maven-javadoc-plugin.it
+  mjavadoc-528
+  1.0-SNAPSHOT
+
+  
+UTF-8
+  
+
+  
+
+  
+
+  org.apache.maven.plugins
+  maven-javadoc-plugin
+  @pom.version@
+  
+true
+  
+
+  
+
+  
+
+  
+ 
+   com.google.code.gson
+   gson
+   2.5
+ 
+  
+
diff --git a/src/it/projects/MJAVADOC-528/src/main/java/foo/bar/MyClass.java 
b/src/it/projects/MJAVADOC-528/src/main/java/foo/bar/MyClass.java
new file mode 100644
index 000..e5960e3
--- /dev/null
+++ b/src/it/projects/MJAVADOC-528/src/main/java/foo/bar/MyClass.java
@@ -0,0 +1,24 @@
+package foo.bar;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+public class MyClass
+{
+}
diff --git a/src/it/projects/MJAVADOC-528/verify.groovy 
b/src/it/projects/MJAVADOC-528/verify.groovy
new file mode 100644
index 000..66dfbd1
--- /dev/null
+++ b/src/it/projects/MJAVADOC-528/verify.groovy
@@ -0,0 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+File log = new File( basedir, 'build.log' )
+assert !( log.text =~ /.*Invalid cookie header:[^\r\n]+\. Invalid 'expires' 
attribute:.*/ )
diff --git a/src/main/java/org/apache/maven/plug

[jira] [Commented] (MJAVADOC-528) Invalid 'expires' attribute

2018-08-18 Thread JIRA


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

Guillaume Boué commented on MJAVADOC-528:
-

Fixed in 
[b651443bba06fdf469b730024489c3f02629e50c|https://gitbox.apache.org/repos/asf?p=maven-javadoc-plugin.git;a=commit;h=b651443bba06fdf469b730024489c3f02629e50c].

> Invalid 'expires' attribute
> ---
>
> Key: MJAVADOC-528
> URL: https://issues.apache.org/jira/browse/MJAVADOC-528
> Project: Maven Javadoc Plugin
>  Issue Type: Bug
>  Components: javadoc
>Affects Versions: 3.0.1
>Reporter: Roberto Benedetti
>Priority: Major
>  Labels: detectLinks
> Attachments: cookie.patch
>
>
> When detectLinks is enabled and the plugin checks if the url is valid, 
> warnings like this
> {code:java}
> Invalid cookie header: "Set-Cookie: logged_in=no; domain=.github.com; path=/; 
> expires=Sun, 06 Jun 2038 14:02:43 -; secure; HttpOnly". Invalid 'expires' 
> attribute: Sun, 06 Jun 2038 14:02:43 -
> {code}
> may appear.
> Previous warning was due to {{com.google.code.gson:gson:jar:2.5}} dependency 
> and is raised by HttpClient which does not expect 'expires' values compliant 
> to RFC 6265.
>  The attachment is a patch which makes HttpClient ignore cookies. Maybe a 
> better solution would be upgrading to the latest HttpComponents API which 
> supports RFC 6265.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (MJAVADOC-528) Invalid 'expires' attribute

2018-08-18 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/MJAVADOC-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Boué closed MJAVADOC-528.
---
   Resolution: Fixed
 Assignee: Guillaume Boué
Fix Version/s: 3.0.2

> Invalid 'expires' attribute
> ---
>
> Key: MJAVADOC-528
> URL: https://issues.apache.org/jira/browse/MJAVADOC-528
> Project: Maven Javadoc Plugin
>  Issue Type: Bug
>  Components: javadoc
>Affects Versions: 3.0.1
>Reporter: Roberto Benedetti
>Assignee: Guillaume Boué
>Priority: Major
>  Labels: detectLinks
> Fix For: 3.0.2
>
> Attachments: cookie.patch
>
>
> When detectLinks is enabled and the plugin checks if the url is valid, 
> warnings like this
> {code:java}
> Invalid cookie header: "Set-Cookie: logged_in=no; domain=.github.com; path=/; 
> expires=Sun, 06 Jun 2038 14:02:43 -; secure; HttpOnly". Invalid 'expires' 
> attribute: Sun, 06 Jun 2038 14:02:43 -
> {code}
> may appear.
> Previous warning was due to {{com.google.code.gson:gson:jar:2.5}} dependency 
> and is raised by HttpClient which does not expect 'expires' values compliant 
> to RFC 6265.
>  The attachment is a patch which makes HttpClient ignore cookies. Maybe a 
> better solution would be upgrading to the latest HttpComponents API which 
> supports RFC 6265.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MJAVADOC-528) Invalid 'expires' attribute

2018-08-18 Thread Hudson (JIRA)


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

Hudson commented on MJAVADOC-528:
-

Build succeeded in Jenkins: Maven TLP » maven-javadoc-plugin » master #59

See 
https://builds.apache.org/job/maven-box/job/maven-javadoc-plugin/job/master/59/

> Invalid 'expires' attribute
> ---
>
> Key: MJAVADOC-528
> URL: https://issues.apache.org/jira/browse/MJAVADOC-528
> Project: Maven Javadoc Plugin
>  Issue Type: Bug
>  Components: javadoc
>Affects Versions: 3.0.1
>Reporter: Roberto Benedetti
>Assignee: Guillaume Boué
>Priority: Major
>  Labels: detectLinks
> Fix For: 3.0.2
>
> Attachments: cookie.patch
>
>
> When detectLinks is enabled and the plugin checks if the url is valid, 
> warnings like this
> {code:java}
> Invalid cookie header: "Set-Cookie: logged_in=no; domain=.github.com; path=/; 
> expires=Sun, 06 Jun 2038 14:02:43 -; secure; HttpOnly". Invalid 'expires' 
> attribute: Sun, 06 Jun 2038 14:02:43 -
> {code}
> may appear.
> Previous warning was due to {{com.google.code.gson:gson:jar:2.5}} dependency 
> and is raised by HttpClient which does not expect 'expires' values compliant 
> to RFC 6265.
>  The attachment is a patch which makes HttpClient ignore cookies. Maybe a 
> better solution would be upgrading to the latest HttpComponents API which 
> supports RFC 6265.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (MJAVADOC-535) Upgrade to parent pom 32

2018-08-18 Thread JIRA
Guillaume Boué created MJAVADOC-535:
---

 Summary: Upgrade to parent pom 32
 Key: MJAVADOC-535
 URL: https://issues.apache.org/jira/browse/MJAVADOC-535
 Project: Maven Javadoc Plugin
  Issue Type: Dependency upgrade
Affects Versions: 3.0.1
Reporter: Guillaume Boué
Assignee: Guillaume Boué
 Fix For: 3.0.2






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MJAVADOC-535) Upgrade to parent pom 32

2018-08-18 Thread JIRA


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

Guillaume Boué commented on MJAVADOC-535:
-

Fixed in 
[033ce3a46b7fdf3ed6a9075192d6e3b4dd2800ec|https://gitbox.apache.org/repos/asf?p=maven-javadoc-plugin.git;a=commit;h=033ce3a46b7fdf3ed6a9075192d6e3b4dd2800ec].

> Upgrade to parent pom 32
> 
>
> Key: MJAVADOC-535
> URL: https://issues.apache.org/jira/browse/MJAVADOC-535
> Project: Maven Javadoc Plugin
>  Issue Type: Dependency upgrade
>Affects Versions: 3.0.1
>Reporter: Guillaume Boué
>Assignee: Guillaume Boué
>Priority: Minor
> Fix For: 3.0.2
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (MJAVADOC-535) Upgrade to parent pom 32

2018-08-18 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/MJAVADOC-535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Boué closed MJAVADOC-535.
---
Resolution: Fixed

> Upgrade to parent pom 32
> 
>
> Key: MJAVADOC-535
> URL: https://issues.apache.org/jira/browse/MJAVADOC-535
> Project: Maven Javadoc Plugin
>  Issue Type: Dependency upgrade
>Affects Versions: 3.0.1
>Reporter: Guillaume Boué
>Assignee: Guillaume Boué
>Priority: Minor
> Fix For: 3.0.2
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MJAVADOC-535) Upgrade to parent pom 32

2018-08-18 Thread Hudson (JIRA)


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

Hudson commented on MJAVADOC-535:
-

Build succeeded in Jenkins: Maven TLP » maven-javadoc-plugin » master #60

See 
https://builds.apache.org/job/maven-box/job/maven-javadoc-plugin/job/master/60/

> Upgrade to parent pom 32
> 
>
> Key: MJAVADOC-535
> URL: https://issues.apache.org/jira/browse/MJAVADOC-535
> Project: Maven Javadoc Plugin
>  Issue Type: Dependency upgrade
>Affects Versions: 3.0.1
>Reporter: Guillaume Boué
>Assignee: Guillaume Boué
>Priority: Minor
> Fix For: 3.0.2
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (MPOM-205) create SHA-512 checksum for source-release archive(s) in target/ during release

2018-08-18 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/MPOM-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hervé Boutemy updated MPOM-205:
---
Description: 
currently, during Apache release, checksums are not created in target/ 
directory: checksums are created on the fly during deploy to the Maven 
repository (for absolutely every artifact, be it "normal" artifacts or source 
release)

while source release archive and its signature are available in target/ (or 
target/checkout/target during release with Maven Release Plugin), checksums are 
not there: this gives people the bad habit to download everything (not only 
checksums) from Apache Nexus repository after deploy to copy to Apache /dist/

it would be useful to have the checksums for source release available in 
target/ (then in target/checkout/target during release)

this would also prepare having new Apache checksums requirements for Apache 
mirroring: http://www.apache.org/dev/release-distribution#sigs-and-sums
sha256 and sha512 are not used for Maven repositories (and even not supported: 
they are considered as artifacts, not checksums, then require md5 and sha1 
checksum files...), but they are required for Apache source release distribution

  was:
currently, during Apache release, checksums are not created in target/ 
directory: checksums are created on the fly during deploy to the Maven 
repository (for absolutely every artifact, be it normal artifacts or source 
release)

while source release archive and its signature are available in target/, 
checksums are not there: this gives people the bad habit to download everything 
(not only checksums) from Apache Nexus repository after deploy to copy to 
Apache /dist/

it would be useful to have the checksums for source release available in target/

this would also prepare having new Apache checksums requirements for Apache 
mirroring: http://www.apache.org/dev/release-distribution#sigs-and-sums
sha256 and sha512 are not used for Maven repositories, but they are required 
for Apache source release distribution


> create SHA-512 checksum for source-release archive(s) in target/ during 
> release
> ---
>
> Key: MPOM-205
> URL: https://issues.apache.org/jira/browse/MPOM-205
> Project: Maven POMs
>  Issue Type: New Feature
>  Components: asf
>Affects Versions: ASF-20
>Reporter: Hervé Boutemy
>Assignee: Hervé Boutemy
>Priority: Major
> Fix For: ASF-21
>
>
> currently, during Apache release, checksums are not created in target/ 
> directory: checksums are created on the fly during deploy to the Maven 
> repository (for absolutely every artifact, be it "normal" artifacts or source 
> release)
> while source release archive and its signature are available in target/ (or 
> target/checkout/target during release with Maven Release Plugin), checksums 
> are not there: this gives people the bad habit to download everything (not 
> only checksums) from Apache Nexus repository after deploy to copy to Apache 
> /dist/
> it would be useful to have the checksums for source release available in 
> target/ (then in target/checkout/target during release)
> this would also prepare having new Apache checksums requirements for Apache 
> mirroring: http://www.apache.org/dev/release-distribution#sigs-and-sums
> sha256 and sha512 are not used for Maven repositories (and even not 
> supported: they are considered as artifacts, not checksums, then require md5 
> and sha1 checksum files...), but they are required for Apache source release 
> distribution



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (MPOM-134) Add profile to use a different resource bundle for incubator projects

2018-08-18 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/MPOM-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hervé Boutemy updated MPOM-134:
---
Fix Version/s: (was: ASF-21)
   ASF-22

> Add profile to use a different resource bundle for incubator projects
> -
>
> Key: MPOM-134
> URL: https://issues.apache.org/jira/browse/MPOM-134
> Project: Maven POMs
>  Issue Type: Improvement
>Affects Versions: ASF-18
>Reporter: Christopher Tubbs
>Priority: Major
> Fix For: ASF-22
>
>
> The {{org.apache:apache-jar-resource-bundle:1.4}} resourceBundle currently 
> specified in the parent POM does not handle the DISCLAIMER file for incubator 
> projects.
> It would be nice if there were an incubation profile, which could be 
> activated for incubating projects, to use an incubating resource bundle which 
> did handle this DISCLAIMER file.
> This could be done in several ways:
> # An optional second execution of the {{maven-remote-resources-plugin}} could 
> run when the profile is activated, which handles a second resource bundle for 
> the DISCLAIMER file.
> # The current resourceBundle could be turned into a property, which is 
> overridden when the profile is activated, using a resourceBundle which 
> handles everything the current one does, plus the DISCLAIMER file.
> # The current {{maven-remote-resources-plugin}} execution could have the 
> {{}} element changed to {{ combine.children="append">}}, and the profile could specify an additional 
> {{}} to handle the DISCLAIMER file, for the same execution id 
> of {{maven-remote-resources-plugin}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (MPOM-168) JDK 9 requires updates to plugins

2018-08-18 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/MPOM-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hervé Boutemy updated MPOM-168:
---
Fix Version/s: (was: ASF-21)
   ASF-22

> JDK 9 requires updates to plugins
> -
>
> Key: MPOM-168
> URL: https://issues.apache.org/jira/browse/MPOM-168
> Project: Maven POMs
>  Issue Type: Improvement
>  Components: asf
>Affects Versions: ASF-19
>Reporter: Karl Heinz Marbaise
>Priority: Minor
> Fix For: ASF-22
>
>
> The following plugins needed to be updated to work with JDK 9:
> * The maven-enforcer-plugin should be updated to final 3.0.0 release to make 
> the pom working with JDK 9...
> * maven-shade-plugin should be upgraded to 3.0.0



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (MPOM-205) create SHA-512 checksum for source-release archive(s) in target/checkout/target/ during release

2018-08-18 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/MPOM-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hervé Boutemy updated MPOM-205:
---
Summary: create SHA-512 checksum for source-release archive(s) in 
target/checkout/target/ during release  (was: create SHA-512 checksum for 
source-release archive(s) in target/ during release)

> create SHA-512 checksum for source-release archive(s) in 
> target/checkout/target/ during release
> ---
>
> Key: MPOM-205
> URL: https://issues.apache.org/jira/browse/MPOM-205
> Project: Maven POMs
>  Issue Type: New Feature
>  Components: asf
>Affects Versions: ASF-20
>Reporter: Hervé Boutemy
>Assignee: Hervé Boutemy
>Priority: Major
> Fix For: ASF-21
>
>
> currently, during Apache release, checksums are not created in target/ 
> directory: checksums are created on the fly during deploy to the Maven 
> repository (for absolutely every artifact, be it "normal" artifacts or source 
> release)
> while source release archive and its signature are available in target/ (or 
> target/checkout/target during release with Maven Release Plugin), checksums 
> are not there: this gives people the bad habit to download everything (not 
> only checksums) from Apache Nexus repository after deploy to copy to Apache 
> /dist/
> it would be useful to have the checksums for source release available in 
> target/ (then in target/checkout/target during release)
> this would also prepare having new Apache checksums requirements for Apache 
> mirroring: http://www.apache.org/dev/release-distribution#sigs-and-sums
> sha256 and sha512 are not used for Maven repositories (and even not 
> supported: they are considered as artifacts, not checksums, then require md5 
> and sha1 checksum files...), but they are required for Apache source release 
> distribution



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (MPOM-205) create SHA-512 checksum for source-release archive(s) in target/checkout/target/ during release

2018-08-18 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/MPOM-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hervé Boutemy updated MPOM-205:
---
Description: 
currently, during Apache release, checksums are not created in target/ 
directory: checksums are created on the fly during deploy to the Maven 
repository (for absolutely every artifact, be it "normal" artifacts or source 
release)

while source release archive and its signature are available in target/ (or 
target/checkout/target during release with Maven Release Plugin), checksums are 
not there: this gives people the bad habit to download everything (not only 
checksums) from Apache Nexus repository after deploy to copy to Apache /dist/

it would be useful to have the checksums for source release available in 
target/ (then in target/checkout/target during release)

this would also prepare having new Apache checksums requirements for Apache 
mirroring: http://www.apache.org/dev/release-distribution#sigs-and-sums
sha256 and sha512 are not used for Maven repositories (and even not supported: 
they are considered as artifacts, not checksums, then require md5 and sha1 
checksum files and ..asc detached signature...), but they are required for 
Apache source release distribution

  was:
currently, during Apache release, checksums are not created in target/ 
directory: checksums are created on the fly during deploy to the Maven 
repository (for absolutely every artifact, be it "normal" artifacts or source 
release)

while source release archive and its signature are available in target/ (or 
target/checkout/target during release with Maven Release Plugin), checksums are 
not there: this gives people the bad habit to download everything (not only 
checksums) from Apache Nexus repository after deploy to copy to Apache /dist/

it would be useful to have the checksums for source release available in 
target/ (then in target/checkout/target during release)

this would also prepare having new Apache checksums requirements for Apache 
mirroring: http://www.apache.org/dev/release-distribution#sigs-and-sums
sha256 and sha512 are not used for Maven repositories (and even not supported: 
they are considered as artifacts, not checksums, then require md5 and sha1 
checksum files...), but they are required for Apache source release distribution


> create SHA-512 checksum for source-release archive(s) in 
> target/checkout/target/ during release
> ---
>
> Key: MPOM-205
> URL: https://issues.apache.org/jira/browse/MPOM-205
> Project: Maven POMs
>  Issue Type: New Feature
>  Components: asf
>Affects Versions: ASF-20
>Reporter: Hervé Boutemy
>Assignee: Hervé Boutemy
>Priority: Major
> Fix For: ASF-21
>
>
> currently, during Apache release, checksums are not created in target/ 
> directory: checksums are created on the fly during deploy to the Maven 
> repository (for absolutely every artifact, be it "normal" artifacts or source 
> release)
> while source release archive and its signature are available in target/ (or 
> target/checkout/target during release with Maven Release Plugin), checksums 
> are not there: this gives people the bad habit to download everything (not 
> only checksums) from Apache Nexus repository after deploy to copy to Apache 
> /dist/
> it would be useful to have the checksums for source release available in 
> target/ (then in target/checkout/target during release)
> this would also prepare having new Apache checksums requirements for Apache 
> mirroring: http://www.apache.org/dev/release-distribution#sigs-and-sums
> sha256 and sha512 are not used for Maven repositories (and even not 
> supported: they are considered as artifacts, not checksums, then require md5 
> and sha1 checksum files and ..asc detached signature...), but they are 
> required for Apache source release distribution



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (MPOM-205) create SHA-512 checksum for source-release archive(s) in target/checkout/target/ during release

2018-08-18 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/MPOM-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hervé Boutemy updated MPOM-205:
---
Description: 
currently, during Apache release, checksums are not created in target/ 
directory: checksums are created on the fly during deploy to the Maven 
repository (for absolutely every artifact, be it "normal" artifacts or source 
release)

while source release archive and its signature are available in target/ (or 
target/checkout/target during release with Maven Release Plugin), checksums are 
not there: this gives people the bad habit to download everything (not only 
checksums) from Apache Nexus repository after deploy to copy to Apache /dist/

it would be useful to have the checksums for source release available in 
target/ (then in target/checkout/target during release)

this would also prepare having new Apache checksums requirements for Apache 
mirroring: http://www.apache.org/dev/release-distribution#sigs-and-sums
sha256 and sha512 are not used for Maven repositories, but they are required 
for Apache source release distribution

Notice: .sha256 and .sha512 files are not only not supported for Maven 
repositories, but even not supported: they are considered as artifacts, not 
checksums, then require md5 and sha1 checksum files and .asc detached 
signature...

  was:
currently, during Apache release, checksums are not created in target/ 
directory: checksums are created on the fly during deploy to the Maven 
repository (for absolutely every artifact, be it "normal" artifacts or source 
release)

while source release archive and its signature are available in target/ (or 
target/checkout/target during release with Maven Release Plugin), checksums are 
not there: this gives people the bad habit to download everything (not only 
checksums) from Apache Nexus repository after deploy to copy to Apache /dist/

it would be useful to have the checksums for source release available in 
target/ (then in target/checkout/target during release)

this would also prepare having new Apache checksums requirements for Apache 
mirroring: http://www.apache.org/dev/release-distribution#sigs-and-sums
sha256 and sha512 are not used for Maven repositories (and even not supported: 
they are considered as artifacts, not checksums, then require md5 and sha1 
checksum files and ..asc detached signature...), but they are required for 
Apache source release distribution


> create SHA-512 checksum for source-release archive(s) in 
> target/checkout/target/ during release
> ---
>
> Key: MPOM-205
> URL: https://issues.apache.org/jira/browse/MPOM-205
> Project: Maven POMs
>  Issue Type: New Feature
>  Components: asf
>Affects Versions: ASF-20
>Reporter: Hervé Boutemy
>Assignee: Hervé Boutemy
>Priority: Major
> Fix For: ASF-21
>
>
> currently, during Apache release, checksums are not created in target/ 
> directory: checksums are created on the fly during deploy to the Maven 
> repository (for absolutely every artifact, be it "normal" artifacts or source 
> release)
> while source release archive and its signature are available in target/ (or 
> target/checkout/target during release with Maven Release Plugin), checksums 
> are not there: this gives people the bad habit to download everything (not 
> only checksums) from Apache Nexus repository after deploy to copy to Apache 
> /dist/
> it would be useful to have the checksums for source release available in 
> target/ (then in target/checkout/target during release)
> this would also prepare having new Apache checksums requirements for Apache 
> mirroring: http://www.apache.org/dev/release-distribution#sigs-and-sums
> sha256 and sha512 are not used for Maven repositories, but they are required 
> for Apache source release distribution
> Notice: .sha256 and .sha512 files are not only not supported for Maven 
> repositories, but even not supported: they are considered as artifacts, not 
> checksums, then require md5 and sha1 checksum files and .asc detached 
> signature...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (MPOM-205) create SHA-512 checksum for source-release archive(s) in target/checkout/target/ during release

2018-08-18 Thread JIRA


 [ 
https://issues.apache.org/jira/browse/MPOM-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hervé Boutemy updated MPOM-205:
---
Description: 
currently, during Apache release, checksums are not created in target/ 
directory: checksums are created on the fly during deploy to the Maven 
repository (for absolutely every artifact, be it "normal" artifacts or source 
release)

while source release archive and its signature are available in target/ (or 
target/checkout/target during release with Maven Release Plugin), checksums are 
not there: this gives people the bad habit to download everything (not only 
checksums) from Apache Nexus repository after deploy to copy to Apache /dist/

it would be useful to have the checksums for source release available in 
target/ (then in target/checkout/target during release)

this would also prepare having new Apache checksums requirements for Apache 
mirroring: http://www.apache.org/dev/release-distribution#sigs-and-sums
sha256 and sha512 are not used for Maven repositories, but they are required 
for Apache source release distribution

Notice: .sha256 and .sha512 files are not only not supported for Maven 
repositories, but even not supported: they are considered as artifacts, not 
checksums, then require md5 and sha1 checksum files and .asc detached 
signature...
Then the .sha512 file is not to be deployed to the Maven repository, only 
Apache /dist/

  was:
currently, during Apache release, checksums are not created in target/ 
directory: checksums are created on the fly during deploy to the Maven 
repository (for absolutely every artifact, be it "normal" artifacts or source 
release)

while source release archive and its signature are available in target/ (or 
target/checkout/target during release with Maven Release Plugin), checksums are 
not there: this gives people the bad habit to download everything (not only 
checksums) from Apache Nexus repository after deploy to copy to Apache /dist/

it would be useful to have the checksums for source release available in 
target/ (then in target/checkout/target during release)

this would also prepare having new Apache checksums requirements for Apache 
mirroring: http://www.apache.org/dev/release-distribution#sigs-and-sums
sha256 and sha512 are not used for Maven repositories, but they are required 
for Apache source release distribution

Notice: .sha256 and .sha512 files are not only not supported for Maven 
repositories, but even not supported: they are considered as artifacts, not 
checksums, then require md5 and sha1 checksum files and .asc detached 
signature...


> create SHA-512 checksum for source-release archive(s) in 
> target/checkout/target/ during release
> ---
>
> Key: MPOM-205
> URL: https://issues.apache.org/jira/browse/MPOM-205
> Project: Maven POMs
>  Issue Type: New Feature
>  Components: asf
>Affects Versions: ASF-20
>Reporter: Hervé Boutemy
>Assignee: Hervé Boutemy
>Priority: Major
> Fix For: ASF-21
>
>
> currently, during Apache release, checksums are not created in target/ 
> directory: checksums are created on the fly during deploy to the Maven 
> repository (for absolutely every artifact, be it "normal" artifacts or source 
> release)
> while source release archive and its signature are available in target/ (or 
> target/checkout/target during release with Maven Release Plugin), checksums 
> are not there: this gives people the bad habit to download everything (not 
> only checksums) from Apache Nexus repository after deploy to copy to Apache 
> /dist/
> it would be useful to have the checksums for source release available in 
> target/ (then in target/checkout/target during release)
> this would also prepare having new Apache checksums requirements for Apache 
> mirroring: http://www.apache.org/dev/release-distribution#sigs-and-sums
> sha256 and sha512 are not used for Maven repositories, but they are required 
> for Apache source release distribution
> Notice: .sha256 and .sha512 files are not only not supported for Maven 
> repositories, but even not supported: they are considered as artifacts, not 
> checksums, then require md5 and sha1 checksum files and .asc detached 
> signature...
> Then the .sha512 file is not to be deployed to the Maven repository, only 
> Apache /dist/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MPOM-205) create SHA-512 checksum for source-release archive(s) in target/checkout/target/ during release

2018-08-18 Thread Hudson (JIRA)


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

Hudson commented on MPOM-205:
-

Build succeeded in Jenkins: Maven TLP » maven-apache-parent » master #38

See 
https://builds.apache.org/job/maven-box/job/maven-apache-parent/job/master/38/

> create SHA-512 checksum for source-release archive(s) in 
> target/checkout/target/ during release
> ---
>
> Key: MPOM-205
> URL: https://issues.apache.org/jira/browse/MPOM-205
> Project: Maven POMs
>  Issue Type: New Feature
>  Components: asf
>Affects Versions: ASF-20
>Reporter: Hervé Boutemy
>Assignee: Hervé Boutemy
>Priority: Major
> Fix For: ASF-21
>
>
> currently, during Apache release, checksums are not created in target/ 
> directory: checksums are created on the fly during deploy to the Maven 
> repository (for absolutely every artifact, be it "normal" artifacts or source 
> release)
> while source release archive and its signature are available in target/ (or 
> target/checkout/target during release with Maven Release Plugin), checksums 
> are not there: this gives people the bad habit to download everything (not 
> only checksums) from Apache Nexus repository after deploy to copy to Apache 
> /dist/
> it would be useful to have the checksums for source release available in 
> target/ (then in target/checkout/target during release)
> this would also prepare having new Apache checksums requirements for Apache 
> mirroring: http://www.apache.org/dev/release-distribution#sigs-and-sums
> sha256 and sha512 are not used for Maven repositories, but they are required 
> for Apache source release distribution
> Notice: .sha256 and .sha512 files are not only not supported for Maven 
> repositories, but even not supported: they are considered as artifacts, not 
> checksums, then require md5 and sha1 checksum files and .asc detached 
> signature...
> Then the .sha512 file is not to be deployed to the Maven repository, only 
> Apache /dist/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MSITE-639) sub-project tries to fetch a site_en.xml even though no locales are configured

2018-08-18 Thread Stephen Colebourne (JIRA)


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

Stephen Colebourne commented on MSITE-639:
--

I can't reopen this (as I don't have permission), but I believe it is still a 
problem with the latest plugins. However it is transient - it does not happen 
every time. I haven't tried the projects above, but can point you at Joda-Money 
for example. [https://github.com/JodaOrg/joda-money] as of the 18th August.

I suspect that it does not always fail the first time as the failure is due to 
network issues of some kind, such as Maven Central being flaky. This is 
particularly a problem if multiple repos are being queried. Without 
investigating further, my gut feeling is that the code only determines that the 
file is missing if  _all_ the remote repos say its not there. Thus if one repo 
is slow, or returns something other than 404 (eg. a security access failure)

I've seen the problem on Java 8, 9 and 10 builds on Travis. For example, I 
pushed three separate Joda projects in the last hour which performed 9 builds 
on Travis - with two Java 9 failures and one Java 10. ie. the same commit in 
the same Travis build failing on 10 but working on 9 and vice versa). My next 
set of 9 builds saw 4 fail and 5 succeed.

This is the section of the build in my case when it succeeds, as can be seen it 
queries multiple repos:
 
{noformat}
[INFO] Done SpotBugs Analysis [INFO] Rendering site with default locale 
English (en) [INFO] Downloading from sonatype: 
https://oss.sonatype.org/content/repositories/releases/org/joda/joda-parent/1.3/joda-parent-1.3-site_en.xml
 [INFO] Downloading from sonatype-apache: 
https://repository.apache.org/releases/org/joda/joda-parent/1.3/joda-parent-1.3-site_en.xml
 [INFO] Downloading from central: 
http://repo.maven.apache.org/maven2/org/joda/joda-parent/1.3/joda-parent-1.3-site.xml
 [INFO] Downloaded from central: 
http://repo.maven.apache.org/maven2/org/joda/joda-parent/1.3/joda-parent-1.3-site.xml
 (87 B at 4.1 kB/s) [INFO] Relativizing decoration links with respect to 
localized project URL: http://www.joda.org/joda-beans/{noformat}
 
Note that until these most recent builds, my parent project had no `site.xml`. 
The purpose of my change today was to publish site.xml using 
site:attach-descriptor to avoid this problem. However, since it is still 
looking for site_en.xml which is not published, I still get the error, which is 
a pain.

For the logs produced when it fails, see here: 
[https://travis-ci.org/JodaOrg/joda-convert/jobs/417679434] As can be seen, the 
"connection timed out", but the real question is why is it trying to query the 
_en file in the first place?

 

> sub-project tries to fetch a site_en.xml even though no locales are configured
> --
>
> Key: MSITE-639
> URL: https://issues.apache.org/jira/browse/MSITE-639
> Project: Maven Site Plugin
>  Issue Type: Bug
>Affects Versions: 3.0
> Environment: Windows 7 64bit,  Sun JDK 1.6.0_27
>Reporter: Martin Goldhahn
>Priority: Major
> Attachments: parent-project.zip, sub-project.zip
>
>
> I have a parent project that has a site descriptor and a pom project that has 
> the parent project as parent. Neither of them defines the locales parameter 
> of the site plugin.
> When I try to build the sub-project, I get an error that Maven cannot find 
> the site_en.xml descriptor of the parent project. Why doesn't it just use the 
> site.xml?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (MSITE-639) sub-project tries to fetch a site_en.xml even though no locales are configured

2018-08-18 Thread Stephen Colebourne (JIRA)


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

Stephen Colebourne edited comment on MSITE-639 at 8/18/18 5:55 PM:
---

I can't reopen this (as I don't have permission), but I believe it is still a 
problem with the latest plugins. However it is transient - it does not happen 
every time. I haven't tried the projects above, but can point you at Joda-Money 
for example. [https://github.com/JodaOrg/joda-money] as of the 18th August.

I suspect that it does not always fail the first time as the failure is due to 
network issues of some kind, such as Maven Central being flaky. This is 
particularly a problem if multiple repos are being queried. Without 
investigating further, my gut feeling is that the code only determines that the 
file is missing if  _all_ the remote repos say its not there. Thus if one repo 
is slow, or returns something other than 404 (eg. a security access failure)

I've seen the problem on Java 8, 9 and 10 builds on Travis. For example, I 
pushed three separate Joda projects in the last hour which performed 9 builds 
on Travis - with two Java 9 failures and one Java 10. ie. the same commit in 
the same Travis build failing on 10 but working on 9 and vice versa). My next 
set of 9 builds saw 4 fail and 5 succeed.

This is the section of the build in my case when it succeeds, as can be seen it 
queries multiple repos:
  
{noformat}
[INFO] Done SpotBugs Analysis [INFO] Rendering site with default locale 
English (en) [INFO] Downloading from sonatype: 
https://oss.sonatype.org/content/repositories/releases/org/joda/joda-parent/1.3/joda-parent-1.3-site_en.xml
 [INFO] Downloading from sonatype-apache: 
https://repository.apache.org/releases/org/joda/joda-parent/1.3/joda-parent-1.3-site_en.xml
 [INFO] Downloading from central: 
http://repo.maven.apache.org/maven2/org/joda/joda-parent/1.3/joda-parent-1.3-site.xml
 [INFO] Downloaded from central: 
http://repo.maven.apache.org/maven2/org/joda/joda-parent/1.3/joda-parent-1.3-site.xml
 (87 B at 4.1 kB/s) [INFO] Relativizing decoration links with respect to 
localized project URL: http://www.joda.org/joda-beans/{noformat}
 
 Note that until these most recent builds, my parent project had no `site.xml`. 
The purpose of my change today was to publish site.xml using 
site:attach-descriptor to avoid this problem. However, since it is still 
looking for site_en.xml which is not published, I still get the error, which is 
a pain.

For the logs produced when it fails, see here: 
[https://travis-ci.org/JodaOrg/joda-convert/jobs/417679434] As can be seen, the 
"connection timed out", but the real question is why is it trying to query the 
_en file in the first place?

PS. When both site_en.xml and site.xml are present, mvn site:attach-descriptor 
only attaches the _en variant!


was (Author: scolebou...@joda.org):
I can't reopen this (as I don't have permission), but I believe it is still a 
problem with the latest plugins. However it is transient - it does not happen 
every time. I haven't tried the projects above, but can point you at Joda-Money 
for example. [https://github.com/JodaOrg/joda-money] as of the 18th August.

I suspect that it does not always fail the first time as the failure is due to 
network issues of some kind, such as Maven Central being flaky. This is 
particularly a problem if multiple repos are being queried. Without 
investigating further, my gut feeling is that the code only determines that the 
file is missing if  _all_ the remote repos say its not there. Thus if one repo 
is slow, or returns something other than 404 (eg. a security access failure)

I've seen the problem on Java 8, 9 and 10 builds on Travis. For example, I 
pushed three separate Joda projects in the last hour which performed 9 builds 
on Travis - with two Java 9 failures and one Java 10. ie. the same commit in 
the same Travis build failing on 10 but working on 9 and vice versa). My next 
set of 9 builds saw 4 fail and 5 succeed.

This is the section of the build in my case when it succeeds, as can be seen it 
queries multiple repos:
 
{noformat}
[INFO] Done SpotBugs Analysis [INFO] Rendering site with default locale 
English (en) [INFO] Downloading from sonatype: 
https://oss.sonatype.org/content/repositories/releases/org/joda/joda-parent/1.3/joda-parent-1.3-site_en.xml
 [INFO] Downloading from sonatype-apache: 
https://repository.apache.org/releases/org/joda/joda-parent/1.3/joda-parent-1.3-site_en.xml
 [INFO] Downloading from central: 
http://repo.maven.apache.org/maven2/org/joda/joda-parent/1.3/joda-parent-1.3-site.xml
 [INFO] Downloaded from central: 
http://repo.maven.apache.org/maven2/org/joda/joda-parent/1.3/joda-parent-1.3-site.xml
 (87 B at 4.1 kB/s) [INFO] Relativizing decoration links with respect to 
localized project URL: http://www.joda.org/joda-beans/{nofo

[jira] [Commented] (MSITE-639) sub-project tries to fetch a site_en.xml even though no locales are configured

2018-08-18 Thread Karl Heinz Marbaise (JIRA)


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

Karl Heinz Marbaise commented on MSITE-639:
---

Commenting on closed issue is not a good idea better creating a new one with 
the reference to this one (via Link)

> sub-project tries to fetch a site_en.xml even though no locales are configured
> --
>
> Key: MSITE-639
> URL: https://issues.apache.org/jira/browse/MSITE-639
> Project: Maven Site Plugin
>  Issue Type: Bug
>Affects Versions: 3.0
> Environment: Windows 7 64bit,  Sun JDK 1.6.0_27
>Reporter: Martin Goldhahn
>Priority: Major
> Attachments: parent-project.zip, sub-project.zip
>
>
> I have a parent project that has a site descriptor and a pom project that has 
> the parent project as parent. Neither of them defines the locales parameter 
> of the site plugin.
> When I try to build the sub-project, I get an error that Maven cannot find 
> the site_en.xml descriptor of the parent project. Why doesn't it just use the 
> site.xml?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (MSITE-639) sub-project tries to fetch a site_en.xml even though no locales are configured

2018-08-18 Thread Karl Heinz Marbaise (JIRA)


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

Karl Heinz Marbaise edited comment on MSITE-639 at 8/18/18 6:06 PM:


Commenting on closed issue is not a good idea better creating a new one with 
the reference to this one (via Link)Apart from that this looks like a issue 
on travis side cause I observed that as well a few hours ago.


was (Author: khmarbaise):
Commenting on closed issue is not a good idea better creating a new one with 
the reference to this one (via Link)

> sub-project tries to fetch a site_en.xml even though no locales are configured
> --
>
> Key: MSITE-639
> URL: https://issues.apache.org/jira/browse/MSITE-639
> Project: Maven Site Plugin
>  Issue Type: Bug
>Affects Versions: 3.0
> Environment: Windows 7 64bit,  Sun JDK 1.6.0_27
>Reporter: Martin Goldhahn
>Priority: Major
> Attachments: parent-project.zip, sub-project.zip
>
>
> I have a parent project that has a site descriptor and a pom project that has 
> the parent project as parent. Neither of them defines the locales parameter 
> of the site plugin.
> When I try to build the sub-project, I get an error that Maven cannot find 
> the site_en.xml descriptor of the parent project. Why doesn't it just use the 
> site.xml?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (MSITE-639) sub-project tries to fetch a site_en.xml even though no locales are configured

2018-08-18 Thread Karl Heinz Marbaise (JIRA)


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

Karl Heinz Marbaise edited comment on MSITE-639 at 8/18/18 6:08 PM:


Commenting on closed issue is not a good idea better creating a new one with 
the reference to this one (via Link)Apart from that this looks like a issue 
on travis side cause I observed that as well a few hours ago.furthermore 
the entry: https://repository.apache.org/releases/  does not even exist


was (Author: khmarbaise):
Commenting on closed issue is not a good idea better creating a new one with 
the reference to this one (via Link)Apart from that this looks like a issue 
on travis side cause I observed that as well a few hours ago.

> sub-project tries to fetch a site_en.xml even though no locales are configured
> --
>
> Key: MSITE-639
> URL: https://issues.apache.org/jira/browse/MSITE-639
> Project: Maven Site Plugin
>  Issue Type: Bug
>Affects Versions: 3.0
> Environment: Windows 7 64bit,  Sun JDK 1.6.0_27
>Reporter: Martin Goldhahn
>Priority: Major
> Attachments: parent-project.zip, sub-project.zip
>
>
> I have a parent project that has a site descriptor and a pom project that has 
> the parent project as parent. Neither of them defines the locales parameter 
> of the site plugin.
> When I try to build the sub-project, I get an error that Maven cannot find 
> the site_en.xml descriptor of the parent project. Why doesn't it just use the 
> site.xml?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (MSITE-639) sub-project tries to fetch a site_en.xml even though no locales are configured

2018-08-18 Thread Stephen Colebourne (JIRA)


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

Stephen Colebourne edited comment on MSITE-639 at 8/18/18 6:22 PM:
---

I can't reopen this (as I don't have permission), but I believe it is still a 
problem with the latest plugins. However it is transient - it does not happen 
every time. I haven't tried the projects above, but can point you at Joda-Money 
for example. [https://github.com/JodaOrg/joda-money] as of the 18th August.

I suspect that it does not always fail the first time as the failure is due to 
network issues of some kind, such as Maven Central being flaky. This is 
particularly a problem if multiple repos are being queried. Without 
investigating further, my gut feeling is that the code only determines that the 
file is missing if  _all_ the remote repos say its not there. Thus if one repo 
is slow, or returns something other than 404 (eg. a security access failure)

I've seen the problem on Java 8, 9 and 10 builds on Travis. For example, I 
pushed three separate Joda projects in the last hour which performed 9 builds 
on Travis - with two Java 9 failures and one Java 10. ie. the same commit in 
the same Travis build failing on 10 but working on 9 and vice versa). My next 
set of 9 builds saw 4 fail and 5 succeed.

This is the section of the build in my case when it succeeds, as can be seen it 
queries multiple repos:
  
{noformat}
[INFO] Done SpotBugs Analysis [INFO] Rendering site with default locale 
English (en) [INFO] Downloading from sonatype: 
https://oss.sonatype.org/content/repositories/releases/org/joda/joda-parent/1.3/joda-parent-1.3-site_en.xml
 [INFO] Downloading from sonatype-apache: 
https://repository.apache.org/releases/org/joda/joda-parent/1.3/joda-parent-1.3-site_en.xml
 [INFO] Downloading from central: 
http://repo.maven.apache.org/maven2/org/joda/joda-parent/1.3/joda-parent-1.3-site.xml
 [INFO] Downloaded from central: 
http://repo.maven.apache.org/maven2/org/joda/joda-parent/1.3/joda-parent-1.3-site.xml
 (87 B at 4.1 kB/s) [INFO] Relativizing decoration links with respect to 
localized project URL: http://www.joda.org/joda-beans/{noformat}
 
 Note that until these most recent builds, my parent project had no `site.xml`. 
The purpose of my change today was to publish site.xml using 
site:attach-descriptor to avoid this problem. However, since it is still 
looking for site_en.xml which is not published, I still get the error, which is 
a pain.

For the logs produced when it fails, see here: 
[https://travis-ci.org/JodaOrg/joda-convert/jobs/417679434] As can be seen, the 
"connection timed out", but the real question is why is it trying to query the 
_en file in the first place?

PS. When both site_en.xml and site.xml are present, mvn site:attach-descriptor 
only attaches the _en variant! But there is a workaround - declare 
configuration in site:attach-descriptor of en,de (de chosen 
at random). This causes both files to get uploaded, which avoids the need for 
Maven to rely on HTTP 404.


was (Author: scolebou...@joda.org):
I can't reopen this (as I don't have permission), but I believe it is still a 
problem with the latest plugins. However it is transient - it does not happen 
every time. I haven't tried the projects above, but can point you at Joda-Money 
for example. [https://github.com/JodaOrg/joda-money] as of the 18th August.

I suspect that it does not always fail the first time as the failure is due to 
network issues of some kind, such as Maven Central being flaky. This is 
particularly a problem if multiple repos are being queried. Without 
investigating further, my gut feeling is that the code only determines that the 
file is missing if  _all_ the remote repos say its not there. Thus if one repo 
is slow, or returns something other than 404 (eg. a security access failure)

I've seen the problem on Java 8, 9 and 10 builds on Travis. For example, I 
pushed three separate Joda projects in the last hour which performed 9 builds 
on Travis - with two Java 9 failures and one Java 10. ie. the same commit in 
the same Travis build failing on 10 but working on 9 and vice versa). My next 
set of 9 builds saw 4 fail and 5 succeed.

This is the section of the build in my case when it succeeds, as can be seen it 
queries multiple repos:
  
{noformat}
[INFO] Done SpotBugs Analysis [INFO] Rendering site with default locale 
English (en) [INFO] Downloading from sonatype: 
https://oss.sonatype.org/content/repositories/releases/org/joda/joda-parent/1.3/joda-parent-1.3-site_en.xml
 [INFO] Downloading from sonatype-apache: 
https://repository.apache.org/releases/org/joda/joda-parent/1.3/joda-parent-1.3-site_en.xml
 [INFO] Downloading from central: 
http://repo.maven.apache.org/maven2/org/joda/joda-parent/1.3/joda-parent-1.3-site.xml
 [INFO] Downloaded from central: 
http://repo.ma

[jira] [Assigned] (WAGON-525) Support for detecting and using of KiTTY's klink.exe and kscp.exe

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/WAGON-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov reassigned WAGON-525:


Assignee: Michael Osipov

> Support for detecting and using of KiTTY's klink.exe and kscp.exe
> -
>
> Key: WAGON-525
> URL: https://issues.apache.org/jira/browse/WAGON-525
> Project: Maven Wagon
>  Issue Type: Improvement
>  Components: wagon-ssh-external
>Reporter: Sebastian
>Assignee: Michael Osipov
>Priority: Minor
> Fix For: 3.1.1
>
>
> KiTTY is a PuTTY fork available at [http://www.9bis.net/kitty/]
> When using KiTTY's klink.exe/kscp.exe instead of PuTTY's plink.exe/pscp.exe, 
> the ScpExternalWagon implementation passes the command line arguments "-o 
> BatchMode yes" to these executables which fail with "unknown option -o".
> The PR [https://github.com/apache/maven-wagon/pull/28] changes the 
> ScpExternalWagon class to treat KiTTY executables like PuTTY executables.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (WAGON-525) Support for detecting and using of KiTTY's klink.exe and kscp.exe

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/WAGON-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated WAGON-525:
-
Fix Version/s: 3.1.1

> Support for detecting and using of KiTTY's klink.exe and kscp.exe
> -
>
> Key: WAGON-525
> URL: https://issues.apache.org/jira/browse/WAGON-525
> Project: Maven Wagon
>  Issue Type: Improvement
>  Components: wagon-ssh-external
>Reporter: Sebastian
>Assignee: Michael Osipov
>Priority: Minor
> Fix For: 3.1.1
>
>
> KiTTY is a PuTTY fork available at [http://www.9bis.net/kitty/]
> When using KiTTY's klink.exe/kscp.exe instead of PuTTY's plink.exe/pscp.exe, 
> the ScpExternalWagon implementation passes the command line arguments "-o 
> BatchMode yes" to these executables which fail with "unknown option -o".
> The PR [https://github.com/apache/maven-wagon/pull/28] changes the 
> ScpExternalWagon class to treat KiTTY executables like PuTTY executables.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (WAGON-525) Support for detecting and using of KiTTY's klink.exe and kscp.exe

2018-08-18 Thread Michael Osipov (JIRA)


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

Michael Osipov edited comment on WAGON-525 at 8/18/18 7:06 PM:
---

Fixed with 
[2df529a928a324380709b4cb54e68d379d460abe|https://gitbox.apache.org/repos/asf?p=maven-wagon.git;a=commit;h=2df529a928a324380709b4cb54e68d379d460abe].


was (Author: michael-o):
Fixed with 
[2df529a928a324380709b4cb54e68d379d460abe|https://gitbox.apache.org/repos/asf?p=maven-scm.git;a=commit;h=2df529a928a324380709b4cb54e68d379d460abe].

> Support for detecting and using of KiTTY's klink.exe and kscp.exe
> -
>
> Key: WAGON-525
> URL: https://issues.apache.org/jira/browse/WAGON-525
> Project: Maven Wagon
>  Issue Type: Improvement
>  Components: wagon-ssh-external
>Reporter: Sebastian
>Assignee: Michael Osipov
>Priority: Minor
> Fix For: 3.1.1
>
>
> KiTTY is a PuTTY fork available at [http://www.9bis.net/kitty/]
> When using KiTTY's klink.exe/kscp.exe instead of PuTTY's plink.exe/pscp.exe, 
> the ScpExternalWagon implementation passes the command line arguments "-o 
> BatchMode yes" to these executables which fail with "unknown option -o".
> The PR [https://github.com/apache/maven-wagon/pull/28] changes the 
> ScpExternalWagon class to treat KiTTY executables like PuTTY executables.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] asfgit closed pull request #28: Add support for detecting and using of KiTTY's klink.exe and kscp.exe

2018-08-18 Thread GitBox
asfgit closed pull request #28: Add support for detecting and using of KiTTY's 
klink.exe and kscp.exe
URL: https://github.com/apache/maven-wagon/pull/28
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/wagon-providers/wagon-ssh-external/src/main/java/org/apache/maven/wagon/providers/ssh/external/ScpExternalWagon.java
 
b/wagon-providers/wagon-ssh-external/src/main/java/org/apache/maven/wagon/providers/ssh/external/ScpExternalWagon.java
index e6aadfa9..b2b665a2 100644
--- 
a/wagon-providers/wagon-ssh-external/src/main/java/org/apache/maven/wagon/providers/ssh/external/ScpExternalWagon.java
+++ 
b/wagon-providers/wagon-ssh-external/src/main/java/org/apache/maven/wagon/providers/ssh/external/ScpExternalWagon.java
@@ -217,7 +217,8 @@ public Streams executeCommand( String command, boolean 
ignoreFailures )
 
 protected boolean isPuTTY()
 {
-return sshExecutable.toLowerCase( Locale.ENGLISH ).contains( "plink" );
+String exe = sshExecutable.toLowerCase( Locale.ENGLISH );
+return exe.contains( "plink" ) || exe.contains( "klink" );
 }
 
 private Commandline createBaseCommandLine( boolean putty, String 
executable, File privateKey )
@@ -336,7 +337,8 @@ private void executeScpCommand( Resource resource, File 
localFile, boolean put )
 
 boolean isPuTTYSCP()
 {
-return scpExecutable.toLowerCase( Locale.ENGLISH ).contains( "pscp" );
+String exe = scpExecutable.toLowerCase( Locale.ENGLISH );
+return exe.contains( "pscp" ) || exe.contains( "kscp" );
 }
 
 private String normalizeResource( Resource resource )


 


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


[jira] [Closed] (WAGON-525) Support for detecting and using of KiTTY's klink.exe and kscp.exe

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/WAGON-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed WAGON-525.

Resolution: Fixed

Fixed with 
[2df529a928a324380709b4cb54e68d379d460abe|https://gitbox.apache.org/repos/asf?p=maven-scm.git;a=commit;h=2df529a928a324380709b4cb54e68d379d460abe].

> Support for detecting and using of KiTTY's klink.exe and kscp.exe
> -
>
> Key: WAGON-525
> URL: https://issues.apache.org/jira/browse/WAGON-525
> Project: Maven Wagon
>  Issue Type: Improvement
>  Components: wagon-ssh-external
>Reporter: Sebastian
>Assignee: Michael Osipov
>Priority: Minor
> Fix For: 3.1.1
>
>
> KiTTY is a PuTTY fork available at [http://www.9bis.net/kitty/]
> When using KiTTY's klink.exe/kscp.exe instead of PuTTY's plink.exe/pscp.exe, 
> the ScpExternalWagon implementation passes the command line arguments "-o 
> BatchMode yes" to these executables which fail with "unknown option -o".
> The PR [https://github.com/apache/maven-wagon/pull/28] changes the 
> ScpExternalWagon class to treat KiTTY executables like PuTTY executables.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (WAGON-500) ScmCvsExeWagonTest should be re-enabled

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/WAGON-500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated WAGON-500:
-
Fix Version/s: 3.1.1

> ScmCvsExeWagonTest should be re-enabled
> ---
>
> Key: WAGON-500
> URL: https://issues.apache.org/jira/browse/WAGON-500
> Project: Maven Wagon
>  Issue Type: Bug
>  Components: wagon-scm
>Affects Versions: 3.0.0, 3.1.0
>Reporter: Ilya Basin
>Assignee: Michael Osipov
>Priority: Major
> Fix For: 3.1.1
>
>
> ScmCvsExeWagonTest should be re-enabled



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (WAGON-500) ScmCvsExeWagonTest should be re-enabled

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/WAGON-500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov reassigned WAGON-500:


Assignee: Michael Osipov

> ScmCvsExeWagonTest should be re-enabled
> ---
>
> Key: WAGON-500
> URL: https://issues.apache.org/jira/browse/WAGON-500
> Project: Maven Wagon
>  Issue Type: Bug
>  Components: wagon-scm
>Affects Versions: 3.0.0, 3.1.0
>Reporter: Ilya Basin
>Assignee: Michael Osipov
>Priority: Major
> Fix For: 3.1.1
>
>
> ScmCvsExeWagonTest should be re-enabled



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (WAGON-500) Re-enable ScmCvsExeWagonTest

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/WAGON-500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated WAGON-500:
-
Summary: Re-enable ScmCvsExeWagonTest  (was: ScmCvsExeWagonTest should be 
re-enabled)

> Re-enable ScmCvsExeWagonTest
> 
>
> Key: WAGON-500
> URL: https://issues.apache.org/jira/browse/WAGON-500
> Project: Maven Wagon
>  Issue Type: Bug
>  Components: wagon-scm
>Affects Versions: 3.0.0, 3.1.0
>Reporter: Ilya Basin
>Assignee: Michael Osipov
>Priority: Major
> Fix For: 3.1.1
>
>
> ScmCvsExeWagonTest should be re-enabled



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] michael-o commented on issue #44: [WAGON-500] re-enable ScmCvsExeWagonTest

2018-08-18 Thread GitBox
michael-o commented on issue #44: [WAGON-500] re-enable ScmCvsExeWagonTest
URL: https://github.com/apache/maven-wagon/pull/44#issuecomment-414080627
 
 
   My tests fail locally because it tells me that `cvs` is not available. What 
now?


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


[jira] [Commented] (WAGON-500) Re-enable ScmCvsExeWagonTest

2018-08-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on WAGON-500:
--

michael-o commented on issue #44: [WAGON-500] re-enable ScmCvsExeWagonTest
URL: https://github.com/apache/maven-wagon/pull/44#issuecomment-414080627
 
 
   My tests fail locally because it tells me that `cvs` is not available. What 
now?


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> Re-enable ScmCvsExeWagonTest
> 
>
> Key: WAGON-500
> URL: https://issues.apache.org/jira/browse/WAGON-500
> Project: Maven Wagon
>  Issue Type: Bug
>  Components: wagon-scm
>Affects Versions: 3.0.0, 3.1.0
>Reporter: Ilya Basin
>Assignee: Michael Osipov
>Priority: Major
> Fix For: 3.1.1
>
>
> ScmCvsExeWagonTest should be re-enabled



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (WAGON-487) Saved password with french accent breaks deployment

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/WAGON-487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed WAGON-487.

   Resolution: Cannot Reproduce
Fix Version/s: (was: waiting-for-feedback)

No proper information given to reproduce this issue.

> Saved password with french accent breaks deployment
> ---
>
> Key: WAGON-487
> URL: https://issues.apache.org/jira/browse/WAGON-487
> Project: Maven Wagon
>  Issue Type: New Feature
>  Components: wagon-http
>Affects Versions: 2.12
>Reporter: Dominique Jean-Prost
>Priority: Critical
>
> I cannot deploy any artifact to my sonatype nexus instance when using a 
> pasword with french accetn, like 'é'.
> This instance needs authentication to deploy.
> My test : 
> # Check authentication against nexus directly with a password containing 
> accent : OK
> # Check deploy with clear password in {{settings.xml}} with no accent : OK
> # Check deploy with encrypted password in {{settings.xml}} with no accent : OK
> # Check deploy with clear password in {{settings.xml}} with accent : KO
> # Check deploy with encrypted password in {{settings.xml}} with accent : KO
> After many minutes of debugging, I managed to verify that my password is 
> correctly "read" in the settings {{org.apache.maven.settings.Server}} : it 
> has nothing to do with {{settings.xml}} XML encoding.
> When finally wagon enters the game, the http header with authentication basic 
> contains a '? ' instead of my 'é'. I managed to narrow the problem to 
> {{org.apache.maven.wagon.providers.http.httpclient.impl.auth.BasicScheme}} 
> which I think is the cuplrit by not dealing correctly with charset encoding 
> in the {{authenticate}} method.
> I came to the end of what I can do for the moment, appart of changing my 
> password to remove the accent.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (WAGON-324) Site cannot be deployed when part of release plugin, scp method used and server uses ECDSA

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/WAGON-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed WAGON-324.

   Resolution: Incomplete
Fix Version/s: (was: waiting-for-feedback)

No reaction for months.

> Site cannot be deployed when part of release plugin, scp method used and 
> server uses ECDSA
> --
>
> Key: WAGON-324
> URL: https://issues.apache.org/jira/browse/WAGON-324
> Project: Maven Wagon
>  Issue Type: Bug
>  Components: wagon-ssh
> Environment: Gentoo Linux, Maven 2.2.1
>Reporter: Rafał Figas
>Priority: Major
>
> When running mvn release:perform release plugin runs site-deploy. 
> Configuration of distribution of site uses SCP protocol. So, when it comes to 
> deploy a site SSH connection is being made. However "The authenticity of host 
> [target_host] can't be established". What was strange I had no problems in 
> calling "ssh target_host". There was no problem with establishing 
> authenticity of host, neither with logging in using key. Due to this:
> http://jira.codehaus.org/browse/MRELEASE-424
> it was also impossible to answer the question about adding this key to 
> ~/.ssh/known_hosts, so whole build just hang.
> What I noticed my known_hosts file contained something like:
> target_host ecdsa-sha2-nistp256 E2V[...]
> When I've replaced this entry with:
> target_host,10.0.0.2 ssh-rsa B3N[...]
> everything started working. Does that mean Release plugin (or Wagon, or 
> JSCh?) cannot use ECDSA?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (WAGON-491) Being able to set certificate via byte[] not only a file

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/WAGON-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated WAGON-491:
-
Issue Type: New Feature  (was: Bug)

> Being able to set certificate via byte[] not only a file
> 
>
> Key: WAGON-491
> URL: https://issues.apache.org/jira/browse/WAGON-491
> Project: Maven Wagon
>  Issue Type: New Feature
>  Components: wagon-ssh
>Reporter: Laurent Granié
>Priority: Major
> Fix For: waiting-for-feedback
>
>
> I'm using wagon outside Maven.
> I would like to authenticate on sftp servers via a certificate.
> It's possible today via a file with a file path but not if I include the 
> certificate in the .jar.
> I would like to be able to set the certificate with a byte[].



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (WAGON-391) Error installing artifact's metadata: Error while deploying metadata: Authentication failed: Cannot connect. Reason: verify: false

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/WAGON-391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed WAGON-391.

   Resolution: Incomplete
Fix Version/s: (was: waiting-for-feedback)

No reaction for months.

>  Error installing artifact's metadata: Error while deploying metadata: 
> Authentication failed: Cannot connect. Reason: verify: false
> ---
>
> Key: WAGON-391
> URL: https://issues.apache.org/jira/browse/WAGON-391
> Project: Maven Wagon
>  Issue Type: Bug
>  Components: wagon-ssh
>Affects Versions: 2.3
>Reporter: Bryan Kelly
>Priority: Major
>
> When attempting to publish an artifact to an ssh server we get the following 
> exception intermittently: 
> Error installing artifact's metadata: Error while deploying metadata: 
> Authentication failed: Cannot connect. Reason: verify: false
> Other consumers of the jsch library have had a similar issue [1], their fix 
> was to add retry logic while attempting to make the connection to the ssh 
> server.
> [1] https://github.com/int128/gradle-ssh-plugin/issues/11



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (WAGON-502) Succesfull PUT times out on Nexus

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/WAGON-502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed WAGON-502.

   Resolution: Incomplete
Fix Version/s: (was: waiting-for-feedback)

No information provided.

> Succesfull PUT times out on Nexus
> -
>
> Key: WAGON-502
> URL: https://issues.apache.org/jira/browse/WAGON-502
> Project: Maven Wagon
>  Issue Type: Bug
>  Components: wagon-http, wagon-http-lightweight
>Affects Versions: 3.0.0
> Environment: Windows 7, Nexus 3.6.0, maven 3.5.2
>Reporter: Michael Kutschke
>Priority: Major
>
> I am uploading artifacts manually to a raw Nexus repository using 
> maven-wagon-plugin. After succesfull upload of the first file, nothing 
> happens until read timeout is hit.
>  
> As far as I can tell, this problem happens with both http providers.
>  
> I have tried disabling pooling, setting -Dhttp.protocol.expect-continue=false.
> I have tried uploading the file with curl, this gives the following output 
> (and returns!):
>  
> {quote} * timeout on name lookup is not supported
>  * Trying 10.215.60.229...
>  * Connected to 10.215.60.229 (10.215.60.229) port 9081 (#0)
>  * Server auth using Basic with user 'deployment'
>  > PUT /repository/xcit-test/v_5.1.0/web/js.js HTTP/1.1
>  > Host: 10.215.60.229:9081
>  > Authorization: Basic ZGVwbG95bWVudDp4Y2l0ZGVwbG95bWVudDEyMw==
>  > User-Agent: curl/7.50.1
>  > Accept: */*
>  > Content-Length: 414
>  > Expect: 100-continue
>  >
>  < HTTP/1.1 100 Continue
>  * We are completely uploaded and fine
>  < HTTP/1.1 201 Created
>  < Date: Fri, 23 Feb 2018 09:34:46 GMT
>  < Server: Nexus/3.6.0-02 (OSS)
>  < X-Frame-Options: SAMEORIGIN
>  < X-Content-Type-Options: nosniff
>  < Content-Length: 0
>  <
>  * Connection #0 to host 10.215.60.229 left intact{quote}
>  
> I looked at the code of maven-wagon-plugin but did not find anything 
> suspicious, and seeing that both providers seem to be affected, I assume the 
> problem lies with a shared component of both providers.
>  
> Stacktrace:
>  
> {code:java}
> Caused by: org.apache.maven.wagon.TransferFailedException: Read timed out
>  at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put 
> (AbstractHttpClientWagon.java:650)
>  at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put 
> (AbstractHttpClientWagon.java:553)
>  at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put 
> (AbstractHttpClientWagon.java:535)
>  at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put 
> (AbstractHttpClientWagon.java:529)
>  at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.put 
> (AbstractHttpClientWagon.java:509)
>  at org.codehaus.mojo.wagon.shared.DefaultWagonUpload.upload 
> (DefaultWagonUpload.java:79)
>  at org.codehaus.mojo.wagon.shared.DefaultWagonUpload.upload 
> (DefaultWagonUpload.java:89)
>  at org.codehaus.mojo.wagon.UploadMojo.execute (UploadMojo.java:120)
>  at org.codehaus.mojo.wagon.AbstractSingleWagonMojo.execute 
> (AbstractSingleWagonMojo.java:64)
>  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
> (DefaultBuildPluginManager.java:134)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:208)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:154)
>  at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
> (MojoExecutor.java:146)
>  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:117)
>  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
> (LifecycleModuleBuilder.java:81)
>  at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
>  (SingleThreadedBuilder.java:51)
>  at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
> (LifecycleStarter.java:128)
>  at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
>  at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
>  at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
>  at org.apache.maven.cli.MavenCli.execute (MavenCli.java:955)
>  at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
>  at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>  at sun.reflect.NativeMethodAccessorImpl.invoke 
> (NativeMethodAccessorImpl.java:62)
>  at sun.reflect.DelegatingMethodAccessorImpl.invoke 
> (DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke (Method.java:498)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
> (Launcher.java:289)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
> (Launcher.java:229)
>  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithE

[jira] [Closed] (WAGON-309) NTLM for webdav behind IIS

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/WAGON-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed WAGON-309.

   Resolution: Won't Fix
Fix Version/s: (was: waiting-for-feedback)

NTLM is a dead-end. Not willing to investigate further.

> NTLM for webdav behind IIS
> --
>
> Key: WAGON-309
> URL: https://issues.apache.org/jira/browse/WAGON-309
> Project: Maven Wagon
>  Issue Type: Improvement
>  Components: wagon-webdav
>Affects Versions: 1.0-beta-2
> Environment: client: jdk1.5
> server: iis 6, tomcat 5.5 and ssl
>Reporter: Alessandro Gerlinger Romero
>Priority: Minor
> Attachments: wagon-webdav.zip, wagon-webdav.zip
>
>
> To use webdav over https with IIS 6, I changed two files to use 
> NTCredentials. It is compatible with basic authentication.
> ---
>  WebDavWagon.java
>  ---
> try
>  {
>  httpURL = urlToHttpURL( url );
>  /* - begin - before
>  if ( hasAuthentication )
>  {
>  String userName = authenticationInfo.getUserName();
>  String password = authenticationInfo.getPassword();
> if ( userName != null && password != null )
> { //httpURL.setUserinfo( userName, password ); webdavResource.setCredentials( 
> new NTCredentials(userName, password, "host.com", "host") ); }
> }
>  - end - before
>  */
>  CorrectedWebdavResource.setDefaultAction( CorrectedWebdavResource.NOACTION );
>  webdavResource = new CorrectedWebdavResource( httpURL );
> // begin - after 
>  if ( hasAuthentication )
>  {
>  String userName = authenticationInfo.getUserName();
>  String password = authenticationInfo.getPassword();
> if ( userName != null && password != null )
> { //httpURL.setUserinfo( userName, password ); webdavResource.setCredentials( 
> new NTCredentials(userName, password, repository.getHost(), 
> repository.getHost()) ); }
> }
>  // end - after
> ---
>  CorrectedWebdavResource.java
>  ---
>  /**
>  * FOWARD NTCREDENTIALS FOR EACH TRANSACTION
>  * It is compatible with basic authentication.
>  *
>  * @see 
> org.apache.webdav.lib.WebdavResource#generateTransactionHeader(org.apache.commons.httpclient.HttpMethod)
>  */
>  protected void generateTransactionHeader(HttpMethod method) {
>  WebdavState state = (WebdavState) client.getState();
> String host = null;
>  String realm = null;
>  if ( hostCredentials instanceof NTCredentials)
> { host = ((NTCredentials)hostCredentials).getHost(); realm = 
> ((NTCredentials)hostCredentials).getDomain(); }
> state.setCredentials(realm, host, hostCredentials);
>  super.generateTransactionHeader(method);
>  }
> ***
>  LIMITATIONS
>  ***
>  Uses host as realm.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (WAGON-523) Maven to retry when a download fails

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/WAGON-523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed WAGON-523.

   Resolution: Won't Fix
Fix Version/s: (was: waiting-for-feedback)

No reaction for months.

> Maven to retry when a download fails
> 
>
> Key: WAGON-523
> URL: https://issues.apache.org/jira/browse/WAGON-523
> Project: Maven Wagon
>  Issue Type: Improvement
>  Components: wagon-http
>Affects Versions: 3.1.0
>Reporter: Omar Ahmad
>Priority: Trivial
>
> In my projects I have seen some maven builds fail with a 502 error when 
> trying to download from a nexus repository server, however the same build has 
> downloaded many many (into the 100s) of JARs, which makes me think the 
> download error was really a network disruption. It would be nice in this 
> situation for maven to attempt a retry of downloading a dependency.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (WAGON-521) Maven cannot use system default proxies

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/WAGON-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed WAGON-521.

Resolution: Won't Fix

No investigation nor a patch have been provided.

> Maven cannot use system default proxies
> ---
>
> Key: WAGON-521
> URL: https://issues.apache.org/jira/browse/WAGON-521
> Project: Maven Wagon
>  Issue Type: Bug
>  Components: wagon-http
>Affects Versions: 3.1.0
> Environment: All
>Reporter: Noel Grandin
>Priority: Major
>
> when using maven from behind a proxy, it cannot connect to download
> The maven/java stuff will not use the system proxies unless explicitly told 
> to do so, which is a problem when maven tries to download the jars it needs 
> :-)
> Basically, I need the following option added to the java command line:
> -Djava.net.useSystemProxies=true
> Sun did not see to make this the default because of backwards compatibility, 
> which is a right PITA, but anyhow :-)
> Please also see original issue here: 
> https://github.com/takari/maven-wrapper/issues/58
> https://github.com/pmd/pmd/issues/498



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (WAGON-446) SSH agent authentication is no longer working in wagon-ssh 2.10

2018-08-18 Thread Michael Osipov (JIRA)


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

Michael Osipov commented on WAGON-446:
--

Is this one still valid?

> SSH agent authentication is no longer working in wagon-ssh 2.10
> ---
>
> Key: WAGON-446
> URL: https://issues.apache.org/jira/browse/WAGON-446
> Project: Maven Wagon
>  Issue Type: Bug
>  Components: wagon-ssh
>Affects Versions: 2.10
>Reporter: Per Landberg
>Assignee: Dan Tran
>Priority: Major
> Fix For: waiting-for-feedback
>
> Attachments: wagon-446.patch
>
>
> After upgrading to wagon-2.10,  SSH Agent authentication doesn't seems to 
> work anymore. I got the following error when trying to publish a site, using 
> maven-site-plugin 3.4:
> Using private key: 
> : Error uploading site: Cannot connect. Reason: Auth fail -> [Help 1]
> I have no server for this site defined in my settings.xml
> After some investigation, I suspect that the cause is WAGON-413 since the  
> logic in AbstractJschWagon was changed to not use the agent if 
> ScpHelper.getPrivateKey() returns a File. 
> Unfortunate, ScpHelper.getPrivateKey() seems to have a fallback behavior that 
> always returns the id_rsa key (if one exists) even when no matching server 
> element exists in settings.xml and the effect is that the agent is never 
> consulted. 
> The authentication will then fail since no server element provides a key 
> password.
> My current workaround is to set the wagon.privateKeyDirectory System Property 
> to an empty directory. This will prevent the ScpHelper.getPrivateKey() 
> fallback to kick in.
> Has anybody else got SSH agent working in combination with existing id_rsa 
> files?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (WAGON-446) SSH agent authentication is no longer working in wagon-ssh 2.10

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/WAGON-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated WAGON-446:
-
Fix Version/s: waiting-for-feedback

> SSH agent authentication is no longer working in wagon-ssh 2.10
> ---
>
> Key: WAGON-446
> URL: https://issues.apache.org/jira/browse/WAGON-446
> Project: Maven Wagon
>  Issue Type: Bug
>  Components: wagon-ssh
>Affects Versions: 2.10
>Reporter: Per Landberg
>Assignee: Dan Tran
>Priority: Major
> Fix For: waiting-for-feedback
>
> Attachments: wagon-446.patch
>
>
> After upgrading to wagon-2.10,  SSH Agent authentication doesn't seems to 
> work anymore. I got the following error when trying to publish a site, using 
> maven-site-plugin 3.4:
> Using private key: 
> : Error uploading site: Cannot connect. Reason: Auth fail -> [Help 1]
> I have no server for this site defined in my settings.xml
> After some investigation, I suspect that the cause is WAGON-413 since the  
> logic in AbstractJschWagon was changed to not use the agent if 
> ScpHelper.getPrivateKey() returns a File. 
> Unfortunate, ScpHelper.getPrivateKey() seems to have a fallback behavior that 
> always returns the id_rsa key (if one exists) even when no matching server 
> element exists in settings.xml and the effect is that the agent is never 
> consulted. 
> The authentication will then fail since no server element provides a key 
> password.
> My current workaround is to set the wagon.privateKeyDirectory System Property 
> to an empty directory. This will prevent the ScpHelper.getPrivateKey() 
> fallback to kick in.
> Has anybody else got SSH agent working in combination with existing id_rsa 
> files?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] sormuras commented on issue #14: [MPLUGIN-336] Upgrade ASM to 6.2 for Java 10, 11 support

2018-08-18 Thread GitBox
sormuras commented on issue #14: [MPLUGIN-336] Upgrade ASM to 6.2 for Java 
10,11 support
URL: https://github.com/apache/maven-plugin-tools/pull/14#issuecomment-414081410
 
 
   ASM 6.2.1 was released.
   
   Tried to compile a plugin with JDK 11 and `--release 11` yielded:
   
   ```text
   ...
   Caused by: java.lang.UnsupportedOperationException
   at org.objectweb.asm.ClassVisitor.visitNestHostExperimental 
(ClassVisitor.java:158)
   at org.objectweb.asm.ClassReader.accept (ClassReader.java:541)
   at org.objectweb.asm.ClassReader.accept (ClassReader.java:391)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.analyzeClassStream
 (DefaultMojoAnnotationsScanner.java:219)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scanDirectory
 (DefaultMojoAnnotationsScanner.java:200)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scan
 (DefaultMojoAnnotationsScanner.java:108)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scan
 (DefaultMojoAnnotationsScanner.java:84)
   at 
org.apache.maven.tools.plugin.extractor.annotations.JavaAnnotationsMojoDescriptorExtractor.scanAnnotations
 (JavaAnnotationsMojoDescriptorExtractor.java:124)
   at 
org.apache.maven.tools.plugin.extractor.annotations.JavaAnnotationsMojoDescriptorExtractor.execute
 (JavaAnnotationsMojoDescriptorExtractor.java:103)
   at 
org.apache.maven.tools.plugin.scanner.DefaultMojoScanner.populatePluginDescriptor
 (DefaultMojoScanner.java:96)
   ...
   ```


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


[jira] [Commented] (MPLUGIN-336) broken in JDK 10 - IllegalArgumentException

2018-08-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on MPLUGIN-336:


sormuras commented on issue #14: [MPLUGIN-336] Upgrade ASM to 6.2 for Java 
10,11 support
URL: https://github.com/apache/maven-plugin-tools/pull/14#issuecomment-414081410
 
 
   ASM 6.2.1 was released.
   
   Tried to compile a plugin with JDK 11 and `--release 11` yielded:
   
   ```text
   ...
   Caused by: java.lang.UnsupportedOperationException
   at org.objectweb.asm.ClassVisitor.visitNestHostExperimental 
(ClassVisitor.java:158)
   at org.objectweb.asm.ClassReader.accept (ClassReader.java:541)
   at org.objectweb.asm.ClassReader.accept (ClassReader.java:391)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.analyzeClassStream
 (DefaultMojoAnnotationsScanner.java:219)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scanDirectory
 (DefaultMojoAnnotationsScanner.java:200)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scan
 (DefaultMojoAnnotationsScanner.java:108)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scan
 (DefaultMojoAnnotationsScanner.java:84)
   at 
org.apache.maven.tools.plugin.extractor.annotations.JavaAnnotationsMojoDescriptorExtractor.scanAnnotations
 (JavaAnnotationsMojoDescriptorExtractor.java:124)
   at 
org.apache.maven.tools.plugin.extractor.annotations.JavaAnnotationsMojoDescriptorExtractor.execute
 (JavaAnnotationsMojoDescriptorExtractor.java:103)
   at 
org.apache.maven.tools.plugin.scanner.DefaultMojoScanner.populatePluginDescriptor
 (DefaultMojoScanner.java:96)
   ...
   ```


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> broken in JDK 10 - IllegalArgumentException
> ---
>
> Key: MPLUGIN-336
> URL: https://issues.apache.org/jira/browse/MPLUGIN-336
> Project: Maven Plugin Tools
>  Issue Type: Bug
>  Components: Plugin Plugin
>Affects Versions: 3.5.1
> Environment: Apache Maven 3.5.0 
> (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T14:39:06-05:00)
> Maven home: /mnt/STORAGE/Work/VetsEZ/Maven/apache-maven-3.5.0
> Java version: 10.0.1, vendor: Oracle Corporation
> Java home: /opt/java/jdk-10.0.1
>Reporter: Dan Armbrust
>Priority: Blocker
>
> I'm attempting to migrate some code to Java 10, and this is happening:
> {code:java}
> // 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-plugin-plugin:3.5.1:descriptor 
> (default-descriptor) on project mojo: Execution default-descriptor of goal 
> org.apache.maven.plugins:maven-plugin-plugin:3.5.1:descriptor failed.: 
> IllegalArgumentException -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.maven.plugins:maven-plugin-plugin:3.5.1:descriptor 
> (default-descriptor) on project mojo: Execution default-descriptor of goal 
> org.apache.maven.plugins:maven-plugin-plugin:3.5.1:descriptor failed.
>     at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
>     at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
>     at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
>     at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
>     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
>     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
>     at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

[GitHub] sormuras edited a comment on issue #14: [MPLUGIN-336] Upgrade ASM to 6.2 for Java 10, 11 support

2018-08-18 Thread GitBox
sormuras edited a comment on issue #14: [MPLUGIN-336] Upgrade ASM to 6.2 for 
Java 10,11 support
URL: https://github.com/apache/maven-plugin-tools/pull/14#issuecomment-414081410
 
 
   ASM 6.2.1 was released: https://asm.ow2.io/versions.html
   
   Tried to compile a plugin with JDK 11 and `--release 11` yielded:
   
   ```text
   ...
   Caused by: java.lang.UnsupportedOperationException
   at org.objectweb.asm.ClassVisitor.visitNestHostExperimental 
(ClassVisitor.java:158)
   at org.objectweb.asm.ClassReader.accept (ClassReader.java:541)
   at org.objectweb.asm.ClassReader.accept (ClassReader.java:391)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.analyzeClassStream
 (DefaultMojoAnnotationsScanner.java:219)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scanDirectory
 (DefaultMojoAnnotationsScanner.java:200)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scan
 (DefaultMojoAnnotationsScanner.java:108)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scan
 (DefaultMojoAnnotationsScanner.java:84)
   at 
org.apache.maven.tools.plugin.extractor.annotations.JavaAnnotationsMojoDescriptorExtractor.scanAnnotations
 (JavaAnnotationsMojoDescriptorExtractor.java:124)
   at 
org.apache.maven.tools.plugin.extractor.annotations.JavaAnnotationsMojoDescriptorExtractor.execute
 (JavaAnnotationsMojoDescriptorExtractor.java:103)
   at 
org.apache.maven.tools.plugin.scanner.DefaultMojoScanner.populatePluginDescriptor
 (DefaultMojoScanner.java:96)
   ...
   ```


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


[jira] [Commented] (MPLUGIN-336) broken in JDK 10 - IllegalArgumentException

2018-08-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on MPLUGIN-336:


sormuras edited a comment on issue #14: [MPLUGIN-336] Upgrade ASM to 6.2 for 
Java 10,11 support
URL: https://github.com/apache/maven-plugin-tools/pull/14#issuecomment-414081410
 
 
   ASM 6.2.1 was released: https://asm.ow2.io/versions.html
   
   Tried to compile a plugin with JDK 11 and `--release 11` yielded:
   
   ```text
   ...
   Caused by: java.lang.UnsupportedOperationException
   at org.objectweb.asm.ClassVisitor.visitNestHostExperimental 
(ClassVisitor.java:158)
   at org.objectweb.asm.ClassReader.accept (ClassReader.java:541)
   at org.objectweb.asm.ClassReader.accept (ClassReader.java:391)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.analyzeClassStream
 (DefaultMojoAnnotationsScanner.java:219)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scanDirectory
 (DefaultMojoAnnotationsScanner.java:200)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scan
 (DefaultMojoAnnotationsScanner.java:108)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scan
 (DefaultMojoAnnotationsScanner.java:84)
   at 
org.apache.maven.tools.plugin.extractor.annotations.JavaAnnotationsMojoDescriptorExtractor.scanAnnotations
 (JavaAnnotationsMojoDescriptorExtractor.java:124)
   at 
org.apache.maven.tools.plugin.extractor.annotations.JavaAnnotationsMojoDescriptorExtractor.execute
 (JavaAnnotationsMojoDescriptorExtractor.java:103)
   at 
org.apache.maven.tools.plugin.scanner.DefaultMojoScanner.populatePluginDescriptor
 (DefaultMojoScanner.java:96)
   ...
   ```


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> broken in JDK 10 - IllegalArgumentException
> ---
>
> Key: MPLUGIN-336
> URL: https://issues.apache.org/jira/browse/MPLUGIN-336
> Project: Maven Plugin Tools
>  Issue Type: Bug
>  Components: Plugin Plugin
>Affects Versions: 3.5.1
> Environment: Apache Maven 3.5.0 
> (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T14:39:06-05:00)
> Maven home: /mnt/STORAGE/Work/VetsEZ/Maven/apache-maven-3.5.0
> Java version: 10.0.1, vendor: Oracle Corporation
> Java home: /opt/java/jdk-10.0.1
>Reporter: Dan Armbrust
>Priority: Blocker
>
> I'm attempting to migrate some code to Java 10, and this is happening:
> {code:java}
> // 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-plugin-plugin:3.5.1:descriptor 
> (default-descriptor) on project mojo: Execution default-descriptor of goal 
> org.apache.maven.plugins:maven-plugin-plugin:3.5.1:descriptor failed.: 
> IllegalArgumentException -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.maven.plugins:maven-plugin-plugin:3.5.1:descriptor 
> (default-descriptor) on project mojo: Execution default-descriptor of goal 
> org.apache.maven.plugins:maven-plugin-plugin:3.5.1:descriptor failed.
>     at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
>     at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
>     at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
>     at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
>     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
>     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
>     at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.i

[GitHub] sormuras edited a comment on issue #14: [MPLUGIN-336] Upgrade ASM to 6.2 for Java 10, 11 support

2018-08-18 Thread GitBox
sormuras edited a comment on issue #14: [MPLUGIN-336] Upgrade ASM to 6.2 for 
Java 10,11 support
URL: https://github.com/apache/maven-plugin-tools/pull/14#issuecomment-414081410
 
 
   ASM 6.2.1 was released: https://asm.ow2.io/versions.html
   
   Tried to compile a plugin with JDK 11 and `--release 11`. Yielded:
   
   ```text
   ...
   Caused by: java.lang.UnsupportedOperationException
   at org.objectweb.asm.ClassVisitor.visitNestHostExperimental 
(ClassVisitor.java:158)
   at org.objectweb.asm.ClassReader.accept (ClassReader.java:541)
   at org.objectweb.asm.ClassReader.accept (ClassReader.java:391)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.analyzeClassStream
 (DefaultMojoAnnotationsScanner.java:219)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scanDirectory
 (DefaultMojoAnnotationsScanner.java:200)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scan
 (DefaultMojoAnnotationsScanner.java:108)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scan
 (DefaultMojoAnnotationsScanner.java:84)
   at 
org.apache.maven.tools.plugin.extractor.annotations.JavaAnnotationsMojoDescriptorExtractor.scanAnnotations
 (JavaAnnotationsMojoDescriptorExtractor.java:124)
   at 
org.apache.maven.tools.plugin.extractor.annotations.JavaAnnotationsMojoDescriptorExtractor.execute
 (JavaAnnotationsMojoDescriptorExtractor.java:103)
   at 
org.apache.maven.tools.plugin.scanner.DefaultMojoScanner.populatePluginDescriptor
 (DefaultMojoScanner.java:96)
   ...
   ```


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


[jira] [Commented] (MPLUGIN-336) broken in JDK 10 - IllegalArgumentException

2018-08-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on MPLUGIN-336:


sormuras edited a comment on issue #14: [MPLUGIN-336] Upgrade ASM to 6.2 for 
Java 10,11 support
URL: https://github.com/apache/maven-plugin-tools/pull/14#issuecomment-414081410
 
 
   ASM 6.2.1 was released: https://asm.ow2.io/versions.html
   
   Tried to compile a plugin with JDK 11 and `--release 11`. Yielded:
   
   ```text
   ...
   Caused by: java.lang.UnsupportedOperationException
   at org.objectweb.asm.ClassVisitor.visitNestHostExperimental 
(ClassVisitor.java:158)
   at org.objectweb.asm.ClassReader.accept (ClassReader.java:541)
   at org.objectweb.asm.ClassReader.accept (ClassReader.java:391)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.analyzeClassStream
 (DefaultMojoAnnotationsScanner.java:219)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scanDirectory
 (DefaultMojoAnnotationsScanner.java:200)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scan
 (DefaultMojoAnnotationsScanner.java:108)
   at 
org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scan
 (DefaultMojoAnnotationsScanner.java:84)
   at 
org.apache.maven.tools.plugin.extractor.annotations.JavaAnnotationsMojoDescriptorExtractor.scanAnnotations
 (JavaAnnotationsMojoDescriptorExtractor.java:124)
   at 
org.apache.maven.tools.plugin.extractor.annotations.JavaAnnotationsMojoDescriptorExtractor.execute
 (JavaAnnotationsMojoDescriptorExtractor.java:103)
   at 
org.apache.maven.tools.plugin.scanner.DefaultMojoScanner.populatePluginDescriptor
 (DefaultMojoScanner.java:96)
   ...
   ```


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> broken in JDK 10 - IllegalArgumentException
> ---
>
> Key: MPLUGIN-336
> URL: https://issues.apache.org/jira/browse/MPLUGIN-336
> Project: Maven Plugin Tools
>  Issue Type: Bug
>  Components: Plugin Plugin
>Affects Versions: 3.5.1
> Environment: Apache Maven 3.5.0 
> (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T14:39:06-05:00)
> Maven home: /mnt/STORAGE/Work/VetsEZ/Maven/apache-maven-3.5.0
> Java version: 10.0.1, vendor: Oracle Corporation
> Java home: /opt/java/jdk-10.0.1
>Reporter: Dan Armbrust
>Priority: Blocker
>
> I'm attempting to migrate some code to Java 10, and this is happening:
> {code:java}
> // 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-plugin-plugin:3.5.1:descriptor 
> (default-descriptor) on project mojo: Execution default-descriptor of goal 
> org.apache.maven.plugins:maven-plugin-plugin:3.5.1:descriptor failed.: 
> IllegalArgumentException -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.maven.plugins:maven-plugin-plugin:3.5.1:descriptor 
> (default-descriptor) on project mojo: Execution default-descriptor of goal 
> org.apache.maven.plugins:maven-plugin-plugin:3.5.1:descriptor failed.
>     at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
>     at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
>     at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
>     at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
>     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
>     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
>     at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.

[GitHub] asfgit closed pull request #77: SCM-791, SCM-815: fixes for Windows paths in git command line

2018-08-18 Thread GitBox
asfgit closed pull request #77: SCM-791,SCM-815: fixes for Windows paths in git 
command line
URL: https://github.com/apache/maven-scm/pull/77
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-git-commons/src/test/java/org/apache/maven/scm/provider/git/repository/GitScmProviderRepositoryTest.java
 
b/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-git-commons/src/test/java/org/apache/maven/scm/provider/git/repository/GitScmProviderRepositoryTest.java
index a5400ab45..2efe7555b 100644
--- 
a/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-git-commons/src/test/java/org/apache/maven/scm/provider/git/repository/GitScmProviderRepositoryTest.java
+++ 
b/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-git-commons/src/test/java/org/apache/maven/scm/provider/git/repository/GitScmProviderRepositoryTest.java
@@ -109,6 +109,7 @@ public void testLegalHttpsURL()
 public void testLegalFileWindowsURL()
 throws Exception
 {
+// FIXME This URL is invalid, hell knows why Git accepts it. It should 
be by us right away
 testUrl( "scm:git:file://c:\\tmp\\repo", null, "file://c:\\tmp\\repo", 
null, null, null, null, 0, null);
 }
 
diff --git 
a/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/GitExeScmProvider.java
 
b/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/GitExeScmProvider.java
index 596177a25..2096cadfc 100644
--- 
a/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/GitExeScmProvider.java
+++ 
b/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/GitExeScmProvider.java
@@ -141,7 +141,8 @@ protected String getRepositoryURL( File path )
 // Note: I need to supply just 1 absolute path, but ScmFileSet won't 
let me without
 // a basedir (which isn't used here anyway), so use a dummy file.
 // and a dummy ScmProviderRepository
-InfoScmResult result = info( new GitScmProviderRepository( 
path.getPath() ), new ScmFileSet( path ), null );
+InfoScmResult result = info( new GitScmProviderRepository( 
path.toPath().toUri().toASCIIString() ),
+ new ScmFileSet( path ), null );
 
 if ( result.getInfoItems().size() != 1 )
 {
diff --git 
a/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/GitCommandLineUtils.java
 
b/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/GitCommandLineUtils.java
index 4f23195ec..bb1dad113 100644
--- 
a/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/GitCommandLineUtils.java
+++ 
b/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/GitCommandLineUtils.java
@@ -19,6 +19,8 @@
  * under the License.
  */
 
+import org.apache.commons.io.FilenameUtils;
+
 import org.apache.maven.scm.ScmException;
 import org.apache.maven.scm.log.ScmLogger;
 import org.apache.maven.scm.provider.git.util.GitUtil;
@@ -34,7 +36,7 @@
 
 /**
  * Command line construction utility.
- * 
+ *
  * @author Brett Porter
  * @author mailto:strub...@yahoo.de";>Mark Struberg
  *
@@ -73,7 +75,7 @@ public static void addTarget( Commandline cl, List 
files )
 }
 
 // no setFile() since this screws up the working directory!
-cl.createArg().setValue( relativeFile );
+cl.createArg().setValue( FilenameUtils.separatorsToUnix( 
relativeFile ) );
 }
 }
 catch ( IOException ex )
@@ -84,7 +86,7 @@ public static void addTarget( Commandline cl, List 
files )
 }
 
 /**
- * 
+ *
  * @param workingDirectory
  * @param command
  * @return
@@ -97,7 +99,7 @@ public static Commandline getBaseGitCommandLine( File 
workingDirectory, String c
 /**
  * Creates a {@link Commandline} for which the toString() do not display
  * password.
- * 
+ *
  * @param workingDirectory
  * @param command
  * @return CommandLine with anonymous output.
@@ -176,4 +178,4 @@ public static int execute( Commandline cl, 
CommandLineUtils.StringStreamConsumer
 return exitCode;
 }
 
-}
\ No newline at end of file
+}
diff --git 
a/maven-s

[jira] [Updated] (SCM-815) GitExe Provider does not commit files in Cygwin

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/SCM-815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated SCM-815:
---
Fix Version/s: (was: waiting-for-feedback)
   1.10.1

> GitExe Provider does not commit files in Cygwin
> ---
>
> Key: SCM-815
> URL: https://issues.apache.org/jira/browse/SCM-815
> Project: Maven SCM
>  Issue Type: Bug
>  Components: maven-scm-provider-gitexe
>Affects Versions: 1.9.1, 1.9.2, 1.9.4, 1.9.5
> Environment: Cygwin and other bash variants
>Reporter: Christian Galsterer
>Priority: Blocker
> Fix For: 1.10.1
>
>
> In 
> https://github.com/apache/maven-scm/blob/maven-scm-1.9.1/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/status/GitStatusConsumer.java#L214
>  a regression was introduced where modified files are not committed anymore. 
> The problem is the isFile() method as is always returning false for a 
> modified file, e.g. for "/cygwin/c/dev/project/pom.xml" it returns false.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (SCM-815) GitExe Provider does not commit files in Cygwin

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/SCM-815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed SCM-815.
--
Resolution: Fixed
  Assignee: Michael Osipov

Fixed with 
[dc9b283269ac67ebbaae1d285f58d591b0f28573|https://gitbox.apache.org/repos/asf?p=maven-scm.git;a=commit;h=dc9b283269ac67ebbaae1d285f58d591b0f28573].

> GitExe Provider does not commit files in Cygwin
> ---
>
> Key: SCM-815
> URL: https://issues.apache.org/jira/browse/SCM-815
> Project: Maven SCM
>  Issue Type: Bug
>  Components: maven-scm-provider-gitexe
>Affects Versions: 1.9.1, 1.9.2, 1.9.4, 1.9.5
> Environment: Cygwin and other bash variants
>Reporter: Christian Galsterer
>Assignee: Michael Osipov
>Priority: Blocker
> Fix For: 1.10.1
>
>
> In 
> https://github.com/apache/maven-scm/blob/maven-scm-1.9.1/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/status/GitStatusConsumer.java#L214
>  a regression was introduced where modified files are not committed anymore. 
> The problem is the isFile() method as is always returning false for a 
> modified file, e.g. for "/cygwin/c/dev/project/pom.xml" it returns false.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (SCM-791) GitExe Provider does not work properly in Cygwin

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/SCM-791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed SCM-791.
--
Resolution: Fixed

Fixed with 
[dc9b283269ac67ebbaae1d285f58d591b0f28573|https://gitbox.apache.org/repos/asf?p=maven-scm.git;a=commit;h=dc9b283269ac67ebbaae1d285f58d591b0f28573].

> GitExe Provider does not work properly in Cygwin
> 
>
> Key: SCM-791
> URL: https://issues.apache.org/jira/browse/SCM-791
> Project: Maven SCM
>  Issue Type: Bug
>  Components: maven-scm-provider-gitexe
>Affects Versions: 1.9.2
> Environment: Cygwin under Windows 8
>Reporter: Irineu Ruiz
>Assignee: Michael Osipov
>Priority: Critical
> Fix For: 1.10.1
>
> Attachments: bad-01ba0c0.txt, good-SCM-791.txt, 
> test_1.9.2_Cygwin.log, test_1.9.2_prompt.log, test_HEAD_Cygwin.log, 
> test_HEAD_prompt.log
>
>
> The tests of the maven-scm project fails in CygWin and passed in command 
> prompt, as you can see in the attachment.
> Also, using Cygwin under Windows 8, we can't execute a mvn release:prepare 
> properly, because pom.xml is not correct commited in tag and HEAD of 
> repository.
> The maven gives a false positive of Build Sucess, but the tag is incorret, 
> with the SNAPSHOT termination in version.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Closed] (SCM-892) URLs aren't set where URLs are expected

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/SCM-892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed SCM-892.
--
Resolution: Fixed

Fixed with 
[83afc2a6d46f1446c28645445e766027e1dcff42|https://gitbox.apache.org/repos/asf?p=maven-scm.git;a=commit;h=83afc2a6d46f1446c28645445e766027e1dcff42].

> URLs aren't set where URLs are expected
> ---
>
> Key: SCM-892
> URL: https://issues.apache.org/jira/browse/SCM-892
> Project: Maven SCM
>  Issue Type: Bug
>  Components: maven-scm-provider-gitexe, maven-scm-provider-svn
>Affects Versions: 1.10.0
>Reporter: Michael Osipov
>Assignee: Michael Osipov
>Priority: Major
> Fix For: 1.10.1
>
>
> Some spots are expected to return URLs, but they merely do 
> {{File#getAbsolutPath()}} or try to contstruct a halfbroken URL. Rely on 
> {{java.nio.Path}} and {{URI}} and it will work on Windows, Unix and Cygwin.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SCM-791) GitExe Provider does not work properly in Cygwin

2018-08-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on SCM-791:


asfgit closed pull request #77: SCM-791,SCM-815: fixes for Windows paths in git 
command line
URL: https://github.com/apache/maven-scm/pull/77
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-git-commons/src/test/java/org/apache/maven/scm/provider/git/repository/GitScmProviderRepositoryTest.java
 
b/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-git-commons/src/test/java/org/apache/maven/scm/provider/git/repository/GitScmProviderRepositoryTest.java
index a5400ab45..2efe7555b 100644
--- 
a/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-git-commons/src/test/java/org/apache/maven/scm/provider/git/repository/GitScmProviderRepositoryTest.java
+++ 
b/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-git-commons/src/test/java/org/apache/maven/scm/provider/git/repository/GitScmProviderRepositoryTest.java
@@ -109,6 +109,7 @@ public void testLegalHttpsURL()
 public void testLegalFileWindowsURL()
 throws Exception
 {
+// FIXME This URL is invalid, hell knows why Git accepts it. It should 
be by us right away
 testUrl( "scm:git:file://c:\\tmp\\repo", null, "file://c:\\tmp\\repo", 
null, null, null, null, 0, null);
 }
 
diff --git 
a/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/GitExeScmProvider.java
 
b/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/GitExeScmProvider.java
index 596177a25..2096cadfc 100644
--- 
a/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/GitExeScmProvider.java
+++ 
b/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/GitExeScmProvider.java
@@ -141,7 +141,8 @@ protected String getRepositoryURL( File path )
 // Note: I need to supply just 1 absolute path, but ScmFileSet won't 
let me without
 // a basedir (which isn't used here anyway), so use a dummy file.
 // and a dummy ScmProviderRepository
-InfoScmResult result = info( new GitScmProviderRepository( 
path.getPath() ), new ScmFileSet( path ), null );
+InfoScmResult result = info( new GitScmProviderRepository( 
path.toPath().toUri().toASCIIString() ),
+ new ScmFileSet( path ), null );
 
 if ( result.getInfoItems().size() != 1 )
 {
diff --git 
a/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/GitCommandLineUtils.java
 
b/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/GitCommandLineUtils.java
index 4f23195ec..bb1dad113 100644
--- 
a/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/GitCommandLineUtils.java
+++ 
b/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/GitCommandLineUtils.java
@@ -19,6 +19,8 @@
  * under the License.
  */
 
+import org.apache.commons.io.FilenameUtils;
+
 import org.apache.maven.scm.ScmException;
 import org.apache.maven.scm.log.ScmLogger;
 import org.apache.maven.scm.provider.git.util.GitUtil;
@@ -34,7 +36,7 @@
 
 /**
  * Command line construction utility.
- * 
+ *
  * @author Brett Porter
  * @author mailto:strub...@yahoo.de";>Mark Struberg
  *
@@ -73,7 +75,7 @@ public static void addTarget( Commandline cl, List 
files )
 }
 
 // no setFile() since this screws up the working directory!
-cl.createArg().setValue( relativeFile );
+cl.createArg().setValue( FilenameUtils.separatorsToUnix( 
relativeFile ) );
 }
 }
 catch ( IOException ex )
@@ -84,7 +86,7 @@ public static void addTarget( Commandline cl, List 
files )
 }
 
 /**
- * 
+ *
  * @param workingDirectory
  * @param command
  * @return
@@ -97,7 +99,7 @@ public static Commandline getBaseGitCommandLine( File 
workingDirectory, String c
 /**
  * Creates a {@link Commandline} for which the toString() do not display
  * password.
- * 
+ *
  * @param workingDirectory
  * @param com

[GitHub] michael-o commented on issue #75: add fileNamesOnly property to only show file names

2018-08-18 Thread GitBox
michael-o commented on issue #75: add fileNamesOnly property to only show file 
names
URL: https://github.com/apache/maven-scm/pull/75#issuecomment-414082733
 
 
   Please create a JIRA ticket first. The change is incomplete since the stdout 
case produces warnings:
   
   > [INFO] Executing: cmd.exe /X /C "git diff --name-only"
   > [INFO] Working directory: D:\Entwicklung\Projekte\maven-scm
   > [WARNING] Unparseable line: 'Jenkinsfile'
   > [WARNING] Unparseable line: 'pom.xml'
   > [INFO] Executing: cmd.exe /X /C "git diff --cached --name-only"
   > [INFO] Working directory: D:\Entwicklung\Projekte\maven-scm
   > [INFO] Jenkinsfile
   > pom.xml
   > 
   > [INFO] 

   > [INFO] Reactor Summary:


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


[jira] [Commented] (WAGON-521) Maven cannot use system default proxies

2018-08-18 Thread Noel Grandin (JIRA)


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

Noel Grandin commented on WAGON-521:


So maven operates on the principle that unless a patch is provided a bug does 
not exist?

That's a little sad

> Maven cannot use system default proxies
> ---
>
> Key: WAGON-521
> URL: https://issues.apache.org/jira/browse/WAGON-521
> Project: Maven Wagon
>  Issue Type: Bug
>  Components: wagon-http
>Affects Versions: 3.1.0
> Environment: All
>Reporter: Noel Grandin
>Priority: Major
>
> when using maven from behind a proxy, it cannot connect to download
> The maven/java stuff will not use the system proxies unless explicitly told 
> to do so, which is a problem when maven tries to download the jars it needs 
> :-)
> Basically, I need the following option added to the java command line:
> -Djava.net.useSystemProxies=true
> Sun did not see to make this the default because of backwards compatibility, 
> which is a right PITA, but anyhow :-)
> Please also see original issue here: 
> https://github.com/takari/maven-wrapper/issues/58
> https://github.com/pmd/pmd/issues/498



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (WAGON-521) Maven cannot use system default proxies

2018-08-18 Thread Michael Osipov (JIRA)


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

Michael Osipov commented on WAGON-521:
--

Well, the issue was closed with the wrapper too. I have offered a year ago: You 
can investigate and we can move this to Wagon.

In fact, this property works already by default in HttpClient for years. You 
just don't have to provide any proxy in your {{settings.xml}}. Have you tried 
that at least?

> Maven cannot use system default proxies
> ---
>
> Key: WAGON-521
> URL: https://issues.apache.org/jira/browse/WAGON-521
> Project: Maven Wagon
>  Issue Type: Bug
>  Components: wagon-http
>Affects Versions: 3.1.0
> Environment: All
>Reporter: Noel Grandin
>Priority: Major
>
> when using maven from behind a proxy, it cannot connect to download
> The maven/java stuff will not use the system proxies unless explicitly told 
> to do so, which is a problem when maven tries to download the jars it needs 
> :-)
> Basically, I need the following option added to the java command line:
> -Djava.net.useSystemProxies=true
> Sun did not see to make this the default because of backwards compatibility, 
> which is a right PITA, but anyhow :-)
> Please also see original issue here: 
> https://github.com/takari/maven-wrapper/issues/58
> https://github.com/pmd/pmd/issues/498



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (SCM-835) includes directive doesn't work correctly when other files in directory changes

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/SCM-835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated SCM-835:
---
Affects Version/s: 1.10.0

> includes directive doesn't work correctly when other files in directory 
> changes
> ---
>
> Key: SCM-835
> URL: https://issues.apache.org/jira/browse/SCM-835
> Project: Maven SCM
>  Issue Type: Bug
>  Components: maven-scm-provider-gitexe
>Affects Versions: 1.10.0
>Reporter: Eli Shvartsman
>Priority: Major
>
> We have a scenario, when we have to commit only one file, for example 
> "LICENSE.md".
> When we use 
> {code}
> LICENSE.md
> {code}
> GitCheckInCommand is invoking a GitStatusConsumer for fileSet.getBasedir() 
> and if there are any changes, passes them to "commit" and "push" phases.
> If there are any other files changed (except LICENSE.md), than 
> statusConsumer.getChangedFiles() is not empty and we proceed. But if we 
> didn't made any changes to our file, "commit" phase will fail, as there is 
> nothing to commit (in terms of our fileSet).
> I suppose to patch GitStatusConsumer, so it could be aware of fileSet and not 
> give us status of changed files if they are not in a fileSet.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (SCM-835) includes directive doesn't work correctly when other files in directory changes

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/SCM-835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated SCM-835:
---
Component/s: maven-scm-provider-gitexe

> includes directive doesn't work correctly when other files in directory 
> changes
> ---
>
> Key: SCM-835
> URL: https://issues.apache.org/jira/browse/SCM-835
> Project: Maven SCM
>  Issue Type: Bug
>  Components: maven-scm-provider-gitexe
>Affects Versions: 1.10.0
>Reporter: Eli Shvartsman
>Priority: Major
>
> We have a scenario, when we have to commit only one file, for example 
> "LICENSE.md".
> When we use 
> {code}
> LICENSE.md
> {code}
> GitCheckInCommand is invoking a GitStatusConsumer for fileSet.getBasedir() 
> and if there are any changes, passes them to "commit" and "push" phases.
> If there are any other files changed (except LICENSE.md), than 
> statusConsumer.getChangedFiles() is not empty and we proceed. But if we 
> didn't made any changes to our file, "commit" phase will fail, as there is 
> nothing to commit (in terms of our fileSet).
> I suppose to patch GitStatusConsumer, so it could be aware of fileSet and not 
> give us status of changed files if they are not in a fileSet.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] michael-o commented on issue #51: fix SCM-835 collision

2018-08-18 Thread GitBox
michael-o commented on issue #51: fix SCM-835 collision
URL: https://github.com/apache/maven-scm/pull/51#issuecomment-414084580
 
 
   I am looking to your PR. Can you please rebase against master?
   
   So, if I understood the issue properly, The status consumer also returned 
unaffected files which are int in `includes`, so they shall be completely 
ignored from all operations?


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


[jira] [Commented] (SCM-835) includes directive doesn't work correctly when other files in directory changes

2018-08-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on SCM-835:


michael-o commented on issue #51: fix SCM-835 collision
URL: https://github.com/apache/maven-scm/pull/51#issuecomment-414084580
 
 
   I am looking to your PR. Can you please rebase against master?
   
   So, if I understood the issue properly, The status consumer also returned 
unaffected files which are int in `includes`, so they shall be completely 
ignored from all operations?


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> includes directive doesn't work correctly when other files in directory 
> changes
> ---
>
> Key: SCM-835
> URL: https://issues.apache.org/jira/browse/SCM-835
> Project: Maven SCM
>  Issue Type: Bug
>  Components: maven-scm-provider-gitexe
>Affects Versions: 1.10.0
>Reporter: Eli Shvartsman
>Priority: Major
>
> We have a scenario, when we have to commit only one file, for example 
> "LICENSE.md".
> When we use 
> {code}
> LICENSE.md
> {code}
> GitCheckInCommand is invoking a GitStatusConsumer for fileSet.getBasedir() 
> and if there are any changes, passes them to "commit" and "push" phases.
> If there are any other files changed (except LICENSE.md), than 
> statusConsumer.getChangedFiles() is not empty and we proceed. But if we 
> didn't made any changes to our file, "commit" phase will fail, as there is 
> nothing to commit (in terms of our fileSet).
> I suppose to patch GitStatusConsumer, so it could be aware of fileSet and not 
> give us status of changed files if they are not in a fileSet.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] sormuras commented on issue #14: [MPLUGIN-336] Upgrade ASM to 6.2 for Java 10, 11 support

2018-08-18 Thread GitBox
sormuras commented on issue #14: [MPLUGIN-336] Upgrade ASM to 6.2 for Java 
10,11 support
URL: https://github.com/apache/maven-plugin-tools/pull/14#issuecomment-414085266
 
 
   > ... until ASM API for nests stabilises.
   
   @forax Is ASM 6.2.1 ready for nest support? Or will there be another 
bug-fix/improvement release addressing nest issues?


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


[jira] [Commented] (MPLUGIN-336) broken in JDK 10 - IllegalArgumentException

2018-08-18 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on MPLUGIN-336:


sormuras commented on issue #14: [MPLUGIN-336] Upgrade ASM to 6.2 for Java 
10,11 support
URL: https://github.com/apache/maven-plugin-tools/pull/14#issuecomment-414085266
 
 
   > ... until ASM API for nests stabilises.
   
   @forax Is ASM 6.2.1 ready for nest support? Or will there be another 
bug-fix/improvement release addressing nest issues?


This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


> broken in JDK 10 - IllegalArgumentException
> ---
>
> Key: MPLUGIN-336
> URL: https://issues.apache.org/jira/browse/MPLUGIN-336
> Project: Maven Plugin Tools
>  Issue Type: Bug
>  Components: Plugin Plugin
>Affects Versions: 3.5.1
> Environment: Apache Maven 3.5.0 
> (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T14:39:06-05:00)
> Maven home: /mnt/STORAGE/Work/VetsEZ/Maven/apache-maven-3.5.0
> Java version: 10.0.1, vendor: Oracle Corporation
> Java home: /opt/java/jdk-10.0.1
>Reporter: Dan Armbrust
>Priority: Blocker
>
> I'm attempting to migrate some code to Java 10, and this is happening:
> {code:java}
> // 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-plugin-plugin:3.5.1:descriptor 
> (default-descriptor) on project mojo: Execution default-descriptor of goal 
> org.apache.maven.plugins:maven-plugin-plugin:3.5.1:descriptor failed.: 
> IllegalArgumentException -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.maven.plugins:maven-plugin-plugin:3.5.1:descriptor 
> (default-descriptor) on project mojo: Execution default-descriptor of goal 
> org.apache.maven.plugins:maven-plugin-plugin:3.5.1:descriptor failed.
>     at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
>     at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154)
>     at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
>     at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>     at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107)
>     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993)
>     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:191)
>     at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>     at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.base/java.lang.reflect.Method.invoke(Method.java:564)
>     at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>     at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>     at 
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>     at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution 
> default-descriptor of goal 
> org.apache.maven.plugins:maven-plugin-plugin:3.5.1:descriptor failed.
>     at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
>     at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
>     ... 20 more
> Caused by: java.lang.IllegalArgumentException
>     at org.objectweb.asm.ClassReader.(Unknown Source)
>     at org.objectweb.asm.ClassReader.(Unknown Source)
>     at org.objectweb.asm.ClassReader.(Unknown Source)
>     at 
> org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScan

[jira] [Created] (MSITE-827) Site builds rely on HTTP 404

2018-08-18 Thread Stephen Colebourne (JIRA)
Stephen Colebourne created MSITE-827:


 Summary: Site builds rely on HTTP 404
 Key: MSITE-827
 URL: https://issues.apache.org/jira/browse/MSITE-827
 Project: Maven Site Plugin
  Issue Type: Bug
  Components: multi module
Affects Versions: 3.7.1
Reporter: Stephen Colebourne


If the _pom.xml_ that is being built has a parent that is stored in a remote 
repository, then the site plugin (or some other part of the site-building 
process) will try to find two files alongside the parent pom - _site_en.xml_ 
and _site.xml_.

Since these files are being fetched from a remote repository, there is the 
potential for network issues, and I've seen cases where builds fail 
semi-randomly as well as consistently. The key problem seems to be that the 
child build relies on getting *404 for both files* from the remote repository 
before it can continue. This can be a bigger problem if there are multiple 
remote repositories, as *all repositories must return 404 for both files* 
before the child build can continue.

The Maven recommendation is to use _site:attach-descriptor_ in the parent build 
to publish _site.xml_ in cases like this. However, *this is insufficient*, as 
_site:attach-descriptor_ only publishes _site.xml_ and not _site_en.xml_, so 
the client build still relies on getting 404 on _site_en.xml_ in order to be 
able to continue.

As per this [answer|https://stackoverflow.com/a/51912311/38896], there is a 
hacky workaround to allow both _site_en.xml_ and _site.xml_ to be published 
from the parent project by mis-using the locales configuration. Once *both* 
files are published, the client build no longer needs to rely on HTTP 404 as it 
finds both files it is looking for.

Given how everything works today, I suspect that the client build is going to 
have to continue to use HTTP 404, as making it more tolerant could mask errors. 
Unless there is some way to provide a config flag in the site plugin of the 
child build.

I suspect that the only way to tackle this issue will be to make 
_site:attach-descriptor_ publish both _site_en.xml_ and _site.xml_ by default 
(without the need for hacky locales config).

See also MSITE-639 which provides more info.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (SCM-834) Git Commit encoding is platform-dependent instead of UTF-8

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/SCM-834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated SCM-834:
---
Fix Version/s: (was: waiting-for-feedback)
   1.10.1

> Git Commit encoding is platform-dependent instead of UTF-8
> --
>
> Key: SCM-834
> URL: https://issues.apache.org/jira/browse/SCM-834
> Project: Maven SCM
>  Issue Type: Bug
>  Components: maven-scm-provider-gitexe
>Affects Versions: 1.9.4
>Reporter: Tobias Gruetzmacher
>Assignee: Michael Osipov
>Priority: Major
> Fix For: 1.10.1
>
>
> When doing a release with the maven-release-plugin, if you have a 
> non-ASCII-character in your commit message (setting scmCommentPrefix to 
> "lösung" for example), the resulting commit message has a different encoding 
> on different operating systems. If it isn't UTF-8 (on Windows, for example), 
> git complains with
> {code}
> Warning: commit message did not conform to UTF-8.
> You may want to amend it after fixing the message, or set the config
> variable i18n.commitencoding to the encoding your project uses.
> {code}
> AFAICS, the fix is pretty simple: Just add "UTF-8" to the call of fileWrite 
> in 
> [GitCheckInCommand.java|https://github.com/apache/maven-scm/blob/master/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/checkin/GitCheckInCommand.java#L74]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (SCM-834) Git Commit encoding is platform-dependent instead of UTF-8

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/SCM-834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov reassigned SCM-834:
--

Assignee: Michael Osipov

> Git Commit encoding is platform-dependent instead of UTF-8
> --
>
> Key: SCM-834
> URL: https://issues.apache.org/jira/browse/SCM-834
> Project: Maven SCM
>  Issue Type: Bug
>  Components: maven-scm-provider-gitexe
>Affects Versions: 1.9.4
>Reporter: Tobias Gruetzmacher
>Assignee: Michael Osipov
>Priority: Major
> Fix For: 1.10.1
>
>
> When doing a release with the maven-release-plugin, if you have a 
> non-ASCII-character in your commit message (setting scmCommentPrefix to 
> "lösung" for example), the resulting commit message has a different encoding 
> on different operating systems. If it isn't UTF-8 (on Windows, for example), 
> git complains with
> {code}
> Warning: commit message did not conform to UTF-8.
> You may want to amend it after fixing the message, or set the config
> variable i18n.commitencoding to the encoding your project uses.
> {code}
> AFAICS, the fix is pretty simple: Just add "UTF-8" to the call of fileWrite 
> in 
> [GitCheckInCommand.java|https://github.com/apache/maven-scm/blob/master/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/checkin/GitCheckInCommand.java#L74]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (SCM-834) Git Commit encoding is platform-dependent instead of UTF-8

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/SCM-834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated SCM-834:
---
Priority: Blocker  (was: Major)

> Git Commit encoding is platform-dependent instead of UTF-8
> --
>
> Key: SCM-834
> URL: https://issues.apache.org/jira/browse/SCM-834
> Project: Maven SCM
>  Issue Type: Bug
>  Components: maven-scm-provider-gitexe
>Affects Versions: 1.9.4
>Reporter: Tobias Gruetzmacher
>Assignee: Michael Osipov
>Priority: Blocker
> Fix For: 1.10.1
>
>
> When doing a release with the maven-release-plugin, if you have a 
> non-ASCII-character in your commit message (setting scmCommentPrefix to 
> "lösung" for example), the resulting commit message has a different encoding 
> on different operating systems. If it isn't UTF-8 (on Windows, for example), 
> git complains with
> {code}
> Warning: commit message did not conform to UTF-8.
> You may want to amend it after fixing the message, or set the config
> variable i18n.commitencoding to the encoding your project uses.
> {code}
> AFAICS, the fix is pretty simple: Just add "UTF-8" to the call of fileWrite 
> in 
> [GitCheckInCommand.java|https://github.com/apache/maven-scm/blob/master/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/checkin/GitCheckInCommand.java#L74]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (SCM-834) Git Commit encoding is platform-dependent instead of UTF-8

2018-08-18 Thread Michael Osipov (JIRA)


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

Michael Osipov commented on SCM-834:


Just made a simple test in Eclipse. It is even worse that that. It silently 
corrupts that file by writing question marks for codepoints which cannot be 
represented in the default encoding.

> Git Commit encoding is platform-dependent instead of UTF-8
> --
>
> Key: SCM-834
> URL: https://issues.apache.org/jira/browse/SCM-834
> Project: Maven SCM
>  Issue Type: Bug
>  Components: maven-scm-provider-gitexe
>Affects Versions: 1.9.4
>Reporter: Tobias Gruetzmacher
>Assignee: Michael Osipov
>Priority: Major
> Fix For: 1.10.1
>
>
> When doing a release with the maven-release-plugin, if you have a 
> non-ASCII-character in your commit message (setting scmCommentPrefix to 
> "lösung" for example), the resulting commit message has a different encoding 
> on different operating systems. If it isn't UTF-8 (on Windows, for example), 
> git complains with
> {code}
> Warning: commit message did not conform to UTF-8.
> You may want to amend it after fixing the message, or set the config
> variable i18n.commitencoding to the encoding your project uses.
> {code}
> AFAICS, the fix is pretty simple: Just add "UTF-8" to the call of fileWrite 
> in 
> [GitCheckInCommand.java|https://github.com/apache/maven-scm/blob/master/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/checkin/GitCheckInCommand.java#L74]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (SCM-834) Commit encoding is platform-dependent instead of UTF-8

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/SCM-834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated SCM-834:
---
Summary: Commit encoding is platform-dependent instead of UTF-8  (was: Git 
Commit encoding is platform-dependent instead of UTF-8)

> Commit encoding is platform-dependent instead of UTF-8
> --
>
> Key: SCM-834
> URL: https://issues.apache.org/jira/browse/SCM-834
> Project: Maven SCM
>  Issue Type: Bug
>  Components: maven-scm-provider-gitexe, maven-scm-provider-svn
>Affects Versions: 1.9.4
>Reporter: Tobias Gruetzmacher
>Assignee: Michael Osipov
>Priority: Blocker
> Fix For: 1.10.1
>
>
> When doing a release with the maven-release-plugin, if you have a 
> non-ASCII-character in your commit message (setting scmCommentPrefix to 
> "lösung" for example), the resulting commit message has a different encoding 
> on different operating systems. If it isn't UTF-8 (on Windows, for example), 
> git complains with
> {code}
> Warning: commit message did not conform to UTF-8.
> You may want to amend it after fixing the message, or set the config
> variable i18n.commitencoding to the encoding your project uses.
> {code}
> AFAICS, the fix is pretty simple: Just add "UTF-8" to the call of fileWrite 
> in 
> [GitCheckInCommand.java|https://github.com/apache/maven-scm/blob/master/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/checkin/GitCheckInCommand.java#L74]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (SCM-834) Git Commit encoding is platform-dependent instead of UTF-8

2018-08-18 Thread Michael Osipov (JIRA)


 [ 
https://issues.apache.org/jira/browse/SCM-834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated SCM-834:
---
Component/s: maven-scm-provider-svn

> Git Commit encoding is platform-dependent instead of UTF-8
> --
>
> Key: SCM-834
> URL: https://issues.apache.org/jira/browse/SCM-834
> Project: Maven SCM
>  Issue Type: Bug
>  Components: maven-scm-provider-gitexe, maven-scm-provider-svn
>Affects Versions: 1.9.4
>Reporter: Tobias Gruetzmacher
>Assignee: Michael Osipov
>Priority: Blocker
> Fix For: 1.10.1
>
>
> When doing a release with the maven-release-plugin, if you have a 
> non-ASCII-character in your commit message (setting scmCommentPrefix to 
> "lösung" for example), the resulting commit message has a different encoding 
> on different operating systems. If it isn't UTF-8 (on Windows, for example), 
> git complains with
> {code}
> Warning: commit message did not conform to UTF-8.
> You may want to amend it after fixing the message, or set the config
> variable i18n.commitencoding to the encoding your project uses.
> {code}
> AFAICS, the fix is pretty simple: Just add "UTF-8" to the call of fileWrite 
> in 
> [GitCheckInCommand.java|https://github.com/apache/maven-scm/blob/master/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/checkin/GitCheckInCommand.java#L74]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


  1   2   >