You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/07/19 04:00:26 UTC
[jira] Created: (MPMULTIPROJECT-40) Hidden ClassCastException
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPMULTIPROJECT-40
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPMULTIPROJECT-40
Summary: Hidden ClassCastException
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-multiproject-plugin
Versions:
1.0
Assignee: dion gillard
Reporter: Jerome Lacoste
Created: Sun, 18 Jul 2004 9:58 PM
Updated: Sun, 18 Jul 2004 9:58 PM
Description:
I am getting an error when trying to set up a multiproject build for the cruisecontrol project.
My root project.properties containes:
maven.multiproject.includes=main/project.xml,reporting/jsp/project.xml
But I always only get the main project discovered leading to the following output:
Our processing order:
CruiseControl (main)
I've tried various combinations, using *, using */* etc.. but only the main sub project gets found.
I ran a maven -X and saw the following error in the aforementioned configuration:
[...]
multiproject:projects-init:
[echo] Gathering project list
Starting the reactor...
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/main/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/main/build.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/build.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/reporting/jsp/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/reporting/jsp/build.properties
Unexpected error evaluating expression
java.lang.ClassCastException
at org.apache.maven.MavenUtils.integrateMapInContext(MavenUtils.java:820)
at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:240)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:123)
at org.apache.maven.MavenUtils.getProjects(MavenUtils.java:290)
at org.apache.maven.jelly.tags.maven.ReactorTag.getSortedProjects(ReactorTag.java:400)
at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:296)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:634)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
at org.apache.maven.cli.App.doMain(App.java:486)
at org.apache.maven.cli.App.main(App.java:1215)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Note:
using
maven.multiproject.includes=main/project.xml
or
maven.multiproject.includes=reporting/jsp/project.xml
do NOT result in the problem.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MPMULTIPROJECT-40) Hidden ClassCastException below ReactorTag.getSortedProjects() with multiple entries in maven.multiproject.includes
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: dion gillard
Created: Wed, 21 Jul 2004 9:41 PM
Body:
Are you sure there are no issues with the project and it's properties being loaded? I have multiple excludes/includes in the multiproject properties all the time and they work fine...
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPMULTIPROJECT-40?page=comments#action_22063
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPMULTIPROJECT-40
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPMULTIPROJECT-40
Summary: Hidden ClassCastException below ReactorTag.getSortedProjects() with multiple entries in maven.multiproject.includes
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-multiproject-plugin
Versions:
1.0
Assignee: dion gillard
Reporter: Jerome Lacoste
Created: Sun, 18 Jul 2004 9:58 PM
Updated: Wed, 21 Jul 2004 9:41 PM
Description:
I am getting an error when trying to set up a multiproject build for the cruisecontrol project.
My root project.properties containes:
maven.multiproject.includes=main/project.xml,reporting/jsp/project.xml
But I always only get the main project discovered leading to the following output:
Our processing order:
CruiseControl (main)
I've tried various combinations, using *, using */* etc.. but only the main sub project gets found.
I ran a maven -X and saw the following error in the aforementioned configuration:
[...]
multiproject:projects-init:
[echo] Gathering project list
Starting the reactor...
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/main/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/main/build.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/build.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/reporting/jsp/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/reporting/jsp/build.properties
Unexpected error evaluating expression
java.lang.ClassCastException
at org.apache.maven.MavenUtils.integrateMapInContext(MavenUtils.java:820)
at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:240)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:123)
at org.apache.maven.MavenUtils.getProjects(MavenUtils.java:290)
at org.apache.maven.jelly.tags.maven.ReactorTag.getSortedProjects(ReactorTag.java:400)
at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:296)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:634)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
at org.apache.maven.cli.App.doMain(App.java:486)
at org.apache.maven.cli.App.main(App.java:1215)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Note:
using
maven.multiproject.includes=main/project.xml
or
maven.multiproject.includes=reporting/jsp/project.xml
do NOT result in the problem.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MPMULTIPROJECT-40) Hidden ClassCastException
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: Jerome Lacoste
Created: Sun, 18 Jul 2004 10:02 PM
Body:
Ah sorry for the title. I had planned to change it, but forgot (it's getting late). Seems like I cannot now. If you can replace it, maybe you would like something along:
"Hidden ClassCastException below ReactorTag.getSortedProjects() with multiple entries in maven.multiproject.includes"
OK that's all for me today.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPMULTIPROJECT-40?page=comments#action_21915
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPMULTIPROJECT-40
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPMULTIPROJECT-40
Summary: Hidden ClassCastException
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-multiproject-plugin
Versions:
1.0
Assignee: dion gillard
Reporter: Jerome Lacoste
Created: Sun, 18 Jul 2004 9:58 PM
Updated: Sun, 18 Jul 2004 10:02 PM
Description:
I am getting an error when trying to set up a multiproject build for the cruisecontrol project.
My root project.properties containes:
maven.multiproject.includes=main/project.xml,reporting/jsp/project.xml
But I always only get the main project discovered leading to the following output:
Our processing order:
CruiseControl (main)
I've tried various combinations, using *, using */* etc.. but only the main sub project gets found.
I ran a maven -X and saw the following error in the aforementioned configuration:
[...]
multiproject:projects-init:
[echo] Gathering project list
Starting the reactor...
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/main/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/main/build.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/build.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/reporting/jsp/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/reporting/jsp/build.properties
Unexpected error evaluating expression
java.lang.ClassCastException
at org.apache.maven.MavenUtils.integrateMapInContext(MavenUtils.java:820)
at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:240)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:123)
at org.apache.maven.MavenUtils.getProjects(MavenUtils.java:290)
at org.apache.maven.jelly.tags.maven.ReactorTag.getSortedProjects(ReactorTag.java:400)
at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:296)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:634)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
at org.apache.maven.cli.App.doMain(App.java:486)
at org.apache.maven.cli.App.main(App.java:1215)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Note:
using
maven.multiproject.includes=main/project.xml
or
maven.multiproject.includes=reporting/jsp/project.xml
do NOT result in the problem.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MPMULTIPROJECT-40) Hidden ClassCastException below ReactorTag.getSortedProjects() with multiple entries in maven.multiproject.includes
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: dion gillard
Created: Sun, 8 Aug 2004 10:48 PM
Body:
I'm pretty sure this has nothing to do with multiproject, and is a bug in maven core.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPMULTIPROJECT-40?page=comments#action_22891
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPMULTIPROJECT-40
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPMULTIPROJECT-40
Summary: Hidden ClassCastException below ReactorTag.getSortedProjects() with multiple entries in maven.multiproject.includes
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-multiproject-plugin
Versions:
1.0
Assignee: dion gillard
Reporter: Jerome Lacoste
Created: Sun, 18 Jul 2004 9:58 PM
Updated: Sun, 8 Aug 2004 10:48 PM
Description:
I am getting an error when trying to set up a multiproject build for the cruisecontrol project.
My root project.properties containes:
maven.multiproject.includes=main/project.xml,reporting/jsp/project.xml
But I always only get the main project discovered leading to the following output:
Our processing order:
CruiseControl (main)
I've tried various combinations, using *, using */* etc.. but only the main sub project gets found.
I ran a maven -X and saw the following error in the aforementioned configuration:
[...]
multiproject:projects-init:
[echo] Gathering project list
Starting the reactor...
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/main/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/main/build.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/build.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/reporting/jsp/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/reporting/jsp/build.properties
Unexpected error evaluating expression
java.lang.ClassCastException
at org.apache.maven.MavenUtils.integrateMapInContext(MavenUtils.java:820)
at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:240)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:123)
at org.apache.maven.MavenUtils.getProjects(MavenUtils.java:290)
at org.apache.maven.jelly.tags.maven.ReactorTag.getSortedProjects(ReactorTag.java:400)
at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:296)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:634)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
at org.apache.maven.cli.App.doMain(App.java:486)
at org.apache.maven.cli.App.main(App.java:1215)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Note:
using
maven.multiproject.includes=main/project.xml
or
maven.multiproject.includes=reporting/jsp/project.xml
do NOT result in the problem.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MPMULTIPROJECT-40) Hidden ClassCastException below ReactorTag.getSortedProjects() with multiple entries in maven.multiproject.includes
Posted by ji...@codehaus.org.
The following issue has been updated:
Updater: Carlos Sanchez (mailto:apache@carlos.cousas.net)
Date: Wed, 21 Jul 2004 2:48 PM
Changes:
summary changed from Hidden ClassCastException to Hidden ClassCastException below ReactorTag.getSortedProjects() with multiple entries in maven.multiproject.includes
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/browse/MPMULTIPROJECT-40?page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPMULTIPROJECT-40
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPMULTIPROJECT-40
Summary: Hidden ClassCastException below ReactorTag.getSortedProjects() with multiple entries in maven.multiproject.includes
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-multiproject-plugin
Versions:
1.0
Assignee: dion gillard
Reporter: Jerome Lacoste
Created: Sun, 18 Jul 2004 9:58 PM
Updated: Wed, 21 Jul 2004 2:48 PM
Description:
I am getting an error when trying to set up a multiproject build for the cruisecontrol project.
My root project.properties containes:
maven.multiproject.includes=main/project.xml,reporting/jsp/project.xml
But I always only get the main project discovered leading to the following output:
Our processing order:
CruiseControl (main)
I've tried various combinations, using *, using */* etc.. but only the main sub project gets found.
I ran a maven -X and saw the following error in the aforementioned configuration:
[...]
multiproject:projects-init:
[echo] Gathering project list
Starting the reactor...
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/main/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/main/build.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/build.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/reporting/jsp/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/reporting/jsp/build.properties
Unexpected error evaluating expression
java.lang.ClassCastException
at org.apache.maven.MavenUtils.integrateMapInContext(MavenUtils.java:820)
at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:240)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:123)
at org.apache.maven.MavenUtils.getProjects(MavenUtils.java:290)
at org.apache.maven.jelly.tags.maven.ReactorTag.getSortedProjects(ReactorTag.java:400)
at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:296)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:634)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
at org.apache.maven.cli.App.doMain(App.java:486)
at org.apache.maven.cli.App.main(App.java:1215)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Note:
using
maven.multiproject.includes=main/project.xml
or
maven.multiproject.includes=reporting/jsp/project.xml
do NOT result in the problem.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MPMULTIPROJECT-40) Hidden ClassCastException
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: Jerome Lacoste
Created: Sun, 18 Jul 2004 10:42 PM
Body:
I've added some debugging and the class is of type: org.apache.maven.project.Project.
Will try to investigate a little bit more...
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPMULTIPROJECT-40?page=comments#action_21917
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPMULTIPROJECT-40
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPMULTIPROJECT-40
Summary: Hidden ClassCastException
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-multiproject-plugin
Versions:
1.0
Assignee: dion gillard
Reporter: Jerome Lacoste
Created: Sun, 18 Jul 2004 9:58 PM
Updated: Sun, 18 Jul 2004 10:42 PM
Description:
I am getting an error when trying to set up a multiproject build for the cruisecontrol project.
My root project.properties containes:
maven.multiproject.includes=main/project.xml,reporting/jsp/project.xml
But I always only get the main project discovered leading to the following output:
Our processing order:
CruiseControl (main)
I've tried various combinations, using *, using */* etc.. but only the main sub project gets found.
I ran a maven -X and saw the following error in the aforementioned configuration:
[...]
multiproject:projects-init:
[echo] Gathering project list
Starting the reactor...
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/main/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/main/build.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/build.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/reporting/jsp/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/reporting/jsp/build.properties
Unexpected error evaluating expression
java.lang.ClassCastException
at org.apache.maven.MavenUtils.integrateMapInContext(MavenUtils.java:820)
at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:240)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:123)
at org.apache.maven.MavenUtils.getProjects(MavenUtils.java:290)
at org.apache.maven.jelly.tags.maven.ReactorTag.getSortedProjects(ReactorTag.java:400)
at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:296)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:634)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
at org.apache.maven.cli.App.doMain(App.java:486)
at org.apache.maven.cli.App.main(App.java:1215)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Note:
using
maven.multiproject.includes=main/project.xml
or
maven.multiproject.includes=reporting/jsp/project.xml
do NOT result in the problem.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MPMULTIPROJECT-40) Hidden ClassCastException below ReactorTag.getSortedProjects() with multiple entries in maven.multiproject.includes
Posted by ji...@codehaus.org.
Message:
The following issue has been closed.
Resolver: Brett Porter
Date: Thu, 4 Nov 2004 7:35 AM
dupe of MAVEN-1404
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPMULTIPROJECT-40
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPMULTIPROJECT-40
Summary: Hidden ClassCastException below ReactorTag.getSortedProjects() with multiple entries in maven.multiproject.includes
Type: Bug
Status: Closed
Priority: Major
Resolution: DUPLICATE
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-multiproject-plugin
Versions:
1.0
Assignee: dion gillard
Reporter: Jerome Lacoste
Created: Sun, 18 Jul 2004 9:58 PM
Updated: Thu, 4 Nov 2004 7:35 AM
Description:
I am getting an error when trying to set up a multiproject build for the cruisecontrol project.
My root project.properties containes:
maven.multiproject.includes=main/project.xml,reporting/jsp/project.xml
But I always only get the main project discovered leading to the following output:
Our processing order:
CruiseControl (main)
I've tried various combinations, using *, using */* etc.. but only the main sub project gets found.
I ran a maven -X and saw the following error in the aforementioned configuration:
[...]
multiproject:projects-init:
[echo] Gathering project list
Starting the reactor...
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/main/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/main/build.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/build.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/reporting/jsp/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/reporting/jsp/build.properties
Unexpected error evaluating expression
java.lang.ClassCastException
at org.apache.maven.MavenUtils.integrateMapInContext(MavenUtils.java:820)
at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:240)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:123)
at org.apache.maven.MavenUtils.getProjects(MavenUtils.java:290)
at org.apache.maven.jelly.tags.maven.ReactorTag.getSortedProjects(ReactorTag.java:400)
at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:296)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:634)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
at org.apache.maven.cli.App.doMain(App.java:486)
at org.apache.maven.cli.App.main(App.java:1215)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Note:
using
maven.multiproject.includes=main/project.xml
or
maven.multiproject.includes=reporting/jsp/project.xml
do NOT result in the problem.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MPMULTIPROJECT-40) Hidden ClassCastException below ReactorTag.getSortedProjects() with multiple entries in maven.multiproject.includes
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: Håvard Bjåstad
Created: Mon, 18 Oct 2004 4:07 AM
Body:
I get this same error, is there anyone working on a resolution?
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPMULTIPROJECT-40?page=comments#action_25507
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPMULTIPROJECT-40
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPMULTIPROJECT-40
Summary: Hidden ClassCastException below ReactorTag.getSortedProjects() with multiple entries in maven.multiproject.includes
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-multiproject-plugin
Versions:
1.0
Assignee: dion gillard
Reporter: Jerome Lacoste
Created: Sun, 18 Jul 2004 9:58 PM
Updated: Mon, 18 Oct 2004 4:07 AM
Description:
I am getting an error when trying to set up a multiproject build for the cruisecontrol project.
My root project.properties containes:
maven.multiproject.includes=main/project.xml,reporting/jsp/project.xml
But I always only get the main project discovered leading to the following output:
Our processing order:
CruiseControl (main)
I've tried various combinations, using *, using */* etc.. but only the main sub project gets found.
I ran a maven -X and saw the following error in the aforementioned configuration:
[...]
multiproject:projects-init:
[echo] Gathering project list
Starting the reactor...
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/main/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/main/build.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/build.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/reporting/jsp/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/reporting/jsp/build.properties
Unexpected error evaluating expression
java.lang.ClassCastException
at org.apache.maven.MavenUtils.integrateMapInContext(MavenUtils.java:820)
at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:240)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:123)
at org.apache.maven.MavenUtils.getProjects(MavenUtils.java:290)
at org.apache.maven.jelly.tags.maven.ReactorTag.getSortedProjects(ReactorTag.java:400)
at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:296)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:634)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
at org.apache.maven.cli.App.doMain(App.java:486)
at org.apache.maven.cli.App.main(App.java:1215)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Note:
using
maven.multiproject.includes=main/project.xml
or
maven.multiproject.includes=reporting/jsp/project.xml
do NOT result in the problem.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MPMULTIPROJECT-40) Hidden ClassCastException below ReactorTag.getSortedProjects() with multiple entries in maven.multiproject.includes
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: Jerome Lacoste
Created: Thu, 22 Jul 2004 3:43 AM
Body:
Not sure if the project directly related to the includes.
I just see that others have the same exception so the problem may be not well identified.
I've put some debugging info on what type is casted without success. That might help a person knowledgeable.
I think some of the other issues include testcases. That should help fir those and I will test the fix on my project.
PS: how should I see if there was a problem loading the other project(s)? I didn't see other exceptions. I will look for error messages, but I haven't seen any.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPMULTIPROJECT-40?page=comments#action_22075
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPMULTIPROJECT-40
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPMULTIPROJECT-40
Summary: Hidden ClassCastException below ReactorTag.getSortedProjects() with multiple entries in maven.multiproject.includes
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-multiproject-plugin
Versions:
1.0
Assignee: dion gillard
Reporter: Jerome Lacoste
Created: Sun, 18 Jul 2004 9:58 PM
Updated: Thu, 22 Jul 2004 3:43 AM
Description:
I am getting an error when trying to set up a multiproject build for the cruisecontrol project.
My root project.properties containes:
maven.multiproject.includes=main/project.xml,reporting/jsp/project.xml
But I always only get the main project discovered leading to the following output:
Our processing order:
CruiseControl (main)
I've tried various combinations, using *, using */* etc.. but only the main sub project gets found.
I ran a maven -X and saw the following error in the aforementioned configuration:
[...]
multiproject:projects-init:
[echo] Gathering project list
Starting the reactor...
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/main/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/main/build.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/build.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/reporting/jsp/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/reporting/jsp/build.properties
Unexpected error evaluating expression
java.lang.ClassCastException
at org.apache.maven.MavenUtils.integrateMapInContext(MavenUtils.java:820)
at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:240)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:123)
at org.apache.maven.MavenUtils.getProjects(MavenUtils.java:290)
at org.apache.maven.jelly.tags.maven.ReactorTag.getSortedProjects(ReactorTag.java:400)
at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:296)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:634)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
at org.apache.maven.cli.App.doMain(App.java:486)
at org.apache.maven.cli.App.main(App.java:1215)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Note:
using
maven.multiproject.includes=main/project.xml
or
maven.multiproject.includes=reporting/jsp/project.xml
do NOT result in the problem.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MPMULTIPROJECT-40) Hidden ClassCastException
Posted by ji...@codehaus.org.
The following comment has been added to this issue:
Author: Jerome Lacoste
Created: Sun, 18 Jul 2004 11:01 PM
Body:
I've put various logging statements in the code, and appart from the key name (pom) I didn't get many interesting info.
Ah, all log.debug() in those ignored exceptions should probably be turned into log.warn(). It's too bad I have to use -X to find out something is going wrong.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MPMULTIPROJECT-40?page=comments#action_21920
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPMULTIPROJECT-40
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPMULTIPROJECT-40
Summary: Hidden ClassCastException
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven-multiproject-plugin
Versions:
1.0
Assignee: dion gillard
Reporter: Jerome Lacoste
Created: Sun, 18 Jul 2004 9:58 PM
Updated: Sun, 18 Jul 2004 11:01 PM
Description:
I am getting an error when trying to set up a multiproject build for the cruisecontrol project.
My root project.properties containes:
maven.multiproject.includes=main/project.xml,reporting/jsp/project.xml
But I always only get the main project discovered leading to the following output:
Our processing order:
CruiseControl (main)
I've tried various combinations, using *, using */* etc.. but only the main sub project gets found.
I ran a maven -X and saw the following error in the aforementioned configuration:
[...]
multiproject:projects-init:
[echo] Gathering project list
Starting the reactor...
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/main/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/main/build.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/build.properties
Using userBuildPropertiesFile: /home/jerome/build.properties
Using projectPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/reporting/jsp/project.properties
Using projectBuildPropertiesFile: /home/jerome/Dev/CruiseControl/cruisecontrol.new/reporting/jsp/build.properties
Unexpected error evaluating expression
java.lang.ClassCastException
at org.apache.maven.MavenUtils.integrateMapInContext(MavenUtils.java:820)
at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:240)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:144)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:123)
at org.apache.maven.MavenUtils.getProjects(MavenUtils.java:290)
at org.apache.maven.jelly.tags.maven.ReactorTag.getSortedProjects(ReactorTag.java:400)
at org.apache.maven.jelly.tags.maven.ReactorTag.doTag(ReactorTag.java:296)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:634)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:266)
at org.apache.maven.cli.App.doMain(App.java:486)
at org.apache.maven.cli.App.main(App.java:1215)
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:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Note:
using
maven.multiproject.includes=main/project.xml
or
maven.multiproject.includes=reporting/jsp/project.xml
do NOT result in the problem.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org