[ 
https://issues.apache.org/jira/browse/JENA-732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14337612#comment-14337612
 ] 

ASF GitHub Bot commented on JENA-732:
-------------------------------------

GitHub user stain opened a pull request:

    https://github.com/apache/jena/pull/37

    JENA-732 jena-maven-tools outputs to target/generated-sources/jena

    fixes JENA-731 and JENA-732
    
    This reverts the reverted commit by Benson Margulies so that generated 
sources are put in `target/generated-sources/jena` according to Maven plugin 
conventions, instead of straight into `target/generated-sources`.  (JENA-732)
    
    This also solves JENA-731 so that the source files are also compiled by 
Maven. I've therefore added tests to `src/it` to test for presence of the 
`*.class` files 
    
    .. except for where `<sources>` configuration has been overridden as in 
[schemagen-integration-2](https://github.com/stain/jena/blob/JENA-732-reborn/jena-maven-tools/src/it/schemagen-integration-2/verify.bsh#L31)
 - but should it perhaps also add those sources to the compile path? Other 
plugins like jaxb-maven-plugin usually do..

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/stain/jena JENA-732-reborn

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/jena/pull/37.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #37
    
----
commit bdf57f582e4f55536d00932a7b057124516c59f8
Author: Stian Soiland-Reyes <[email protected]>
Date:   2015-02-26T00:32:29Z

    Revert "JENA-731 JENA-732: revert pending dicussion."
    
    This reverts commit 8532f01f41a016cb9ea1d27bfc25c9e13e5f6bbc.

commit f8a3b55793a12aa977015c8594fc81b2c0e26557
Author: Stian Soiland-Reyes <[email protected]>
Date:   2015-02-26T00:40:18Z

    JENA-732 Test generated source directory

commit 9d791a273e02df931646b1ddce9b0b60e3e0c4f7
Author: Stian Soiland-Reyes <[email protected]>
Date:   2015-02-26T00:49:30Z

    JENA-731: Test that target/classes also compiled the classes
    
    Discuss: Should it still add to compile path when <source> was
    overriden? It currently does not..

----


> Default generation target for schemagen maven plugin needs a dir
> ----------------------------------------------------------------
>
>                 Key: JENA-732
>                 URL: https://issues.apache.org/jira/browse/JENA-732
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Maven Tools
>    Affects Versions: Jena 2.11.2
>            Reporter: Benson Margulies
>
> target/generated-sources is the root of roots; it typically contains 
> directories that in turn contain directories. Adding a /jena would make 
> sense. Also, making the directory configurable would be nice.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to