Andrea Aime wrote: > The leave it out of the release still escapes me. Agreed - there have been some improvements to the Maven assembly process; so much so our codebase is broken unless we > How to we make the assembly plugin ignore the unsupported > modules? It would be nice to have a profile that removes > the unsupported section from the build, but profiles > are addictive, not subtractive in my understanding. I have been able to get the effect of a subtractive profile by using: 1. write a profile that adds the unsupported modules 2. set the profile to engage if a property (say -Drelease) is undefined or false 3. building like normal will include these modules 4. building with -Drelease would ignore these modules
This is how we switch between the oracle dummy and oracle real driver. That said I am not sure this is the best solution; I would rather research what new facilities the maven assembly process has going for it. > Oh well, release does not happen that often, a quick and dirty way to > have unsupported stuff out of the release is to just alter manually > the pom in the tag before making the distribution binaries, and remove > unsupported from the list of modules. Somehow I expect us to be releasing more; I like to make monthly releases available when every I have budget for it. > That would still be ok provided we keep on deploying the unsupported > jars to maven (so that GeoServer and uDig can make their own > releases). Thought... publishing > jars on the maven repo can still be seen as a distribution action. I understand - I am comfortable with the distinction; may main concern is that innocent by standards do no download something from our website expecting it to be all nice and ready. If we feel strongly about maven we could change the artifact group. Andrea I feel we should review the developers guide and see if we can clarify the distinction. Jody ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
