Re: [VOTE] Release Configuration 2.1 based on RC1

2016-07-28 Thread Benedikt Ritter
Dennis Kieselhorst  schrieb am Do., 28. Juli 2016 um
08:56 Uhr:

>
> > Any proposals which version of the checkstyle plugin would be
> > compatible? Or why does the checkstyle plugin becomes active for a mvn
> > clean install at all?
> >
> Sorry, I simply changed it to latest version without noticing that Java
> 7 is now required.
>
> According to
> https://maven.apache.org/plugins/maven-checkstyle-plugin/history.html
> 2.15 should be fine, I've just commited the change.
>

Thank you Dennis.
Oliver, would you mind creating another RC to pick up this change?

Benedikt


>
> Regards
> Dennis
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>


[BCEL] Potential IP problem at GitHub

2016-07-28 Thread Benedikt Ritter
Hello,

I need some advice on how to handle this pull request at GitHub [1]. It
looks like it has been copied without notice from the ASM project. The
files added contain a license header mentioning INRIA, France Telecom. For
now I've just asked the contributor to sign an ICLA. But that is not enough
if the PR is violating IP of third parties.

Thank you,
Benedikt

[1] https://github.com/apache/commons-bcel/pull/7


Re: [BCEL] Potential IP problem at GitHub

2016-07-28 Thread Jochen Wiedmann
On Thu, Jul 28, 2016 at 9:14 AM, Benedikt Ritter  wrote:

> I need some advice on how to handle this pull request at GitHub [1]. It
> looks like it has been copied without notice from the ASM project. The
> files added contain a license header mentioning INRIA, France Telecom. For
> now I've just asked the contributor to sign an ICLA. But that is not enough
> if the PR is violating IP of third parties.
>
> Thank you,
> Benedikt
>
> [1] https://github.com/apache/commons-bcel/pull/7

AFAICT, that PR adds two files with 1094 lines of code.That is, IMO no
trivial contribution. I'd therefore suggest to forward the matter to
legal-discuss@a.o.

Jochen


-- 
The next time you hear: "Don't reinvent the wheel!"

http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



[All] Please don't commit while repos are moving

2016-07-28 Thread Jochen Wiedmann
Hi,

please don't commit to repositories, while they are moving to Git.
AFAIK, this currently covers [io], and [fileupload], but possibly
others as well.

We might interfer with Infra otherwise. And, as you possibly are
aware: They are understaffed, and slow, anyways.

Thanks,

Jochen


-- 
The next time you hear: "Don't reinvent the wheel!"

http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [All] Please don't commit while repos are moving

2016-07-28 Thread Benedikt Ritter
Hello Jochen,

Jochen Wiedmann  schrieb am Do., 28. Juli 2016
um 11:06 Uhr:

> Hi,
>
> please don't commit to repositories, while they are moving to Git.
> AFAIK, this currently covers [io], and [fileupload], but possibly
> others as well.
>
> We might interfer with Infra otherwise. And, as you possibly are
> aware: They are understaffed, and slow, anyways.
>

Very good point. Sebb pointed out how to make SVN ready-only. I need to
figure that out to finalize the move of CSV to git, because the old source
tree in SVN has to be moved to a new location. I didn't have the time, but
when I find out how to do it, I'll come back to you.

Benedikt


>
> Thanks,
>
> Jochen
>
>
> --
> The next time you hear: "Don't reinvent the wheel!"
>
>
> http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>


Re: [All] Please don't commit while repos are moving

2016-07-28 Thread Jochen Wiedmann
On Thu, Jul 28, 2016 at 11:47 AM, Benedikt Ritter  wrote:

>  because the old source tree in SVN has to be moved to a new location.

I failed to do that for fileupload and asked Sebb, and Stefan, to do
that for me, 5 minutes ago. (They did that for other components in the
past.)

Jochen



-- 
The next time you hear: "Don't reinvent the wheel!"

http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [All] Please don't commit while repos are moving

2016-07-28 Thread Stefan Bodewig
On 2016-07-28, Benedikt Ritter wrote:

> Hello Jochen,

> Jochen Wiedmann  schrieb am Do., 28. Juli 2016
> um 11:06 Uhr:

>> Hi,

>> please don't commit to repositories, while they are moving to Git.
>> AFAIK, this currently covers [io], and [fileupload], but possibly
>> others as well.

>> We might interfer with Infra otherwise. And, as you possibly are
>> aware: They are understaffed, and slow, anyways.

> Very good point. Sebb pointed out how to make SVN ready-only.

I'm pretty sure the infra team did that when we migrated compress and
the explicitly set it to read-write again so I could move the tree away
after the migration was finished.

> I need to figure that out to finalize the move of CSV to git, because
> the old source tree in SVN has to be moved to a new location. I didn't
> have the time, but when I find out how to do it, I'll come back to
> you.

I used svn cp with two URLs IIRC and then svn rm on my working copy as
you want to keep a pointer to the new location around.  If infra hasn't
even started the migration, you shouldn't be moving anything.


Stefan

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



[GitHub] commons-collections pull request #17: small improvements for collectionUtils

2016-07-28 Thread izebit
GitHub user izebit opened a pull request:

https://github.com/apache/commons-collections/pull/17

small improvements for collectionUtils



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/izebit/commons-collections trunk

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/commons-collections/pull/17.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #17


commit 0dff24ddf27b5a5ac98bafbfc0b8e05307a905ba
Author: Artem Konovalov 
Date:   2016-07-28T17:28:52Z

small improvements for collectionUtils




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



[GitHub] commons-bcel pull request #9: BCEL-277 Resolve constant to a string represen...

2016-07-28 Thread KyongSik-Yoon
GitHub user KyongSik-Yoon opened a pull request:

https://github.com/apache/commons-bcel/pull/9

BCEL-277 Resolve constant to a string representation occur 
NoSuchElementException in case CONSTANT_NameAndType constant.

A method that constantToString of ConstantPool class always occur 
NoSuchElementException when face with costant type of CONSTANT_NameAndType.
A reason is invalid separator for StringTokenizer that colon. It should be 
replaced to empty string.
I had pull request include ConstantPoolTestCase.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/KyongSik-Yoon/commons-bcel BCEL-277

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/commons-bcel/pull/9.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #9


commit 53e91a2259a3656ef81334d00bc2bfea2b14d626
Author: sam 
Date:   2016-07-28T10:52:06Z

BCEL-277 Resolve constant to a string representation occur 
NoSuchElementException in case CONSTANT_NameAndType constant.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



[GitHub] commons-bcel pull request #10: BCEL-276 LocalVariableTypeTable is not update...

2016-07-28 Thread KyongSik-Yoon
GitHub user KyongSik-Yoon opened a pull request:

https://github.com/apache/commons-bcel/pull/10

BCEL-276 LocalVariableTypeTable is not updated when use MethodGen.

If a method for BCI have at least one generic type of argument JVM throw 
java.lang.ClassFormatError due to not updated LocalVariableTable.

I know there is workaround as call removeLocalVariables method.
But I think it's better that BCEL can stay proper LocalVariableTable.

This PR include unit test for reproduce a bug.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/KyongSik-Yoon/commons-bcel BCEL-276

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/commons-bcel/pull/10.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #10


commit b0105bf90c0cdbe08f9076e24859aae07b46bcb2
Author: sam 
Date:   2016-07-28T11:11:03Z

BCEL-276 LocalVariableTypeTable is not updated when use MethodGen.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



[LANG] LANG-1252 - NumberUtils.isNumber and NumberUtils.createNumber resolve inconsistently

2016-07-28 Thread Rob Tompkins
In short, I’m trying to generalize LANG-1060, LANG-1040, LANG-1038, and 
LANG-992 with a single issue that actually hits all the bases here with 
NumberUtils.isNumber.

Bug (1):

System.out.println(lang.math.NumberUtils.isNumber(“+2”)); > false

while

System.out.println(lang.math.NumberUtils.createNumber(“+2)); > 2

Bug (2):


System.out.println(lang.math.NumberUtils.isNumber(“01.5”)); > false

while

System.out.println(lang.math.NumberUtils.createNumber(“01.5)); > 
1.5.



It seems to me that we could externalize a considerable amount of the code 
underlying the two methods into shared methods, as it seems like all the 
validations in createNumber that predicate object creation should be directly 
used in isNumber. I would love to hear folks’ thoughts.

Cheers,
-Rob





Re: [DBCP] Working on 2.2 RC1

2016-07-28 Thread Matt Sicker
That looks like the error I had. I'll try uploading the artifacts to
staging again tonight. If that works, I can finish making RC1. Thanks for
the assistance!

On 27 July 2016 at 22:08, Gary Gregory  wrote:

> Matt,
>
> I've added you as a Commons committer.
>
> Gary
>
> On Wed, Jul 27, 2016 at 7:58 PM, Gary Gregory 
> wrote:
>
> > Matt,
> >
> > Are you getting an error like
> >
> https://mail-archives.apache.org/mod_mbox/commons-dev/201509.mbox/%3ccajzrqky3hspuwg_9uk2tkjkj0j4wgkab5zugxvq8ymd3b+q...@mail.gmail.com%3E
> >
> > ?
> >
> > Gary
> >
> > On Wed, Jul 27, 2016 at 3:42 PM, Matt Sicker  wrote:
> >
> >> Can I use sshfs/fuse, or does that not work with home.apache.org? I can
> >> always try out Filezilla if necessary. I preferred the old method of
> just
> >> using scp. :/
> >>
> >> Also, I still need Nexus permissions. That's my last blocker for now.
> >>
> >> On 27 July 2016 at 01:37, Benedikt Ritter  wrote:
> >>
> >> > Hi Matt,
> >> >
> >> > Matt Sicker  schrieb am Mi., 27. Juli 2016 um 05:35
> >> Uhr:
> >> >
> >> > > Oh, one more thing: I've uploaded a generated copy of the site from
> >> that
> >> > > tag. As people.apache.org has been retired, I uploaded it to
> GitHub:
> >> > > http://musigma.org/dbcp2-site/
> >> >
> >> >
> >> > home.apache.org is the new people.apache.org ;-) it does not allow
> ssh
> >> > access but you can upload files using sftp (I'm using FileZilla for
> >> this)
> >> >
> >> > Regards,
> >> > Benedikt
> >> >
> >> >
> >> > >
> >> > >
> >> > > On 26 July 2016 at 22:26, Matt Sicker  wrote:
> >> > >
> >> > > > Status:
> >> > > > * Updated generated files and version numbers
> >> > > > * Created release branch
> >> > > > * Created DBCP_2_2_RC1 tag
> >> > > >
> >> > > > Blockers
> >> > > > * Need karma to upload to repository.apache.org
> >> > > > * My GPG key needs to be added to the KEYS file. Key ID is
> >> > > > 748F15B2CF9BA8F024155E6ED7C92B70FA1C814D
> >> > > >
> >> > > > --
> >> > > > Matt Sicker 
> >> > > >
> >> > >
> >> > >
> >> > >
> >> > > --
> >> > > Matt Sicker 
> >> > >
> >> >
> >>
> >>
> >>
> >> --
> >> Matt Sicker 
> >>
> >
> >
> >
> > --
> > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> > Java Persistence with Hibernate, Second Edition
> > 
> > JUnit in Action, Second Edition 
> > Spring Batch in Action 
> > Blog: http://garygregory.wordpress.com
> > Home: http://garygregory.com/
> > Tweet! http://twitter.com/GaryGregory
> >
>
>
>
> --
> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> Java Persistence with Hibernate, Second Edition
> 
> JUnit in Action, Second Edition 
> Spring Batch in Action 
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>



-- 
Matt Sicker 


Re: [DBCP] Working on 2.2 RC1

2016-07-28 Thread Gary Gregory
YW, good luck!

Gary

On Thu, Jul 28, 2016 at 7:54 AM, Matt Sicker  wrote:

