stindex depends on storagemanager
Now I have a clean-all goal as follows:
<project
xmlns:m="jelly:maven"
xmlns:j="jelly:core">
<goal name="clean-all">
<m:reactor
basedir="${basedir}/.."
includes="*/project.xml"
excludes="stindex-build/project.xml"
goals="clean"
banner="Cleaning"
ignoreFailures="false"
/></goal>
...
</project>
If I run clean-all with the storagemanager jar not in the repository then maven fails:
C:\eclipse\workspace\stindex-new\stindex-build>maven clean-all __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-rc4
Starting the reactor... Our processing order: A storagemanager library A cool spatio-temporal index library +---------------------------------------- | Cleaning A storagemanager library | Memory: 2M/3M +---------------------------------------- build:start:
clean-all: build:start:
clean:clean:
[delete] Deleting directory C:\eclipse\workspace\stindex-new\storagemanager\target
+----------------------------------------
| Cleaning A cool spatio-temporal index library
| Memory: 3M/4M
+----------------------------------------
Attempting to download storagemanager-0.1-b4.jar.
WARNING: Failed to download storagemanager-0.1-b4.jar.
BUILD SUCCESSFUL
Total time: 4 seconds
Finished at: Sun Jul 11 11:51:28 EDT 2004
I'd like in this case to be able to either:
1. clean the project dirs even though the storagemanager jar does not exist (since in this case stindex doesn't *really* depend on storagemanager)
2. if that's not possible then to have reactor build and install the storagemanager jar when it finds that the jar does not exist then clean out the stindex project.
Is that possible?
Omair
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
