Skip to main content

ParseError when building glassfish

2 replies [Last post]
rivat
Offline
Joined: 2006-06-22

Hi,

I've just started building glassfish according to the FAQ

(FAQ extract)

====>
# Next checkout the sources.

% cd glassfish/bootstrap
% maven checkout

maven -Dmodules=admin bootstrap checkout build

<=======

and I have obtained the following error message:

/jesma/misc/or/glassfish_3/glassfish/bootstrap" 128 $ maven -Dmodules=admin bootstrap checkout build __ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.1

DEPRECATED: the default goal should be specified in the section of project.xml instead of maven.xml
Starting the reactor...
-------------------------------------------------------------------------------
>> Unable to obtain goal [bootstrap]
>> Error parsing project.xml '/jesma/misc/or/glassfish_3/glassfish/bootstrap/../../glassfish/bootstrap/project-bootstrap.xml'
>> ParseError at [row,col]:[82,13]
Message: Unrecognised tag: 'id'
---------------------------------------------------------------------

I have attached project.xml and maven.xml.
What shoudl I do to have it working ?

Regards,

Olivier Rivat
email: olivier.rivat@sun.com

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Dinesh Patil

You will have to use Maven 1.0.2 for GlassFish V2 builds, looks like you
are using 1.1.
thanks
Dinesh

glassfish@javadesktop.org wrote:

>Hi,
>
>I've just started building glassfish according to the FAQ
>
>(FAQ extract)
>
>====>
># Next checkout the sources.
>
>% cd glassfish/bootstrap
>% maven checkout
>
>maven -Dmodules=admin bootstrap checkout build
>
><=======
>
>and I have obtained the following error message:
>
>/jesma/misc/or/glassfish_3/glassfish/bootstrap" 128 $ maven -Dmodules=admin bootstrap checkout build __ __
>| \/ |__ _Apache__ ___
>| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
>|_| |_\__,_|\_/\___|_||_| v. 1.1
>
>DEPRECATED: the default goal should be specified in the section of project.xml instead of maven.xml
>Starting the reactor...
>-------------------------------------------------------------------------------
>
>
>>>Unable to obtain goal [bootstrap]
>>>Error parsing project.xml '/jesma/misc/or/glassfish_3/glassfish/bootstrap/../../glassfish/bootstrap/project-bootstrap.xml'
>>>ParseError at [row,col]:[82,13]
>>>
>>>
>Message: Unrecognised tag: 'id'
>---------------------------------------------------------------------
>
>I have attached project.xml and maven.xml.
>What shoudl I do to have it working ?
>
>Regards,
>
>Olivier Rivat
>email: olivier.rivat@sun.com
>[Message sent by forum member 'rivat' (rivat)]
>
>http://forums.java.net/jive/thread.jspa?messageID=265735
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
>For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>
>

[att1.html]

rivat
Offline
Joined: 2006-06-22

Dinesh,

it works with maven 1.02.

Tkx,

Olivier