> That looks like the error I had. I'll try uploading the artifacts to
> staging again tonight. If that works, I can finish making RC1. Thanks for
> the assistance!
>
> On 27 July 2016 at 22:08, Gary Gregory  wrote:
>
> > Matt,
> >
> > I've added you as a Commons committer.
> >
> > Gary
> >
> > On Wed, Jul 27, 2016 at 7:58 PM, Gary Gregory 
> > wrote:
> >
> > > Matt,
> > >
> > > Are you getting an error like
> > >
> >
> https://mail-archives.apache.org/mod_mbox/commons-dev/201509.mbox/%3ccajzrqky3hspuwg_9uk2tkjkj0j4wgkab5zugxvq8ymd3b+q...@mail.gmail.com%3E
> > >
> > > ?
> > >
> > > Gary
> > >
> > > On Wed, Jul 27, 2016 at 3:42 PM, Matt Sicker  wrote:
> > >
> > >> Can I use sshfs/fuse, or does that not work with home.apache.org? I
> can
> > >> always try out Filezilla if necessary. I preferred the old method of
> > just
> > >> using scp. :/
> > >>
> > >> Also, I still need Nexus permissions. That's my last blocker for now.
> > >>
> > >> On 27 July 2016 at 01:37, Benedikt Ritter 
> wrote:
> > >>
> > >> > Hi Matt,
> > >> >
> > >> > Matt Sicker  schrieb am Mi., 27. Juli 2016 um
> 05:35
> > >> Uhr:
> > >> >
> > >> > > Oh, one more thing: I've uploaded a generated copy of the site
> from
> > >> that
> > >> > > tag. As people.apache.org has been retired, I uploaded it to
> > GitHub:
> > >> > > http://musigma.org/dbcp2-site/
> > >> >
> > >> >
> > >> > home.apache.org is the new people.apache.org ;-) it does not allow
> > ssh
> > >> > access but you can upload files using sftp (I'm using FileZilla for
> > >> this)
> > >> >
> > >> > Regards,
> > >> > Benedikt
> > >> >
> > >> >
> > >> > >
> > >> > >
> > >> > > On 26 July 2016 at 22:26, Matt Sicker  wrote:
> > >> > >
> > >> > > > Status:
> > >> > > > * Updated generated files and version numbers
> > >> > > > * Created release branch
> > >> > > > * Created DBCP_2_2_RC1 tag
> > >> > > >
> > >> > > > Blockers
> > >> > > > * Need karma to upload to repository.apache.org
> > >> > > > * My GPG key needs to be added to the KEYS file. Key ID is
> > >> > > > 748F15B2CF9BA8F024155E6ED7C92B70FA1C814D
> > >> > > >
> > >> > > > --
> > >> > > > Matt Sicker 
> > >> > > >
> > >> > >
> > >> > >
> > >> > >
> > >> > > --
> > >> > > Matt Sicker 
> > >> > >
> > >> >
> > >>
> > >>
> > >>
> > >> --
> > >> Matt Sicker 
> > >>
> > >
> > >
> > >
> > > --
> > > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> > > Java Persistence with Hibernate, Second Edition
> > > 
> > > JUnit in Action, Second Edition 
> > > Spring Batch in Action 
> > > Blog: http://garygregory.wordpress.com
> > > Home: http://garygregory.com/
> > > Tweet! http://twitter.com/GaryGregory
> > >
> >
> >
> >
> > --
> > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> > Java Persistence with Hibernate, Second Edition
> > 
> > JUnit in Action, Second Edition 
> > Spring Batch in Action 
> > Blog: http://garygregory.wordpress.com
> > Home: http://garygregory.com/
> > Tweet! http://twitter.com/GaryGregory
> >
>
>
>
> --
> Matt Sicker 
>



-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition

JUnit in Action, Second Edition 
Spring Batch in Action 
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory


Re: [VOTE] Release Configuration 2.1 based on RC1

2016-07-28 Thread Oliver Heger
Hi Benedikt,

Am 28.07.2016 um 08:30 schrieb Benedikt Ritter:
> Hello Oliver,
> 
> Oliver Heger  schrieb am Mi., 27. Juli 2016
> um 21:30 Uhr:
> 
>> Thanks for the reviews so far.
>>
>> I tested with the Java 1.6 compatibility profile, and here a mvn clean
>> install is successful (using Maven 3.3.9).
>>
> 
> do you use the profile defined in parent pom? Can you paste the exact
> command line your using?

the following command works for me:

mvn clean install -P java-1.6

However, this of course requires that the corresponding profiles are
correctly setup in settings.xml.

Oliver

> 
> 
>>
>> Any proposals which version of the checkstyle plugin would be
>> compatible? Or why does the checkstyle plugin becomes active for a mvn
>> clean install at all?
>>
> 
> I think this is because it is configured as build plugin and as report
> plugin. This way you can run mvn checkstyle:check and you will get the HTML
> report when running mvn site.
> 
> 
>>
>> Personally, I don't have an issue with moving forward to Java 1.7, but
>> would prefer a better reason than "because the checkstyle plugin does
>> not support 1.6 any more".
>>
> 
> Yes. I think we will have to find out how to configure the build for
> running with Java 1.6 or we need to document how to build with Java 1.6 in
> the current state.
> 
> Benedikt
> 
> 
>>
>> Oliver
>>
>> Am 27.07.2016 um 21:04 schrieb Gary Gregory:
>>> Bummer! I have to change my vote from +1 to -1. I used Java 8 to test,
>>> which I should not have. With Java 6, it fails indeed [1].
>>>
>>> I used:
>>>
>>> Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19
>>> 05:51:28-0800)
>>> Maven home: E:\Java\apache-maven-3.0.5
>>> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
>>> Java home: E:\Program Files\Java\jdk1.6.0_45\jre
>>> Default locale: en_US, platform encoding: Cp1252
>>> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>>>
>>> Remedy 1: Change plugin versions.
>>> Remedy 2: Update Java requirements from 6 to 7, which I would propose for
>>> 2.2 anyway.
>>>
>>> Gary
>>>
>>> [1] [ERROR] Failed to execute goal
>>> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on
>>> project commons-configuration2: Execution default-site of goal
>>> org.apache.maven.plugins:maven-site-plugin:3.4:site failed: An API
>>> incompatibility was
>>>  encountered while executing
>>> org.apache.maven.plugins:maven-site-plugin:3.4:site:
>>> java.lang.UnsupportedClassVersionError:
>>> org/apache/maven/plugin/checkstyle/CheckstyleReport : Unsupported
>>> major.minor version 51.0
>>> [ERROR] -
>>> [ERROR] realm =plugin>org.apache.maven.plugins:maven-site-plugin:3.4
>>> [ERROR] strategy =
>>> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
>>> [ERROR] urls[0] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/plugins/maven-site-plugin/3.4/maven-site-plugin-3.4.jar
>>> [ERROR] urls[1] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/wagon/wagon-ssh/2.10/wagon-ssh-2.10.jar
>>> [ERROR] urls[2] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/com/jcraft/jsch/0.1.50/jsch-0.1.50.jar
>>> [ERROR] urls[3] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/com/jcraft/jsch.agentproxy.connector-factory/0.0.6/jsch.agentproxy.connector-factory-0.0.6.jar
>>> [ERROR] urls[4] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/com/jcraft/jsch.agentproxy.core/0.0.6/jsch.agentproxy.core-0.0.6.jar
>>> [ERROR] urls[5] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/com/jcraft/jsch.agentproxy.usocket-jna/0.0.6/jsch.agentproxy.usocket-jna-0.0.6.jar
>>> [ERROR] urls[6] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/net/java/dev/jna/jna/3.4.0/jna-3.4.0.jar
>>> [ERROR] urls[7] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar
>>> [ERROR] urls[8] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/com/jcraft/jsch.agentproxy.usocket-nc/0.0.6/jsch.agentproxy.usocket-nc-0.0.6.jar
>>> [ERROR] urls[9] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/com/jcraft/jsch.agentproxy.sshagent/0.0.6/jsch.agentproxy.sshagent-0.0.6.jar
>>> [ERROR] urls[10] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/com/jcraft/jsch.agentproxy.pageant/0.0.6/jsch.agentproxy.pageant-0.0.6.jar
>>> [ERROR] urls[11] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/com/jcraft/jsch.agentproxy.jsch/0.0.6/jsch.agentproxy.jsch-0.0.6.jar
>>> [ERROR] urls[12] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/wagon/wagon-ssh-common/2.10/wagon-ssh-common-2.10.jar
>>> [ERROR] urls[13] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-6/plexus-interactivity-api-1.0-alpha-6.jar
>>> [ERROR] urls[14] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/apache/maven/maven-archiver/2.5/maven-archiver-2.5.jar
>>> [ERROR] urls[15] =
>>>
>> file:/C:/Users/ggregory/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.15

[CANCELED][VOTE] Release Configuration 2.1 based on RC1

2016-07-28 Thread Oliver Heger
This vote is canceled because of a problem with the build under Java 1.6.

I will create another RC soon.

Thanks for the reviews.
Oliver

Am 24.07.2016 um 22:31 schrieb Oliver Heger:
> Hi all,
> 
> there have been a number of bug fixes and also some new features for
> [configuration] since version 2.0 has been released. Those should be
> made available to the public. This is the vote for the 2.1 release.
> 
> Configuration 2.1 RC1 is available for review here:
> https://dist.apache.org/repos/dist/dev/commons/configuration
> (revision 14509)
> 
> Maven artifacts are here:
> 
> https://repository.apache.org/content/repositories/orgapachecommons-1186/
> 
> Details of changes since 2.0 are in the release notes:
> 
> https://dist.apache.org/repos/dist/dev/commons/configuration/RELEASE-NOTES.txt
> 
> https://home.apache.org/~oheger/configuration-2.1-rc1/changes-report.html
> 
> Here is the tag:
> 
> http://svn.apache.org/repos/asf/commons/proper/configuration/tags/CONFIGURATION_2_1_RC1
> (revision 1753948)
> 
> Site:
>https://home.apache.org/~oheger/configuration-2.1-rc1/
> (note some links in the menu are not yet working)
> 
> KEYS:
>   http://www.apache.org/dist/commons/KEYS
> 
> Please review the release candidate and vote.
> This vote will close no sooner than 72 hours from now, i.e. after 2030
> GMT 27-Jul 2016
> 
>   [ ] +1 Release these artifacts
>   [ ] +0 OK, but...
>   [ ] -0 OK, but really should fix...
>   [ ] -1 I oppose this release because...
> 
> Thanks!
> Oliver
> 
> 
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
> 

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [VOTE] Release CRYPTO 1.0.0 based on RC1

2016-07-28 Thread Jörg Schaible
Hi,

I am building crypto with my compiler zoo on Gentoo Linux with OpenSSL 1.02h 
installed. Even compiling with Java 9 works, tests fail only because of a 
missing jce.

Running the tests I get always those two warnings:

 %< ==
Running org.apache.commons.crypto.NativeCodeLoaderTest
** WARN: Native (JNI) code was not loaded: java.lang.UnsatisfiedLinkError: 
/tmp/commons-crypto-9c688d6a-fc55-4a35-9d78-79cedd4ad842-libcommons-
crypto.so: /tmp/commons-crypto-9c688d6a-fc55-4a35-9d78-79cedd4ad842-
libcommons-crypto.so: failed to map segment from shared object
Tests run: 5, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0.008 sec - 
in org.apache.commons.crypto.NativeCodeLoaderTest
Running org.apache.commons.crypto.jna.OpenSslNativeJnaTest
** WARN: JNA could not be enabled: 
/tmp/jna--1154654109/jna4836274946397519400.tmp: 
/tmp/jna--1154654109/jna4836274946397519400.tmp: failed to map segment from 
shared object
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.commons.crypto.jna.OpenSslNativeJnaTest
 %< ==

The build of the shared library produces additional warnings for OpenJDK 7 
(and OpenJDK 8 produces same warning):
 %< ==
[INFO] --- maven-antrun-plugin:1.8:run (make) @ commons-crypto ---
[INFO] Executing tasks

make:
 [exec] "/home/joehni/.gentoo/java-config-2/current-user-vm/bin/javah" -
force -classpath target/classes -o target/jni-
classes/org/apache/commons/crypto/random/OpenSslCryptoRandomNative.h 
org.apache.commons.crypto.random.OpenSslCryptoRandomNative
 [exec] gcc -Ilib/inc_linux -I/home/joehni/.gentoo/java-
config-2/current-user-vm/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden 
-m64 -Ilib/include -I/usr/include -
I"src/main/native/org/apache/commons/crypto/" -I"/home/joehni/.gentoo/java-
config-2/current-user-vm/include/linux" -I"target/jni-
classes/org/apache/commons/crypto/cipher" -I"target/jni-
classes/org/apache/commons/crypto/random" -c 
src/main/native/org/apache/commons/crypto/random/OpenSslCryptoRandomNative.c 
-o target/commons-crypto-1.0.0-Linux-x86_64/OpenSslCryptoRandomNative.o
 [exec] In file included from 
src/main/native/org/apache/commons/crypto/random/OpenSslCryptoRandomNative.c:19:0:
 [exec] 
src/main/native/org/apache/commons/crypto/random/org_apache_commons_crypto_random.h:24:0:
 
warning: "UNUSED" redefined
 [exec]  #define UNUSED(x) ((void)(x))
 [exec]  ^
 [exec] In file included from /home/joehni/.gentoo/java-
config-2/current-user-vm/include/jni.h:45:0,
 [exec]  from 
src/main/native/org/apache/commons/crypto/org_apache_commons_crypto.h:71,
 [exec]  from 
src/main/native/org/apache/commons/crypto/random/org_apache_commons_crypto_random.h:22,
 [exec]  from 
src/main/native/org/apache/commons/crypto/random/OpenSslCryptoRandomNative.c:19:
 [exec] /home/joehni/.gentoo/java-config-2/current-user-
vm/include/linux/jni_md.h:40:0: note: this is the location of the previous 
definition
 [exec]#define UNUSED(x) UNUSED_ ## x __attribute__((__unused__))
 [exec]  ^
 [exec] "/home/joehni/.gentoo/java-config-2/current-user-vm/bin/javah" -
force -classpath target/classes -o target/jni-
classes/org/apache/commons/crypto/cipher/OpenSslNative.h 
org.apache.commons.crypto.cipher.OpenSslNative
 [exec] gcc -Ilib/inc_linux -I/home/joehni/.gentoo/java-
config-2/current-user-vm/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden 
-m64 -Ilib/include -I/usr/include -
I"src/main/native/org/apache/commons/crypto/" -I"/home/joehni/.gentoo/java-
config-2/current-user-vm/include/linux" -I"target/jni-
classes/org/apache/commons/crypto/cipher" -I"target/jni-
classes/org/apache/commons/crypto/random" -c 
src/main/native/org/apache/commons/crypto/cipher/OpenSslNative.c -o 
target/commons-crypto-1.0.0-Linux-x86_64/OpenSslNative.o
 [exec] "/home/joehni/.gentoo/java-config-2/current-user-vm/bin/javah" -
force -classpath target/classes -o target/jni-
classes/org/apache/commons/crypto/OpenSslInfoNative.h 
org.apache.commons.crypto.OpenSslInfoNative
 [exec] gcc -Ilib/inc_linux -I/home/joehni/.gentoo/java-
config-2/current-user-vm/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden 
-m64 -Ilib/include -I/usr/include -
I"src/main/native/org/apache/commons/crypto/" -I"/home/joehni/.gentoo/java-
config-2/current-user-vm/include/linux" -I"target/jni-
classes/org/apache/commons/crypto/cipher" -I"target/jni-
classes/org/apache/commons/crypto/random" -DVERSION='"1.0.0"' -
DPROJECT_NAME='"Apache Commons Crypto"' -I"target/jni-
classes/org/apache/commons/crypto" -c 
src/main/native/org/apache/commons/crypto/OpenSslInfoNative.c -o 
target/commons-crypto-1.0.0-Linux-x86_64/OpenSslInfoNative.o
 [exec] g++ -Ilib/inc_linux -I/home/joehni/.gentoo/java-
config-2/current-user-vm/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden 
-m64 -Ilib/in

Re: [VOTE] Release CRYPTO 1.0.0 based on RC1

2016-07-28 Thread Hendrik Dev
+1

On Tue, Jul 26, 2016 at 5:25 AM, Sun, Dapeng  wrote:
> Hi all,
>
>
>
> Apache Commons CRYPTO was established at May 9, 2016, There are presently 
> numbers of resolved issues fix in CRYPTO. We also fix the legal issue.
>
>
>
> Apache Commons CRYPTO 1.0.0 is available for review here:
>
> https://dist.apache.org/repos/dist/dev/commons/crypto
>
> (rev 14538)
>
>
>
> The tag is here:
>
> https://git-wip-us.apache.org/repos/asf?p=commons-crypto.git;a=tag;h=refs/tags/CRYPTO-1.0.0-RC1
>
> (commit 782ca06a1f9a292756fbad9eb9841e685cd34af1)
>
>
>
> Maven artifacts:
>
>
>
> https://repository.apache.org/content/repositories/orgapachecommons-1191/org/apache/commons/commons-crypto/1.0.0/
>
>
>
> I've tested with Java 7 & 8 using Maven 3.0.5 on Mac OS 64bits/Linux 
> 64&32bits/Windows 64&32 bits
>
>
>
> Details of changes are in the release notes:
>
> https://dist.apache.org/repos/dist/dev/commons/crypto/RELEASE-NOTES.txt
>
> http://home.apache.org/~sdp/crypto-1.0.0-rc1/changes-report.html
>
>
>
> Site:
>
>   http://home.apache.org/~sdp/crypto-1.0.0-rc1/
>
> (note some links are broken, these will be OK once the site is deployed)
>
>
>
> Clirr Report:
>
> Not generating Clirr report as there is no previous version of the library to 
> compare against.
>
>
>
> RAT Report:
>
>   http://home.apache.org/~sdp/crypto-1.0.0-rc1/rat-report.html
>
>
>
> KEYS:
>
>   https://www.apache.org/dist/commons/KEYS
>
>
>
> Please review the release candidate and vote. This vote will close no sooner 
> than 72 hours from now, i.e. sometime after 13:00 CST 29-July 2016
>
>
>
> [ ] +1 Release these artifacts
>
> [ ] +0 OK, but...
>
> [ ] -0 OK, but really should fix...
>
> [ ] -1 I oppose this release because...
>
>
>
> Thanks & Regards
>
> Dapeng
>



-- 
Hendrik Saly (salyh, hendrikdev22)
@hendrikdev22
PGP: 0x22D7F6EC

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [DBCP] Working on 2.2 RC1

2016-07-28 Thread Matt Sicker
I also need version 2.2.1 or 2.3 added to jira so I can update fix versions
properly. Looks like version 2.1.2 can be deleted from jira, too, as we're
going straight to 2.2.

On 28 July 2016 at 12:31, Gary Gregory  wrote:

> YW, good luck!
>
> Gary
>
> On Thu, Jul 28, 2016 at 7:54 AM, Matt Sicker  wrote:
>
> > That looks like the error I had. I'll try uploading the artifacts to
> > staging again tonight. If that works, I can finish making RC1. Thanks for
> > the assistance!
> >
> > On 27 July 2016 at 22:08, Gary Gregory  wrote:
> >
> > > Matt,
> > >
> > > I've added you as a Commons committer.
> > >
> > > Gary
> > >
> > > On Wed, Jul 27, 2016 at 7:58 PM, Gary Gregory 
> > > wrote:
> > >
> > > > Matt,
> > > >
> > > > Are you getting an error like
> > > >
> > >
> >
> https://mail-archives.apache.org/mod_mbox/commons-dev/201509.mbox/%3ccajzrqky3hspuwg_9uk2tkjkj0j4wgkab5zugxvq8ymd3b+q...@mail.gmail.com%3E
> > > >
> > > > ?
> > > >
> > > > Gary
> > > >
> > > > On Wed, Jul 27, 2016 at 3:42 PM, Matt Sicker 
> wrote:
> > > >
> > > >> Can I use sshfs/fuse, or does that not work with home.apache.org? I
> > can
> > > >> always try out Filezilla if necessary. I preferred the old method of
> > > just
> > > >> using scp. :/
> > > >>
> > > >> Also, I still need Nexus permissions. That's my last blocker for
> now.
> > > >>
> > > >> On 27 July 2016 at 01:37, Benedikt Ritter 
> > wrote:
> > > >>
> > > >> > Hi Matt,
> > > >> >
> > > >> > Matt Sicker  schrieb am Mi., 27. Juli 2016 um
> > 05:35
> > > >> Uhr:
> > > >> >
> > > >> > > Oh, one more thing: I've uploaded a generated copy of the site
> > from
> > > >> that
> > > >> > > tag. As people.apache.org has been retired, I uploaded it to
> > > GitHub:
> > > >> > > http://musigma.org/dbcp2-site/
> > > >> >
> > > >> >
> > > >> > home.apache.org is the new people.apache.org ;-) it does not
> allow
> > > ssh
> > > >> > access but you can upload files using sftp (I'm using FileZilla
> for
> > > >> this)
> > > >> >
> > > >> > Regards,
> > > >> > Benedikt
> > > >> >
> > > >> >
> > > >> > >
> > > >> > >
> > > >> > > On 26 July 2016 at 22:26, Matt Sicker  wrote:
> > > >> > >
> > > >> > > > Status:
> > > >> > > > * Updated generated files and version numbers
> > > >> > > > * Created release branch
> > > >> > > > * Created DBCP_2_2_RC1 tag
> > > >> > > >
> > > >> > > > Blockers
> > > >> > > > * Need karma to upload to repository.apache.org
> > > >> > > > * My GPG key needs to be added to the KEYS file. Key ID is
> > > >> > > > 748F15B2CF9BA8F024155E6ED7C92B70FA1C814D
> > > >> > > >
> > > >> > > > --
> > > >> > > > Matt Sicker 
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> > > --
> > > >> > > Matt Sicker 
> > > >> > >
> > > >> >
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> Matt Sicker 
> > > >>
> > > >
> > > >
> > > >
> > > > --
> > > > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> > > > Java Persistence with Hibernate, Second Edition
> > > > 
> > > > JUnit in Action, Second Edition 
> > > > Spring Batch in Action 
> > > > Blog: http://garygregory.wordpress.com
> > > > Home: http://garygregory.com/
> > > > Tweet! http://twitter.com/GaryGregory
> > > >
> > >
> > >
> > >
> > > --
> > > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> > > Java Persistence with Hibernate, Second Edition
> > > 
> > > JUnit in Action, Second Edition 
> > > Spring Batch in Action 
> > > Blog: http://garygregory.wordpress.com
> > > Home: http://garygregory.com/
> > > Tweet! http://twitter.com/GaryGregory
> > >
> >
> >
> >
> > --
> > Matt Sicker 
> >
>
>
>
> --
> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> Java Persistence with Hibernate, Second Edition
> 
> JUnit in Action, Second Edition 
> Spring Batch in Action 
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory
>



-- 
Matt Sicker 


Re: [DBCP] Working on 2.2 RC1

2016-07-28 Thread Gary Gregory
Hi Matt:

I thought you had Jira karma now? Is that not the case?

Gary

On Thu, Jul 28, 2016 at 4:18 PM, Matt Sicker  wrote:

> I also need version 2.2.1 or 2.3 added to jira so I can update fix versions
> properly. Looks like version 2.1.2 can be deleted from jira, too, as we're
> going straight to 2.2.
>
> On 28 July 2016 at 12:31, Gary Gregory  wrote:
>
> > YW, good luck!
> >
> > Gary
> >
> > On Thu, Jul 28, 2016 at 7:54 AM, Matt Sicker  wrote:
> >
> > > That looks like the error I had. I'll try uploading the artifacts to
> > > staging again tonight. If that works, I can finish making RC1. Thanks
> for
> > > the assistance!
> > >
> > > On 27 July 2016 at 22:08, Gary Gregory  wrote:
> > >
> > > > Matt,
> > > >
> > > > I've added you as a Commons committer.
> > > >
> > > > Gary
> > > >
> > > > On Wed, Jul 27, 2016 at 7:58 PM, Gary Gregory <
> garydgreg...@gmail.com>
> > > > wrote:
> > > >
> > > > > Matt,
> > > > >
> > > > > Are you getting an error like
> > > > >
> > > >
> > >
> >
> https://mail-archives.apache.org/mod_mbox/commons-dev/201509.mbox/%3ccajzrqky3hspuwg_9uk2tkjkj0j4wgkab5zugxvq8ymd3b+q...@mail.gmail.com%3E
> > > > >
> > > > > ?
> > > > >
> > > > > Gary
> > > > >
> > > > > On Wed, Jul 27, 2016 at 3:42 PM, Matt Sicker 
> > wrote:
> > > > >
> > > > >> Can I use sshfs/fuse, or does that not work with home.apache.org?
> I
> > > can
> > > > >> always try out Filezilla if necessary. I preferred the old method
> of
> > > > just
> > > > >> using scp. :/
> > > > >>
> > > > >> Also, I still need Nexus permissions. That's my last blocker for
> > now.
> > > > >>
> > > > >> On 27 July 2016 at 01:37, Benedikt Ritter 
> > > wrote:
> > > > >>
> > > > >> > Hi Matt,
> > > > >> >
> > > > >> > Matt Sicker  schrieb am Mi., 27. Juli 2016 um
> > > 05:35
> > > > >> Uhr:
> > > > >> >
> > > > >> > > Oh, one more thing: I've uploaded a generated copy of the site
> > > from
> > > > >> that
> > > > >> > > tag. As people.apache.org has been retired, I uploaded it to
> > > > GitHub:
> > > > >> > > http://musigma.org/dbcp2-site/
> > > > >> >
> > > > >> >
> > > > >> > home.apache.org is the new people.apache.org ;-) it does not
> > allow
> > > > ssh
> > > > >> > access but you can upload files using sftp (I'm using FileZilla
> > for
> > > > >> this)
> > > > >> >
> > > > >> > Regards,
> > > > >> > Benedikt
> > > > >> >
> > > > >> >
> > > > >> > >
> > > > >> > >
> > > > >> > > On 26 July 2016 at 22:26, Matt Sicker 
> wrote:
> > > > >> > >
> > > > >> > > > Status:
> > > > >> > > > * Updated generated files and version numbers
> > > > >> > > > * Created release branch
> > > > >> > > > * Created DBCP_2_2_RC1 tag
> > > > >> > > >
> > > > >> > > > Blockers
> > > > >> > > > * Need karma to upload to repository.apache.org
> > > > >> > > > * My GPG key needs to be added to the KEYS file. Key ID is
> > > > >> > > > 748F15B2CF9BA8F024155E6ED7C92B70FA1C814D
> > > > >> > > >
> > > > >> > > > --
> > > > >> > > > Matt Sicker 
> > > > >> > > >
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> > > --
> > > > >> > > Matt Sicker 
> > > > >> > >
> > > > >> >
> > > > >>
> > > > >>
> > > > >>
> > > > >> --
> > > > >> Matt Sicker 
> > > > >>
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> > > > > Java Persistence with Hibernate, Second Edition
> > > > > 
> > > > > JUnit in Action, Second Edition 
> > > > > Spring Batch in Action 
> > > > > Blog: http://garygregory.wordpress.com
> > > > > Home: http://garygregory.com/
> > > > > Tweet! http://twitter.com/GaryGregory
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> > > > Java Persistence with Hibernate, Second Edition
> > > > 
> > > > JUnit in Action, Second Edition 
> > > > Spring Batch in Action 
> > > > Blog: http://garygregory.wordpress.com
> > > > Home: http://garygregory.com/
> > > > Tweet! http://twitter.com/GaryGregory
> > > >
> > >
> > >
> > >
> > > --
> > > Matt Sicker 
> > >
> >
> >
> >
> > --
> > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> > Java Persistence with Hibernate, Second Edition
> > 
> > JUnit in Action, Second Edition 
> > Spring Batch in Action 
> > Blog: http://garygregory.wordpress.com
> > Home: http://garygregory.com/
> > Tweet! http://twitter.com/GaryGregory
> >
>
>
>
> --
> Matt Sicker 
>



