[ 
http://jira.codehaus.org/browse/JBEHAVE-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=246588#action_246588
 ] 

Alan Parkinson commented on JBEHAVE-402:
----------------------------------------

I'm currently using the run-stories-as-paths goal with my stories located in 
/src/main/resources
I can see from the examples that the stories are mixed with the source code but 
I haven't done this out of habit and I have other configuration files stored in 
the resources folder.

The documentation (http://jbehave.org/reference/stable/maven-goals.html) also 
didn't indicate that this property couldn't be modified.

If there is a better way to layout my project I'm happy to listen

> The sourceDirectory propertey of the jbehave-maven-plugin is read-only in 
> maven 2.2.1
> -------------------------------------------------------------------------------------
>
>                 Key: JBEHAVE-402
>                 URL: http://jira.codehaus.org/browse/JBEHAVE-402
>             Project: JBehave
>          Issue Type: Bug
>          Components: Maven Plugin
>    Affects Versions: 3.1.2
>         Environment: Maven 2.2.1
>            Reporter: Alan Parkinson
>            Priority: Minor
>             Fix For: 3.x
>
>
> Modifying the sourceDirectory and testSourceDirectory properties works as 
> expected under Maven 3 but a error occurs under Maven 2.2.1 "ERROR: Cannot 
> override read-only parameter: sourceDirectory in goal: 
> jbehave:run-stories-as-paths"
> Upgrading to Maven 3 is currently not a option as this was discovered by a CI 
> build running in  Hudson and it does not support Maven 3 as a project type.

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to