Thanks for your rapid response. I installed successfully
maven-compiler-plugin and then executed mvn eclipse:eclipse. I got an error
message below. I'm not familiar with Maven, please help me if you have
experience in this problem.

My environment:
- apache-maven-2.0.8
- jdk1.6.0
- Windows XP

D:\projects\castor_dev\castor-jaxb-2.0\trunk>mvn eclipse:eclipse
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'eclipse'.
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] null
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
        at
org.apache.maven.plugin.descriptor.PluginDescriptor.getMojo(PluginDes
criptor.java:262)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
(DefaultLifecycleExecutor.java:1529)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
AggregationNeeds(DefaultLifecycleExecutor.java:386)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:138)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Fri May 02 18:12:41 CEST 2008
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------


Thank you,
Bao

On Fri, May 2, 2008 at 4:48 PM, Joachim Grüneis <[EMAIL PROTECTED]> wrote:

> Hello,
> first of all: castor-jaxb-2.0 is a Maven project and you should always
> perform a maven eclipse:eclipse after checkout - I have added .project and
> .classpath once but I'm not sure if these files are still valid and I think
> I have even removed them already...
>
> If you cannot compile using mvn compile then please reply with the errors
> you get - I'll have a look and will help you.
>
> Regards
>
> Joachim
>
> 2008/5/2 Le Duc Bao <[EMAIL PROTECTED]>:
>
> Hi all,
> >
> > I've checked out castor-jaxb-2.0 from
> > https://svn.codehaus.org/castor/castor-jaxb-2.0/trunk and tried to build
> > it. I have some problems with dependencies. I tried with maven's compile
> > command and it didn't work. I add manually logging related jars stuff and
> > castor-1.2.jar, then it remains  still some errors:
> > - javax.xml.bind.annotation.XmlSeeAlso cannot be resolved to a type
> > - org.castor.xml.UnmarshalListener cannot be resolved to a type
> >
> > Could you please help me to resolve those issues.
> >
> > Thanks,
> > Le Duc Bao
> >
>
>


-- 
Le Duc Bao

Reply via email to