-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition

JUnit in Action, Second Edition 
Spring Batch in Action 
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/Ga

Re: [DBCP] Working on 2.2 RC1

2016-07-28 Thread Matt Sicker
I have jira karma, but adding versions to a project requires project admin
permissions or something like that.

On 28 July 2016 at 18:28, Gary Gregory  wrote:

> Hi Matt:
>
> I thought you had Jira karma now? Is that not the case?
>
> Gary
>
> On Thu, Jul 28, 2016 at 4:18 PM, Matt Sicker  wrote:
>
> > I also need version 2.2.1 or 2.3 added to jira so I can update fix
> versions
> > properly. Looks like version 2.1.2 can be deleted from jira, too, as
> we're
> > going straight to 2.2.
> >
> > On 28 July 2016 at 12:31, Gary Gregory  wrote:
> >
> > > YW, good luck!
> > >
> > > Gary
> > >
> > > On Thu, Jul 28, 2016 at 7:54 AM, Matt Sicker  wrote:
> > >
> > > > That looks like the error I had. I'll try uploading the artifacts to
> > > > staging again tonight. If that works, I can finish making RC1. Thanks
> > for
> > > > the assistance!
> > > >
> > > > On 27 July 2016 at 22:08, Gary Gregory 
> wrote:
> > > >
> > > > > Matt,
> > > > >
> > > > > I've added you as a Commons committer.
> > > > >
> > > > > Gary
> > > > >
> > > > > On Wed, Jul 27, 2016 at 7:58 PM, Gary Gregory <
> > garydgreg...@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Matt,
> > > > > >
> > > > > > Are you getting an error like
> > > > > >
> > > > >
> > > >
> > >
> >
> https://mail-archives.apache.org/mod_mbox/commons-dev/201509.mbox/%3ccajzrqky3hspuwg_9uk2tkjkj0j4wgkab5zugxvq8ymd3b+q...@mail.gmail.com%3E
> > > > > >
> > > > > > ?
> > > > > >
> > > > > > Gary
> > > > > >
> > > > > > On Wed, Jul 27, 2016 at 3:42 PM, Matt Sicker 
> > > wrote:
> > > > > >
> > > > > >> Can I use sshfs/fuse, or does that not work with
> home.apache.org?
> > I
> > > > can
> > > > > >> always try out Filezilla if necessary. I preferred the old
> method
> > of
> > > > > just
> > > > > >> using scp. :/
> > > > > >>
> > > > > >> Also, I still need Nexus permissions. That's my last blocker for
> > > now.
> > > > > >>
> > > > > >> On 27 July 2016 at 01:37, Benedikt Ritter  >
> > > > wrote:
> > > > > >>
> > > > > >> > Hi Matt,
> > > > > >> >
> > > > > >> > Matt Sicker  schrieb am Mi., 27. Juli 2016
> um
> > > > 05:35
> > > > > >> Uhr:
> > > > > >> >
> > > > > >> > > Oh, one more thing: I've uploaded a generated copy of the
> site
> > > > from
> > > > > >> that
> > > > > >> > > tag. As people.apache.org has been retired, I uploaded it
> to
> > > > > GitHub:
> > > > > >> > > http://musigma.org/dbcp2-site/
> > > > > >> >
> > > > > >> >
> > > > > >> > home.apache.org is the new people.apache.org ;-) it does not
> > > allow
> > > > > ssh
> > > > > >> > access but you can upload files using sftp (I'm using
> FileZilla
> > > for
> > > > > >> this)
> > > > > >> >
> > > > > >> > Regards,
> > > > > >> > Benedikt
> > > > > >> >
> > > > > >> >
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > On 26 July 2016 at 22:26, Matt Sicker 
> > wrote:
> > > > > >> > >
> > > > > >> > > > Status:
> > > > > >> > > > * Updated generated files and version numbers
> > > > > >> > > > * Created release branch
> > > > > >> > > > * Created DBCP_2_2_RC1 tag
> > > > > >> > > >
> > > > > >> > > > Blockers
> > > > > >> > > > * Need karma to upload to repository.apache.org
> > > > > >> > > > * My GPG key needs to be added to the KEYS file. Key ID is
> > > > > >> > > > 748F15B2CF9BA8F024155E6ED7C92B70FA1C814D
> > > > > >> > > >
> > > > > >> > > > --
> > > > > >> > > > Matt Sicker 
> > > > > >> > > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> > >
> > > > > >> > > --
> > > > > >> > > Matt Sicker 
> > > > > >> > >
> > > > > >> >
> > > > > >>
> > > > > >>
> > > > > >>
> > > > > >> --
> > > > > >> Matt Sicker 
> > > > > >>
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> > > > > > Java Persistence with Hibernate, Second Edition
> > > > > > 
> > > > > > JUnit in Action, Second Edition <
> http://www.manning.com/tahchiev/>
> > > > > > Spring Batch in Action 
> > > > > > Blog: http://garygregory.wordpress.com
> > > > > > Home: http://garygregory.com/
> > > > > > Tweet! http://twitter.com/GaryGregory
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> > > > > Java Persistence with Hibernate, Second Edition
> > > > > 
> > > > > JUnit in Action, Second Edition 
> > > > > Spring Batch in Action 
> > > > > Blog: http://garygregory.wordpress.com
> > > > > Home: http://garygregory.com/
> > > > > Tweet! http://twitter.com/GaryGregory
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Matt Sicker 
> > > >
> > >
> > >
> > >
> > > --
> > > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> > > Java Persistence with Hibernate, Second Edition
> > > 
> > > JUnit in Action, Second Edition 
> > > Spring Batch in Action 
> > >

Re: svn commit: r1754208 - in /commons/proper/dbcp/tags/DBCP_2_2_RC1: ./ doc/ src/

2016-07-28 Thread Matt Sicker
Would it be ok to just manually update the pom after doing an svn cp?
Subversion does allow updating tags. Otherwise, I could try to get it right
in RC2.

On 27 July 2016 at 10:44, Matt Sicker  wrote:

> There's a commons.release.version in the pom that looks like it's manually
> updated.
>
> On 27 July 2016 at 10:38, Ralph Goers  wrote:
>
>> FWIW - In the Log4j build we configuration the
>> project-info-reports-plugin with
>> log4j-${Log4jReleaseVersion}
>> so the link on the web site points to the eventual tag.
>> Ralph
>>
>>
>> > On Jul 27, 2016, at 8:20 AM, Benedikt Ritter 
>> wrote:
>> >
>> > Hello Matt.
>> >
>> > Matt Sicker  schrieb am Mi., 27. Juli 2016 um 15:44
>> Uhr:
>> >
>> >> Can't I just svn cp from DBCP_2_2_RC1 to DBCP_2_2? Sorry, I'm more
>> familar
>> >> with git than svn at this point.
>> >>
>> >
>> > Yes, that's what you do after a successful release vote. The problem is,
>> > that the  element in pom.xml now points to
>> > http://svn.apache.org/repos/asf/commons/proper/dbcp/tags/DBCP_2_2_RC1
>> and
>> > so will the  element of pom.xml in the final GA tag.
>> >
>> > Benedikt
>> >
>> >
>> >>
>> >> On 27 July 2016 at 07:43, Benedikt Ritter  wrote:
>> >>
>> >>>  schrieb am Mi., 27. Juli 2016 um 04:53 Uhr:
>> >>>
>>  Author: mattsicker
>>  Date: Wed Jul 27 02:52:57 2016
>>  New Revision: 1754208
>> 
>>  URL: http://svn.apache.org/viewvc?rev=1754208&view=rev
>>  Log:
>>  Creating DBCP_2_2_RC1 tag
>> 
>>  Added:
>> commons/proper/dbcp/tags/DBCP_2_2_RC1/
>>   - copied from r1754207,
>>  commons/proper/dbcp/branches/dbcp-2.2-release/
>> commons/proper/dbcp/tags/DBCP_2_2_RC1/CONTRIBUTING.md
>>   - copied unchanged from r1754203,
>>  commons/proper/dbcp/branches/dbcp-2.2-release/CONTRIBUTING.md
>> commons/proper/dbcp/tags/DBCP_2_2_RC1/LICENSE.txt
>>   - copied unchanged from r1754203,
>>  commons/proper/dbcp/branches/dbcp-2.2-release/LICENSE.txt
>> commons/proper/dbcp/tags/DBCP_2_2_RC1/NOTICE.txt
>>   - copied unchanged from r1754203,
>>  commons/proper/dbcp/branches/dbcp-2.2-release/NOTICE.txt
>> commons/proper/dbcp/tags/DBCP_2_2_RC1/README.md
>>   - copied unchanged from r1754203,
>>  commons/proper/dbcp/branches/dbcp-2.2-release/README.md
>> commons/proper/dbcp/tags/DBCP_2_2_RC1/README.txt
>>   - copied unchanged from r1754203,
>>  commons/proper/dbcp/branches/dbcp-2.2-release/README.txt
>> commons/proper/dbcp/tags/DBCP_2_2_RC1/RELEASE-NOTES.txt
>>   - copied unchanged from r1754203,
>>  commons/proper/dbcp/branches/dbcp-2.2-release/RELEASE-NOTES.txt
>> commons/proper/dbcp/tags/DBCP_2_2_RC1/build.properties.sample
>>   - copied unchanged from r1754203,
>>  commons/proper/dbcp/branches/dbcp-2.2-release/build.properties.sample
>> commons/proper/dbcp/tags/DBCP_2_2_RC1/build.xml
>>   - copied unchanged from r1754203,
>>  commons/proper/dbcp/branches/dbcp-2.2-release/build.xml
>> commons/proper/dbcp/tags/DBCP_2_2_RC1/checkstyle.xml
>>   - copied unchanged from r1754203,
>>  commons/proper/dbcp/branches/dbcp-2.2-release/checkstyle.xml
>> commons/proper/dbcp/tags/DBCP_2_2_RC1/dbcp-RC.sh
>>   - copied unchanged from r1754203,
>>  commons/proper/dbcp/branches/dbcp-2.2-release/dbcp-RC.sh
>> commons/proper/dbcp/tags/DBCP_2_2_RC1/dbcp-pre-RC.sh
>>   - copied unchanged from r1754203,
>>  commons/proper/dbcp/branches/dbcp-2.2-release/dbcp-pre-RC.sh
>> commons/proper/dbcp/tags/DBCP_2_2_RC1/dbcp-release.sh
>>   - copied unchanged from r1754203,
>>  commons/proper/dbcp/branches/dbcp-2.2-release/dbcp-release.sh
>> commons/proper/dbcp/tags/DBCP_2_2_RC1/doc/
>>   - copied from r1754203,
>>  commons/proper/dbcp/branches/dbcp-2.2-release/doc/
>> commons/proper/dbcp/tags/DBCP_2_2_RC1/findbugs-exclude-filter.xml
>>   - copied unchanged from r1754203,
>> 
>> >>
>> commons/proper/dbcp/branches/dbcp-2.2-release/findbugs-exclude-filter.xml
>> commons/proper/dbcp/tags/DBCP_2_2_RC1/pom.xml
>>   - copied, changed from r1754203,
>>  commons/proper/dbcp/branches/dbcp-2.2-release/pom.xml
>> commons/proper/dbcp/tags/DBCP_2_2_RC1/src/
>>   - copied from r1754203,
>>  commons/proper/dbcp/branches/dbcp-2.2-release/src/
>> commons/proper/dbcp/tags/DBCP_2_2_RC1/test-jar.xml
>>   - copied unchanged from r1754203,
>>  commons/proper/dbcp/branches/dbcp-2.2-release/test-jar.xml
>> 
>>  Copied: commons/proper/dbcp/tags/DBCP_2_2_RC1/pom.xml (from r1754203,
>>  commons/proper/dbcp/branches/dbcp-2.2-release/pom.xml)
>>  URL:
>> 
>> >>>
>> >>
>> http://svn.apache.org/viewvc/commons/proper/dbcp/tags/DBCP_2_2_RC1/pom.xml?p2=commons/proper/dbcp/tags/DBCP_2_2_RC1/pom.xml&p1=commons/proper/dbcp/branches/dbcp-2.2-release/pom.xml&r1=1754203&

