dev@glassfish.java.net

Re: 3.1.2 build error

From: Jennifer Galloway <jennifer.chou_at_oracle.com>
Date: Mon, 12 Dec 2011 20:28:30 -0500

It works fine after switching to Maven 2.2.1. I was using Maven 3.0.3.

On 12/12/11 6:07 PM, Jennifer Galloway wrote:
> I tried again and still see the same error.
>
> On 12/12/11 5:32 PM, Jane Young wrote:
>> This is 3.1.2 workspace. The last hk2 integration is in the trunk.
>> The last Hudson 3.1.2 continuous job is passing...
>>
>> Jane
>>
>> On 12/12/11 2:18 PM, Jerome Dochez wrote:
>>> that could be a problem with the last hk2 integration, let me check.
>>>
>>> jerome
>>>
>>> On Dec 12, 2011, at 2:10 PM, Jennifer Galloway wrote:
>>>
>>>> I get the following error building 3.1.2. Any body else see this?
>>>> I tried removing my local maven repo and checking out a fresh
>>>> source with no changes.
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>> [INFO] Building in
>>>> /Users/jenchou/scratch/gf/3.1.2_test/3.1.2/web/web-glue
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>> [INFO]
>>>> [INFO] --- maven-resources-plugin:2.4.3:resources
>>>> (default-resources) @ web-glue ---
>>>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>>>> [INFO] Copying 2 resources
>>>> [INFO] Copying 2 resources
>>>> [INFO]
>>>> [INFO] --- hk2-maven-plugin:1.1.12:hk2-compile
>>>> (default-hk2-compile) @ web-glue ---
>>>> [INFO] Compiling 122 source files to
>>>> /Users/jenchou/scratch/gf/3.1.2_test/3.1.2/web/web-glue/target/classes
>>>> Note: Some input files use or override a deprecated API.
>>>> Note: Recompile with -Xlint:deprecation for details.
>>>> /Users/jenchou/scratch/gf/3.1.2_test/3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/WebContainer.java:533:
>>>> cannot find symbol
>>>> symbol : method
>>>> addListenerForType(java.lang.Class<com.sun.enterprise.config.serverbeans.SystemProperty>,com.sun.enterprise.web.reconfig.WebConfigListener)
>>>> location: class org.jvnet.hk2.config.Transactions
>>>> transactions.addListenerForType(SystemProperty.class,
>>>> configListener);
>>>> ^
>>>> Note: Some input files use or override a deprecated API.
>>>> Note: Recompile with -Xlint:deprecation for details.
>>>> 1 error
>>>>
>>
>