Re: [VOTE] Apache Cayenne 4.1.RC1 release

2019-10-03 Thread Emerson Castañeda
Never mind, I found the release guide that contains answers for most of my
questions https://cayenne.apache.org/dev/release-guide.html

On Thu, Oct 3, 2019 at 1:15 PM Emerson Castañeda  wrote:

>   - Build from source
>
> [INFO]
> 
> [INFO] BUILD SUCCESS
> [INFO]
> 
> [INFO] Total time:  12:31 min
> [INFO] Finished at: 2019-10-03T12:24:54-04:00
> [INFO]
> 
>
>  - All test passed
>
>  - Modeler runs on Windows
>
>  - Modeler runs on Linux
>
> Some questions:
>
> - how do you run/use cayenne-release-tools for checking?
>
>  MD5/SHA512
>  Signature checks
>
> - are those tools available in the git repo?
>
>  - what jar file(s) do you provided to the rat script?
>
> EmeCas
>
> On Thu, Oct 3, 2019 at 12:35 PM John Huss  wrote:
>
>> +1
>>
>> 1) verified checksums
>> 2) verified signatures
>> 3) verified archives are basically identical between platforms
>> 4) RAT indicates no unlicensed files
>> 5) compiled from source
>> 6) unit tests ran successfully
>> 7) Modeler launches on macOS
>>
>> On Thu, Oct 3, 2019 at 9:23 AM Nikita Timofeev > >
>> wrote:
>>
>> > Hi all,
>> >
>> > Here is the 4.1 release candidate.
>> >
>> > Release notes:
>> > https://github.com/apache/cayenne/blob/4.1.RC1/RELEASE-NOTES.txt
>> > Maven repo:
>> >
>> https://repository.apache.org/content/repositories/orgapachecayenne-1032/
>> > Assemblies: https://dist.apache.org/repos/dist/dev/cayenne/4.1.RC1/
>> >
>> > Please evaluate and cast your votes.
>> >
>> > --
>> > Best regards,
>> > Nikita Timofeev
>> >
>>
>


Re: [VOTE] Apache Cayenne 4.1.RC1 release

2019-10-03 Thread Emerson Castañeda
   - Build from source

[INFO]

[INFO] BUILD SUCCESS
[INFO]

[INFO] Total time:  12:31 min
[INFO] Finished at: 2019-10-03T12:24:54-04:00
[INFO]


 - All test passed

 - Modeler runs on Windows

 - Modeler runs on Linux

Some questions:

- how do you run/use cayenne-release-tools for checking?

 MD5/SHA512
 Signature checks

- are those tools available in the git repo?

 - what jar file(s) do you provided to the rat script?

EmeCas

On Thu, Oct 3, 2019 at 12:35 PM John Huss  wrote:

> +1
>
> 1) verified checksums
> 2) verified signatures
> 3) verified archives are basically identical between platforms
> 4) RAT indicates no unlicensed files
> 5) compiled from source
> 6) unit tests ran successfully
> 7) Modeler launches on macOS
>
> On Thu, Oct 3, 2019 at 9:23 AM Nikita Timofeev 
> wrote:
>
> > Hi all,
> >
> > Here is the 4.1 release candidate.
> >
> > Release notes:
> > https://github.com/apache/cayenne/blob/4.1.RC1/RELEASE-NOTES.txt
> > Maven repo:
> >
> https://repository.apache.org/content/repositories/orgapachecayenne-1032/
> > Assemblies: https://dist.apache.org/repos/dist/dev/cayenne/4.1.RC1/
> >
> > Please evaluate and cast your votes.
> >
> > --
> > Best regards,
> > Nikita Timofeev
> >
>


Re: [VOTE] Apache Cayenne 4.1.RC1 release

2019-10-03 Thread John Huss
+1

1) verified checksums
2) verified signatures
3) verified archives are basically identical between platforms
4) RAT indicates no unlicensed files
5) compiled from source
6) unit tests ran successfully
7) Modeler launches on macOS

On Thu, Oct 3, 2019 at 9:23 AM Nikita Timofeev 
wrote:

