On 9 September 2011 13:56, sebb <seb...@gmail.com> wrote: > Also, might be worth seeing if Commons Parent 22-SNAPSHOT helps with Maven 3. > That has an updated version of the site plugin. > > Just update the Math pom locally to 22-SNAPSHOT and add the snapshot > repo to your settings.xml: > > <profile> > <id>apache.snapshots</id> > <activation> > <activeByDefault>true</activeByDefault> <!-- or you could use > false and -Papache.snapshots --> > </activation> > <repositories> > <repository> > <id>apache.snapshots</id> > <name>Apache Snapshot Repository</name> > <url>http://repository.apache.org/snapshots</url> > <releases> > <enabled>false</enabled> > </releases> > </repository> > </repositories> > </profile>
Actually, just found ot that using <activeByDefault> is a bad idea, because it only applies if no other profile is activated. In the global or user settings.xml, one can put: <activeProfiles> <activeProfile>apache.snapshots</activeProfile> <activeProfile>...</activeProfile> </activeProfiles> <profiles> <profile> <id>apache.snapshots</id> ... and the listed profiles will always be active unless specifically disabled. > The snapshot repo is already included in the Apache Pom, which is the > parent of Commons Parent (i.e. grandparent of Math), and can be used > to resolve anything other than Commons Parent ... because if the > required version of CP is missing, Math does not know its grandparent > is the Apache POM. > > On 9 September 2011 06:15, Ralph Goers <ralph.go...@dslextreme.com> wrote: >> FWIW, I built the commons vfs site with Maven 3 and didn't have any issues. >> >> >> On Sep 8, 2011, at 10:00 PM, Greg Sterijevski wrote: >> >>> Okay will do. My primary computer died, so I moved to a Mac. Its a bit of >>> learning curve, even coming from linux. >>> >>> Thank you, >>> >>> -Greg >>> >>> On Thu, Sep 8, 2011 at 11:58 PM, Phil Steitz <phil.ste...@gmail.com> wrote: >>> >>>> I know some people have gotten maven 3 to work, but I think most [math] >>>> developers use maven 2. That's what I use at least. You might try that. >>>> >>>> Phil >>>> >>>> >>>> >>>> On Sep 8, 2011, at 9:19 PM, Greg Sterijevski <gsterijev...@gmail.com> >>>> wrote: >>>> >>>>> Hello All, >>>>> >>>>> I am seeing this. My build is on a Mac. Does anyone have any clues? >>>>> >>>>> [ERROR] Failed to execute goal >>>>> org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site (default-site) >>>> on >>>>> project commons-math: failed to get Reports: Unable to parse >>>> configuration >>>>> of mojo org.codehaus.mojo:findbugs-maven-plugin:2.1:findbugs for >>>> parameter >>>>> localRepository: Abstract class or interface >>>>> 'org.apache.maven.artifact.repository.DefaultArtifactRepository' cannot >>>> be >>>>> instantiated -> [Help 1] >>>>> [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/MojoExecutionException >>>>> >>>>> >>>>> Here is the result mvn --version >>>>> >>>>> Apache Maven 3.0.3 (r1075438; 2011-02-28 11:31:09-0600) >>>>> Maven home: /usr/share/maven >>>>> Java version: 1.5.0_30, vendor: Apple Inc. >>>>> Java home: >>>> /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home >>>>> Default locale: en_US, platform encoding: MacRoman >>>>> OS name: "mac os x", version: "10.5.8", arch: "i386", family: "unix" >>>>> >>>>> >>>>> Thank you, >>>>> >>>>> -Greg >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >>>> For additional commands, e-mail: dev-h...@commons.apache.org >>>> >>>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >> For additional commands, e-mail: dev-h...@commons.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org