Hi Andrew, Good point. The only reason this separation of "profiles" hasn't happened yet is that no one has expressed a need for it or thought to implement it. Obviously, we've now discovered the need throughout these unit testing discussions.
It does seem like a relatively easy way to better separate out the two different uses of Maven (at least until we are able to simplify the install process even further). Hopefully we can find a volunteer to look into this further. - Tim On 8/3/2010 6:56 AM, Andrew Woods wrote: > On a separate yet related note, one of the issues that has clearly > emerged from this discussion is that within the DSpace context the Maven > build framework is being leveraged for two differing uses: development & > installation. On the development side there are strong arguments for > having tests activated by default. On the installation side there are > strong arguments for having tests de-activated by default. > > Is there any reason why these two concerns can not be effectively > segregated through the use of "profiles"? > > The install profile could be some variation of: > > <profile> > <id>profile-install</id> > <activation> > ... > </activation> > <build> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-surefire-plugin</artifactId> > <configuration> > <skipTests>true</skipTests> > </configuration> > </plugin> > </plugins> > </build> > </profile> > > And, if necessary, an analogous counterpart could exist for the dev profile. > Andrew > > > On Tue, Aug 3, 2010 at 7:01 AM, Simon Brown <st...@cam.ac.uk > <mailto:st...@cam.ac.uk>> wrote: >> Also, I apologise to Stuart for choosing the wrong spelling of his >> name. There's probably a moral in there somewhere. :) >> >> -- >> Simon Brown <st...@cam.ac.uk <mailto:st...@cam.ac.uk>> - Cambridge > University Computing Service >> +44 1223 3 34714 - New Museums Site, Pembroke Street, Cambridge CB2 3QH >> >> >> >> > ------------------------------------------------------------------------------ >> The Palm PDK Hot Apps Program offers developers who use the >> Plug-In Development Kit to bring their C/C++ apps to Palm for a share >> of $1 Million in cash or HP Products. Visit us here for more details: >> http://p.sf.net/sfu/dev2dev-palm >> _______________________________________________ >> Dspace-devel mailing list >> Dspace-devel@lists.sourceforge.net > <mailto:Dspace-devel@lists.sourceforge.net> >> https://lists.sourceforge.net/lists/listinfo/dspace-devel >> > > > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > > > > _______________________________________________ > Dspace-devel mailing list > Dspace-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/dspace-devel ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel