Re: Building using Maven tool

2007-03-06 Thread Wayne Fay

Maven2 does not use jars in a project lib directory for compilation
etc. Instead you must construct a pom.xml file with proper
dependencies declared etc.

I suggest you read the "Better Builds with Maven" free e-book,
available as a PDF from http://www.mergere.com to get up to speed on
how Maven2 works and to help construct the pom.xml file you require.

Wayne

On 3/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:







Hi,

Can anybody of the Maven Users group help me resolve the issue.

I am trying to build a java project with Maven2.And stuck with some
package not found error at compile time.The required package includes
all the jars and libs , even I have kept it inside the project directory
structure ,Maven is not considering it for compilation.So my question
is, can somebody please throw some light on where to specify the lib
classpath for maven execution.For your lookup I am attaching the error
code here, with the hope that Fisheye team will respond with a positive
solution:

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Valid
atableOb
ject.java:[10,28] package com.sun.msv.verifier does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\w3\_2000\_09\xmldsig_\impl\SPKIDat
aTypeImp
l.java:[15,35] package com.sun.xml.bind.util does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\w3\_2000\_09\xmldsig_\impl\SPKIDat
aTypeImp
l.java:[17,38] package com.sun.msv.grammar does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\w3\_2000\_09\xmldsig_\impl\SPKIDat
aTypeImp
l.java:[23,35] package com.sun.xml.bind.util does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Unmar
shalling
Context.java:[10,22] package javax.xml.bind does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Unmar
shalling
Context.java:[17,37] package com.sun.xml.bind.unmarshaller does not
exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[10,22] package javax.xml.bind does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[14,24] package com.sun.xml.bind does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[15,35] package com.sun.xml.bind.marshaller does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[16,35] package com.sun.xml.bind.serializer does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\w3\_2000\_09\xmldsig_\impl\SPKIDat
aTypeImp
l.java:[147,31] package com.sun.msv.verifier does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Valid
atableOb
ject.java:[19,4] cannot find symbol
symbol : class DocumentDeclaration
location: interface org.cdisc.ns.odm.v1.impl.runtime.ValidatableObject

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Gramm
arInfo.j
ava:[10,22] package javax.xml.bind does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Unmar
shalling
Context.java:[194,22] cannot find symbol
symbol : class ValidationEvent
location: interface
org.cdisc.ns.odm.v1.impl.runtime.UnmarshallingContext

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Unmar
shalling
Context.java:[223,4] cannot find symbol
symbol : class Tracer
location: interface
org.cdisc.ns.odm.v1.impl.runtime.UnmarshallingContext

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[66,22] cannot find symbol
symbol : class ValidationEvent
location: interface org.cdisc.ns.odm.v1.impl.runtime.XMLSerializer

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[66,49] cannot find symbol
symbol : class AbortSerializationException
location: interface org.cdisc.ns.odm.v1.impl.runtime.XMLSerializer

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[176,17] cannot find symbol
symbol : class IdentifiableObject
location: interface org.cdisc.ns.odm.v1.impl.runtime.XMLSerializer

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[189,20] cannot find symbol
symbol : class IdentifiableObject
location: interface org.cdisc.ns.odm.v1.impl.runtime.XMLSerializer

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[209,22] cannot find symbol
symbol : class JAXBObject
location: interface org.cdisc.ns.odm.v1.impl.runtime.XMLSerializer

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[221,28] cannot find symbol
symbol : class JAXBObject
location: interface org.cdisc.ns.odm.v1.impl.runtime.XMLSerializer

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[232,22] cannot find symbol
symbol : class JAXBObject
location: interface org.cdisc.ns.odm.v1.impl.runtime.XMLSerializer

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Gramm
arInfo.j
ava:[83,23] package c

Re: Building using Maven tool

2007-03-06 Thread Neeraj Bisht

i think you are missing required jar in repository or you have not provided
in your pom

like com.sun.xml.bind.util does not

work on the following  area  in your pom



http://maven.apache.org/ref/2.0.3-SNAPSHOT/maven-model/maven.html#class_dependency>



 
 
 
 
 
 
 
 

http://maven.apache.org/ref/2.0.3-SNAPSHOT/maven-model/maven.html#class_exclusion>



 
 
   
 
 
   
 






On 3/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:








Hi,

Can anybody of the Maven Users group help me resolve the issue.

I am trying to build a java project with Maven2.And stuck with some
package not found error at compile time.The required package includes
all the jars and libs , even I have kept it inside the project directory
structure ,Maven is not considering it for compilation.So my question
is, can somebody please throw some light on where to specify the lib
classpath for maven execution.For your lookup I am attaching the error
code here, with the hope that Fisheye team will respond with a positive
solution:

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Valid
atableOb
ject.java:[10,28] package com.sun.msv.verifier does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\w3\_2000\_09\xmldsig_\impl\SPKIDat
aTypeImp
l.java:[15,35] package com.sun.xml.bind.util does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\w3\_2000\_09\xmldsig_\impl\SPKIDat
aTypeImp
l.java:[17,38] package com.sun.msv.grammar does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\w3\_2000\_09\xmldsig_\impl\SPKIDat
aTypeImp
l.java:[23,35] package com.sun.xml.bind.util does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Unmar
shalling
Context.java:[10,22] package javax.xml.bind does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Unmar
shalling
Context.java:[17,37] package com.sun.xml.bind.unmarshaller does not
exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[10,22] package javax.xml.bind does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[14,24] package com.sun.xml.bind does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[15,35] package com.sun.xml.bind.marshaller does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[16,35] package com.sun.xml.bind.serializer does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\w3\_2000\_09\xmldsig_\impl\SPKIDat
aTypeImp
l.java:[147,31] package com.sun.msv.verifier does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Valid
atableOb
ject.java:[19,4] cannot find symbol
symbol : class DocumentDeclaration
location: interface org.cdisc.ns.odm.v1.impl.runtime.ValidatableObject

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Gramm
arInfo.j
ava:[10,22] package javax.xml.bind does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Unmar
shalling
Context.java:[194,22] cannot find symbol
symbol : class ValidationEvent
location: interface
org.cdisc.ns.odm.v1.impl.runtime.UnmarshallingContext

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Unmar
shalling
Context.java:[223,4] cannot find symbol
symbol : class Tracer
location: interface
org.cdisc.ns.odm.v1.impl.runtime.UnmarshallingContext

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[66,22] cannot find symbol
symbol : class ValidationEvent
location: interface org.cdisc.ns.odm.v1.impl.runtime.XMLSerializer

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[66,49] cannot find symbol
symbol : class AbortSerializationException
location: interface org.cdisc.ns.odm.v1.impl.runtime.XMLSerializer

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[176,17] cannot find symbol
symbol : class IdentifiableObject
location: interface org.cdisc.ns.odm.v1.impl.runtime.XMLSerializer

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[189,20] cannot find symbol
symbol : class IdentifiableObject
location: interface org.cdisc.ns.odm.v1.impl.runtime.XMLSerializer

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[209,22] cannot find symbol
symbol : class JAXBObject
location: interface org.cdisc.ns.odm.v1.impl.runtime.XMLSerializer

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[221,28] cannot find symbol
symbol : class JAXBObject
location: interface org.cdisc.ns.odm.v1.impl.runtime.XMLSerializer

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v

Building using Maven tool

2007-03-06 Thread Vaishali.Pande






Hi,

Can anybody of the Maven Users group help me resolve the issue.