> Hi all,
>
> Here is the 4.1 release candidate.
>
> Release notes:
> https://github.com/apache/cayenne/blob/4.1.RC1/RELEASE-NOTES.txt
> Maven repo:
> https://repository.apache.org/content/repositories/orgapachecayenne-1032/
> Assemblies: https://dist.apache.org/repos/dist/dev/cayenne/4.1.RC1/
>
> Please evaluate and cast your votes.
>
> --
> Best regards,
> Nikita Timofeev
>


Re: [VOTE] Apache Cayenne 4.1.RC1 release

2019-10-03 Thread Andrus Adamchik
As someone with a lot of projects depending on SNAPSHOT builds of 4.1.RC1, I am 
very excited for this to get out. So here is my +1, and my usual checklist:

+ MD5/SHA512 matches (using cayenne-release-tools script)
+ Signature checks (using cayenne-release-tools script)
+ rat passes
+ builds from source
+ Modeler runs on OS X
+ Cross-platform Modeler runs on OS X
+ Modeler runs on Windows
+ Upgrade AgRest/LinkMove using the Maven repo.

Andrus

> On Oct 3, 2019, at 5:23 PM, Nikita Timofeev  wrote:
> 
> Hi all,
> 
> Here is the 4.1 release candidate.
> 
> Release notes: 
> https://github.com/apache/cayenne/blob/4.1.RC1/RELEASE-NOTES.txt
> Maven repo: 
> https://repository.apache.org/content/repositories/orgapachecayenne-1032/
> Assemblies: https://dist.apache.org/repos/dist/dev/cayenne/4.1.RC1/
> 
> Please evaluate and cast your votes.
> 
> -- 
> Best regards,
> Nikita Timofeev



Re: Compilation Issues

2019-10-03 Thread Emerson Castañeda
@Michael -U did not do the trick by itself

@Andrus , removing /.m2/repository/com/caucho/hessian manually worked

Thanks

EmeCas

On Thu, Oct 3, 2019 at 8:17 AM Michael Gentry  wrote:

