That looks to me like your firewall is still kicking in (or you have some other communication problems). Turn it off and keep it off until maven is done building the code.
Jarek On 11/1/07, PeterAU2 <[EMAIL PROTECTED]> wrote: > > I'm on a Windows box, so I had to go and download and install svn from > http://subversion.tigris.org/ > I turned off my firewall so svn could get through, and also I'm guessing so > Maven can get through. > I got the same error, though, shown below. > What should I try next? > Peter > > ----------------------------------------------------- > C:\course\EJB\SamplesFromGeronimo\mytime>mvn clean install site > [INFO] Scanning for projects... > [INFO] snapshot org.apache.geronimo.samples:samples:2.1-SNAPSHOT: checking > for updates from apache-snapshots > [WARNING] repository metadata for: 'snapshot > org.apache.geronimo.samples:samples:2.1-SNAPSHOT' could not be retrieved > from repository: apache-snapshots due to a > n error: Error transferring file > [INFO] Repository 'apache-snapshots' will be blacklisted > [INFO] > ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > GroupId: org.apache.geronimo.samples > ArtifactId: samples > Version: 2.1-SNAPSHOT > > Reason: Unable to download the artifact from any repository > > org.apache.geronimo.samples:samples:pom:2.1-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2), > apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository) > > > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > org.apache.maven.reactor.MavenExecutionException: Cannot find parent: > org.apache.geronimo.samples:samples for project: null:mytime:pom:null for > project null:myt > ime:pom:null > ------------------------------------------------------------------------ > > > Jarek Gawor-2 wrote: > > > > Please checkout the source code for this sample from svn. The zip file > > attached in wiki is outdated. > > > > Jarek > > > > On 10/31/07, PeterAU2 <[EMAIL PROTECTED]> wrote: > >> > >> Hi. Newbie simple question. > >> > >> I'm trying to build the simple project from > >> http://cwiki.apache.org/GMOxDOC20/very-simple-session-ejb-example.html > >> > >> I've downloaded the file > >> http://cwiki.apache.org/GMOxDOC20/very-simple-session-ejb-example.data/mytime_.zip > >> and unzipped it. > >> > >> I've installed Maven 2.0, and can check it with mvn -version > >> Maven version: 2.0.7 > >> Java version: 1.5.0_04 > >> OS name: "windows xp" version: "5.1" arch: "x86" > >> > >> When I try to build the source, using mvn clean install site > >> I get a raft of errors, starting with: > >> > >> [INFO] Scanning for projects... > >> Downloading: > >> http://people.apache.org/repo/m2-snapshot-repository/org/apache/geronimo/samples/samples/2.0-SNAPSHOT/samples-2.0-SNAPSHOT.pom > >> [INFO] > >> ------------------------------------------------------------------------ > >> [ERROR] FATAL ERROR > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] Failed to resolve artifact. > >> > >> GroupId: org.apache.geronimo.samples > >> ArtifactId: samples > >> Version: 2.0-SNAPSHOT > >> > >> Reason: Unable to download the artifact from any repository > >> > >> org.apache.geronimo.samples:samples:pom:2.0-SNAPSHOT > >> > >> from the specified remote repositories: > >> central (http://repo1.maven.org/maven2), > >> apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository) > >> > >> > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] Trace > >> org.apache.maven.reactor.MavenExecutionException: Cannot find parent: > >> org.apache.geronimo.samples:samples for project: > >> null:calculator-stateless-pojo:pom:null f > >> or project null:calculator-stateless-pojo:pom:null > >> > >> > >> If I try just browsing to the URL: > >> http://people.apache.org/repo/m2-snapshot-repository/org/apache/geronimo/samples/samples/2.0-SNAPSHOT/samples-2.0-SNAPSHOT.pom > >> I get a 404. > >> > >> Am I doing something blatantly wrong? > >> > >> Thanks for your help > >> > >> Peter > >> -- > >> View this message in context: > >> http://www.nabble.com/Building-sample-project---maven-error-tf4729095s134.html#a13522401 > >> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Building-sample-project---maven-error-tf4729095s134.html#a13523987 > Sent from the Apache Geronimo - Users mailing list archive at Nabble.com. > >
