[
https://issues.apache.org/jira/browse/MESOS-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vinod Kone resolved MESOS-1268.
-------------------------------
Resolution: Fixed
Fix Version/s: 0.19.0
commit d93037855340c5092679c24a07e857580c328ff0
Author: Tobi Knaup <[email protected]>
Date: Tue Apr 29 19:56:12 2014 -0700
Fixed distclean break during maven clean up.
The pom file gets cleaned up before clean-java runs, which calls maven
and fails. Solution is to just remove the target dir, which is what
maven does as well.
Review: https://reviews.apache.org/r/20874
> distclean break during maven clean up
> -------------------------------------
>
> Key: MESOS-1268
> URL: https://issues.apache.org/jira/browse/MESOS-1268
> Project: Mesos
> Issue Type: Bug
> Affects Versions: 0.18.1
> Reporter: Niklas Quarfot Nielsen
> Assignee: Tobi Knaup
> Priority: Blocker
> Fix For: 0.19.0
>
>
> Steps to reproduce:
> $ mkdir build
> $ cd build
> $ ../configure
> $ make distclean
> Snippit:
> rm -f slave/containerizer/isolators/cgroups/.dirstamp
> rm -f slave/containerizer/isolators/cgroups/*.lo
> rm -f state/.deps/.dirstamp
> rm -f state/*.o
> rm -f state/.dirstamp
> rm -f state/*.lo
> rm -f tests/.deps/.dirstamp
> rm -f tests/*.o
> rm -f tests/.dirstamp
> rm -f zookeeper/.deps/.dirstamp
> rm -f zookeeper/.dirstamp
> rm -f zookeeper/*.o
> rm -f zookeeper/*.lo
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR] The project
> (/home/nnielsen/mesos/build/mesos-0.18.1/_build/src/java/mesos.pom) has 1
> error
> [ERROR] Non-readable POM
> /home/nnielsen/mesos/build/mesos-0.18.1/_build/src/java/mesos.pom:
> /home/nnielsen/mesos/build/mesos-0.18.1/_build/src/java/mesos.pom (No such
> file or directory)
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> make[2]: *** [clean-java] Error 1
> make[2]: Leaving directory
> `/home/nnielsen/mesos/build/mesos-0.18.1/_build/src'
> make[1]: *** [distclean-recursive] Error 1
> make[1]: Leaving directory `/home/nnielsen/mesos/build/mesos-0.18.1/_build'
> make: *** [distcheck] Error 1
> Reason:
> mesos.pom is created as a configure.ac config file and is removed (alongside
> everything else in CONFIG_CLEAN_FILES) before 'mvn -f java/mesos.pom clean'
> is called during distclean.
--
This message was sent by Atlassian JIRA
(v6.2#6252)