lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Male (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-3948) Experiment with placing poms outside of src
Date Thu, 05 Apr 2012 03:54:35 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-3948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris Male updated LUCENE-3948:
-------------------------------

    Attachment: LUCENE-3948.patch

Updated patch based on Steve's last

Changes:
- {{get-maven-poms}} now places all the poms in {{maven-build/}} at the top-level.  
- All build directories are now changed to {{target/}} like they are in a traditional Maven
project.  This means the build and poms sit next to each other
- Classes and test classes now output to {{target/classes}} and {{target/test-classes}} like
in a traditional Maven project.
- {{module-path}} is updated to the new pom location and to leverage {{module-directory}}
for easier maintainence. 

TODO
- Connect {{generate-maven-artifacts}} to this new process.
- Add mechanism to clean {{maven-build}}
- Add {{maven-build}} as an svn:ignore dir.
- Remove svn:ignore for pom.xml in src directories.
                
> Experiment with placing poms outside of src
> -------------------------------------------
>
>                 Key: LUCENE-3948
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3948
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: general/build
>            Reporter: Chris Male
>            Priority: Minor
>         Attachments: LUCENE-3948.patch, LUCENE-3948.patch, LUCENE-3948.patch
>
>
> Recent work in LUCENE-3944 has changed how our generated pom.xml files are handled during
release preparation, placing them in build/ instead.  However get-maven-poms still places
the poms inside src/ so you can use them to drive a build.  What I think would be ideal is
if we could unify the release handling of the poms and the normal building handling, so that
the poms can sit outside of src and serve both purposes.  
> Some time ago I investigated how the ANT project handles its own Maven integration and
it has its poms sitting in their own directory.  They then reference the actual src locations
inside the poms.  This works for ANT but with a warning since some of their tests don't work
due to how the Maven surefire plugin works, so they skip their tests.
> I have done some quick testing of my own and this process does seem to work for our poms
and tests.  I now want to take this to a full scale POC and see if it works fully.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message