On Thu, Nov 25, 2010 at 11:50 PM, Luciano Resende <[email protected]> wrote: > On Thu, Nov 25, 2010 at 7:20 AM, <[email protected]> wrote: >> Author: antelder >> Date: Thu Nov 25 15:20:38 2010 >> New Revision: 1039071 >> >> URL: http://svn.apache.org/viewvc?rev=1039071&view=rev >> Log: >> Add a build profile to build all thats necessary for the all distro as >> quickly as possible, so no tests get run, intended mainly for Hudson to try >> to get some nightly builds published more often >> >> Modified: >> tuscany/sca-java-2.x/trunk/pom.xml >> >> Modified: tuscany/sca-java-2.x/trunk/pom.xml >> URL: >> http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/pom.xml?rev=1039071&r1=1039070&r2=1039071&view=diff >> ============================================================================== >> --- tuscany/sca-java-2.x/trunk/pom.xml (original) >> +++ tuscany/sca-java-2.x/trunk/pom.xml Thu Nov 25 15:20:38 2010 >> @@ -669,6 +669,23 @@ org.apache.tuscany.sca.assembly:org.apac >> </profile> >> >> <profile> >> + <id>all-distro</id> >> + <properties> >> + <skipTests>true</skipTests> >> + <buildZips>true</buildZips> >> + </properties> >> + <modules> >> + <module>maven/maven-tuscany-plugin</module> >> + <module>modules</module> >> + <module>features</module> >> + <module>distribution/all</module> >> + </modules> >> + <build> >> + <defaultGoal>install</defaultGoal> >> + </build> >> + </profile> >> + >> + <profile> >> <id>base</id> >> <modules> >> <module>modules/assembly</module> >> >> >> > > > The 2.x code base has been growing and the time to perform a full > build has grown as well, and I know some of us are relying on Hudson > to perform a full build with all tests to make sure the code is stable > and no regressions have been introduced. > > From the comments on this commit, it seems that we are going to start > skipping tests in Hudson builds. I don't think it's a good idea to > start building AND publishing snapshots of modules that are not even > tested. > > Thoughts ? >
Just an update: The Hudson builds are already using this new profile, which gives the false impression that the build is successful: https://hudson.apache.org/hudson/job/Tuscany-2x/969/ But when I try to build it locally I see multiple issues, like the one below in the samples. WARNING: Unresolved resource META-INF/services/org.apache.tuscany.sca.provider.ImplementationProviderFactory found in bundle: 255 org.apache.tuscany.sca.implementation.web.runtime INSTALLED Nov 25, 2010 11:38:08 PM org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscoverer getServiceDeclarations SEVERE: Bundle: org.apache.tuscany.sca.implementation.web.runtime - The bundle could not be resolved. Reason: Missing Constraint: Import-Package: javax.servlet.jsp; version="0.0.0" org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Import-Package: javax.servlet.jsp; version="0.0.0" -- Luciano Resende http://people.apache.org/~lresende http://twitter.com/lresende1975 http://lresende.blogspot.com/