Re: [DBCP] Working on 2.2 RC1

2016-07-28 Thread Matt Sicker
Oh wait, I just tried typing in "2.3" and it let me create a new version.
False alarm!

On 28 July 2016 at 19:14, Matt Sicker  wrote:

> I have jira karma, but adding versions to a project requires project admin
> permissions or something like that.
>
> On 28 July 2016 at 18:28, Gary Gregory  wrote:
>
>> Hi Matt:
>>
>> I thought you had Jira karma now? Is that not the case?
>>
>> Gary
>>
>> On Thu, Jul 28, 2016 at 4:18 PM, Matt Sicker  wrote:
>>
>> > I also need version 2.2.1 or 2.3 added to jira so I can update fix
>> versions
>> > properly. Looks like version 2.1.2 can be deleted from jira, too, as
>> we're
>> > going straight to 2.2.
>> >
>> > On 28 July 2016 at 12:31, Gary Gregory  wrote:
>> >
>> > > YW, good luck!
>> > >
>> > > Gary
>> > >
>> > > On Thu, Jul 28, 2016 at 7:54 AM, Matt Sicker 
>> wrote:
>> > >
>> > > > That looks like the error I had. I'll try uploading the artifacts to
>> > > > staging again tonight. If that works, I can finish making RC1.
>> Thanks
>> > for
>> > > > the assistance!
>> > > >
>> > > > On 27 July 2016 at 22:08, Gary Gregory 
>> wrote:
>> > > >
>> > > > > Matt,
>> > > > >
>> > > > > I've added you as a Commons committer.
>> > > > >
>> > > > > Gary
>> > > > >
>> > > > > On Wed, Jul 27, 2016 at 7:58 PM, Gary Gregory <
>> > garydgreg...@gmail.com>
>> > > > > wrote:
>> > > > >
>> > > > > > Matt,
>> > > > > >
>> > > > > > Are you getting an error like
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> https://mail-archives.apache.org/mod_mbox/commons-dev/201509.mbox/%3ccajzrqky3hspuwg_9uk2tkjkj0j4wgkab5zugxvq8ymd3b+q...@mail.gmail.com%3E
>> > > > > >
>> > > > > > ?
>> > > > > >
>> > > > > > Gary
>> > > > > >
>> > > > > > On Wed, Jul 27, 2016 at 3:42 PM, Matt Sicker 
>> > > wrote:
>> > > > > >
>> > > > > >> Can I use sshfs/fuse, or does that not work with
>> home.apache.org?
>> > I
>> > > > can
>> > > > > >> always try out Filezilla if necessary. I preferred the old
>> method
>> > of
>> > > > > just
>> > > > > >> using scp. :/
>> > > > > >>
>> > > > > >> Also, I still need Nexus permissions. That's my last blocker
>> for
>> > > now.
>> > > > > >>
>> > > > > >> On 27 July 2016 at 01:37, Benedikt Ritter <
>> benerit...@gmail.com>
>> > > > wrote:
>> > > > > >>
>> > > > > >> > Hi Matt,
>> > > > > >> >
>> > > > > >> > Matt Sicker  schrieb am Mi., 27. Juli
>> 2016 um
>> > > > 05:35
>> > > > > >> Uhr:
>> > > > > >> >
>> > > > > >> > > Oh, one more thing: I've uploaded a generated copy of the
>> site
>> > > > from
>> > > > > >> that
>> > > > > >> > > tag. As people.apache.org has been retired, I uploaded it
>> to
>> > > > > GitHub:
>> > > > > >> > > http://musigma.org/dbcp2-site/
>> > > > > >> >
>> > > > > >> >
>> > > > > >> > home.apache.org is the new people.apache.org ;-) it does not
>> > > allow
>> > > > > ssh
>> > > > > >> > access but you can upload files using sftp (I'm using
>> FileZilla
>> > > for
>> > > > > >> this)
>> > > > > >> >
>> > > > > >> > Regards,
>> > > > > >> > Benedikt
>> > > > > >> >
>> > > > > >> >
>> > > > > >> > >
>> > > > > >> > >
>> > > > > >> > > On 26 July 2016 at 22:26, Matt Sicker 
>> > wrote:
>> > > > > >> > >
>> > > > > >> > > > Status:
>> > > > > >> > > > * Updated generated files and version numbers
>> > > > > >> > > > * Created release branch
>> > > > > >> > > > * Created DBCP_2_2_RC1 tag
>> > > > > >> > > >
>> > > > > >> > > > Blockers
>> > > > > >> > > > * Need karma to upload to repository.apache.org
>> > > > > >> > > > * My GPG key needs to be added to the KEYS file. Key ID
>> is
>> > > > > >> > > > 748F15B2CF9BA8F024155E6ED7C92B70FA1C814D
>> > > > > >> > > >
>> > > > > >> > > > --
>> > > > > >> > > > Matt Sicker 
>> > > > > >> > > >
>> > > > > >> > >
>> > > > > >> > >
>> > > > > >> > >
>> > > > > >> > > --
>> > > > > >> > > Matt Sicker 
>> > > > > >> > >
>> > > > > >> >
>> > > > > >>
>> > > > > >>
>> > > > > >>
>> > > > > >> --
>> > > > > >> Matt Sicker 
>> > > > > >>
>> > > > > >
>> > > > > >
>> > > > > >
>> > > > > > --
>> > > > > > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
>> > > > > > Java Persistence with Hibernate, Second Edition
>> > > > > > 
>> > > > > > JUnit in Action, Second Edition <
>> http://www.manning.com/tahchiev/>
>> > > > > > Spring Batch in Action 
>> > > > > > Blog: http://garygregory.wordpress.com
>> > > > > > Home: http://garygregory.com/
>> > > > > > Tweet! http://twitter.com/GaryGregory
>> > > > > >
>> > > > >
>> > > > >
>> > > > >
>> > > > > --
>> > > > > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
>> > > > > Java Persistence with Hibernate, Second Edition
>> > > > > 
>> > > > > JUnit in Action, Second Edition > >
>> > > > > Spring Batch in Action 
>> > > > > Blog: http://garygregory.wordpress.com
>> > > > > Home: http://garygregory.com/
>> > > > > Tweet! http://twitter.com/GaryGregory
>> > > > >
>> > > >
>> > > >
>> > > >
>> > > > --
>> 

[dbcp] Migrate to git?

2016-07-28 Thread Matt Sicker
Can we have this project migrated next after 2.2 is released? I forgot how
painful using svn is after years of git. ;)

-- 
Matt Sicker 


Build failed in Jenkins: commons-dbcp #5

2016-07-28 Thread Apache Jenkins Server
See 

Changes:

[mattsicker] Update version to snapshot in trunk

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H10 (docker Ubuntu ubuntu yahoo-not-h2) in workspace 

Checking out a fresh workspace because there's no workspace at 

Cleaning local Directory .
Checking out https://svn.apache.org/repos/asf/commons/proper/dbcp/trunk at 
revision '2016-07-29T01:11:18.811 +'
AUtest-jar.xml
AUpom.xml
A README.md
AUcheckstyle.xml
AUbuild.xml
AUNOTICE.txt
AUdbcp-release.sh
AULICENSE.txt
A doc
AUdoc/BasicDataSourceExample.java
AUdoc/static_structure_dia.gif
AUdoc/README.txt
AUdoc/abandon.jsp
AUdoc/PoolingDataSourceExample.java
AUdoc/PoolingDriverExample.java
A CONTRIBUTING.md
AUdbcp-pre-RC.sh
A build.properties.sample
AUfindbugs-exclude-filter.xml
AUREADME.txt
AUdbcp-RC.sh
AURELEASE-NOTES.txt
A src
A src/changes
AUsrc/changes/changes.xml
AUsrc/changes/release-notes.vm
A src/media
AUsrc/media/dbcp-logo-white.xcf
A src/test
A src/test/java
A src/test/java/org
A src/test/java/org/apache
A src/test/java/org/apache/commons
A src/test/java/org/apache/commons/dbcp2
AU
src/test/java/org/apache/commons/dbcp2/TestDelegatingCallableStatement.java
A src/test/java/org/apache/commons/dbcp2/cpdsadapter
AU
src/test/java/org/apache/commons/dbcp2/cpdsadapter/TestDriverAdapterCPDS.java
AUsrc/test/java/org/apache/commons/dbcp2/TesterCallableStatement.java
AU
src/test/java/org/apache/commons/dbcp2/TestDelegatingPreparedStatement.java
A src/test/java/org/apache/commons/dbcp2/managed
AU
src/test/java/org/apache/commons/dbcp2/managed/TesterBasicXAConnection.java
AU
src/test/java/org/apache/commons/dbcp2/managed/TestManagedDataSource.java
AU
src/test/java/org/apache/commons/dbcp2/managed/TestBasicManagedDataSource.java
AU
src/test/java/org/apache/commons/dbcp2/managed/TestManagedDataSourceInTx.java
AU
src/test/java/org/apache/commons/dbcp2/managed/TestTransactionContext.java
AU
src/test/java/org/apache/commons/dbcp2/managed/TestDataSourceXAConnectionFactory.java
AU
src/test/java/org/apache/commons/dbcp2/managed/TestManagedConnection.java
AUsrc/test/java/org/apache/commons/dbcp2/StackMessageLog.java
AU
src/test/java/org/apache/commons/dbcp2/TestPStmtPoolingBasicDataSource.java
AUsrc/test/java/org/apache/commons/dbcp2/TestPoolableConnection.java
AUsrc/test/java/org/apache/commons/dbcp2/TesterPreparedStatement.java
AUsrc/test/java/org/apache/commons/dbcp2/TesterResultSet.java
AUsrc/test/java/org/apache/commons/dbcp2/TesterDriver.java
AUsrc/test/java/org/apache/commons/dbcp2/TestPoolingDataSource.java
AUsrc/test/java/org/apache/commons/dbcp2/TesterClassLoader.java
AUsrc/test/java/org/apache/commons/dbcp2/TestPoolingDriver.java
AUsrc/test/java/org/apache/commons/dbcp2/TestDelegatingConnection.java
AUsrc/test/java/org/apache/commons/dbcp2/TestBasicDataSourceFactory.java
AUsrc/test/java/org/apache/commons/dbcp2/TestJndi.java
AUsrc/test/java/org/apache/commons/dbcp2/TesterConnection.java
AUsrc/test/java/org/apache/commons/dbcp2/TesterUtils.java
AUsrc/test/java/org/apache/commons/dbcp2/TestDelegatingStatement.java
AU
src/test/java/org/apache/commons/dbcp2/TestAbandonedBasicDataSource.java
AU
src/test/java/org/apache/commons/dbcp2/TestDelegatingDatabaseMetaData.java
AUsrc/test/java/org/apache/commons/dbcp2/TestConnectionPool.java
AUsrc/test/java/org/apache/commons/dbcp2/TesterStatement.java
AUsrc/test/java/org/apache/commons/dbcp2/TestBasicDataSource.java
AUsrc/test/java/org/apache/commons/dbcp2/TesterDatabaseMetaData.java
A src/test/java/org/apache/commons/dbcp2/datasources
AU
src/test/java/org/apache/commons/dbcp2/datasources/TestCPDSConnectionFactory.java
AU
src/test/java/org/apache/commons/dbcp2/datasources/TestKeyedCPDSConnectionFactory.java
AU
src/test/java/org/apache/commons/dbcp2/datasources/PooledConnectionProxy.java
AU
src/test/java/org/apache/commons/dbcp2/datasources/ConnectionPoolDataSourceProxy.java
AUsrc/test/java/org/apache/commons/dbcp2/datasources/TestFactory.java
AU
src/test/java/org/apache/commons/dbcp2/datasources/TestInstanceKeyDataSource.java
AU
src/test/java/org/apache/commons/dbcp2/datasources/TestPerUserPoolDataSource.java
AU
src/test/java/org/apache/commons/dbcp2/datasources/Te

