You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Vinicius Borges <vi...@gmail.com> on 2009/02/20 18:47:21 UTC

Error building CAS

Hello everybody,

I want to build CAS project... but something is gonna wrong...

[INFO] ------------------------------------------------------------------------
[INFO] Building JA-SIG CAS Web Application
[INFO]    task-segment: [package, install]
[INFO] ------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1-alpha-2/maven-war-plugin-2.1-alpha-2.pom
7K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1-alpha-2/maven-war-plugin-2.1-alpha-2.jar
72K downloaded
Downloading: http://repo1.maven.org/maven2/maven/maven-war-plugin/20030413.023708/maven-war-plugin-20030413.023708.pom
165b downloaded
Downloading: http://repo1.maven.org/maven2/maven/maven-war-plugin/20030413.023708/maven-war-plugin-20030413.023708.jar
4K downloaded
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The PluginDescriptor for the plugin Plugin
[maven:maven-war-plugin] was not found.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.IllegalStateException: The PluginDescriptor for the plugin
Plugin [maven:maven-war-plugin] was not found.
        at org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:327)
        at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:212)
        at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:176)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1275)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1239)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:1005)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
        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:585)
        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: 10 minutes 18 seconds
[INFO] Finished at: Fri Feb 20 13:20:56 BRST 2009
[INFO] Final Memory: 25M/51M
[INFO] ------------------------------------------------------------------------

What should be this?
Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Error building CAS

Posted by Dennis Lundberg <de...@apache.org>.
It seems to me that the POM for CAS has specified both the Maven 1
version and the Maven 2 version of the WAR Plugin. See pointers below...

Vinicius Borges wrote:
> Hello everybody,
> 
> I want to build CAS project... but something is gonna wrong...
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building JA-SIG CAS Web Application
> [INFO]    task-segment: [package, install]
> [INFO] ------------------------------------------------------------------------

Downloading the Maven 2 WAR Plugin

> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1-alpha-2/maven-war-plugin-2.1-alpha-2.pom
> 7K downloaded
> Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1-alpha-2/maven-war-plugin-2.1-alpha-2.jar
> 72K downloaded

Downloading a timestamped SNAPSHOT of the Maven 1 WAR Plugin. This is
wrong and shouldn't be here. You can't use a Maven 1 plugin with Maven 2.

> Downloading: http://repo1.maven.org/maven2/maven/maven-war-plugin/20030413.023708/maven-war-plugin-20030413.023708.pom
> 165b downloaded
> Downloading: http://repo1.maven.org/maven2/maven/maven-war-plugin/20030413.023708/maven-war-plugin-20030413.023708.jar
> 4K downloaded
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] The PluginDescriptor for the plugin Plugin
> [maven:maven-war-plugin] was not found.
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.IllegalStateException: The PluginDescriptor for the plugin
> Plugin [maven:maven-war-plugin] was not found.
>         at org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:327)
>         at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:212)
>         at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:176)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1275)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1239)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:1005)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
>         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:585)
>         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: 10 minutes 18 seconds
> [INFO] Finished at: Fri Feb 20 13:20:56 BRST 2009
> [INFO] Final Memory: 25M/51M
> [INFO] ------------------------------------------------------------------------
> 
> What should be this?
> Thanks!
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Error building CAS

Posted by Rusty Wright <ru...@gmail.com>.
Maven produces errors that look like something is wrong with maven but they can be coming from configuration errors in the pom.xml.  In this case the lines

 [INFO] The PluginDescriptor for the plugin Plugin
 [maven:maven-war-plugin] was not found.

are probably the clue to what's wrong.  The java.lang.IllegalStateException could be considered a red herring.


Vinicius Borges wrote:
> but the error is in Maven... if you take a look in the ERROR, you'll
> see what I talking about...
> 
> 2009/2/20 Wayne Fay <wa...@gmail.com>:
>>> I want to build CAS project... but something is gonna wrong...
>> This is a "support" forum for users of Maven, not CAS. Please contact
>> the CAS team and ask them to look into their issue. If this is a real
>> problem, they will appreciate you telling them about it, and will
>> probably get it fixed quickly.
>>
>> Wayne
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Error building CAS

