ask Jane. I see no problems at all. It's almost certainly a OWAN vs.
not-OWAN problem.
did you try mvn -o ?
On 6/21/2011 7:40 AM, Bobby Bissett wrote:
> On 6/21/11 12:44 AM, Byron Nevins wrote:
>> Holy Cow! That must have taken a L-O-N-G time to checkout!
>
> Heh heh. With the new servers is wasn't that bad. I tried checking out
> the whole thing because I couldn't build with the subset checkout that
> we normally use. But following along...
>
>
>> Here is how to do it:
>>
>> (1)
>> get the SUBSET of files from svn as shown in [1]
>
> Got it.
>
>>
>> (2)
>> cd appserv-tests\util\reportbuilder
>> make your changes to the java file
>> mvn clean install
>> svn commit
>
> I get the same result (below). Before I spend the rest of my time at
> Oracle debugging maven issues, does anyone have a hint that would save
> me some time? Again, I get the same result whether I check out the
> whole shebang from
> https://svn.java.net/svn/glassfish~svn/trunk/v2/appserv-testsor just
> the subset of files.
>
> hostname% cd gf/v2/appserv-tests/util/reportbuilder
> hostname% touch src/main/java/com/sun/appserv/test/BaseDevTest.java
> hostname% mvn clean install
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.glassfish.devtests:report-builder:jar:null
>
> Reason: Cannot find parent: org.glassfish:glassfish-parent for
> project: org.glassfish.devtests:report-builder:jar:null for project
> org.glassfish.devtests:report-builder:jar:null
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
> org.glassfish:glassfish-parent for project:
> org.glassfish.devtests:report-builder:jar:null for project
> org.glassfish.devtests:report-builder:jar:null
> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> at
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.project.ProjectBuildingException: Cannot
> find parent: org.glassfish:glassfish-parent for project:
> org.glassfish.devtests:report-builder:jar:null for project
> org.glassfish.devtests:report-builder:jar:null
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:508)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
> at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
> at
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
> at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
> ... 12 more
> Caused by: org.apache.maven.project.ProjectBuildingException: POM
> 'org.glassfish:glassfish-parent' not found in repository: Unable to
> download the artifact from any repository
>
> org.glassfish:glassfish-parent:pom:3.1-SNAPSHOT
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2)
>
> for project org.glassfish:glassfish-parent
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:605)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)
> ... 18 more
> Caused by:
> org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable
> to download the artifact from any repository
>
> org.glassfish:glassfish-parent:pom:3.1-SNAPSHOT
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2)
>
>
> at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:228)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
> at
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:558)
> ... 19 more
> Caused by: org.apache.maven.wagon.ResourceDoesNotExistException:
> Unable to download the artifact from any repository
> at
> org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:404)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:216)
> ... 21 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Tue Jun 21 10:33:06 EDT 2011
> [INFO] Final Memory: 2M/81M
> [INFO]
> ------------------------------------------------------------------------
>
--
Oracle <http://www.oracle.com>
Byron Nevins | Principal MTS
Phone: +1 6503958992 <tel:+1%206503958992>
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to
developing practices and products that help protect the environment