Re: [DBCP] Working on 2.2 RC1

2016-07-28 Thread Matt Sicker
Got this error when executing mvn deploy (tried both the command from
dbcp-RC.sh along with the command given on the docs page: "mvn deploy
-Prelease -Duser.name=mattsicker -Pjava-1.7"):

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy)
on project commons-dbcp2: Failed to deploy artifacts: Could not transfer
artifact org.apache.commons:commons-dbcp2:jar:2.2 from/to
apache.releases.https (
https://repository.apache.org/service/local/staging/deploy/maven2): Failed
to transfer file:
https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/commons/commons-dbcp2/2.2/commons-dbcp2-2.2.jar.
Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]


On 28 July 2016 at 19:27, Matt Sicker  wrote:

> Oh wait, I just tried typing in "2.3" and it let me create a new version.
> False alarm!
>
> On 28 July 2016 at 19:14, Matt Sicker  wrote:
>
>> I have jira karma, but adding versions to a project requires project
>> admin permissions or something like that.
>>
>> On 28 July 2016 at 18:28, Gary Gregory  wrote:
>>
>>> Hi Matt:
>>>
>>> I thought you had Jira karma now? Is that not the case?
>>>
>>> Gary
>>>
>>> On Thu, Jul 28, 2016 at 4:18 PM, Matt Sicker  wrote:
>>>
>>> > I also need version 2.2.1 or 2.3 added to jira so I can update fix
>>> versions
>>> > properly. Looks like version 2.1.2 can be deleted from jira, too, as
>>> we're
>>> > going straight to 2.2.
>>> >
>>> > On 28 July 2016 at 12:31, Gary Gregory  wrote:
>>> >
>>> > > YW, good luck!
>>> > >
>>> > > Gary
>>> > >
>>> > > On Thu, Jul 28, 2016 at 7:54 AM, Matt Sicker 
>>> wrote:
>>> > >
>>> > > > That looks like the error I had. I'll try uploading the artifacts
>>> to
>>> > > > staging again tonight. If that works, I can finish making RC1.
>>> Thanks
>>> > for
>>> > > > the assistance!
>>> > > >
>>> > > > On 27 July 2016 at 22:08, Gary Gregory 
>>> wrote:
>>> > > >
>>> > > > > Matt,
>>> > > > >
>>> > > > > I've added you as a Commons committer.
>>> > > > >
>>> > > > > Gary
>>> > > > >
>>> > > > > On Wed, Jul 27, 2016 at 7:58 PM, Gary Gregory <
>>> > garydgreg...@gmail.com>
>>> > > > > wrote:
>>> > > > >
>>> > > > > > Matt,
>>> > > > > >
>>> > > > > > Are you getting an error like
>>> > > > > >
>>> > > > >
>>> > > >
>>> > >
>>> >
>>> https://mail-archives.apache.org/mod_mbox/commons-dev/201509.mbox/%3ccajzrqky3hspuwg_9uk2tkjkj0j4wgkab5zugxvq8ymd3b+q...@mail.gmail.com%3E
>>> > > > > >
>>> > > > > > ?
>>> > > > > >
>>> > > > > > Gary
>>> > > > > >
>>> > > > > > On Wed, Jul 27, 2016 at 3:42 PM, Matt Sicker >> >
>>> > > wrote:
>>> > > > > >
>>> > > > > >> Can I use sshfs/fuse, or does that not work with
>>> home.apache.org?
>>> > I
>>> > > > can
>>> > > > > >> always try out Filezilla if necessary. I preferred the old
>>> method
>>> > of
>>> > > > > just
>>> > > > > >> using scp. :/
>>> > > > > >>
>>> > > > > >> Also, I still need Nexus permissions. That's my last blocker
>>> for
>>> > > now.
>>> > > > > >>
>>> > > > > >> On 27 July 2016 at 01:37, Benedikt Ritter <
>>> benerit...@gmail.com>
>>> > > > wrote:
>>> > > > > >>
>>> > > > > >> > Hi Matt,
>>> > > > > >> >
>>> > > > > >> > Matt Sicker  schrieb am Mi., 27. Juli
>>> 2016 um
>>> > > > 05:35
>>> > > > > >> Uhr:
>>> > > > > >> >
>>> > > > > >> > > Oh, one more thing: I've uploaded a generated copy of the
>>> site
>>> > > > from
>>> > > > > >> that
>>> > > > > >> > > tag. As people.apache.org has been retired, I uploaded
>>> it to
>>> > > > > GitHub:
>>> > > > > >> > > http://musigma.org/dbcp2-site/
>>> > > > > >> >
>>> > > > > >> >
>>> > > > > >> > home.apache.org is the new people.apache.org ;-) it does
>>> not
>>> > > allow
>>> > > > > ssh
>>> > > > > >> > access but you can upload files using sftp (I'm using
>>> FileZilla
>>> > > for
>>> > > > > >> this)
>>> > > > > >> >
>>> > > > > >> > Regards,
>>> > > > > >> > Benedikt
>>> > > > > >> >
>>> > > > > >> >
>>> > > > > >> > >
>>> > > > > >> > >
>>> > > > > >> > > On 26 July 2016 at 22:26, Matt Sicker 
>>> > wrote:
>>> > > > > >> > >
>>> > > > > >> > > > Status:
>>> > > > > >> > > > * Updated generated files and version numbers
>>> > > > > >> > > > * Created release branch
>>> > > > > >> > > > * Created DBCP_2_2_RC1 tag
>>> > > > > >> > > >
>>> > > > > >> > > > Blockers
>>> > > > > >> > > > * Need karma to upload to repository.apache.org
>>> > > > > >> > > > * My GPG key needs to be added to the KEYS file. Key ID
>>> is
>>> > > > > >> > > > 748F15B2CF9BA8F024155E6ED7C92B70FA1C814D
>>> > > > > >> > > >
>>> > > > > >> > > > --
>>> > > > > >> > > > Matt Sicker 
>>> > > > > >> > > >
>>> > > > > >> > >
>>> > > > > >> > >
>>> > > > > >> > >
>>> > > > > >> > > --
>>> > > > > >> > > Matt Sicker 
>>> > > > > >> > >
>>> > > > > >> >
>>> > > > > >>
>>> > > > > >>
>>> > > > > >>
>>> > > > > >> --
>>> > > > > >> Matt Sicker 
>>> > > > > >>
>>> > > > > >
>>> > > > > >
>>> > > > > >
>>> > > > > > --
>>> > > > > > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
>>> > > > > > Java Persistence wi

Re: Build failed in Jenkins: commons-dbcp #5

2016-07-28 Thread Matt Sicker
Oh wow, we just had this same error in log4j a little while ago.

On 28 July 2016 at 20:11, Apache Jenkins Server 
wrote:

> See 
>
> Changes:
>
> [mattsicker] Update version to snapshot in trunk
>
> --
> Started by an SCM change
> [EnvInject] - Loading node environment variables.
> Building remotely on H10 (docker Ubuntu ubuntu yahoo-not-h2) in workspace <
> https://builds.apache.org/job/commons-dbcp/ws/>
> Checking out a fresh workspace because there's no workspace at <
> https://builds.apache.org/job/commons-dbcp/ws/>
> Cleaning local Directory .
> Checking out https://svn.apache.org/repos/asf/commons/proper/dbcp/trunk
> at revision '2016-07-29T01:11:18.811 +'
> AUtest-jar.xml
> AUpom.xml
> A README.md
> AUcheckstyle.xml
> AUbuild.xml
> AUNOTICE.txt
> AUdbcp-release.sh
> AULICENSE.txt
> A doc
> AUdoc/BasicDataSourceExample.java
> AUdoc/static_structure_dia.gif
> AUdoc/README.txt
> AUdoc/abandon.jsp
> AUdoc/PoolingDataSourceExample.java
> AUdoc/PoolingDriverExample.java
> A CONTRIBUTING.md
> AUdbcp-pre-RC.sh
> A build.properties.sample
> AUfindbugs-exclude-filter.xml
> AUREADME.txt
> AUdbcp-RC.sh
> AURELEASE-NOTES.txt
> A src
> A src/changes
> AUsrc/changes/changes.xml
> AUsrc/changes/release-notes.vm
> A src/media
> AUsrc/media/dbcp-logo-white.xcf
> A src/test
> A src/test/java
> A src/test/java/org
> A src/test/java/org/apache
> A src/test/java/org/apache/commons
> A src/test/java/org/apache/commons/dbcp2
> AU
> src/test/java/org/apache/commons/dbcp2/TestDelegatingCallableStatement.java
> A src/test/java/org/apache/commons/dbcp2/cpdsadapter
> AU
> src/test/java/org/apache/commons/dbcp2/cpdsadapter/TestDriverAdapterCPDS.java
> AU
> src/test/java/org/apache/commons/dbcp2/TesterCallableStatement.java
> AU
> src/test/java/org/apache/commons/dbcp2/TestDelegatingPreparedStatement.java
> A src/test/java/org/apache/commons/dbcp2/managed
> AU
> src/test/java/org/apache/commons/dbcp2/managed/TesterBasicXAConnection.java
> AU
> src/test/java/org/apache/commons/dbcp2/managed/TestManagedDataSource.java
> AU
> src/test/java/org/apache/commons/dbcp2/managed/TestBasicManagedDataSource.java
> AU
> src/test/java/org/apache/commons/dbcp2/managed/TestManagedDataSourceInTx.java
> AU
> src/test/java/org/apache/commons/dbcp2/managed/TestTransactionContext.java
> AU
> src/test/java/org/apache/commons/dbcp2/managed/TestDataSourceXAConnectionFactory.java
> AU
> src/test/java/org/apache/commons/dbcp2/managed/TestManagedConnection.java
> AUsrc/test/java/org/apache/commons/dbcp2/StackMessageLog.java
> AU
> src/test/java/org/apache/commons/dbcp2/TestPStmtPoolingBasicDataSource.java
> AU
> src/test/java/org/apache/commons/dbcp2/TestPoolableConnection.java
> AU
> src/test/java/org/apache/commons/dbcp2/TesterPreparedStatement.java
> AUsrc/test/java/org/apache/commons/dbcp2/TesterResultSet.java
> AUsrc/test/java/org/apache/commons/dbcp2/TesterDriver.java
> AUsrc/test/java/org/apache/commons/dbcp2/TestPoolingDataSource.java
> AUsrc/test/java/org/apache/commons/dbcp2/TesterClassLoader.java
> AUsrc/test/java/org/apache/commons/dbcp2/TestPoolingDriver.java
> AU
> src/test/java/org/apache/commons/dbcp2/TestDelegatingConnection.java
> AU
> src/test/java/org/apache/commons/dbcp2/TestBasicDataSourceFactory.java
> AUsrc/test/java/org/apache/commons/dbcp2/TestJndi.java
> AUsrc/test/java/org/apache/commons/dbcp2/TesterConnection.java
> AUsrc/test/java/org/apache/commons/dbcp2/TesterUtils.java
> AU
> src/test/java/org/apache/commons/dbcp2/TestDelegatingStatement.java
> AU
> src/test/java/org/apache/commons/dbcp2/TestAbandonedBasicDataSource.java
> AU
> src/test/java/org/apache/commons/dbcp2/TestDelegatingDatabaseMetaData.java
> AUsrc/test/java/org/apache/commons/dbcp2/TestConnectionPool.java
> AUsrc/test/java/org/apache/commons/dbcp2/TesterStatement.java
> AUsrc/test/java/org/apache/commons/dbcp2/TestBasicDataSource.java
> AU
> src/test/java/org/apache/commons/dbcp2/TesterDatabaseMetaData.java
> A src/test/java/org/apache/commons/dbcp2/datasources
> AU
> src/test/java/org/apache/commons/dbcp2/datasources/TestCPDSConnectionFactory.java
> AU
> src/test/java/org/apache/commons/dbcp2/datasources/TestKeyedCPDSConnectionFactory.java
> AU
> src/test/java/org/apache/commons/dbcp2/datasources/PooledConnectionProxy.java
> AU
> src/test/java/org/apache/commons/dbcp2/datasources/ConnectionPoolDataSourceProxy.java
> AU
> src/test/java/org/apache/commons/dbcp2/datasources/TestFactory.java
> AU
> src/test/java/org/apache/commons/dbcp2/datasources/TestInstanceKeyDataSource.java
> AU