Posted by Rusty Wright <ru...@gmail.com>.
But he wasn't getting a compiler error.

If make was generating a segmentation fault, (core dumped), I would be definitely be inclined to go to the people who maintain make.

In his case maven is throwing a java.lang.IllegalStateException, so it doesn't seem unreasonable to me for him to ask here.


Jörg Schaible wrote:
> Vinicius Borges wrote at Freitag, 20. Februar 2009 20:35:
> 
>> That's ok Wayne,
>>
>> Maybe the title of the email should be wrong. For your information, I
>> have sent this question to the CAS forum, but
>> the problem isn't with CAS.  For that, I became here to find help...
>> no problems.
>>
>> You can resolve my problem? Ok, I'll be satisfied, If not, thanks for
>> your help and I will find more sources for my application...
>> And I have used Maven for 2 days only. It's impossible that I turn
>> expert in this little time...
> 
> Well, if you compile the Linux kernel you call 
> 
>  make
> 
> If you get now a compiler error, where do you go? To the kernel hackers or
> to the people who maintain make?
> 
> Actually you have to be no expert for the answer ...
> 
> - Jörg
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Error building CAS

Posted by Jörg Schaible <jo...@gmx.de>.
Vinicius Borges wrote at Freitag, 20. Februar 2009 20:35:

> That's ok Wayne,
> 
> Maybe the title of the email should be wrong. For your information, I
> have sent this question to the CAS forum, but
> the problem isn't with CAS.  For that, I became here to find help...
> no problems.
> 
> You can resolve my problem? Ok, I'll be satisfied, If not, thanks for
> your help and I will find more sources for my application...
> And I have used Maven for 2 days only. It's impossible that I turn
> expert in this little time...

Well, if you compile the Linux kernel you call 

 make

If you get now a compiler error, where do you go? To the kernel hackers or
to the people who maintain make?

Actually you have to be no expert for the answer ...

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Error building CAS

Posted by Vinicius Borges <vi...@gmail.com>.
That's ok Wayne,

Maybe the title of the email should be wrong. For your information, I
have sent this question to the CAS forum, but
the problem isn't with CAS.  For that, I became here to find help...
no problems.

You can resolve my problem? Ok, I'll be satisfied, If not, thanks for
your help and I will find more sources for my application...
And I have used Maven for 2 days only. It's impossible that I turn
expert in this little time...

No more..



2009/2/20 Wayne Fay <wa...@gmail.com>:
>> but the error is in Maven... if you take a look in the ERROR, you'll
>> see what I talking about...
>
> If you are not at least a little bit competent in Maven, then it is
> really not worth discussing this issue. Instead, you should send this
> to the CAS User list and ask a CAS person who knows Maven to help.
>
> While Maven is reporting the problem, your issue is "CAS does not
> build for me", and this is clearly an issue for the CAS Users and
> Developers.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Error building CAS

Posted by Wayne Fay <wa...@gmail.com>.
> but the error is in Maven... if you take a look in the ERROR, you'll
> see what I talking about...

If you are not at least a little bit competent in Maven, then it is
really not worth discussing this issue. Instead, you should send this
to the CAS User list and ask a CAS person who knows Maven to help.

While Maven is reporting the problem, your issue is "CAS does not
build for me", and this is clearly an issue for the CAS Users and
Developers.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Error building CAS

Posted by Vinicius Borges <vi...@gmail.com>.
but the error is in Maven... if you take a look in the ERROR, you'll
see what I talking about...

2009/2/20 Wayne Fay <wa...@gmail.com>:
>> I want to build CAS project... but something is gonna wrong...
>
> This is a "support" forum for users of Maven, not CAS. Please contact
> the CAS team and ask them to look into their issue. If this is a real
> problem, they will appreciate you telling them about it, and will
> probably get it fixed quickly.
>
> Wayne
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Error building CAS

Posted by Wayne Fay <wa...@gmail.com>.
> I want to build CAS project... but something is gonna wrong...

This is a "support" forum for users of Maven, not CAS. Please contact
the CAS team and ask them to look into their issue. If this is a real
problem, they will appreciate you telling them about it, and will
probably get it fixed quickly.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org