I am trying to build a java project with Maven2.And stuck with some
package not found error at compile time.The required package includes
all the jars and libs , even I have kept it inside the project directory
structure ,Maven is not considering it for compilation.So my question
is, can somebody please throw some light on where to specify the lib
classpath for maven execution.For your lookup I am attaching the error
code here, with the hope that Fisheye team will respond with a positive
solution:

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Valid
atableOb
ject.java:[10,28] package com.sun.msv.verifier does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\w3\_2000\_09\xmldsig_\impl\SPKIDat
aTypeImp
l.java:[15,35] package com.sun.xml.bind.util does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\w3\_2000\_09\xmldsig_\impl\SPKIDat
aTypeImp
l.java:[17,38] package com.sun.msv.grammar does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\w3\_2000\_09\xmldsig_\impl\SPKIDat
aTypeImp
l.java:[23,35] package com.sun.xml.bind.util does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Unmar
shalling
Context.java:[10,22] package javax.xml.bind does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Unmar
shalling
Context.java:[17,37] package com.sun.xml.bind.unmarshaller does not
exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[10,22] package javax.xml.bind does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[14,24] package com.sun.xml.bind does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[15,35] package com.sun.xml.bind.marshaller does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[16,35] package com.sun.xml.bind.serializer does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\w3\_2000\_09\xmldsig_\impl\SPKIDat
aTypeImp
l.java:[147,31] package com.sun.msv.verifier does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Valid
atableOb
ject.java:[19,4] cannot find symbol
symbol : class DocumentDeclaration
location: interface org.cdisc.ns.odm.v1.impl.runtime.ValidatableObject

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Gramm
arInfo.j
ava:[10,22] package javax.xml.bind does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Unmar
shalling
Context.java:[194,22] cannot find symbol
symbol : class ValidationEvent
location: interface
org.cdisc.ns.odm.v1.impl.runtime.UnmarshallingContext

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Unmar
shalling
Context.java:[223,4] cannot find symbol
symbol : class Tracer
location: interface
org.cdisc.ns.odm.v1.impl.runtime.UnmarshallingContext

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[66,22] cannot find symbol
symbol : class ValidationEvent
location: interface org.cdisc.ns.odm.v1.impl.runtime.XMLSerializer

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[66,49] cannot find symbol
symbol : class AbortSerializationException
location: interface org.cdisc.ns.odm.v1.impl.runtime.XMLSerializer

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[176,17] cannot find symbol
symbol : class IdentifiableObject
location: interface org.cdisc.ns.odm.v1.impl.runtime.XMLSerializer

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[189,20] cannot find symbol
symbol : class IdentifiableObject
location: interface org.cdisc.ns.odm.v1.impl.runtime.XMLSerializer

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[209,22] cannot find symbol
symbol : class JAXBObject
location: interface org.cdisc.ns.odm.v1.impl.runtime.XMLSerializer

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[221,28] cannot find symbol
symbol : class JAXBObject
location: interface org.cdisc.ns.odm.v1.impl.runtime.XMLSerializer

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\XMLSe
rializer
.java:[232,22] cannot find symbol
symbol : class JAXBObject
location: interface org.cdisc.ns.odm.v1.impl.runtime.XMLSerializer

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Gramm
arInfo.j
ava:[83,23] package com.sun.msv.grammar does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\cdisc\ns\odm\v1\impl\runtime\Gramm
arInfo.j
ava:[83,52] cannot find symbol
symbol : class JAXBException
location: interface org.cdisc.ns.odm.v1.impl.runtime.GrammarInfo

D:\sde3.0\workspace\BuildPoc\jaxb\org\w3\_2000\_09\xmldsig_\impl\SPKIDat
aTypeImp
l.java:[185,135] package com.sun.xml.bind does not exist

D:\sde3.0\workspace\BuildPoc\jaxb\org\w

Re: Building using Maven tool.

2007-01-18 Thread allan ramirez

If you are in a proxy, please refer to this guide
http://maven.apache.org/guides/mini/guide-proxies.html

On 1/18/07, Pande, Vaishali (Cognizant) <[EMAIL PROTECTED]> wrote:


Hi,

Even after successful installation and configuration ,I am not able to
run the application.

Will it make any difference if I am working on a proxy connection.



Kindly assist me in this regard.



Thanks and Regards
Vaishali G.P.

Email: [EMAIL PROTECTED]





This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged
information.
If you are not the intended recipient, please contact the sender by reply
e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding,
printing or copying of this email or any action taken in reliance on this
e-mail is strictly
prohibited and may be unlawful.

  Visit us at http://www.cognizant.com




--
==
- alramirez

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Building using Maven tool.

2007-01-17 Thread Pande, Vaishali \(Cognizant\)

Hi,

Even after successful installation and configuration ,I am not able to
run the application.

Will it make any difference if I am working on a proxy connection.



Kindly assist me in this regard.



Thanks and Regards
Vaishali G.P.

Email: [EMAIL PROTECTED]





This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply 
e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing 
or copying of this email or any action taken in reliance on this e-mail is 
strictly
prohibited and may be unlawful.

  Visit us at http://www.cognizant.com