dev@glassfish.java.net

RE: build error (trunk)

From: Dapeng Hu <dapeng.hu_at_oracle.com>
Date: Mon, 6 Aug 2012 22:58:55 -0700 (PDT)

Thanks a lot

Regards
Dapeng

-----Original Message-----
From: Tang Yong [mailto:tangyong_at_cn.fujitsu.com]
Sent: 2012年8月7日 13:46
To: dev_at_glassfish.java.net; Dapeng Hu
Subject: Re: build error (trunk)

just as Sudarsan and Simo said, now, I have also built the latest gf trunk using "mvn -DskipTests=true clean install" and have not seen any build error.

--Tang

Sudarsan Sridhar wrote:
> Try refreshing the root directory of glassfish source instead of particular module directories. Also try 'mvn clean install'.
>
> Regards,
> Sudarsan
>
> On 07-Aug-2012, at 8:37 AM, Tang Yong wrote:
>
>> Hi DaPeng
>>
>>> [ERROR] 'dependencies.dependency.version' for
>>> org.codehaus.woodstox:woodstox-core-asl:jar is missing
>> The reason is that having not set the version of woodstox-core-asl on
>> appserver/packager/metro module, however,I have seen the latest gf
>> trunk, although not setting the version of woodstox-core-asl on appserver/packager/metro module, the version of woodstox-core-asl has been set on main/pom.xml, so the error should not happen.
>>
>> <woodstox.version>4.1.2</woodstox.version>
>>
>> I will build the latest trunk and see whether having the same error or not.
>>
>> --Tang
>>
>> Dapeng Hu wrote:
>>> Anyone has idea about the following build error?
>>> daphu_at_slc00bkl:main$ mvn install -e
>>> [INFO] Error stacktraces are turned on.
>>> [INFO] Scanning for projects...
>>> [ERROR] The build could not read 1 project -> [Help 1]
>>> org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
>>> [ERROR] 'dependencies.dependency.version' for org.codehaus.woodstox:woodstox-core-asl:jar is missing. @ line 133, column 21
>>> at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:363)
>>> at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:636)
>>> at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:585)
>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:234)
>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>>> 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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>>> at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>>> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>>> at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
>>> [ERROR] [ERROR] The project org.glassfish.main.packager:metro:4.0-SNAPSHOT (/scratch/bg/all/main/appserver/packager/metro/pom.xml) has 1 error
>>> [ERROR] 'dependencies.dependency.version' for org.codehaus.woodstox:woodstox-core-asl:jar is missing. @ line 133, column 21
>>> [ERROR]
>>> Regards
>>> Dapeng
>>
>
>
>