Re: [dbcp] Migrate to git?

2016-07-28 Thread Gary Gregory
Fine with me but not critical.

Gary

On Jul 28, 2016 5:38 PM, "Matt Sicker"  wrote:

> Can we have this project migrated next after 2.2 is released? I forgot how
> painful using svn is after years of git. ;)
>
> --
> Matt Sicker 
>


Re: Build failed in Jenkins: commons-dbcp #5

2016-07-28 Thread Gary Gregory
Jenkins must have some busted setups :-(

Log a ticket with infra?

Gary

On Thu, Jul 28, 2016 at 6:16 PM, Matt Sicker  wrote:

> Oh wow, we just had this same error in log4j a little while ago.
>
> On 28 July 2016 at 20:11, Apache Jenkins Server  >
> wrote:
>
> > See 
> >
> > Changes:
> >
> > [mattsicker] Update version to snapshot in trunk
> >
> > --
> > Started by an SCM change
> > [EnvInject] - Loading node environment variables.
> > Building remotely on H10 (docker Ubuntu ubuntu yahoo-not-h2) in
> workspace <
> > https://builds.apache.org/job/commons-dbcp/ws/>
> > Checking out a fresh workspace because there's no workspace at <
> > https://builds.apache.org/job/commons-dbcp/ws/>
> > Cleaning local Directory .
> > Checking out https://svn.apache.org/repos/asf/commons/proper/dbcp/trunk
> > at revision '2016-07-29T01:11:18.811 +'
> > AUtest-jar.xml
> > AUpom.xml
> > A README.md
> > AUcheckstyle.xml
> > AUbuild.xml
> > AUNOTICE.txt
> > AUdbcp-release.sh
> > AULICENSE.txt
> > A doc
> > AUdoc/BasicDataSourceExample.java
> > AUdoc/static_structure_dia.gif
> > AUdoc/README.txt
> > AUdoc/abandon.jsp
> > AUdoc/PoolingDataSourceExample.java
> > AUdoc/PoolingDriverExample.java
> > A CONTRIBUTING.md
> > AUdbcp-pre-RC.sh
> > A build.properties.sample
> > AUfindbugs-exclude-filter.xml
> > AUREADME.txt
> > AUdbcp-RC.sh
> > AURELEASE-NOTES.txt
> > A src
> > A src/changes
> > AUsrc/changes/changes.xml
> > AUsrc/changes/release-notes.vm
> > A src/media
> > AUsrc/media/dbcp-logo-white.xcf
> > A src/test
> > A src/test/java
> > A src/test/java/org
> > A src/test/java/org/apache
> > A src/test/java/org/apache/commons
> > A src/test/java/org/apache/commons/dbcp2
> > AU
> >
> src/test/java/org/apache/commons/dbcp2/TestDelegatingCallableStatement.java
> > A src/test/java/org/apache/commons/dbcp2/cpdsadapter
> > AU
> >
> src/test/java/org/apache/commons/dbcp2/cpdsadapter/TestDriverAdapterCPDS.java
> > AU
> > src/test/java/org/apache/commons/dbcp2/TesterCallableStatement.java
> > AU
> >
> src/test/java/org/apache/commons/dbcp2/TestDelegatingPreparedStatement.java
> > A src/test/java/org/apache/commons/dbcp2/managed
> > AU
> >
> src/test/java/org/apache/commons/dbcp2/managed/TesterBasicXAConnection.java
> > AU
> > src/test/java/org/apache/commons/dbcp2/managed/TestManagedDataSource.java
> > AU
> >
> src/test/java/org/apache/commons/dbcp2/managed/TestBasicManagedDataSource.java
> > AU
> >
> src/test/java/org/apache/commons/dbcp2/managed/TestManagedDataSourceInTx.java
> > AU
> >
> src/test/java/org/apache/commons/dbcp2/managed/TestTransactionContext.java
> > AU
> >
> src/test/java/org/apache/commons/dbcp2/managed/TestDataSourceXAConnectionFactory.java
> > AU
> > src/test/java/org/apache/commons/dbcp2/managed/TestManagedConnection.java
> > AUsrc/test/java/org/apache/commons/dbcp2/StackMessageLog.java
> > AU
> >
> src/test/java/org/apache/commons/dbcp2/TestPStmtPoolingBasicDataSource.java
> > AU
> > src/test/java/org/apache/commons/dbcp2/TestPoolableConnection.java
> > AU
> > src/test/java/org/apache/commons/dbcp2/TesterPreparedStatement.java
> > AUsrc/test/java/org/apache/commons/dbcp2/TesterResultSet.java
> > AUsrc/test/java/org/apache/commons/dbcp2/TesterDriver.java
> > AU
> src/test/java/org/apache/commons/dbcp2/TestPoolingDataSource.java
> > AUsrc/test/java/org/apache/commons/dbcp2/TesterClassLoader.java
> > AUsrc/test/java/org/apache/commons/dbcp2/TestPoolingDriver.java
> > AU
> > src/test/java/org/apache/commons/dbcp2/TestDelegatingConnection.java
> > AU
> > src/test/java/org/apache/commons/dbcp2/TestBasicDataSourceFactory.java
> > AUsrc/test/java/org/apache/commons/dbcp2/TestJndi.java
> > AUsrc/test/java/org/apache/commons/dbcp2/TesterConnection.java
> > AUsrc/test/java/org/apache/commons/dbcp2/TesterUtils.java
> > AU
> > src/test/java/org/apache/commons/dbcp2/TestDelegatingStatement.java
> > AU
> > src/test/java/org/apache/commons/dbcp2/TestAbandonedBasicDataSource.java
> > AU
> >
> src/test/java/org/apache/commons/dbcp2/TestDelegatingDatabaseMetaData.java
> > AUsrc/test/java/org/apache/commons/dbcp2/TestConnectionPool.java
> > AUsrc/test/java/org/apache/commons/dbcp2/TesterStatement.java
> > AUsrc/test/java/org/apache/commons/dbcp2/TestBasicDataSource.java
> > AU
> > src/test/java/org/apache/commons/dbcp2/TesterDatabaseMetaData.java
> > A src/test/java/org/apache/commons/dbcp2/datasources
> > AU
> >
> src/test/java/org/apache/commons/dbcp2/datasources/TestCPDSConnectionFactory.java
> > AU
> >
> src/test/java/org/apache/commons/dbcp2/datasources/TestK

Re: [DBCP] Working on 2.2 RC1

2016-07-28 Thread Gary Gregory
Matt,

Did you massage Maven just so?

Please see
https://www.apache.org/dev/publishing-maven-artifacts.html#settings

Also, when I do a mvn deploy, I have to do -Dgpg.passphrase=MY_PASSWORD

Gary

On Thu, Jul 28, 2016 at 6:14 PM, Matt Sicker  wrote:

> Got this error when executing mvn deploy (tried both the command from
> dbcp-RC.sh along with the command given on the docs page: "mvn deploy
> -Prelease -Duser.name=mattsicker -Pjava-1.7"):
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy)
> on project commons-dbcp2: Failed to deploy artifacts: Could not transfer
> artifact org.apache.commons:commons-dbcp2:jar:2.2 from/to
> apache.releases.https (
> https://repository.apache.org/service/local/staging/deploy/maven2): Failed
> to transfer file:
>
> https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/commons/commons-dbcp2/2.2/commons-dbcp2-2.2.jar
> .
> Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]
>
>
> On 28 July 2016 at 19:27, Matt Sicker  wrote:
>
> > Oh wait, I just tried typing in "2.3" and it let me create a new version.
> > False alarm!
> >
> > On 28 July 2016 at 19:14, Matt Sicker  wrote:
> >
> >> I have jira karma, but adding versions to a project requires project
> >> admin permissions or something like that.
> >>
> >> On 28 July 2016 at 18:28, Gary Gregory  wrote:
> >>
> >>> Hi Matt:
> >>>
> >>> I thought you had Jira karma now? Is that not the case?
> >>>
> >>> Gary
> >>>
> >>> On Thu, Jul 28, 2016 at 4:18 PM, Matt Sicker  wrote:
> >>>
> >>> > I also need version 2.2.1 or 2.3 added to jira so I can update fix
> >>> versions
> >>> > properly. Looks like version 2.1.2 can be deleted from jira, too, as
> >>> we're
> >>> > going straight to 2.2.
> >>> >
> >>> > On 28 July 2016 at 12:31, Gary Gregory 
> wrote:
> >>> >
> >>> > > YW, good luck!
> >>> > >
> >>> > > Gary
> >>> > >
> >>> > > On Thu, Jul 28, 2016 at 7:54 AM, Matt Sicker 
> >>> wrote:
> >>> > >
> >>> > > > That looks like the error I had. I'll try uploading the artifacts
> >>> to
> >>> > > > staging again tonight. If that works, I can finish making RC1.
> >>> Thanks
> >>> > for
> >>> > > > the assistance!
> >>> > > >
> >>> > > > On 27 July 2016 at 22:08, Gary Gregory 
> >>> wrote:
> >>> > > >
> >>> > > > > Matt,
> >>> > > > >
> >>> > > > > I've added you as a Commons committer.
> >>> > > > >
> >>> > > > > Gary
> >>> > > > >
> >>> > > > > On Wed, Jul 27, 2016 at 7:58 PM, Gary Gregory <
> >>> > garydgreg...@gmail.com>
> >>> > > > > wrote:
> >>> > > > >
> >>> > > > > > Matt,
> >>> > > > > >
> >>> > > > > > Are you getting an error like
> >>> > > > > >
> >>> > > > >
> >>> > > >
> >>> > >
> >>> >
> >>>
> https://mail-archives.apache.org/mod_mbox/commons-dev/201509.mbox/%3ccajzrqky3hspuwg_9uk2tkjkj0j4wgkab5zugxvq8ymd3b+q...@mail.gmail.com%3E
> >>> > > > > >
> >>> > > > > > ?
> >>> > > > > >
> >>> > > > > > Gary
> >>> > > > > >
> >>> > > > > > On Wed, Jul 27, 2016 at 3:42 PM, Matt Sicker <
> boa...@gmail.com
> >>> >
> >>> > > wrote:
> >>> > > > > >
> >>> > > > > >> Can I use sshfs/fuse, or does that not work with
> >>> home.apache.org?
> >>> > I
> >>> > > > can
> >>> > > > > >> always try out Filezilla if necessary. I preferred the old
> >>> method
> >>> > of
> >>> > > > > just
> >>> > > > > >> using scp. :/
> >>> > > > > >>
> >>> > > > > >> Also, I still need Nexus permissions. That's my last blocker
> >>> for
> >>> > > now.
> >>> > > > > >>
> >>> > > > > >> On 27 July 2016 at 01:37, Benedikt Ritter <
> >>> benerit...@gmail.com>
> >>> > > > wrote:
> >>> > > > > >>
> >>> > > > > >> > Hi Matt,
> >>> > > > > >> >
> >>> > > > > >> > Matt Sicker  schrieb am Mi., 27. Juli
> >>> 2016 um
> >>> > > > 05:35
> >>> > > > > >> Uhr:
> >>> > > > > >> >
> >>> > > > > >> > > Oh, one more thing: I've uploaded a generated copy of
> the
> >>> site
> >>> > > > from
> >>> > > > > >> that
> >>> > > > > >> > > tag. As people.apache.org has been retired, I uploaded
> >>> it to
> >>> > > > > GitHub:
> >>> > > > > >> > > http://musigma.org/dbcp2-site/
> >>> > > > > >> >
> >>> > > > > >> >
> >>> > > > > >> > home.apache.org is the new people.apache.org ;-) it does
> >>> not
> >>> > > allow
> >>> > > > > ssh
> >>> > > > > >> > access but you can upload files using sftp (I'm using
> >>> FileZilla
> >>> > > for
> >>> > > > > >> this)
> >>> > > > > >> >
> >>> > > > > >> > Regards,
> >>> > > > > >> > Benedikt
> >>> > > > > >> >
> >>> > > > > >> >
> >>> > > > > >> > >
> >>> > > > > >> > >
> >>> > > > > >> > > On 26 July 2016 at 22:26, Matt Sicker  >
> >>> > wrote:
> >>> > > > > >> > >
> >>> > > > > >> > > > Status:
> >>> > > > > >> > > > * Updated generated files and version numbers
> >>> > > > > >> > > > * Created release branch
> >>> > > > > >> > > > * Created DBCP_2_2_RC1 tag
> >>> > > > > >> > > >
> >>> > > > > >> > > > Blockers
> >>> > > > > >> > > > * Need karma to upload to repository.apache.org
> >>> > > > > >> > > > * My GPG key needs to be added to the KEYS file. Key
> I

