Oh, that's not so old.  I'm actively maintaining an app using Cayenne 1.2
(modified, so it's pretty difficult to upgrade).

And foundrylogic.vpp:vpp:jar:2.2.1 is available, just not in maven central.

https://mvnrepository.com/artifact/foundrylogic.vpp/vpp/2.2.1

Also, if you don't want to use Spring's repo, you should set up a local
maven repo instead of using the transitory .m2 cache.   For example, here's
how to set up  a local maven repo:

Files from project root:
local-maven-repo/org/objectstyle/cayenne/cayenne-nodeps/1.2-dev:
-rw-r--r-- 1 mkienenb users 1452972 Aug  8 21:39 cayenne-nodeps-1.2-dev.jar
-rw-r--r-- 1 mkienenb users    2453 Aug  8 21:39 cayenne-nodeps-1.2-dev.pom

And here's how I access it from gradle.   Not sure how it's done in maven.

Files from project root:

repositories {
      maven {
          url "local-maven-repo"
      }
    mavenCentral()
}
dependencies {
    implementation ('org.objectstyle.cayenne:cayenne-nodeps:1.2-dev')
}

On Sat, Aug 26, 2023 at 5:15 AM giulio.ces...@gmail.com <
giulio.ces...@gmail.com> wrote:

> I may have been able to patch the issue; the actual dependency missing was
> `foundrylogic.vpp:vpp:jar:2.2.1` (transitive dependency of the plugin
> module) and I was able to retrieve a copy from a MacBook Pro from 2008
> still running around the house and put it directly into Maven cache folder
> (.m2).
>
> Thanks again for this wonderful project!
>
> Giulio Cesare
>
>
> On Sat, Aug 26, 2023 at 9:49 AM giulio.ces...@gmail.com <
> giulio.ces...@gmail.com> wrote:
>
> > Hello everybody,
> >
> > I am trying to win the quest for the most weird question, so let me give
> > it a try.
> >
> > I am trying to rebuild a VERY old application of mine (still smoothly
> > running) because I would need to update how we do send metrics to
> DataDog.
> >
> > This application is Cayenne 3.0.2 old.
> >
> > Unfortunately it looks like the artifact
> > `org.apache.cayenne.plugins:maven-cayenne-plugin:3.0.2` (or any other
> > version) is no longer available in the default Maven repository.
> > It seems like its artifactID has been renamed to  `cayenne-maven-plugin`,
> > but this is only available for Cayenne 4.*
> >
> > I have also tried to upgrade to 3.1.3, but there are too many
> differences,
> > and I would really love to avoid starting messing with this codebase.
> >
> > Do you have any suggestions on where to get this missing artifact?
> >
> > Cheers,
> >
> > Giulio Cesare
> >
> >
> >
>

Reply via email to