> Yeah, but if you do a "mvn --help" it says: Forces a check for *missing
> releases* and updated snapshots on remote repositories.  Which sounds to me
> like it might do more than snapshots.  As I said, I've had mixed success
> with it.  I usually nuke the dependency from orbit and have Maven
> re-install it.
>
>
> On Thu, Oct 3, 2019 at 6:56 AM Andrus Adamchik 
> wrote:
>
> > "-U" is only for refreshing SNAPSHOT dependencies. It does not affect how
> > release artifacts are downloaded.
> >
> > Andrus
> >
> > > On Oct 3, 2019, at 1:08 PM, Michael Gentry 
> wrote:
> > >
> > > Could also try giving Maven a -U argument. I've had mixed success with
> > that
> > > working.
> > >
> > >
> > > On Thu, Oct 3, 2019 at 4:09 AM Andrus Adamchik  >
> > > wrote:
> > >
> > >>> was cached in the local repository, resolution will not be
> reattempted
> > >> until the update interval of objectstyle has elapsed or updates are
> > forced.
> > >>
> > >> This might be the issue. I suspect the remote repo was down briefly
> and
> > >> the failure got cached by Maven. A bit drastic way of solving it is
> > >> deleting the entire local Maven repo:
> > >>
> > >> rm -rf ~/.m2/repository/*
> > >>
> > >> Or you can try deleting individual artifacts that are causing trouble.
> > >>
> > >> Andrus
> > >>
> > >>
> > >>
> > >>> On Oct 3, 2019, at 2:02 AM, Emerson Castañeda 
> > wrote:
> > >>>
> > >>> Hi
> > >>>
> > >>> Working on the current version on master branch, I'm getting some
> > unusual
> > >>> problem/error messages
> > >>>
> > >>> *- *
> > >>> Failure to transfer
> > >>> org.apache.maven.plugins:maven-failsafe-plugin:pom:2.22.2 from
> > >>> http://maven.objectstyle.org/nexus/content/groups/cayenne-deps was
> > >> cached
> > >>> in the local repository, resolution will not be reattempted until the
> > >>> update interval of objectstyle has elapsed or updates are forced.
> > >> Original
> > >>> error: Could not transfer artifact
> > >>> org.apache.maven.plugins:maven-failsafe-plugin:pom:2.22.2 from/to
> > >>> objectstyle (
> > >> http://maven.objectstyle.org/nexus/content/groups/cayenne-deps):
> > >>> maven.objectstyle.org pom.xml /cayenne-modeler-generic line 1 Maven
> > pom
> > >>> Loading Problem
> > >>>
> > >>> *- *
> > >>> Archive for required library:
> > >>> '/.m2/repository/com/caucho/hessian/4.0.51/hessian-4.0.51.jar' in
> > project
> > >>> 'cayenne-doc' cannot be read or is not a valid ZIP file cayenne-doc
> > Build
> > >>> path Build Path Problem
> > >>>
> > >>> *- *
> > >>> Failed to read artifact descriptor for org.hsqldb:hsqldb:jar:2.3.6
> > >>>
> > >>> It seems it could be related to my current maven configuration, any
> > idea
> > >>> how can I fix it?
> > >>>
> > >>> EmeCas
> > >>
> > >>
> >
> >
>


[VOTE] Apache Cayenne 4.1.RC1 release

2019-10-03 Thread Nikita Timofeev
Hi all,

Here is the 4.1 release candidate.

Release notes: https://github.com/apache/cayenne/blob/4.1.RC1/RELEASE-NOTES.txt
Maven repo: 
https://repository.apache.org/content/repositories/orgapachecayenne-1032/
Assemblies: https://dist.apache.org/repos/dist/dev/cayenne/4.1.RC1/

Please evaluate and cast your votes.

-- 
Best regards,
Nikita Timofeev


Re: Compilation Issues

2019-10-03 Thread Michael Gentry
Yeah, but if you do a "mvn --help" it says: Forces a check for *missing
releases* and updated snapshots on remote repositories.  Which sounds to me
like it might do more than snapshots.  As I said, I've had mixed success
with it.  I usually nuke the dependency from orbit and have Maven
re-install it.


On Thu, Oct 3, 2019 at 6:56 AM Andrus Adamchik 
wrote:

> "-U" is only for refreshing SNAPSHOT dependencies. It does not affect how
> release artifacts are downloaded.
>
> Andrus
>
> > On Oct 3, 2019, at 1:08 PM, Michael Gentry  wrote:
> >
> > Could also try giving Maven a -U argument. I've had mixed success with
> that
> > working.
> >
> >
> > On Thu, Oct 3, 2019 at 4:09 AM Andrus Adamchik 
> > wrote:
> >
> >>> was cached in the local repository, resolution will not be reattempted
> >> until the update interval of objectstyle has elapsed or updates are
> forced.
> >>
> >> This might be the issue. I suspect the remote repo was down briefly and
> >> the failure got cached by Maven. A bit drastic way of solving it is
> >> deleting the entire local Maven repo:
> >>
> >> rm -rf ~/.m2/repository/*
> >>
> >> Or you can try deleting individual artifacts that are causing trouble.
> >>
> >> Andrus
> >>
> >>
> >>
> >>> On Oct 3, 2019, at 2:02 AM, Emerson Castañeda 
> wrote:
> >>>
> >>> Hi
> >>>
> >>> Working on the current version on master branch, I'm getting some
> unusual
> >>> problem/error messages
> >>>
> >>> *- *
> >>> Failure to transfer
> >>> org.apache.maven.plugins:maven-failsafe-plugin:pom:2.22.2 from
> >>> http://maven.objectstyle.org/nexus/content/groups/cayenne-deps was
> >> cached
> >>> in the local repository, resolution will not be reattempted until the
> >>> update interval of objectstyle has elapsed or updates are forced.
> >> Original
> >>> error: Could not transfer artifact
> >>> org.apache.maven.plugins:maven-failsafe-plugin:pom:2.22.2 from/to
> >>> objectstyle (
> >> http://maven.objectstyle.org/nexus/content/groups/cayenne-deps):
> >>> maven.objectstyle.org pom.xml /cayenne-modeler-generic line 1 Maven
> pom
> >>> Loading Problem
> >>>
> >>> *- *
> >>> Archive for required library:
> >>> '/.m2/repository/com/caucho/hessian/4.0.51/hessian-4.0.51.jar' in
> project
> >>> 'cayenne-doc' cannot be read or is not a valid ZIP file cayenne-doc
> Build
> >>> path Build Path Problem
> >>>
> >>> *- *
> >>> Failed to read artifact descriptor for org.hsqldb:hsqldb:jar:2.3.6
> >>>
> >>> It seems it could be related to my current maven configuration, any
> idea
> >>> how can I fix it?
> >>>
> >>> EmeCas
> >>
> >>
>
>


Re: 4.2 modeler change

2019-10-03 Thread Andrus Adamchik
While I like the idea of having something visual and DB-centric that people can 
use for various purposes, I still can't wrap my head around of how to do 
modeling away from access to the real DB and my Java projects. To me the main 
value of the Modeler (since 4.1 anyways) is "cdbimport" and "cgen". (Meaning 
most of the actual modeling happening in SQL migration scripts).

Andrus


> On Oct 3, 2019, at 1:05 PM, Michael Gentry  wrote:
> 
> Hi Ari,
> 
> I thought a bit about a web-based version of CM, too.  I kind of liked the
> idea (especially for your point #5 -- a Google Docs type of collaborative
> editing), but ultimately decided it would introduce security/deployment
> concerns I'd rather not focus on.  I'd be happy to discuss the idea again,
> though.  Maybe others have some fresh thoughts, plus the technology
> landscape has changed over the years.
> 
> mrg
> 
> 
> On Wed, Oct 2, 2019 at 7:00 PM Aristedes Maniatis  wrote:
> 
>> One advantage of an html/js frontend would be to offer a service on our
>> website into which a user could paste their DDL as SQL, and get back:
>> 
>> 1. a Cayenne map xml
>> 
>> 2. a visual representation of their schema [1]
>> 
>> 3. an editor which allows them to make changes
>> 
>> 4. The ability to export an updated DDL
>> 
>> 5. Some sort of sharing link so they can share and discuss with co-workers
>> 
>> 
>> Here's a company I just found doing something similar.
>> https://www.dbdesigner.net/
>> 
>> 
>> The main advantage of this approach is to give Cayenne greater exposure.
>> People come for the tool and walk away with a whole ORM.
>> 
>> I'm ccing this to the dev@ list where it makes more sense.
>> 
>> 
>> Ari
>> 
>> 
>> [1] Like this
>> 
>> https://www.mysql.com/common/images/products/MySQL_Workbench_Visual_Design_Mac.png
>> 
>> 



Re: Compilation Issues

2019-10-03 Thread Andrus Adamchik
"-U" is only for refreshing SNAPSHOT dependencies. It does not affect how 
release artifacts are downloaded.

Andrus

> On Oct 3, 2019, at 1:08 PM, Michael Gentry  wrote:
> 
> Could also try giving Maven a -U argument. I've had mixed success with that
> working.
> 
> 
> On Thu, Oct 3, 2019 at 4:09 AM Andrus Adamchik 
> wrote:
> 
>>> was cached in the local repository, resolution will not be reattempted
>> until the update interval of objectstyle has elapsed or updates are forced.
>> 
>> This might be the issue. I suspect the remote repo was down briefly and
>> the failure got cached by Maven. A bit drastic way of solving it is
>> deleting the entire local Maven repo:
>> 
>> rm -rf ~/.m2/repository/*
>> 
>> Or you can try deleting individual artifacts that are causing trouble.
>> 
>> Andrus
>> 
>> 
>> 
>>> On Oct 3, 2019, at 2:02 AM, Emerson Castañeda  wrote:
>>> 
>>> Hi
>>> 
>>> Working on the current version on master branch, I'm getting some unusual
>>> problem/error messages
>>> 
>>> *- *
>>> Failure to transfer
>>> org.apache.maven.plugins:maven-failsafe-plugin:pom:2.22.2 from
>>> http://maven.objectstyle.org/nexus/content/groups/cayenne-deps was
>> cached
>>> in the local repository, resolution will not be reattempted until the
>>> update interval of objectstyle has elapsed or updates are forced.
>> Original
>>> error: Could not transfer artifact
>>> org.apache.maven.plugins:maven-failsafe-plugin:pom:2.22.2 from/to
>>> objectstyle (
>> http://maven.objectstyle.org/nexus/content/groups/cayenne-deps):
>>> maven.objectstyle.org pom.xml /cayenne-modeler-generic line 1 Maven pom
>>> Loading Problem
>>> 
>>> *- *
>>> Archive for required library:
>>> '/.m2/repository/com/caucho/hessian/4.0.51/hessian-4.0.51.jar' in project
>>> 'cayenne-doc' cannot be read or is not a valid ZIP file cayenne-doc Build
>>> path Build Path Problem
>>> 
>>> *- *
>>> Failed to read artifact descriptor for org.hsqldb:hsqldb:jar:2.3.6
>>> 
>>> It seems it could be related to my current maven configuration, any idea
>>> how can I fix it?
>>> 
>>> EmeCas
>> 
>> 



Re: 4.2 modeler change

2019-10-03 Thread Michael Gentry
Hi Ari,

I thought a bit about a web-based version of CM, too.  I kind of liked the
idea (especially for your point #5 -- a Google Docs type of collaborative
editing), but ultimately decided it would introduce security/deployment
concerns I'd rather not focus on.  I'd be happy to discuss the idea again,
though.  Maybe others have some fresh thoughts, plus the technology
landscape has changed over the years.

mrg


On Wed, Oct 2, 2019 at 7:00 PM Aristedes Maniatis  wrote:

> One advantage of an html/js frontend would be to offer a service on our
> website into which a user could paste their DDL as SQL, and get back:
>
> 1. a Cayenne map xml
>
> 2. a visual representation of their schema [1]
>
> 3. an editor which allows them to make changes
>
> 4. The ability to export an updated DDL
>
> 5. Some sort of sharing link so they can share and discuss with co-workers
>
>
> Here's a company I just found doing something similar.
> https://www.dbdesigner.net/
>
>
> The main advantage of this approach is to give Cayenne greater exposure.
> People come for the tool and walk away with a whole ORM.
>
> I'm ccing this to the dev@ list where it makes more sense.
>
>
> Ari
>
>
> [1] Like this
>
> https://www.mysql.com/common/images/products/MySQL_Workbench_Visual_Design_Mac.png
>
>


Re: Compilation Issues

2019-10-03 Thread Michael Gentry
Could also try giving Maven a -U argument. I've had mixed success with that
working.


On Thu, Oct 3, 2019 at 4:09 AM Andrus Adamchik 
wrote:

> > was cached in the local repository, resolution will not be reattempted
> until the update interval of objectstyle has elapsed or updates are forced.
>
> This might be the issue. I suspect the remote repo was down briefly and
> the failure got cached by Maven. A bit drastic way of solving it is
> deleting the entire local Maven repo:
>
> rm -rf ~/.m2/repository/*
>
> Or you can try deleting individual artifacts that are causing trouble.
>
> Andrus
>
>
>
> > On Oct 3, 2019, at 2:02 AM, Emerson Castañeda  wrote:
> >
> > Hi
> >
> > Working on the current version on master branch, I'm getting some unusual
> > problem/error messages
> >
> > *- *
> > Failure to transfer
> > org.apache.maven.plugins:maven-failsafe-plugin:pom:2.22.2 from
> > http://maven.objectstyle.org/nexus/content/groups/cayenne-deps was
> cached
> > in the local repository, resolution will not be reattempted until the
> > update interval of objectstyle has elapsed or updates are forced.
> Original
> > error: Could not transfer artifact
> > org.apache.maven.plugins:maven-failsafe-plugin:pom:2.22.2 from/to
> > objectstyle (
> http://maven.objectstyle.org/nexus/content/groups/cayenne-deps):
> > maven.objectstyle.org pom.xml /cayenne-modeler-generic line 1 Maven pom
> > Loading Problem
> >
> > *- *
> > Archive for required library:
> > '/.m2/repository/com/caucho/hessian/4.0.51/hessian-4.0.51.jar' in project
> > 'cayenne-doc' cannot be read or is not a valid ZIP file cayenne-doc Build
> > path Build Path Problem
> >
> > *- *
> > Failed to read artifact descriptor for org.hsqldb:hsqldb:jar:2.3.6
> >
> > It seems it could be related to my current maven configuration, any idea
> > how can I fix it?
> >
> > EmeCas
>
>