Hi,
adding repositories suggested bellow to my %MAVEN_HOME%/conf/settings.xml
under active profile doesn't help finding missing artifacts, so I am filing
a JIRA report (https://issues.apache.org/cayenne/browse/CAY-1007).
-Borut
2008/3/8, Kevin Menard <kmenard@servprise.com>:
>
> I would change it back to the SNAPSHOT version and make sure that the
> snapshot repository is listed in the POM. If not, please file a JIRA.
>
> I have the following two repositories listed:
>
> <repository>
> <snapshots/>
> <id>apache.snapshots</id>
> <url>http://people.apache.org/repo/m2-snapshot-repository
> </url>
> </repository>
> <repository>
> <id>cayenne.deps</id>
> <url>http://objectstyle.org/maven2>
> </repository>
>
> --
>
> Kevin
>
>
>
> On 3/7/08 6:23 PM, "Borut Bolčina" <borut.bolcina@gmail.com> wrote:
>
> > On second thought,
>
> there really is not version 3.0-SNAPSHOT at repo1. However
> > there are
> versions 3.0M1, 3.0M2 and 3.0M3. After correcting 3 poms from
> > SNAPSHOT to
> M3, the build (eclipse:eclipse) succeeded, but it did not download
> > some libs
> (hessian for example) as the repos locations are probably defined at
> > a
> higher level pom.
>
> I then did a complete checkout:
> svn co
> > http://svn.apache.org/repos/asf/cayenne/main/trunk/ cayenne
>
> but the build
> > fails with
> ...
> [INFO] [compiler:compile]
> [INFO] Compiling 6 source files
> > to
>
> C:\Users\Borut\Workarea\cayenne\build-tools\maven-cayenne-doc-plugin\target
> > \classes
> [INFO]
> --------------------------------------------------------------
> > ----------
> [INFO] Building Cayenne Build Tools Parent
> [INFO] task-segment:
> > [clean,
> > compile]
> [INFO]
> --------------------------------------------------------------
> > ----------
> [INFO] [clean:clean]
> [INFO] No goals needed for project -
> > skipping
> [INFO]
> --------------------------------------------------------------
> > ----------
> [INFO] Building Cayenne License and Notice Bundle
> [INFO]
> > task-segment: [clean,
> > compile]
> [INFO]
> --------------------------------------------------------------
> > ----------
> [INFO]
> > artifact
> org.apache.cayenne.build-tools:maven-cayenne-build-plugin:checking
> > for
> updates from mergere
> [INFO]
> > artifact
> org.apache.cayenne.build-tools:maven-cayenne-build-plugin:checking
> > for
> updates from
> > central
> [INFO]
> ---------------------------------------------------------------
> > ---------
> [ERROR] BUILD
> > ERROR
> [INFO]
> -----------------------------------------------------------------
> > -------
> [INFO] The plugin
> > 'org.apache.cayenne.build-tools:maven-cayenne-build-plugin'
> does not exist or
> > no valid version could be
> > found
> [INFO]
> -----------------------------------------------------------------
> > -------
> [INFO] For more information, run Maven with the -e
> > switch
> [INFO]
> ----------------------------------------------------------------
> > --------
> [INFO] Total time: 1 minute 33 seconds
> [INFO] Finished at: Sat Mar 08
> > 00:17:14 CET 2008
> [INFO] Final Memory:
> > 9M/20M
> [INFO]
> ----------------------------------------------------------------
> > --------
>
>
> Any ideas?
>
>
> 2008/3/7, Borut Bolčina <borut.bolcina@gmail.com>:
> >
> >
> > Hi,
> >
> > I think you have to modify the instructions at
> >
> >
> http://cayenne.apache.org/doc/remote-object-persistence-tutorial-setup.html
> >
>
> > > Checking out with
> > svn co
> >
> > http://svn.apache.org/repos/asf/cayenne/main/trunk/docs/quick-start-rop/
> >
> >
> > and then running
> > C:\Users\Borut\Workarea\quick-start-rop>mvn
> > eclipse:eclipse
> > [INFO] Scanning for projects...
> > [INFO]
> >
> > ------------------------------------------------------------------------
> >
> > [ERROR] FATAL ERROR
> > [INFO]
> >
> > ------------------------------------------------------------------------
> >
> > [INFO] Failed to resolve artifact.
> >
> > GroupId: org.apache.cayenne
> >
> > ArtifactId: cayenne-parent
> > Version: 3.0-SNAPSHOT
> >
> > Reason: Unable to
> > download the artifact from any repository
> >
> >
> > org.apache.cayenne:cayenne-parent:pom:3.0-SNAPSHOT
> >
> > from the specified
> > remote repositories:
> > central (http://repo1.maven.org/maven2)
> >
> > fails on
> > empty local m2 repository. I don't think you can build a
> > sub-project without
> > the parent.
> >
> > Regards,
> > Borut
> >
> >
>
>
>
This archive was generated by hypermail 2.0.0 : Tue Mar 11 2008 - 12:54:36 EDT