RE: [VOTE] Release CRYPTO 1.0.0 based on RC1

2016-07-28 Thread Ke, Xianda
Hi Jörg,

I guess that the two warnings were caused by the permission of java.io.tmpdir 
(/tmp ). 
Crypto extracts *.so to java.io.tmpdir(or commons-crypto.tempdir).   
Try adding exec permission.

Regards,
Xianda

-Original Message-
From: Jörg Schaible [mailto:joerg.schai...@gmx.de] 
Sent: Friday, July 29, 2016 5:04 AM
To: dev@commons.apache.org
Subject: Re: [VOTE] Release CRYPTO 1.0.0 based on RC1

Hi,

I am building crypto with my compiler zoo on Gentoo Linux with OpenSSL 1.02h 
installed. Even compiling with Java 9 works, tests fail only because of a 
missing jce.

Running the tests I get always those two warnings:

 %< == Running 
org.apache.commons.crypto.NativeCodeLoaderTest
** WARN: Native (JNI) code was not loaded: java.lang.UnsatisfiedLinkError: 
/tmp/commons-crypto-9c688d6a-fc55-4a35-9d78-79cedd4ad842-libcommons-
crypto.so: /tmp/commons-crypto-9c688d6a-fc55-4a35-9d78-79cedd4ad842-
libcommons-crypto.so: failed to map segment from shared object Tests run: 5, 
Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0.008 sec - in 
org.apache.commons.crypto.NativeCodeLoaderTest
Running org.apache.commons.crypto.jna.OpenSslNativeJnaTest
** WARN: JNA could not be enabled: 
/tmp/jna--1154654109/jna4836274946397519400.tmp: 
/tmp/jna--1154654109/jna4836274946397519400.tmp: failed to map segment from 
shared object Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 
sec - in org.apache.commons.crypto.jna.OpenSslNativeJnaTest
 %< ==

The build of the shared library produces additional warnings for OpenJDK 7 (and 
OpenJDK 8 produces same warning):
 %< == [INFO] --- 
maven-antrun-plugin:1.8:run (make) @ commons-crypto --- [INFO] Executing tasks

make:
 [exec] "/home/joehni/.gentoo/java-config-2/current-user-vm/bin/javah" - 
force -classpath target/classes -o target/jni- 
classes/org/apache/commons/crypto/random/OpenSslCryptoRandomNative.h
org.apache.commons.crypto.random.OpenSslCryptoRandomNative
 [exec] gcc -Ilib/inc_linux -I/home/joehni/.gentoo/java- 
config-2/current-user-vm/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden
-m64 -Ilib/include -I/usr/include -
I"src/main/native/org/apache/commons/crypto/" -I"/home/joehni/.gentoo/java- 
config-2/current-user-vm/include/linux" -I"target/jni- 
classes/org/apache/commons/crypto/cipher" -I"target/jni- 
classes/org/apache/commons/crypto/random" -c 
src/main/native/org/apache/commons/crypto/random/OpenSslCryptoRandomNative.c
-o target/commons-crypto-1.0.0-Linux-x86_64/OpenSslCryptoRandomNative.o
 [exec] In file included from
src/main/native/org/apache/commons/crypto/random/OpenSslCryptoRandomNative.c:19:0:
 [exec]
src/main/native/org/apache/commons/crypto/random/org_apache_commons_crypto_random.h:24:0:
 
warning: "UNUSED" redefined
 [exec]  #define UNUSED(x) ((void)(x))
 [exec]  ^
 [exec] In file included from /home/joehni/.gentoo/java- 
config-2/current-user-vm/include/jni.h:45:0,
 [exec]  from 
src/main/native/org/apache/commons/crypto/org_apache_commons_crypto.h:71,
 [exec]  from 
src/main/native/org/apache/commons/crypto/random/org_apache_commons_crypto_random.h:22,
 [exec]  from 
src/main/native/org/apache/commons/crypto/random/OpenSslCryptoRandomNative.c:19:
 [exec] /home/joehni/.gentoo/java-config-2/current-user-
vm/include/linux/jni_md.h:40:0: note: this is the location of the previous 
definition
 [exec]#define UNUSED(x) UNUSED_ ## x __attribute__((__unused__))
 [exec]  ^
 [exec] "/home/joehni/.gentoo/java-config-2/current-user-vm/bin/javah" - 
force -classpath target/classes -o target/jni- 
classes/org/apache/commons/crypto/cipher/OpenSslNative.h
org.apache.commons.crypto.cipher.OpenSslNative
 [exec] gcc -Ilib/inc_linux -I/home/joehni/.gentoo/java- 
config-2/current-user-vm/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden
-m64 -Ilib/include -I/usr/include -
I"src/main/native/org/apache/commons/crypto/" -I"/home/joehni/.gentoo/java- 
config-2/current-user-vm/include/linux" -I"target/jni- 
classes/org/apache/commons/crypto/cipher" -I"target/jni- 
classes/org/apache/commons/crypto/random" -c 
src/main/native/org/apache/commons/crypto/cipher/OpenSslNative.c -o 
target/commons-crypto-1.0.0-Linux-x86_64/OpenSslNative.o
 [exec] "/home/joehni/.gentoo/java-config-2/current-user-vm/bin/javah" - 
force -classpath target/classes -o target/jni- 
classes/org/apache/commons/crypto/OpenSslInfoNative.h
org.apache.commons.crypto.OpenSslInfoNative
 [exec] gcc -Ilib/inc_linux -I/home/joehni/.gentoo/java- 
config-2/current-user-vm/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden
-m64 -Ilib/include -I/usr/include -
I"src/main/native/org/apache/commons/crypto/" -I"/home/joehni/.gentoo/java- 
config-2/current-user-vm/include/linux" -I"target/jni- 
classes/org/apache/commons/crypto/cipher" -I"target/jni- 
classes/org/

[GitHub] commons-io pull request #16: UTF-8 file became GBK after BOMInputStream copy

2016-07-28 Thread logan2013
GitHub user logan2013 opened a pull request:

https://github.com/apache/commons-io/pull/16

UTF-8 file became GBK after BOMInputStream copy

Hello,

I try to use BOMInputStream & IOUtils to copy a UTF-8 jquery file, but the 
target file's encoding changed to GBK.

here is my code:

InputStream is = new BOMInputStream(
new 
FileInputStream("src/main/resources/static/assets/javascripts/jquery.1.8.3.min.js"));

File newFile = new File("jquery.js");
newFile.createNewFile();

IOUtils.copy(is, new FileOutputStream(newFile));

Could you please help me? Thanks in advance!

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/apache/commons-io IO_1_4_BRANCH

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/commons-io/pull/16.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #16


commit 9d560bcde4960f93da4da8739ef1f5f047b8231b
Author: Niall Kegan Pemberton 
Date:   2008-02-06T18:25:26Z

Create IO 1.4 Branch

git-svn-id: 
https://svn.apache.org/repos/asf/commons/proper/io/branches/IO_1_4_BRANCH@619092
 13f79535-47bb-0310-9956-ffa450edef68

commit 5d40aed19fcb837ac1b7ab6d07b9e82ed178ddbd
Author: Sebastian Bazley 
Date:   2015-12-10T18:14:34Z

Obsolete DOAP

git-svn-id: 
https://svn.apache.org/repos/asf/commons/proper/io/branches/IO_1_4_BRANCH@1719155
 13f79535-47bb-0310-9956-ffa450edef68




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



RE: [VOTE] Release CRYPTO 1.0.0 based on RC1

2016-07-28 Thread Sun, Dapeng
Thank Jörg for the testing.

>>I am building crypto with my compiler zoo on Gentoo Linux with OpenSSL 1.02h 
>>installed.
I don't have environment with Gentoo Linux, I just tested the library with 
OpenJDK on pure Ubuntu OS: OpenJDK 7 on Ubuntu 14.04 and OpenJDK 8 on Ubuntu 
16.04, All of them are passed:

Here are the steps for the pure Ubuntu OS
1. Install essential tools
apt-get update
apt-get install openjdk-7-jdk (on 14.04)/ apt-get install openjdk-8-jdk (on 
16.04)
apt-get install make gcc g++ git

2.Install Openssl development tools
apt-get install libssl-dev

3.Set maven and JAVA_HOME

4.git clone the source code and run "mvn clean test"

Here are the version for the two environment
For Ubuntu 16.04
Java version is
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-3ubuntu1~16.04.1-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)

Openssl version is
OpenSSL 1.0.2g-fips  1 Mar 2016

For Ubuntu 14.04
Java version is 
java version "1.7.0_101"
OpenJDK Runtime Environment (IcedTea 2.6.6) (7u101-2.6.6-0ubuntu0.14.04.1) 
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)

Openssl version is
OpenSSL 1.0.1f 6 Jan 2014

Is your Openssl got from OS repo, if you compiled it yourself, do you add 
"shared" to you config args before make?

>> However, the build first fails and then hangs in a unit test when building 
>> with IBM JDK 7

About building CRYPTO on IBM JDK, I wonder if we should support it, because 
even for different minor versions of IBM JDK 7, the JNI header files may be 
changed, the change would be cause some weird failures at native. But the 
binary would be right, I have test the RC1 on latest IBM JDK 7 from their 
official website, all the tests are okay.

About the build fails, I did't encounter it before, if it is the same 
environment with openjdk, I think we can fix the Openssl shade issue first, if 
we encounter it again, we can run the pure unit tests, I uploaded them to my 
personal repo: https://github.com/sundapeng/TCRYPTO.git, could you help verify 
it in your environment?( The cached files in maven should be cleaned before 
test, for example: rm ~/.m2/repository/org/apache/commons/commons-crypto/ -rf). 

About the test hang, if the hanging UT is the test for JavaSecureRandom, it 
should be an issue about SecureRandom in JDK. 
https://bugs.openjdk.java.net/browse/JDK-6577564


Here is the IBM JDK in my environment:
java version "1.7.0"
Java(TM) SE Runtime Environment (build pxa6470_27sr3fp40-20160422_01(SR3 FP40))
IBM J9 VM (build 2.7, JRE 1.7.0 Linux amd64-64 Compressed References 
20160406_298393 (JIT enabled, AOT enabled)
J9VM - R27_Java727_SR3_20160406_0942_B298393
JIT  - tr.r13.java_20160328_114186
GC   - R27_Java727_SR3_20160406_0942_B298393_CMPRSS
J9CL - 20160406_298393)
JCL - 20160421_01 based on Oracle jdk7u101-b14


Regards
Dapeng

-Original Message-
From: Jörg Schaible [mailto:joerg.schai...@gmx.de] 
Sent: Friday, July 29, 2016 5:04 AM
To: dev@commons.apache.org
Subject: Re: [VOTE] Release CRYPTO 1.0.0 based on RC1

Hi,

I am building crypto with my compiler zoo on Gentoo Linux with OpenSSL 1.02h 
installed. Even compiling with Java 9 works, tests fail only because of a 
missing jce.

Running the tests I get always those two warnings:

 %< == Running 
org.apache.commons.crypto.NativeCodeLoaderTest
** WARN: Native (JNI) code was not loaded: java.lang.UnsatisfiedLinkError: 
/tmp/commons-crypto-9c688d6a-fc55-4a35-9d78-79cedd4ad842-libcommons-
crypto.so: /tmp/commons-crypto-9c688d6a-fc55-4a35-9d78-79cedd4ad842-
libcommons-crypto.so: failed to map segment from shared object Tests run: 5, 
Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0.008 sec - in 
org.apache.commons.crypto.NativeCodeLoaderTest
Running org.apache.commons.crypto.jna.OpenSslNativeJnaTest
** WARN: JNA could not be enabled: 
/tmp/jna--1154654109/jna4836274946397519400.tmp: 
/tmp/jna--1154654109/jna4836274946397519400.tmp: failed to map segment from 
shared object Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 
sec - in org.apache.commons.crypto.jna.OpenSslNativeJnaTest
 %< ==

The build of the shared library produces additional warnings for OpenJDK 7 (and 
OpenJDK 8 produces same warning):
 %< == [INFO] --- 
maven-antrun-plugin:1.8:run (make) @ commons-crypto --- [INFO] Executing tasks

make:
 [exec] "/home/joehni/.gentoo/java-config-2/current-user-vm/bin/javah" - 
force -classpath target/classes -o target/jni- 
classes/org/apache/commons/crypto/random/OpenSslCryptoRandomNative.h
org.apache.commons.crypto.random.OpenSslCryptoRandomNative
 [exec] gcc -Ilib/inc_linux -I/home/joehni/.gentoo/java- 
config-2/current-user-vm/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden
-m64 -Ilib/include -I/usr/include -
I"src/main/native/org/apache/commons/crypto/" -I"/home/joehni/.gentoo/java- 
config-2/current-user-vm/include/l