> -----Original Message----- > From: sebb [mailto:seb...@gmail.com] > Sent: Tuesday, October 19, 2010 04:11 > To: Commons Developers List > Subject: Re: [VFS] Build problem > > Mvn site works OK for me with Maven 2.2.1, but you may need to run mvn > install once first.
That did it. I just ran "mvn site" after confirming that "mvn install" worked. Now "mvn clean site" works. Go figure. Sigh, shakes head at Maven... Gary > > > On 19 October 2010 04:42, Gary Gregory <ggreg...@seagullsoftware.com> wrote: > > Ugh! We need an expert! :) > > > > Gary > > > >> -----Original Message----- > >> From: jcar...@carmanconsulting.com [mailto:jcar...@carmanconsulting.com] On > >> Behalf Of James Carman > >> Sent: Monday, October 18, 2010 20:38 > >> To: Commons Developers List > >> Subject: Re: [VFS] Build problem > >> > >> I have version 1024102, but the mvn site fails for me, too (I'm > >> running maven 3.0) . Here's the output: > >> > >> [INFO] Scanning for projects... > >> [WARNING] > >> [WARNING] Some problems were encountered while building the effective > >> model for org.apache.commons:commons-vfs:jar:2.0-S > >> NAPSHOT > >> [WARNING] 'build.plugins.plugin.version' for > >> org.apache.maven.plugins:maven-idea-plugin is missing. @ > >> org.apache.commons > >> :commons-parent:17, line 317, column 15 > >> [WARNING] 'repositories.repository.layout' for apache.m1 uses the > >> unsupported value 'legacy', artifact resolution might > >> fail. @ org.apache.commons:commons-vfs-project:2.0-SNAPSHOT, > >> C:\Users\jcarman\IdeaProjects\commons-vfs\pom.xml, line 424 > >> , column 15 > >> [WARNING] > >> [WARNING] Some problems were encountered while building the effective > >> model for org.apache.commons:commons-vfs-examples: > >> jar:2.0-SNAPSHOT > >> [WARNING] 'build.plugins.plugin.version' for > >> org.apache.maven.plugins:maven-idea-plugin is missing. @ > >> org.apache.commons > >> :commons-parent:17, line 317, column 15 > >> [WARNING] 'repositories.repository.layout' for apache.m1 uses the > >> unsupported value 'legacy', artifact resolution might > >> fail. @ org.apache.commons:commons-vfs-project:2.0-SNAPSHOT, > >> C:\Users\jcarman\IdeaProjects\commons-vfs\pom.xml, line 424 > >> , column 15 > >> [WARNING] > >> [WARNING] Some problems were encountered while building the effective > >> model for org.apache.commons:commons-vfs-sandbox:j > >> ar:2.0-SNAPSHOT > >> [WARNING] 'build.plugins.plugin.version' for > >> org.apache.maven.plugins:maven-idea-plugin is missing. @ > >> org.apache.commons > >> :commons-parent:17, line 317, column 15 > >> [WARNING] 'repositories.repository.layout' for apache.m1 uses the > >> unsupported value 'legacy', artifact resolution might > >> fail. @ org.apache.commons:commons-vfs-project:2.0-SNAPSHOT, > >> C:\Users\jcarman\IdeaProjects\commons-vfs\pom.xml, line 424 > >> , column 15 > >> [WARNING] > >> [WARNING] Some problems were encountered while building the effective > >> model for org.apache.commons:commons-vfs-project:p > >> om:2.0-SNAPSHOT > >> [WARNING] 'build.plugins.plugin.version' for > >> org.apache.maven.plugins:maven-idea-plugin is missing. @ > >> org.apache.commons > >> :commons-parent:17, line 317, column 15 > >> [WARNING] 'repositories.repository.layout' for apache.m1 uses the > >> unsupported value 'legacy', artifact resolution might > >> fail. @ line 424, column 15 > >> [WARNING] > >> [WARNING] It is highly recommended to fix these problems because they > >> threaten the stability of your build. > >> [WARNING] > >> [WARNING] For this reason, future Maven versions might no longer > >> support building such malformed projects. > >> [WARNING] > >> [INFO] -------------------------------------------------------------------- > --- > >> - > >> [INFO] Reactor Build Order: > >> [INFO] > >> [INFO] Commons VFS > >> [INFO] Commons VFS Core > >> [INFO] Commons VFS Examples > >> [INFO] Commons VFS Sandbox > >> [INFO] > >> [INFO] -------------------------------------------------------------------- > --- > >> - > >> [INFO] Building Commons VFS 2.0-SNAPSHOT > >> [INFO] -------------------------------------------------------------------- > --- > >> - > >> [INFO] > >> [INFO] --- maven-site-plugin:2.0.1:site (default-site) @ commons-vfs- > project - > >> -- > >> [INFO] Unable to load parent project from a relative path: 1 problem > >> was encountered while building the effective model > >> [FATAL] Non-readable POM C:\Users\jcarman\IdeaProjects\pom.xml: > >> C:\Users\jcarman\IdeaProjects\pom.xml (The system cannot > >> find the file specified) @ > >> for project at C:\Users\jcarman\IdeaProjects\pom.xml for project at > >> C:\Users\jcarman\IdeaProjects\pom.xml > >> [INFO] Parent project loaded from repository. > >> [INFO] -------------------------------------------------------------------- > --- > >> - > >> [INFO] Reactor Summary: > >> [INFO] > >> [INFO] Commons VFS ....................................... FAILURE [0.598s] > >> [INFO] Commons VFS Core .................................. SKIPPED > >> [INFO] Commons VFS Examples .............................. SKIPPED > >> [INFO] Commons VFS Sandbox ............................... SKIPPED > >> [INFO] -------------------------------------------------------------------- > --- > >> - > >> [INFO] BUILD FAILURE > >> [INFO] -------------------------------------------------------------------- > --- > >> - > >> [INFO] Total time: 0.843s > >> [INFO] Finished at: Mon Oct 18 23:36:16 EDT 2010 > >> [INFO] Final Memory: 10M/245M > >> [INFO] -------------------------------------------------------------------- > --- > >> - > >> [ERROR] Failed to execute goal > >> org.apache.maven.plugins:maven-site-plugin:2.0.1:site (default-site) > >> on project commons-v > >> fs-project: SiteToolException: The site descriptor cannot be resolved > >> from the repository: ArtifactResolutionException: > >> Unable to locate site descriptor: Could not transfer artifact > >> org.apache.commons:commons-parent:xml:site_en:17 from apac > >> he.m1 (http://people.apache.org/repo/m1-snapshot-repository/): No > >> connector available to access repository apache.m1 (ht > >> tp://people.apache.org/repo/m1-snapshot-repository/) of type legacy > >> using the available factories WagonRepositoryConnect > >> orFactory > >> [ERROR] org.apache.commons:commons-parent:xml:17 > >> [ERROR] > >> [ERROR] from the specified remote repositories: > >> [ERROR] apache.snapshots.https > >> (https://repository.apache.org/content/repositories/snapshots, > >> releases=false, snapshots= > >> true), > >> [ERROR] apache.snapshots > >> (http://people.apache.org/repo/m2-snapshot-repository/, > >> releases=false, snapshots=true), > >> [ERROR] apache.m1 > >> (http://people.apache.org/repo/m1-snapshot-repository/, releases=true, > >> snapshots=true), > >> [ERROR] central (http://repo1.maven.org/maven2, releases=true, > >> snapshots=false) > >> [ERROR] -> [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 > >> > >> On Mon, Oct 18, 2010 at 11:18 PM, Gary Gregory > >> <ggreg...@seagullsoftware.com> wrote: > >> > Hey James, > >> > > >> > I have: > >> > > >> >>svn up > >> > At revision 1024093. > >> > > >> > But I ran "mvn site" > >> > > >> > When I run "mvn install" the build is successful. > >> > > >> > Can you test "mvn site" on your set up please? > >> > > >> > Gary Gregory > >> > Senior Software Engineer > >> > Rocket Software > >> > 3340 Peachtree Road, Suite 820 . Atlanta, GA 30326 . USA > >> > Tel: +1.404.760.1560 > >> > Email: ggreg...@seagullsoftware.com > >> > Web: seagull.rocketsoftware.com > >> > > >> > > >> >> -----Original Message----- > >> >> From: jcar...@carmanconsulting.com [mailto:jcar...@carmanconsulting.com] > On > >> >> Behalf Of James Carman > >> >> Sent: Monday, October 18, 2010 20:07 > >> >> To: Commons Developers List > >> >> Subject: Re: [VFS] Build problem > >> >> > >> >> I just did an "svn update" on trunk and ran "mvn install" and it > >> >> worked fine for me. > >> >> > >> >> On Mon, Oct 18, 2010 at 10:39 PM, Gary Gregory > >> >> <ggreg...@seagullsoftware.com> wrote: > >> >> > When I run a maven build, I get: > >> >> > > >> >> > [INFO] Compiling 14 source files to > >> >> > C:\Users\ggregory\b\svn\apache.org\commons\vfs\trunk\sandbox\target\classes > >> >> > [INFO] ------------------------------------------------------------- > >> >> > [ERROR] COMPILATION ERROR : > >> >> > [INFO] ------------------------------------------------------------- > >> >> > [ERROR] > >> >> > >> > \Users\ggregory\b\svn\apache.org\commons\vfs\trunk\sandbox\src\main\java\org\a > >> >> pache\commons\vfs\provider\smb\SmbFileNameParser.java:[52,30] cannot > find > >> >> symbol > >> >> > symbol : method getUserName() > >> >> > location: class > >> org.apache.commons.vfs.provider.HostFileNameParser.Authority > >> >> > > >> >> > [ERROR] > >> >> > >> > \Users\ggregory\b\svn\apache.org\commons\vfs\trunk\sandbox\src\main\java\org\a > >> >> pache\commons\vfs\provider\smb\SmbFileNameParser.java:[76,16] cannot > find > >> >> symbol > >> >> > symbol : method getScheme() > >> >> > location: class > >> org.apache.commons.vfs.provider.HostFileNameParser.Authority > >> >> > > >> >> > [ERROR] > >> >> > >> > \Users\ggregory\b\svn\apache.org\commons\vfs\trunk\sandbox\src\main\java\org\a > >> >> pache\commons\vfs\provider\smb\SmbFileNameParser.java:[77,16] cannot > find > >> >> symbol > >> >> > symbol : method getHostName() > >> >> > location: class > >> org.apache.commons.vfs.provider.HostFileNameParser.Authority > >> >> > > >> >> > [ERROR] > >> >> > >> > \Users\ggregory\b\svn\apache.org\commons\vfs\trunk\sandbox\src\main\java\org\a > >> >> pache\commons\vfs\provider\smb\SmbFileNameParser.java:[78,16] cannot > find > >> >> symbol > >> >> > symbol : method getPort() > >> >> > location: class > >> org.apache.commons.vfs.provider.HostFileNameParser.Authority > >> >> > > >> >> > [ERROR] > >> >> > >> > \Users\ggregory\b\svn\apache.org\commons\vfs\trunk\sandbox\src\main\java\org\a > >> >> pache\commons\vfs\provider\smb\SmbFileNameParser.java:[80,16] cannot > find > >> >> symbol > >> >> > symbol : method getPassword() > >> >> > location: class > >> org.apache.commons.vfs.provider.HostFileNameParser.Authority > >> >> > > >> >> > [ERROR] > >> >> > >> > \Users\ggregory\b\svn\apache.org\commons\vfs\trunk\sandbox\src\main\java\org\a > >> >> pache\commons\vfs\provider\smb\SmbFileNameParser.java:[75,15] internal > >> error; > >> >> cannot inst > >> >> > antiate > >> >> > >> > SmbFileName(java.lang.String,java.lang.String,int,java.lang.String,java.lang.S > >> >> > >> > tring,java.lang.String,java.lang.String,java.lang.String,org.apache.commons.vf > >> >> s.FileType) > >> >> > at org.apache.commons.vfs.provider.smb.SmbFileName to () > >> >> > > >> >> > [INFO] 6 errors > >> >> > [INFO] ------------------------------------------------------------- > >> >> > [INFO] --------------------------------------------------------------- > --- > >> --- > >> >> --- > >> >> > [ERROR] BUILD FAILURE > >> >> > [INFO] --------------------------------------------------------------- > --- > >> --- > >> >> --- > >> >> > [INFO] Compilation failure > >> >> > > >> >> > > >> >> > >> > \Users\ggregory\b\svn\apache.org\commons\vfs\trunk\sandbox\src\main\java\org\a > >> >> pache\commons\vfs\provider\smb\SmbFileNameParser.java:[52,30] cannot > find > >> >> symbol > >> >> > symbol : method getUserName() > >> >> > location: class > >> org.apache.commons.vfs.provider.HostFileNameParser.Authority > >> >> > > >> >> > > >> >> > >> > \Users\ggregory\b\svn\apache.org\commons\vfs\trunk\sandbox\src\main\java\org\a > >> >> pache\commons\vfs\provider\smb\SmbFileNameParser.java:[76,16] cannot > find > >> >> symbol > >> >> > symbol : method getScheme() > >> >> > location: class > >> org.apache.commons.vfs.provider.HostFileNameParser.Authority > >> >> > > >> >> > > >> >> > >> > \Users\ggregory\b\svn\apache.org\commons\vfs\trunk\sandbox\src\main\java\org\a > >> >> pache\commons\vfs\provider\smb\SmbFileNameParser.java:[77,16] cannot > find > >> >> symbol > >> >> > symbol : method getHostName() > >> >> > location: class > >> org.apache.commons.vfs.provider.HostFileNameParser.Authority > >> >> > > >> >> > > >> >> > >> > \Users\ggregory\b\svn\apache.org\commons\vfs\trunk\sandbox\src\main\java\org\a > >> >> pache\commons\vfs\provider\smb\SmbFileNameParser.java:[78,16] cannot > find > >> >> symbol > >> >> > symbol : method getPort() > >> >> > location: class > >> org.apache.commons.vfs.provider.HostFileNameParser.Authority > >> >> > > >> >> > > >> >> > >> > \Users\ggregory\b\svn\apache.org\commons\vfs\trunk\sandbox\src\main\java\org\a > >> >> pache\commons\vfs\provider\smb\SmbFileNameParser.java:[80,16] cannot > find > >> >> symbol > >> >> > symbol : method getPassword() > >> >> > location: class > >> org.apache.commons.vfs.provider.HostFileNameParser.Authority > >> >> > > >> >> > > >> >> > >> > \Users\ggregory\b\svn\apache.org\commons\vfs\trunk\sandbox\src\main\java\org\a > >> >> pache\commons\vfs\provider\smb\SmbFileNameParser.java:[75,15] internal > >> error; > >> >> cannot instantiate > >> >> > > >> >> > >> > SmbFileName(java.lang.String,java.lang.String,int,java.lang.String,java.lang.S > >> >> > >> > tring,java.lang.String,java.lang.String,java.lang.String,org.apache.commons.vf > >> >> s.FileType) at org. > >> >> > apache.commons.vfs.provider.smb.SmbFileName to () > >> >> > > >> >> > > >> >> > [INFO] --------------------------------------------------------------- > --- > >> --- > >> >> --- > >> >> > [INFO] For more information, run Maven with the -e switch > >> >> > [INFO] --------------------------------------------------------------- > --- > >> --- > >> >> --- > >> >> > [INFO] Total time: 1 minute 35 seconds > >> >> > [INFO] Finished at: Mon Oct 18 19:35:53 PDT 2010 > >> >> > [INFO] Final Memory: 114M/263M > >> >> > [INFO] --------------------------------------------------------------- > --- > >> --- > >> >> --- > >> >> > > >> >> > I am on Maven 2.2.1 on Java 1.6.0_21 64 bit on Windows Vista Business > N > >> 64 > >> >> bit. > >> >> > > >> >> > Thank you, > >> >> > > >> >> > Gary Gregory > >> >> > Senior Software Engineer > >> >> > Rocket Software > >> >> > 3340 Peachtree Road, Suite 820 . Atlanta, GA 30326 . USA > >> >> > Tel: +1.404.760.1560 > >> >> > Email: ggreg...@seagullsoftware.com > >> >> > Web: seagull.rocketsoftware.com > >> >> > > >> >> > > >> >> > >> >> --------------------------------------------------------------------- > >> >> 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 > > > > > > --------------------------------------------------------------------- > > 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