You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Douglas WF Acheson <do...@bpsserver.com> on 2006/05/09 15:58:58 UTC

Trying to run goal site

Hello,

  I am trying to run the goal site for my project, and I am running into
problems.  Specifically, unable to find required dependencies, here is
the output :

1) easymock:easymockcontainer:jar:1.0.1

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=easymock
-DartifactId=easymockcontainer \
          -Dversion=1.0.1 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) mycompany:myproject:jar:5.0
        2) drools:drools-decisiontables:jar:2.1
        3) drools:drools-core:jar:2.1
        4) easymock:easymockcontainer:jar:1.0.1

2) poi:poi:jar:1.1

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=poi -DartifactId=poi \
          -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) mycompany:myproject:jar:5.0
        2) drools:drools-decisiontables:jar:2.1
        3) poi:poi:jar:1.1


If these artifacts do not exist, how can I continue?  I tried looking
for easymockcontainer on the web, but could not find it.

Signed confused :-)




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Wendy Smoak <ws...@gmail.com>.
On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> Okay so I got passed my errors of missing dependencies (which are not
> really used) by mucking with the poms (not the best way, but it worked
> so I can move on).  Now I get a NPE when running the site goal, which is
> incl'd below.  How do I know what the arguments are that are needed for
> this goal or plugin (not sure of terminology).

I saw something like that recently when I tried to use an older site
plugin to track down a problem.

Try 'mvn -U site' to make sure you're using the latest of everything.

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Wayne Fay <wa...@gmail.com>.
Rajesh,

I'm not sure, I just know that using system scoped dependencies is
generally a bad idea, and seems to have caused problems with previous
versions of the site plugin.

Upgrade to the latest site plugin -- for some reason, I seem to recall
it being fixed -- but I don't use system scoped dependencies, so I'm
not positive.

Wayne

On 5/24/06, rajesh978 <ra...@yahoo.com> wrote:
>
> Yes, if I remove the system scoped dependencies that error goes away. What is
> the problem ?
>
>
> Using any system scoped dependencies?
>
> Wayne
>
> --
> View this message in context: http://www.nabble.com/Trying+to+run+goal+site-t1584728.html#a4543084
> Sent from the Maven - Users forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by rajesh978 <ra...@yahoo.com>.
Yes, if I remove the system scoped dependencies that error goes away. What is
the problem ?


Using any system scoped dependencies?

Wayne

--
View this message in context: http://www.nabble.com/Trying+to+run+goal+site-t1584728.html#a4543084
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Wayne Fay <wa...@gmail.com>.
I'm not honestly sure if its a bug or not... It really depends on how
the versions are specified in the various poms. You can use
<version>[1.1.3]</version> to lock-in a specific version; its possible
the acegi pom specifies this explicitly, so Maven will not
automatically upgrade all your spring artifacts to the 1.2.4 release
as you might hope/expect.

You'll need to do more research into these specific artifacts to
figure out what's going on... And then perhaps file as a bug, if
necessary.

Wayne

On 5/17/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> Thx, I thought so.  Do you see this as a defect, or is this the way
> things are supposed to work?  I have no problems logging this as a
> defect (if that is what it is) and manipulating the pom file as a work
> around.  My concern is how many times will this I have to do this
> (rhetorical question).  So I guess what I am asking is, is this really a
> bug?
>
> Regards,
> Douglas WF Acheson
>
> On Wed, 2006-05-17 at 12:20 -0500, Wayne Fay wrote:
> > You could download the acegisecurity source code, "move it" under your
> > own company's groupId, modify the pom so it uses the newer Spring
> > 1.2.4, build and deploy it to your local corporate repo.
> >
> > Then adjust your own project's pom to reflect the new groupId etc.
> >
> > I'm sure this is more painful than you're probably interested in
> > dealing with, but it would work...
> >
> > Wayne
> >
> > On 5/17/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > Hello,
> > >
> > >  Thanks for the response. I wen through the exercise of using -X to
> > > resolve my compile issues when I started to use Maven2.
> > >
> > >   What happens (found out by using -X) is that Spring 1.1.3 is added to
> > > the classpath via the acegi (0.7) dependency, even though I have
> > > explicitly put the Spring 1.2.4 as a direct dependency in my pom.xml. It
> > > adds it before Spring 1.2.4.  So, to remove this from the classpath I
> > > used the exclusion on the acegi dependency, and that worked.
> > >
> > >   Now site does not work, grrr ....
> > >
> > > Regards,
> > > Douglas WF Acheson
> > >

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Douglas WF Acheson <do...@bpsserver.com>.
Thx, I thought so.  Do you see this as a defect, or is this the way
things are supposed to work?  I have no problems logging this as a
defect (if that is what it is) and manipulating the pom file as a work
around.  My concern is how many times will this I have to do this
(rhetorical question).  So I guess what I am asking is, is this really a
bug?

Regards,
Douglas WF Acheson

On Wed, 2006-05-17 at 12:20 -0500, Wayne Fay wrote:
> You could download the acegisecurity source code, "move it" under your
> own company's groupId, modify the pom so it uses the newer Spring
> 1.2.4, build and deploy it to your local corporate repo.
> 
> Then adjust your own project's pom to reflect the new groupId etc.
> 
> I'm sure this is more painful than you're probably interested in
> dealing with, but it would work...
> 
> Wayne
> 
> On 5/17/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > Hello,
> >
> >  Thanks for the response. I wen through the exercise of using -X to
> > resolve my compile issues when I started to use Maven2.
> >
> >   What happens (found out by using -X) is that Spring 1.1.3 is added to
> > the classpath via the acegi (0.7) dependency, even though I have
> > explicitly put the Spring 1.2.4 as a direct dependency in my pom.xml. It
> > adds it before Spring 1.2.4.  So, to remove this from the classpath I
> > used the exclusion on the acegi dependency, and that worked.
> >
> >   Now site does not work, grrr ....
> >
> > Regards,
> > Douglas WF Acheson
> >
> > On Wed, 2006-05-17 at 11:34 -0500, Wayne Fay wrote:
> > > I think you should try the following:
> > >
> > > 1. Add an explicit spring-core/springframework dependency node with
> > > the proper version.
> > > 2. Remove this exclusion node.
> > > 3. Run mvn -X and watch what version(s) of acegisecurity and
> > > springframework are used.
> > >
> > > Maven should automatically see that acegi needs springframework
> > > version 1.3, but since you've included version x (x > 1.3) in your
> > > list of dependent artifacts, it should use that version instead.
> > >
> > > Wayne
> > >
> > > On 5/17/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > Hello,
> > > >
> > > >   Okay so I have found out what the problem was.  I have in my pom.xml
> > > > the following (snippet here)
> > > >
> > > > <dependency>
> > > >         <groupId>acegisecurity</groupId>
> > > >         <artifactId>acegi-security</artifactId>
> > > >         <version>0.7.0</version>
> > > >         <scope>compile</scope>
> > > >         <exclusions>
> > > >                 <exclusion>
> > > >                         <artifactId>spring-core</artifactId>
> > > >                         <groupId>springframework</groupId>
> > > >                 </exclusion>
> > > >         </exclusions>
> > > > </dependency>
> > > >
> > > >
> > > > This causes site a problem.  I assume it is because I am using
> > > > exclusions to not include the version of Spring this guy depends on,
> > > > which is 1.3.  We use a later version of Spring (it is not an option to
> > > > upgrade to a later version of acegi nor is it an option to downgrade
> > > > Spring).
> > > >
> > > >  Any idea how I can compile and run site using the above?
> > > >
> > > >
> > > > Regards,
> > > > Douglas WF Acheson
> > > >
> > > >
> > > > On Fri, 2006-05-12 at 13:43 -0500, Wayne Fay wrote:
> > > > > Just for now, yes, I would exclude those dependencies manually in your
> > > > > pom, and specifically include the proper (relocated) dependencies.
> > > > >
> > > > > This is all trying to get your site generated properly. Once that
> > > > > works, then you can start optimizing your pom.
> > > > >
> > > > > Wayne
> > > > >
> > > > > On 5/12/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > > Thx for the input!  I have thought of that, but quickly realized I do
> > > > > > not directly depend upon those artifats, they are transient
> > > > > > dependencies.  Does it make sense that I modify the pom files in my
> > > > > > local repo to use exclude those dependencies?  That could be a lot of
> > > > > > work, just to have it change when a new update comes in.  And how would
> > > > > > that work for others on my team who need to run site?
> > > > > >
> > > > > > Thanks again ...
> > > > > >
> > > > > > dwfa
> > > > > >
> > > > > >
> > > > > > On Fri, 2006-05-12 at 12:51 -0500, Wayne Fay wrote:
> > > > > > > Based on those "... has been relocated..." statements, I would modify
> > > > > > > your dependencies to pull the artifacts from the org.springframework,
> > > > > > > javax.servlet, etc locations and see if that doesn't resolve your
> > > > > > > problems.
> > > > > > >
> > > > > > > Wayne
> > > > > > >
> > > > > > > On 5/12/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > > > > I am really stuck on this site thing (like a dog with a bone).
> > > > > > > >
> > > > > > > > I need to get a site up and running to show my boss :-().  I have gotten
> > > > > > > > a little farther.  When I run mvn site:site I get one html file
> > > > > > > >         integration.html
> > > > > > > > But, the goal fails on creating the dependencies.html file (report) with
> > > > > > > > the exception
> > > > > > > >
> > > > > > > > [INFO] Generate "Dependencies" report.
> > > > > > > > [DEBUG] While downloading springframework:spring-context:1.1.3
> > > > > > > >   This artifact has been relocated to
> > > > > > > > org.springframework:spring-context:1.1.3.
> > > > > > > >
> > > > > > > >
> > > > > > > > [DEBUG] While downloading servletapi:servletapi:2.3
> > > > > > > >   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> > > > > > > >
> > > > > > > >
> > > > > > > > [DEBUG] While downloading springframework:spring-webmvc:1.1.3
> > > > > > > >   This artifact has been relocated to
> > > > > > > > org.springframework:spring-webmvc:1.1.3.
> > > > > > > >
> > > > > > > >
> > > > > > > > [DEBUG] While downloading xml-apis:xml-apis:2.0.2
> > > > > > > >   This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
> > > > > > > >
> > > > > > > >
> > > > > > > > [DEBUG] While downloading jstl:jstl:1.0.2
> > > > > > > >   This artifact has been relocated to javax.servlet:jstl:1.0.2.
> > > > > > > >
> > > > > > > >
> > > > > > > > [DEBUG] While downloading servletapi:servletapi:2.3
> > > > > > > >   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> > > > > > > >
> > > > > > > >
> > > > > > > > [DEBUG] While downloading springframework:spring-mock:1.1.3
> > > > > > > >   This artifact has been relocated to
> > > > > > > > org.springframework:spring-mock:1.1.3.
> > > > > > > >
> > > > > > > >
> > > > > > > > [DEBUG] While downloading springframework:spring-web:1.1.3
> > > > > > > >   This artifact has been relocated to
> > > > > > > > org.springframework:spring-web:1.1.3.
> > > > > > > >
> > > > > > > >
> > > > > > > > [DEBUG] While downloading springframework:spring-orm:1.1.3
> > > > > > > >   This artifact has been relocated to
> > > > > > > > org.springframework:spring-orm:1.1.3.
> > > > > > > >
> > > > > > > >
> > > > > > > > [DEBUG] While downloading springframework:spring-dao:1.1.3
> > > > > > > >   This artifact has been relocated to
> > > > > > > > org.springframework:spring-dao:1.1.3.
> > > > > > > >
> > > > > > > >
> > > > > > > > [DEBUG] While downloading springframework:spring-aop:1.1.3
> > > > > > > >   This artifact has been relocated to
> > > > > > > > org.springframework:spring-aop:1.1.3.
> > > > > > > >
> > > > > > > >
> > > > > > > > [INFO]
> > > > > > > > ------------------------------------------------------------------------
> > > > > > > > [ERROR] FATAL ERROR
> > > > > > > > [INFO]
> > > > > > > > ------------------------------------------------------------------------
> > > > > > > > [INFO] null
> > > > > > > > [INFO]
> > > > > > > > ------------------------------------------------------------------------
> > > > > > > > [DEBUG] Trace
> > > > > > > > java.lang.NullPointerException
> > > > > > > >         at
> > > > > > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
> > > > > > > >         at
> > > > > > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> > > > > > > >         at
> > > > > > > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
> > > > > > > >         at
> > > > > > > > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
> > > > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > > > $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:456)
> > > > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:392)
> > > > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
> > > > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
> > > > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
> > > > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > > > $DependenciesRenderer.renderBody(DependenciesReport.java:277)
> > > > > > > >         at
> > > > > > > > org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
> > > > > > > >         at
> > > > > > > > org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:97)
> > > > > > > >         at
> > > > > > > > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:101)
> > > > > > > >         at
> > > > > > > > org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:67)
> > > > > > > >         at
> > > > > > > > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:239)
> > > > > > > >         at
> > > > > > > > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:115)
> > > > > > > >         at
> > > > > > > > org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:124)
> > > > > > > >         at
> > > > > > > > org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92)
> > > > > > > >         at
> > > > > > > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
> > > > > > > >         at
> > > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
> > > > > > > >         at
> > > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
> > > > > > > >         at
> > > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
> > > > > > > >         at
> > > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
> > > > > > > >         at
> > > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> > > > > > > >         at
> > > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
> > > > > > > >         at
> > > > > > > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> > > > > > > >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> > > > > > > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> > > > > > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > > >         at
> > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > >         at
> > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > > > > > > >         at
> > > > > > > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > > > > > > >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > > > > > > >         at
> > > > > > > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > > > > > > >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > > > > > >
> > > > > > > >
> > > > > > > > If I could get a hold of the source I would try and trace through it,
> > > > > > > > but I cannot get access to svn.apache.org.
> > > > > > > >
> > > > > > > > dwfa
> > > > > > > >
> > > > > > > >
> > > > > > > > On Thu, 2006-05-11 at 21:19 +0530, Vinod Panicker wrote:
> > > > > > > > > Hi,
> > > > > > > > >
> > > > > > > > > On 5/11/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > > > > > > Okay, now I am more confused :-).  I have been trying run the goal site
> > > > > > > > > > for a few days with no luck.  I believe I have tried all the suggestions
> > > > > > > > > > that have been provided (thanks to everyone).
> > > > > > > > > >
> > > > > > > > > >   I have the latest plugins, got this by using the -U option and added
> > > > > > > > > > the snapshot repository to my pom.  But, I am still getting the same
> > > > > > > > > > NPE.  It seems there are arguments that need to be provided to use site
> > > > > > > > > > (or one of its dependencies), but I do not know where to find this out
> > > > > > > > > > this information.
> > > > > > > > >
> > > > > > > > > Whatever snapshots you are using in your project, please download the
> > > > > > > > > sources and for each of them, do an 'mvn install'.  This should take
> > > > > > > > > care of the NPE, IMO.  I was having a similar problem and it went away
> > > > > > > > > when I compiled and installed the snapshot jars myself.
> > > > > > > > >
> > > > > > > > > Regards,
> > > > > > > > > Vinod.
> > > > > > > > >
> > > > > > > > > ---------------------------------------------------------------------
> > > > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > > > >
> > > > > > > >
> > > > > > > > ---------------------------------------------------------------------
> > > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > >
> > > > > >
> > > > > > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Wayne Fay <wa...@gmail.com>.
You could download the acegisecurity source code, "move it" under your
own company's groupId, modify the pom so it uses the newer Spring
1.2.4, build and deploy it to your local corporate repo.

Then adjust your own project's pom to reflect the new groupId etc.

I'm sure this is more painful than you're probably interested in
dealing with, but it would work...

Wayne

On 5/17/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> Hello,
>
>  Thanks for the response. I wen through the exercise of using -X to
> resolve my compile issues when I started to use Maven2.
>
>   What happens (found out by using -X) is that Spring 1.1.3 is added to
> the classpath via the acegi (0.7) dependency, even though I have
> explicitly put the Spring 1.2.4 as a direct dependency in my pom.xml. It
> adds it before Spring 1.2.4.  So, to remove this from the classpath I
> used the exclusion on the acegi dependency, and that worked.
>
>   Now site does not work, grrr ....
>
> Regards,
> Douglas WF Acheson
>
> On Wed, 2006-05-17 at 11:34 -0500, Wayne Fay wrote:
> > I think you should try the following:
> >
> > 1. Add an explicit spring-core/springframework dependency node with
> > the proper version.
> > 2. Remove this exclusion node.
> > 3. Run mvn -X and watch what version(s) of acegisecurity and
> > springframework are used.
> >
> > Maven should automatically see that acegi needs springframework
> > version 1.3, but since you've included version x (x > 1.3) in your
> > list of dependent artifacts, it should use that version instead.
> >
> > Wayne
> >
> > On 5/17/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > Hello,
> > >
> > >   Okay so I have found out what the problem was.  I have in my pom.xml
> > > the following (snippet here)
> > >
> > > <dependency>
> > >         <groupId>acegisecurity</groupId>
> > >         <artifactId>acegi-security</artifactId>
> > >         <version>0.7.0</version>
> > >         <scope>compile</scope>
> > >         <exclusions>
> > >                 <exclusion>
> > >                         <artifactId>spring-core</artifactId>
> > >                         <groupId>springframework</groupId>
> > >                 </exclusion>
> > >         </exclusions>
> > > </dependency>
> > >
> > >
> > > This causes site a problem.  I assume it is because I am using
> > > exclusions to not include the version of Spring this guy depends on,
> > > which is 1.3.  We use a later version of Spring (it is not an option to
> > > upgrade to a later version of acegi nor is it an option to downgrade
> > > Spring).
> > >
> > >  Any idea how I can compile and run site using the above?
> > >
> > >
> > > Regards,
> > > Douglas WF Acheson
> > >
> > >
> > > On Fri, 2006-05-12 at 13:43 -0500, Wayne Fay wrote:
> > > > Just for now, yes, I would exclude those dependencies manually in your
> > > > pom, and specifically include the proper (relocated) dependencies.
> > > >
> > > > This is all trying to get your site generated properly. Once that
> > > > works, then you can start optimizing your pom.
> > > >
> > > > Wayne
> > > >
> > > > On 5/12/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > Thx for the input!  I have thought of that, but quickly realized I do
> > > > > not directly depend upon those artifats, they are transient
> > > > > dependencies.  Does it make sense that I modify the pom files in my
> > > > > local repo to use exclude those dependencies?  That could be a lot of
> > > > > work, just to have it change when a new update comes in.  And how would
> > > > > that work for others on my team who need to run site?
> > > > >
> > > > > Thanks again ...
> > > > >
> > > > > dwfa
> > > > >
> > > > >
> > > > > On Fri, 2006-05-12 at 12:51 -0500, Wayne Fay wrote:
> > > > > > Based on those "... has been relocated..." statements, I would modify
> > > > > > your dependencies to pull the artifacts from the org.springframework,
> > > > > > javax.servlet, etc locations and see if that doesn't resolve your
> > > > > > problems.
> > > > > >
> > > > > > Wayne
> > > > > >
> > > > > > On 5/12/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > > > I am really stuck on this site thing (like a dog with a bone).
> > > > > > >
> > > > > > > I need to get a site up and running to show my boss :-().  I have gotten
> > > > > > > a little farther.  When I run mvn site:site I get one html file
> > > > > > >         integration.html
> > > > > > > But, the goal fails on creating the dependencies.html file (report) with
> > > > > > > the exception
> > > > > > >
> > > > > > > [INFO] Generate "Dependencies" report.
> > > > > > > [DEBUG] While downloading springframework:spring-context:1.1.3
> > > > > > >   This artifact has been relocated to
> > > > > > > org.springframework:spring-context:1.1.3.
> > > > > > >
> > > > > > >
> > > > > > > [DEBUG] While downloading servletapi:servletapi:2.3
> > > > > > >   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> > > > > > >
> > > > > > >
> > > > > > > [DEBUG] While downloading springframework:spring-webmvc:1.1.3
> > > > > > >   This artifact has been relocated to
> > > > > > > org.springframework:spring-webmvc:1.1.3.
> > > > > > >
> > > > > > >
> > > > > > > [DEBUG] While downloading xml-apis:xml-apis:2.0.2
> > > > > > >   This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
> > > > > > >
> > > > > > >
> > > > > > > [DEBUG] While downloading jstl:jstl:1.0.2
> > > > > > >   This artifact has been relocated to javax.servlet:jstl:1.0.2.
> > > > > > >
> > > > > > >
> > > > > > > [DEBUG] While downloading servletapi:servletapi:2.3
> > > > > > >   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> > > > > > >
> > > > > > >
> > > > > > > [DEBUG] While downloading springframework:spring-mock:1.1.3
> > > > > > >   This artifact has been relocated to
> > > > > > > org.springframework:spring-mock:1.1.3.
> > > > > > >
> > > > > > >
> > > > > > > [DEBUG] While downloading springframework:spring-web:1.1.3
> > > > > > >   This artifact has been relocated to
> > > > > > > org.springframework:spring-web:1.1.3.
> > > > > > >
> > > > > > >
> > > > > > > [DEBUG] While downloading springframework:spring-orm:1.1.3
> > > > > > >   This artifact has been relocated to
> > > > > > > org.springframework:spring-orm:1.1.3.
> > > > > > >
> > > > > > >
> > > > > > > [DEBUG] While downloading springframework:spring-dao:1.1.3
> > > > > > >   This artifact has been relocated to
> > > > > > > org.springframework:spring-dao:1.1.3.
> > > > > > >
> > > > > > >
> > > > > > > [DEBUG] While downloading springframework:spring-aop:1.1.3
> > > > > > >   This artifact has been relocated to
> > > > > > > org.springframework:spring-aop:1.1.3.
> > > > > > >
> > > > > > >
> > > > > > > [INFO]
> > > > > > > ------------------------------------------------------------------------
> > > > > > > [ERROR] FATAL ERROR
> > > > > > > [INFO]
> > > > > > > ------------------------------------------------------------------------
> > > > > > > [INFO] null
> > > > > > > [INFO]
> > > > > > > ------------------------------------------------------------------------
> > > > > > > [DEBUG] Trace
> > > > > > > java.lang.NullPointerException
> > > > > > >         at
> > > > > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
> > > > > > >         at
> > > > > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> > > > > > >         at
> > > > > > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
> > > > > > >         at
> > > > > > > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
> > > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > > $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:456)
> > > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:392)
> > > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
> > > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
> > > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
> > > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > > $DependenciesRenderer.renderBody(DependenciesReport.java:277)
> > > > > > >         at
> > > > > > > org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
> > > > > > >         at
> > > > > > > org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:97)
> > > > > > >         at
> > > > > > > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:101)
> > > > > > >         at
> > > > > > > org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:67)
> > > > > > >         at
> > > > > > > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:239)
> > > > > > >         at
> > > > > > > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:115)
> > > > > > >         at
> > > > > > > org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:124)
> > > > > > >         at
> > > > > > > org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92)
> > > > > > >         at
> > > > > > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
> > > > > > >         at
> > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
> > > > > > >         at
> > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
> > > > > > >         at
> > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
> > > > > > >         at
> > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
> > > > > > >         at
> > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> > > > > > >         at
> > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
> > > > > > >         at
> > > > > > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> > > > > > >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> > > > > > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> > > > > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > >         at
> > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > >         at
> > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > > > > > >         at
> > > > > > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > > > > > >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > > > > > >         at
> > > > > > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > > > > > >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > > > > >
> > > > > > >
> > > > > > > If I could get a hold of the source I would try and trace through it,
> > > > > > > but I cannot get access to svn.apache.org.
> > > > > > >
> > > > > > > dwfa
> > > > > > >
> > > > > > >
> > > > > > > On Thu, 2006-05-11 at 21:19 +0530, Vinod Panicker wrote:
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > On 5/11/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > > > > > Okay, now I am more confused :-).  I have been trying run the goal site
> > > > > > > > > for a few days with no luck.  I believe I have tried all the suggestions
> > > > > > > > > that have been provided (thanks to everyone).
> > > > > > > > >
> > > > > > > > >   I have the latest plugins, got this by using the -U option and added
> > > > > > > > > the snapshot repository to my pom.  But, I am still getting the same
> > > > > > > > > NPE.  It seems there are arguments that need to be provided to use site
> > > > > > > > > (or one of its dependencies), but I do not know where to find this out
> > > > > > > > > this information.
> > > > > > > >
> > > > > > > > Whatever snapshots you are using in your project, please download the
> > > > > > > > sources and for each of them, do an 'mvn install'.  This should take
> > > > > > > > care of the NPE, IMO.  I was having a similar problem and it went away
> > > > > > > > when I compiled and installed the snapshot jars myself.
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > Vinod.
> > > > > > > >
> > > > > > > > ---------------------------------------------------------------------
> > > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > > >
> > > > > > >
> > > > > > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > >
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Douglas WF Acheson <do...@bpsserver.com>.
Hello,

 Thanks for the response. I wen through the exercise of using -X to
resolve my compile issues when I started to use Maven2.

  What happens (found out by using -X) is that Spring 1.1.3 is added to
the classpath via the acegi (0.7) dependency, even though I have
explicitly put the Spring 1.2.4 as a direct dependency in my pom.xml. It
adds it before Spring 1.2.4.  So, to remove this from the classpath I
used the exclusion on the acegi dependency, and that worked.

  Now site does not work, grrr ....

Regards,
Douglas WF Acheson

On Wed, 2006-05-17 at 11:34 -0500, Wayne Fay wrote:
> I think you should try the following:
> 
> 1. Add an explicit spring-core/springframework dependency node with
> the proper version.
> 2. Remove this exclusion node.
> 3. Run mvn -X and watch what version(s) of acegisecurity and
> springframework are used.
> 
> Maven should automatically see that acegi needs springframework
> version 1.3, but since you've included version x (x > 1.3) in your
> list of dependent artifacts, it should use that version instead.
> 
> Wayne
> 
> On 5/17/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > Hello,
> >
> >   Okay so I have found out what the problem was.  I have in my pom.xml
> > the following (snippet here)
> >
> > <dependency>
> >         <groupId>acegisecurity</groupId>
> >         <artifactId>acegi-security</artifactId>
> >         <version>0.7.0</version>
> >         <scope>compile</scope>
> >         <exclusions>
> >                 <exclusion>
> >                         <artifactId>spring-core</artifactId>
> >                         <groupId>springframework</groupId>
> >                 </exclusion>
> >         </exclusions>
> > </dependency>
> >
> >
> > This causes site a problem.  I assume it is because I am using
> > exclusions to not include the version of Spring this guy depends on,
> > which is 1.3.  We use a later version of Spring (it is not an option to
> > upgrade to a later version of acegi nor is it an option to downgrade
> > Spring).
> >
> >  Any idea how I can compile and run site using the above?
> >
> >
> > Regards,
> > Douglas WF Acheson
> >
> >
> > On Fri, 2006-05-12 at 13:43 -0500, Wayne Fay wrote:
> > > Just for now, yes, I would exclude those dependencies manually in your
> > > pom, and specifically include the proper (relocated) dependencies.
> > >
> > > This is all trying to get your site generated properly. Once that
> > > works, then you can start optimizing your pom.
> > >
> > > Wayne
> > >
> > > On 5/12/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > Thx for the input!  I have thought of that, but quickly realized I do
> > > > not directly depend upon those artifats, they are transient
> > > > dependencies.  Does it make sense that I modify the pom files in my
> > > > local repo to use exclude those dependencies?  That could be a lot of
> > > > work, just to have it change when a new update comes in.  And how would
> > > > that work for others on my team who need to run site?
> > > >
> > > > Thanks again ...
> > > >
> > > > dwfa
> > > >
> > > >
> > > > On Fri, 2006-05-12 at 12:51 -0500, Wayne Fay wrote:
> > > > > Based on those "... has been relocated..." statements, I would modify
> > > > > your dependencies to pull the artifacts from the org.springframework,
> > > > > javax.servlet, etc locations and see if that doesn't resolve your
> > > > > problems.
> > > > >
> > > > > Wayne
> > > > >
> > > > > On 5/12/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > > I am really stuck on this site thing (like a dog with a bone).
> > > > > >
> > > > > > I need to get a site up and running to show my boss :-().  I have gotten
> > > > > > a little farther.  When I run mvn site:site I get one html file
> > > > > >         integration.html
> > > > > > But, the goal fails on creating the dependencies.html file (report) with
> > > > > > the exception
> > > > > >
> > > > > > [INFO] Generate "Dependencies" report.
> > > > > > [DEBUG] While downloading springframework:spring-context:1.1.3
> > > > > >   This artifact has been relocated to
> > > > > > org.springframework:spring-context:1.1.3.
> > > > > >
> > > > > >
> > > > > > [DEBUG] While downloading servletapi:servletapi:2.3
> > > > > >   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> > > > > >
> > > > > >
> > > > > > [DEBUG] While downloading springframework:spring-webmvc:1.1.3
> > > > > >   This artifact has been relocated to
> > > > > > org.springframework:spring-webmvc:1.1.3.
> > > > > >
> > > > > >
> > > > > > [DEBUG] While downloading xml-apis:xml-apis:2.0.2
> > > > > >   This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
> > > > > >
> > > > > >
> > > > > > [DEBUG] While downloading jstl:jstl:1.0.2
> > > > > >   This artifact has been relocated to javax.servlet:jstl:1.0.2.
> > > > > >
> > > > > >
> > > > > > [DEBUG] While downloading servletapi:servletapi:2.3
> > > > > >   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> > > > > >
> > > > > >
> > > > > > [DEBUG] While downloading springframework:spring-mock:1.1.3
> > > > > >   This artifact has been relocated to
> > > > > > org.springframework:spring-mock:1.1.3.
> > > > > >
> > > > > >
> > > > > > [DEBUG] While downloading springframework:spring-web:1.1.3
> > > > > >   This artifact has been relocated to
> > > > > > org.springframework:spring-web:1.1.3.
> > > > > >
> > > > > >
> > > > > > [DEBUG] While downloading springframework:spring-orm:1.1.3
> > > > > >   This artifact has been relocated to
> > > > > > org.springframework:spring-orm:1.1.3.
> > > > > >
> > > > > >
> > > > > > [DEBUG] While downloading springframework:spring-dao:1.1.3
> > > > > >   This artifact has been relocated to
> > > > > > org.springframework:spring-dao:1.1.3.
> > > > > >
> > > > > >
> > > > > > [DEBUG] While downloading springframework:spring-aop:1.1.3
> > > > > >   This artifact has been relocated to
> > > > > > org.springframework:spring-aop:1.1.3.
> > > > > >
> > > > > >
> > > > > > [INFO]
> > > > > > ------------------------------------------------------------------------
> > > > > > [ERROR] FATAL ERROR
> > > > > > [INFO]
> > > > > > ------------------------------------------------------------------------
> > > > > > [INFO] null
> > > > > > [INFO]
> > > > > > ------------------------------------------------------------------------
> > > > > > [DEBUG] Trace
> > > > > > java.lang.NullPointerException
> > > > > >         at
> > > > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
> > > > > >         at
> > > > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> > > > > >         at
> > > > > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
> > > > > >         at
> > > > > > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
> > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:456)
> > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:392)
> > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
> > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
> > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
> > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > $DependenciesRenderer.renderBody(DependenciesReport.java:277)
> > > > > >         at
> > > > > > org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
> > > > > >         at
> > > > > > org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:97)
> > > > > >         at
> > > > > > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:101)
> > > > > >         at
> > > > > > org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:67)
> > > > > >         at
> > > > > > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:239)
> > > > > >         at
> > > > > > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:115)
> > > > > >         at
> > > > > > org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:124)
> > > > > >         at
> > > > > > org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92)
> > > > > >         at
> > > > > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
> > > > > >         at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
> > > > > >         at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
> > > > > >         at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
> > > > > >         at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
> > > > > >         at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> > > > > >         at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
> > > > > >         at
> > > > > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> > > > > >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> > > > > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> > > > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > >         at
> > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > >         at
> > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > > > > >         at
> > > > > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > > > > >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > > > > >         at
> > > > > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > > > > >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > > > >
> > > > > >
> > > > > > If I could get a hold of the source I would try and trace through it,
> > > > > > but I cannot get access to svn.apache.org.
> > > > > >
> > > > > > dwfa
> > > > > >
> > > > > >
> > > > > > On Thu, 2006-05-11 at 21:19 +0530, Vinod Panicker wrote:
> > > > > > > Hi,
> > > > > > >
> > > > > > > On 5/11/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > > > > Okay, now I am more confused :-).  I have been trying run the goal site
> > > > > > > > for a few days with no luck.  I believe I have tried all the suggestions
> > > > > > > > that have been provided (thanks to everyone).
> > > > > > > >
> > > > > > > >   I have the latest plugins, got this by using the -U option and added
> > > > > > > > the snapshot repository to my pom.  But, I am still getting the same
> > > > > > > > NPE.  It seems there are arguments that need to be provided to use site
> > > > > > > > (or one of its dependencies), but I do not know where to find this out
> > > > > > > > this information.
> > > > > > >
> > > > > > > Whatever snapshots you are using in your project, please download the
> > > > > > > sources and for each of them, do an 'mvn install'.  This should take
> > > > > > > care of the NPE, IMO.  I was having a similar problem and it went away
> > > > > > > when I compiled and installed the snapshot jars myself.
> > > > > > >
> > > > > > > Regards,
> > > > > > > Vinod.
> > > > > > >
> > > > > > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > >
> > > > > >
> > > > > > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Wayne Fay <wa...@gmail.com>.
I think you should try the following:

1. Add an explicit spring-core/springframework dependency node with
the proper version.
2. Remove this exclusion node.
3. Run mvn -X and watch what version(s) of acegisecurity and
springframework are used.

Maven should automatically see that acegi needs springframework
version 1.3, but since you've included version x (x > 1.3) in your
list of dependent artifacts, it should use that version instead.

Wayne

On 5/17/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> Hello,
>
>   Okay so I have found out what the problem was.  I have in my pom.xml
> the following (snippet here)
>
> <dependency>
>         <groupId>acegisecurity</groupId>
>         <artifactId>acegi-security</artifactId>
>         <version>0.7.0</version>
>         <scope>compile</scope>
>         <exclusions>
>                 <exclusion>
>                         <artifactId>spring-core</artifactId>
>                         <groupId>springframework</groupId>
>                 </exclusion>
>         </exclusions>
> </dependency>
>
>
> This causes site a problem.  I assume it is because I am using
> exclusions to not include the version of Spring this guy depends on,
> which is 1.3.  We use a later version of Spring (it is not an option to
> upgrade to a later version of acegi nor is it an option to downgrade
> Spring).
>
>  Any idea how I can compile and run site using the above?
>
>
> Regards,
> Douglas WF Acheson
>
>
> On Fri, 2006-05-12 at 13:43 -0500, Wayne Fay wrote:
> > Just for now, yes, I would exclude those dependencies manually in your
> > pom, and specifically include the proper (relocated) dependencies.
> >
> > This is all trying to get your site generated properly. Once that
> > works, then you can start optimizing your pom.
> >
> > Wayne
> >
> > On 5/12/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > Thx for the input!  I have thought of that, but quickly realized I do
> > > not directly depend upon those artifats, they are transient
> > > dependencies.  Does it make sense that I modify the pom files in my
> > > local repo to use exclude those dependencies?  That could be a lot of
> > > work, just to have it change when a new update comes in.  And how would
> > > that work for others on my team who need to run site?
> > >
> > > Thanks again ...
> > >
> > > dwfa
> > >
> > >
> > > On Fri, 2006-05-12 at 12:51 -0500, Wayne Fay wrote:
> > > > Based on those "... has been relocated..." statements, I would modify
> > > > your dependencies to pull the artifacts from the org.springframework,
> > > > javax.servlet, etc locations and see if that doesn't resolve your
> > > > problems.
> > > >
> > > > Wayne
> > > >
> > > > On 5/12/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > I am really stuck on this site thing (like a dog with a bone).
> > > > >
> > > > > I need to get a site up and running to show my boss :-().  I have gotten
> > > > > a little farther.  When I run mvn site:site I get one html file
> > > > >         integration.html
> > > > > But, the goal fails on creating the dependencies.html file (report) with
> > > > > the exception
> > > > >
> > > > > [INFO] Generate "Dependencies" report.
> > > > > [DEBUG] While downloading springframework:spring-context:1.1.3
> > > > >   This artifact has been relocated to
> > > > > org.springframework:spring-context:1.1.3.
> > > > >
> > > > >
> > > > > [DEBUG] While downloading servletapi:servletapi:2.3
> > > > >   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> > > > >
> > > > >
> > > > > [DEBUG] While downloading springframework:spring-webmvc:1.1.3
> > > > >   This artifact has been relocated to
> > > > > org.springframework:spring-webmvc:1.1.3.
> > > > >
> > > > >
> > > > > [DEBUG] While downloading xml-apis:xml-apis:2.0.2
> > > > >   This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
> > > > >
> > > > >
> > > > > [DEBUG] While downloading jstl:jstl:1.0.2
> > > > >   This artifact has been relocated to javax.servlet:jstl:1.0.2.
> > > > >
> > > > >
> > > > > [DEBUG] While downloading servletapi:servletapi:2.3
> > > > >   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> > > > >
> > > > >
> > > > > [DEBUG] While downloading springframework:spring-mock:1.1.3
> > > > >   This artifact has been relocated to
> > > > > org.springframework:spring-mock:1.1.3.
> > > > >
> > > > >
> > > > > [DEBUG] While downloading springframework:spring-web:1.1.3
> > > > >   This artifact has been relocated to
> > > > > org.springframework:spring-web:1.1.3.
> > > > >
> > > > >
> > > > > [DEBUG] While downloading springframework:spring-orm:1.1.3
> > > > >   This artifact has been relocated to
> > > > > org.springframework:spring-orm:1.1.3.
> > > > >
> > > > >
> > > > > [DEBUG] While downloading springframework:spring-dao:1.1.3
> > > > >   This artifact has been relocated to
> > > > > org.springframework:spring-dao:1.1.3.
> > > > >
> > > > >
> > > > > [DEBUG] While downloading springframework:spring-aop:1.1.3
> > > > >   This artifact has been relocated to
> > > > > org.springframework:spring-aop:1.1.3.
> > > > >
> > > > >
> > > > > [INFO]
> > > > > ------------------------------------------------------------------------
> > > > > [ERROR] FATAL ERROR
> > > > > [INFO]
> > > > > ------------------------------------------------------------------------
> > > > > [INFO] null
> > > > > [INFO]
> > > > > ------------------------------------------------------------------------
> > > > > [DEBUG] Trace
> > > > > java.lang.NullPointerException
> > > > >         at
> > > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
> > > > >         at
> > > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> > > > >         at
> > > > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
> > > > >         at
> > > > > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
> > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:456)
> > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:392)
> > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
> > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
> > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
> > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > $DependenciesRenderer.renderBody(DependenciesReport.java:277)
> > > > >         at
> > > > > org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
> > > > >         at
> > > > > org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:97)
> > > > >         at
> > > > > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:101)
> > > > >         at
> > > > > org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:67)
> > > > >         at
> > > > > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:239)
> > > > >         at
> > > > > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:115)
> > > > >         at
> > > > > org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:124)
> > > > >         at
> > > > > org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92)
> > > > >         at
> > > > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
> > > > >         at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
> > > > >         at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
> > > > >         at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
> > > > >         at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
> > > > >         at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> > > > >         at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
> > > > >         at
> > > > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> > > > >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> > > > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> > > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > >         at
> > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > >         at
> > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > > > >         at
> > > > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > > > >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > > > >         at
> > > > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > > > >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > > >
> > > > >
> > > > > If I could get a hold of the source I would try and trace through it,
> > > > > but I cannot get access to svn.apache.org.
> > > > >
> > > > > dwfa
> > > > >
> > > > >
> > > > > On Thu, 2006-05-11 at 21:19 +0530, Vinod Panicker wrote:
> > > > > > Hi,
> > > > > >
> > > > > > On 5/11/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > > > Okay, now I am more confused :-).  I have been trying run the goal site
> > > > > > > for a few days with no luck.  I believe I have tried all the suggestions
> > > > > > > that have been provided (thanks to everyone).
> > > > > > >
> > > > > > >   I have the latest plugins, got this by using the -U option and added
> > > > > > > the snapshot repository to my pom.  But, I am still getting the same
> > > > > > > NPE.  It seems there are arguments that need to be provided to use site
> > > > > > > (or one of its dependencies), but I do not know where to find this out
> > > > > > > this information.
> > > > > >
> > > > > > Whatever snapshots you are using in your project, please download the
> > > > > > sources and for each of them, do an 'mvn install'.  This should take
> > > > > > care of the NPE, IMO.  I was having a similar problem and it went away
> > > > > > when I compiled and installed the snapshot jars myself.
> > > > > >
> > > > > > Regards,
> > > > > > Vinod.
> > > > > >
> > > > > > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > >
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Douglas WF Acheson <do...@bpsserver.com>.
Hello,

  Okay so I have found out what the problem was.  I have in my pom.xml
the following (snippet here)

<dependency>
	<groupId>acegisecurity</groupId>
	<artifactId>acegi-security</artifactId>
	<version>0.7.0</version>
	<scope>compile</scope>
	<exclusions>
		<exclusion>
			<artifactId>spring-core</artifactId>
			<groupId>springframework</groupId>
		</exclusion>
	</exclusions>
</dependency>


This causes site a problem.  I assume it is because I am using
exclusions to not include the version of Spring this guy depends on,
which is 1.3.  We use a later version of Spring (it is not an option to
upgrade to a later version of acegi nor is it an option to downgrade
Spring).

 Any idea how I can compile and run site using the above?


Regards,
Douglas WF Acheson


On Fri, 2006-05-12 at 13:43 -0500, Wayne Fay wrote:
> Just for now, yes, I would exclude those dependencies manually in your
> pom, and specifically include the proper (relocated) dependencies.
> 
> This is all trying to get your site generated properly. Once that
> works, then you can start optimizing your pom.
> 
> Wayne
> 
> On 5/12/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > Thx for the input!  I have thought of that, but quickly realized I do
> > not directly depend upon those artifats, they are transient
> > dependencies.  Does it make sense that I modify the pom files in my
> > local repo to use exclude those dependencies?  That could be a lot of
> > work, just to have it change when a new update comes in.  And how would
> > that work for others on my team who need to run site?
> >
> > Thanks again ...
> >
> > dwfa
> >
> >
> > On Fri, 2006-05-12 at 12:51 -0500, Wayne Fay wrote:
> > > Based on those "... has been relocated..." statements, I would modify
> > > your dependencies to pull the artifacts from the org.springframework,
> > > javax.servlet, etc locations and see if that doesn't resolve your
> > > problems.
> > >
> > > Wayne
> > >
> > > On 5/12/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > I am really stuck on this site thing (like a dog with a bone).
> > > >
> > > > I need to get a site up and running to show my boss :-().  I have gotten
> > > > a little farther.  When I run mvn site:site I get one html file
> > > >         integration.html
> > > > But, the goal fails on creating the dependencies.html file (report) with
> > > > the exception
> > > >
> > > > [INFO] Generate "Dependencies" report.
> > > > [DEBUG] While downloading springframework:spring-context:1.1.3
> > > >   This artifact has been relocated to
> > > > org.springframework:spring-context:1.1.3.
> > > >
> > > >
> > > > [DEBUG] While downloading servletapi:servletapi:2.3
> > > >   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> > > >
> > > >
> > > > [DEBUG] While downloading springframework:spring-webmvc:1.1.3
> > > >   This artifact has been relocated to
> > > > org.springframework:spring-webmvc:1.1.3.
> > > >
> > > >
> > > > [DEBUG] While downloading xml-apis:xml-apis:2.0.2
> > > >   This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
> > > >
> > > >
> > > > [DEBUG] While downloading jstl:jstl:1.0.2
> > > >   This artifact has been relocated to javax.servlet:jstl:1.0.2.
> > > >
> > > >
> > > > [DEBUG] While downloading servletapi:servletapi:2.3
> > > >   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> > > >
> > > >
> > > > [DEBUG] While downloading springframework:spring-mock:1.1.3
> > > >   This artifact has been relocated to
> > > > org.springframework:spring-mock:1.1.3.
> > > >
> > > >
> > > > [DEBUG] While downloading springframework:spring-web:1.1.3
> > > >   This artifact has been relocated to
> > > > org.springframework:spring-web:1.1.3.
> > > >
> > > >
> > > > [DEBUG] While downloading springframework:spring-orm:1.1.3
> > > >   This artifact has been relocated to
> > > > org.springframework:spring-orm:1.1.3.
> > > >
> > > >
> > > > [DEBUG] While downloading springframework:spring-dao:1.1.3
> > > >   This artifact has been relocated to
> > > > org.springframework:spring-dao:1.1.3.
> > > >
> > > >
> > > > [DEBUG] While downloading springframework:spring-aop:1.1.3
> > > >   This artifact has been relocated to
> > > > org.springframework:spring-aop:1.1.3.
> > > >
> > > >
> > > > [INFO]
> > > > ------------------------------------------------------------------------
> > > > [ERROR] FATAL ERROR
> > > > [INFO]
> > > > ------------------------------------------------------------------------
> > > > [INFO] null
> > > > [INFO]
> > > > ------------------------------------------------------------------------
> > > > [DEBUG] Trace
> > > > java.lang.NullPointerException
> > > >         at
> > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
> > > >         at
> > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> > > >         at
> > > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
> > > >         at
> > > > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
> > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:456)
> > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:392)
> > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
> > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
> > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
> > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > $DependenciesRenderer.renderBody(DependenciesReport.java:277)
> > > >         at
> > > > org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
> > > >         at
> > > > org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:97)
> > > >         at
> > > > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:101)
> > > >         at
> > > > org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:67)
> > > >         at
> > > > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:239)
> > > >         at
> > > > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:115)
> > > >         at
> > > > org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:124)
> > > >         at
> > > > org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92)
> > > >         at
> > > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
> > > >         at
> > > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> > > >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> > > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > >         at
> > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > >         at
> > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > > >         at
> > > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > > >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > > >         at
> > > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > > >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > >
> > > >
> > > > If I could get a hold of the source I would try and trace through it,
> > > > but I cannot get access to svn.apache.org.
> > > >
> > > > dwfa
> > > >
> > > >
> > > > On Thu, 2006-05-11 at 21:19 +0530, Vinod Panicker wrote:
> > > > > Hi,
> > > > >
> > > > > On 5/11/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > > Okay, now I am more confused :-).  I have been trying run the goal site
> > > > > > for a few days with no luck.  I believe I have tried all the suggestions
> > > > > > that have been provided (thanks to everyone).
> > > > > >
> > > > > >   I have the latest plugins, got this by using the -U option and added
> > > > > > the snapshot repository to my pom.  But, I am still getting the same
> > > > > > NPE.  It seems there are arguments that need to be provided to use site
> > > > > > (or one of its dependencies), but I do not know where to find this out
> > > > > > this information.
> > > > >
> > > > > Whatever snapshots you are using in your project, please download the
> > > > > sources and for each of them, do an 'mvn install'.  This should take
> > > > > care of the NPE, IMO.  I was having a similar problem and it went away
> > > > > when I compiled and installed the snapshot jars myself.
> > > > >
> > > > > Regards,
> > > > > Vinod.
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Wayne Fay <wa...@gmail.com>.
Just for now, yes, I would exclude those dependencies manually in your
pom, and specifically include the proper (relocated) dependencies.

This is all trying to get your site generated properly. Once that
works, then you can start optimizing your pom.

Wayne

On 5/12/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> Thx for the input!  I have thought of that, but quickly realized I do
> not directly depend upon those artifats, they are transient
> dependencies.  Does it make sense that I modify the pom files in my
> local repo to use exclude those dependencies?  That could be a lot of
> work, just to have it change when a new update comes in.  And how would
> that work for others on my team who need to run site?
>
> Thanks again ...
>
> dwfa
>
>
> On Fri, 2006-05-12 at 12:51 -0500, Wayne Fay wrote:
> > Based on those "... has been relocated..." statements, I would modify
> > your dependencies to pull the artifacts from the org.springframework,
> > javax.servlet, etc locations and see if that doesn't resolve your
> > problems.
> >
> > Wayne
> >
> > On 5/12/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > I am really stuck on this site thing (like a dog with a bone).
> > >
> > > I need to get a site up and running to show my boss :-().  I have gotten
> > > a little farther.  When I run mvn site:site I get one html file
> > >         integration.html
> > > But, the goal fails on creating the dependencies.html file (report) with
> > > the exception
> > >
> > > [INFO] Generate "Dependencies" report.
> > > [DEBUG] While downloading springframework:spring-context:1.1.3
> > >   This artifact has been relocated to
> > > org.springframework:spring-context:1.1.3.
> > >
> > >
> > > [DEBUG] While downloading servletapi:servletapi:2.3
> > >   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> > >
> > >
> > > [DEBUG] While downloading springframework:spring-webmvc:1.1.3
> > >   This artifact has been relocated to
> > > org.springframework:spring-webmvc:1.1.3.
> > >
> > >
> > > [DEBUG] While downloading xml-apis:xml-apis:2.0.2
> > >   This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
> > >
> > >
> > > [DEBUG] While downloading jstl:jstl:1.0.2
> > >   This artifact has been relocated to javax.servlet:jstl:1.0.2.
> > >
> > >
> > > [DEBUG] While downloading servletapi:servletapi:2.3
> > >   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> > >
> > >
> > > [DEBUG] While downloading springframework:spring-mock:1.1.3
> > >   This artifact has been relocated to
> > > org.springframework:spring-mock:1.1.3.
> > >
> > >
> > > [DEBUG] While downloading springframework:spring-web:1.1.3
> > >   This artifact has been relocated to
> > > org.springframework:spring-web:1.1.3.
> > >
> > >
> > > [DEBUG] While downloading springframework:spring-orm:1.1.3
> > >   This artifact has been relocated to
> > > org.springframework:spring-orm:1.1.3.
> > >
> > >
> > > [DEBUG] While downloading springframework:spring-dao:1.1.3
> > >   This artifact has been relocated to
> > > org.springframework:spring-dao:1.1.3.
> > >
> > >
> > > [DEBUG] While downloading springframework:spring-aop:1.1.3
> > >   This artifact has been relocated to
> > > org.springframework:spring-aop:1.1.3.
> > >
> > >
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [ERROR] FATAL ERROR
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] null
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [DEBUG] Trace
> > > java.lang.NullPointerException
> > >         at
> > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
> > >         at
> > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> > >         at
> > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
> > >         at
> > > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
> > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:456)
> > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:392)
> > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
> > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
> > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
> > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > $DependenciesRenderer.renderBody(DependenciesReport.java:277)
> > >         at
> > > org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
> > >         at
> > > org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:97)
> > >         at
> > > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:101)
> > >         at
> > > org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:67)
> > >         at
> > > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:239)
> > >         at
> > > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:115)
> > >         at
> > > org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:124)
> > >         at
> > > org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92)
> > >         at
> > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
> > >         at
> > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> > >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >         at
> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > >         at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > >         at
> > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > >         at
> > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > >
> > >
> > > If I could get a hold of the source I would try and trace through it,
> > > but I cannot get access to svn.apache.org.
> > >
> > > dwfa
> > >
> > >
> > > On Thu, 2006-05-11 at 21:19 +0530, Vinod Panicker wrote:
> > > > Hi,
> > > >
> > > > On 5/11/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > Okay, now I am more confused :-).  I have been trying run the goal site
> > > > > for a few days with no luck.  I believe I have tried all the suggestions
> > > > > that have been provided (thanks to everyone).
> > > > >
> > > > >   I have the latest plugins, got this by using the -U option and added
> > > > > the snapshot repository to my pom.  But, I am still getting the same
> > > > > NPE.  It seems there are arguments that need to be provided to use site
> > > > > (or one of its dependencies), but I do not know where to find this out
> > > > > this information.
> > > >
> > > > Whatever snapshots you are using in your project, please download the
> > > > sources and for each of them, do an 'mvn install'.  This should take
> > > > care of the NPE, IMO.  I was having a similar problem and it went away
> > > > when I compiled and installed the snapshot jars myself.
> > > >
> > > > Regards,
> > > > Vinod.
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Douglas WF Acheson <do...@bpsserver.com>.
Thx for the input!  I have thought of that, but quickly realized I do
not directly depend upon those artifats, they are transient
dependencies.  Does it make sense that I modify the pom files in my
local repo to use exclude those dependencies?  That could be a lot of
work, just to have it change when a new update comes in.  And how would
that work for others on my team who need to run site?

Thanks again ...

dwfa


On Fri, 2006-05-12 at 12:51 -0500, Wayne Fay wrote:
> Based on those "... has been relocated..." statements, I would modify
> your dependencies to pull the artifacts from the org.springframework,
> javax.servlet, etc locations and see if that doesn't resolve your
> problems.
> 
> Wayne
> 
> On 5/12/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > I am really stuck on this site thing (like a dog with a bone).
> >
> > I need to get a site up and running to show my boss :-().  I have gotten
> > a little farther.  When I run mvn site:site I get one html file
> >         integration.html
> > But, the goal fails on creating the dependencies.html file (report) with
> > the exception
> >
> > [INFO] Generate "Dependencies" report.
> > [DEBUG] While downloading springframework:spring-context:1.1.3
> >   This artifact has been relocated to
> > org.springframework:spring-context:1.1.3.
> >
> >
> > [DEBUG] While downloading servletapi:servletapi:2.3
> >   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> >
> >
> > [DEBUG] While downloading springframework:spring-webmvc:1.1.3
> >   This artifact has been relocated to
> > org.springframework:spring-webmvc:1.1.3.
> >
> >
> > [DEBUG] While downloading xml-apis:xml-apis:2.0.2
> >   This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
> >
> >
> > [DEBUG] While downloading jstl:jstl:1.0.2
> >   This artifact has been relocated to javax.servlet:jstl:1.0.2.
> >
> >
> > [DEBUG] While downloading servletapi:servletapi:2.3
> >   This artifact has been relocated to javax.servlet:servlet-api:2.3.
> >
> >
> > [DEBUG] While downloading springframework:spring-mock:1.1.3
> >   This artifact has been relocated to
> > org.springframework:spring-mock:1.1.3.
> >
> >
> > [DEBUG] While downloading springframework:spring-web:1.1.3
> >   This artifact has been relocated to
> > org.springframework:spring-web:1.1.3.
> >
> >
> > [DEBUG] While downloading springframework:spring-orm:1.1.3
> >   This artifact has been relocated to
> > org.springframework:spring-orm:1.1.3.
> >
> >
> > [DEBUG] While downloading springframework:spring-dao:1.1.3
> >   This artifact has been relocated to
> > org.springframework:spring-dao:1.1.3.
> >
> >
> > [DEBUG] While downloading springframework:spring-aop:1.1.3
> >   This artifact has been relocated to
> > org.springframework:spring-aop:1.1.3.
> >
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] FATAL ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] null
> > [INFO]
> > ------------------------------------------------------------------------
> > [DEBUG] Trace
> > java.lang.NullPointerException
> >         at
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
> >         at
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
> >         at org.apache.maven.report.projectinfo.DependenciesReport
> > $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:456)
> >         at org.apache.maven.report.projectinfo.DependenciesReport
> > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:392)
> >         at org.apache.maven.report.projectinfo.DependenciesReport
> > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
> >         at org.apache.maven.report.projectinfo.DependenciesReport
> > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
> >         at org.apache.maven.report.projectinfo.DependenciesReport
> > $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
> >         at org.apache.maven.report.projectinfo.DependenciesReport
> > $DependenciesRenderer.renderBody(DependenciesReport.java:277)
> >         at
> > org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
> >         at
> > org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:97)
> >         at
> > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:101)
> >         at
> > org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:67)
> >         at
> > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:239)
> >         at
> > org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:115)
> >         at
> > org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:124)
> >         at
> > org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92)
> >         at
> > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
> >         at
> > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >         at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at
> > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >         at
> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> >
> >
> > If I could get a hold of the source I would try and trace through it,
> > but I cannot get access to svn.apache.org.
> >
> > dwfa
> >
> >
> > On Thu, 2006-05-11 at 21:19 +0530, Vinod Panicker wrote:
> > > Hi,
> > >
> > > On 5/11/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > Okay, now I am more confused :-).  I have been trying run the goal site
> > > > for a few days with no luck.  I believe I have tried all the suggestions
> > > > that have been provided (thanks to everyone).
> > > >
> > > >   I have the latest plugins, got this by using the -U option and added
> > > > the snapshot repository to my pom.  But, I am still getting the same
> > > > NPE.  It seems there are arguments that need to be provided to use site
> > > > (or one of its dependencies), but I do not know where to find this out
> > > > this information.
> > >
> > > Whatever snapshots you are using in your project, please download the
> > > sources and for each of them, do an 'mvn install'.  This should take
> > > care of the NPE, IMO.  I was having a similar problem and it went away
> > > when I compiled and installed the snapshot jars myself.
> > >
> > > Regards,
> > > Vinod.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Wayne Fay <wa...@gmail.com>.
Based on those "... has been relocated..." statements, I would modify
your dependencies to pull the artifacts from the org.springframework,
javax.servlet, etc locations and see if that doesn't resolve your
problems.

Wayne

On 5/12/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> I am really stuck on this site thing (like a dog with a bone).
>
> I need to get a site up and running to show my boss :-().  I have gotten
> a little farther.  When I run mvn site:site I get one html file
>         integration.html
> But, the goal fails on creating the dependencies.html file (report) with
> the exception
>
> [INFO] Generate "Dependencies" report.
> [DEBUG] While downloading springframework:spring-context:1.1.3
>   This artifact has been relocated to
> org.springframework:spring-context:1.1.3.
>
>
> [DEBUG] While downloading servletapi:servletapi:2.3
>   This artifact has been relocated to javax.servlet:servlet-api:2.3.
>
>
> [DEBUG] While downloading springframework:spring-webmvc:1.1.3
>   This artifact has been relocated to
> org.springframework:spring-webmvc:1.1.3.
>
>
> [DEBUG] While downloading xml-apis:xml-apis:2.0.2
>   This artifact has been relocated to xml-apis:xml-apis:1.0.b2.
>
>
> [DEBUG] While downloading jstl:jstl:1.0.2
>   This artifact has been relocated to javax.servlet:jstl:1.0.2.
>
>
> [DEBUG] While downloading servletapi:servletapi:2.3
>   This artifact has been relocated to javax.servlet:servlet-api:2.3.
>
>
> [DEBUG] While downloading springframework:spring-mock:1.1.3
>   This artifact has been relocated to
> org.springframework:spring-mock:1.1.3.
>
>
> [DEBUG] While downloading springframework:spring-web:1.1.3
>   This artifact has been relocated to
> org.springframework:spring-web:1.1.3.
>
>
> [DEBUG] While downloading springframework:spring-orm:1.1.3
>   This artifact has been relocated to
> org.springframework:spring-orm:1.1.3.
>
>
> [DEBUG] While downloading springframework:spring-dao:1.1.3
>   This artifact has been relocated to
> org.springframework:spring-dao:1.1.3.
>
>
> [DEBUG] While downloading springframework:spring-aop:1.1.3
>   This artifact has been relocated to
> org.springframework:spring-aop:1.1.3.
>
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] null
> [INFO]
> ------------------------------------------------------------------------
> [DEBUG] Trace
> java.lang.NullPointerException
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
>         at org.apache.maven.report.projectinfo.DependenciesReport
> $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:456)
>         at org.apache.maven.report.projectinfo.DependenciesReport
> $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:392)
>         at org.apache.maven.report.projectinfo.DependenciesReport
> $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
>         at org.apache.maven.report.projectinfo.DependenciesReport
> $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
>         at org.apache.maven.report.projectinfo.DependenciesReport
> $DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
>         at org.apache.maven.report.projectinfo.DependenciesReport
> $DependenciesRenderer.renderBody(DependenciesReport.java:277)
>         at
> org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
>         at
> org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:97)
>         at
> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:101)
>         at
> org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:67)
>         at
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:239)
>         at
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:115)
>         at
> org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:124)
>         at
> org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>         at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>
>
> If I could get a hold of the source I would try and trace through it,
> but I cannot get access to svn.apache.org.
>
> dwfa
>
>
> On Thu, 2006-05-11 at 21:19 +0530, Vinod Panicker wrote:
> > Hi,
> >
> > On 5/11/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > Okay, now I am more confused :-).  I have been trying run the goal site
> > > for a few days with no luck.  I believe I have tried all the suggestions
> > > that have been provided (thanks to everyone).
> > >
> > >   I have the latest plugins, got this by using the -U option and added
> > > the snapshot repository to my pom.  But, I am still getting the same
> > > NPE.  It seems there are arguments that need to be provided to use site
> > > (or one of its dependencies), but I do not know where to find this out
> > > this information.
> >
> > Whatever snapshots you are using in your project, please download the
> > sources and for each of them, do an 'mvn install'.  This should take
> > care of the NPE, IMO.  I was having a similar problem and it went away
> > when I compiled and installed the snapshot jars myself.
> >
> > Regards,
> > Vinod.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Douglas WF Acheson <do...@bpsserver.com>.
I am really stuck on this site thing (like a dog with a bone).

I need to get a site up and running to show my boss :-().  I have gotten
a little farther.  When I run mvn site:site I get one html file 
	integration.html
But, the goal fails on creating the dependencies.html file (report) with
the exception

[INFO] Generate "Dependencies" report.
[DEBUG] While downloading springframework:spring-context:1.1.3
  This artifact has been relocated to
org.springframework:spring-context:1.1.3.


[DEBUG] While downloading servletapi:servletapi:2.3
  This artifact has been relocated to javax.servlet:servlet-api:2.3.


[DEBUG] While downloading springframework:spring-webmvc:1.1.3
  This artifact has been relocated to
org.springframework:spring-webmvc:1.1.3.


[DEBUG] While downloading xml-apis:xml-apis:2.0.2
  This artifact has been relocated to xml-apis:xml-apis:1.0.b2.


[DEBUG] While downloading jstl:jstl:1.0.2
  This artifact has been relocated to javax.servlet:jstl:1.0.2.


[DEBUG] While downloading servletapi:servletapi:2.3
  This artifact has been relocated to javax.servlet:servlet-api:2.3.


[DEBUG] While downloading springframework:spring-mock:1.1.3
  This artifact has been relocated to
org.springframework:spring-mock:1.1.3.


[DEBUG] While downloading springframework:spring-web:1.1.3
  This artifact has been relocated to
org.springframework:spring-web:1.1.3.


[DEBUG] While downloading springframework:spring-orm:1.1.3
  This artifact has been relocated to
org.springframework:spring-orm:1.1.3.


[DEBUG] While downloading springframework:spring-dao:1.1.3
  This artifact has been relocated to
org.springframework:spring-dao:1.1.3.


[DEBUG] While downloading springframework:spring-aop:1.1.3
  This artifact has been relocated to
org.springframework:spring-aop:1.1.3.


[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] null
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
java.lang.NullPointerException
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
        at org.apache.maven.report.projectinfo.DependenciesReport
$DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:456)
        at org.apache.maven.report.projectinfo.DependenciesReport
$DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:392)
        at org.apache.maven.report.projectinfo.DependenciesReport
$DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
        at org.apache.maven.report.projectinfo.DependenciesReport
$DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
        at org.apache.maven.report.projectinfo.DependenciesReport
$DependenciesRenderer.printDescriptionsAndURLs(DependenciesReport.java:429)
        at org.apache.maven.report.projectinfo.DependenciesReport
$DependenciesRenderer.renderBody(DependenciesReport.java:277)
        at
org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
        at
org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:97)
        at
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:101)
        at
org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:67)
        at
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:239)
        at
org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:115)
        at
org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:124)
        at
org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)


If I could get a hold of the source I would try and trace through it,
but I cannot get access to svn.apache.org.

dwfa


On Thu, 2006-05-11 at 21:19 +0530, Vinod Panicker wrote:
> Hi,
> 
> On 5/11/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > Okay, now I am more confused :-).  I have been trying run the goal site
> > for a few days with no luck.  I believe I have tried all the suggestions
> > that have been provided (thanks to everyone).
> >
> >   I have the latest plugins, got this by using the -U option and added
> > the snapshot repository to my pom.  But, I am still getting the same
> > NPE.  It seems there are arguments that need to be provided to use site
> > (or one of its dependencies), but I do not know where to find this out
> > this information.
> 
> Whatever snapshots you are using in your project, please download the
> sources and for each of them, do an 'mvn install'.  This should take
> care of the NPE, IMO.  I was having a similar problem and it went away
> when I compiled and installed the snapshot jars myself.
> 
> Regards,
> Vinod.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Vinod Panicker <vi...@gmail.com>.
Hi,

On 5/11/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> Okay, now I am more confused :-).  I have been trying run the goal site
> for a few days with no luck.  I believe I have tried all the suggestions
> that have been provided (thanks to everyone).
>
>   I have the latest plugins, got this by using the -U option and added
> the snapshot repository to my pom.  But, I am still getting the same
> NPE.  It seems there are arguments that need to be provided to use site
> (or one of its dependencies), but I do not know where to find this out
> this information.

Whatever snapshots you are using in your project, please download the
sources and for each of them, do an 'mvn install'.  This should take
care of the NPE, IMO.  I was having a similar problem and it went away
when I compiled and installed the snapshot jars myself.

Regards,
Vinod.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Douglas WF Acheson <do...@bpsserver.com>.
Okay, now I am more confused :-).  I have been trying run the goal site
for a few days with no luck.  I believe I have tried all the suggestions
that have been provided (thanks to everyone).

  I have the latest plugins, got this by using the -U option and added
the snapshot repository to my pom.  But, I am still getting the same
NPE.  It seems there are arguments that need to be provided to use site
(or one of its dependencies), but I do not know where to find this out
this information.

  Any additional info help would be appreciated.  thx a bunch ...
dwfa

On Wed, 2006-05-10 at 14:09 -0500, Wayne Fay wrote:
> This is generally not a concern either. Most likely, the ibiblio maven
> repository is simply very busy right now. Try again later or just try
> the build again, eventually you will get through and you shouldn't get
> those messages.
> 
> ibiblio is just a very heavily used site, so "error transferring file"
> messages are pretty common, unfortunately.
> 
> Wayne
> 
> On 5/10/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > Hello,
> >
> >   The warnings I was referring to were the 'unable to retrieve
> > artifacts'.  Are these a concern?
> >
> >
> > dwfa
> >
> > On Wed, 2006-05-10 at 13:44 -0500, Wayne Fay wrote:
> > > If you're talking about this "error":
> > >
> > > [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
> > > in any resource loader.
> > >
> > > Then no, contrary to the ERROR message, this is not in fact anything
> > > to worry about. There is no need to worry about going back to a
> > > previous version, if you look at the earlier stack trace, you will see
> > > this same error message existed back then too.
> > >
> > > Same goes for the messages:
> > > > [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
> > >
> > > Still not sure why you've got these problems...
> > >
> > > Wayne
> > >
> > > On 5/10/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > Hello, its the noob agian :-):
> > > >
> > > >   I have updated my pom to include the snapshot repository, which
> > > > updated all my downloadable artifacts (this took some effort and time).
> > > > But, I still get the same error.  Now there are some warnings about
> > > > files not able able to be retrieved.  Is this a concern?  Is this really
> > > > a bug?  If it is how can I go back to a previous version, and which
> > > > version should I use?  Or what arguments do I need to provide to the
> > > > goal to get it to work.  Thx again for all your help ...
> > > >
> > > >
> > > >
> > > > linux: mvn -U site
> > > > [INFO] Scanning for projects...
> > > > [INFO]
> > > > ----------------------------------------------------------------------------
> > > > [INFO] Building Unnamed - com.bps.iproject:bpsserver-core:jar:5.0
> > > > [INFO]    task-segment: [site]
> > > > [INFO]
> > > > ----------------------------------------------------------------------------
> > > > [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
> > > > updates from snapshots
> > > > [WARNING] repository metadata for: 'artifact
> > > > org.apache.maven.plugins:maven-site-plugin' could not be retrieved from
> > > > repository: snapshots due to an error: Error transferring file
> > > > [INFO] Repository 'snapshots' will be blacklisted
> > > > [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
> > > > updates from central
> > > > [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking
> > > > for updates from central
> > > > [INFO] artifact org.apache.maven.plugins:maven-resources-plugin:
> > > > checking for updates from central
> > > > [INFO] artifact
> > > > org.apache.maven.plugins:maven-project-info-reports-plugin: checking for
> > > > updates from central
> > > > [WARNING]
> > > >         Artifact junit:junit:jar:3.8.1:test retains local scope 'test'
> > > > overriding broader scope 'compile'
> > > >         given by a dependency. If this is not intended, modify or remove
> > > > the local scope.
> > > >
> > > > [INFO] Setting property: classpath.resource.loader.class =>
> > > > 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> > > > [INFO] Setting property: velocimacro.messages.on => 'false'.
> > > > [INFO] Setting property: resource.loader => 'classpath'.
> > > > [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> > > > [INFO] **************************************************************
> > > > [INFO] Starting Jakarta Velocity v1.4
> > > > [INFO] RuntimeInstance initializing.
> > > > [INFO] Default Properties File:
> > > > org/apache/velocity/runtime/defaults/velocity.properties
> > > > [INFO] Default ResourceManager initializing. (class
> > > > org.apache.velocity.runtime.resource.ResourceManagerImpl)
> > > > [INFO] Resource Loader Instantiated:
> > > > org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > > > [INFO] ClasspathResourceLoader : initialization starting.
> > > > [INFO] ClasspathResourceLoader : initialization complete.
> > > > [INFO] ResourceCache : initialized. (class
> > > > org.apache.velocity.runtime.resource.ResourceCacheImpl)
> > > > [INFO] Default ResourceManager initialization complete.
> > > > [INFO] Loaded System Directive:
> > > > org.apache.velocity.runtime.directive.Literal
> > > > [INFO] Loaded System Directive:
> > > > org.apache.velocity.runtime.directive.Macro
> > > > [INFO] Loaded System Directive:
> > > > org.apache.velocity.runtime.directive.Parse
> > > > [INFO] Loaded System Directive:
> > > > org.apache.velocity.runtime.directive.Include
> > > > [INFO] Loaded System Directive:
> > > > org.apache.velocity.runtime.directive.Foreach
> > > > [INFO] Created: 20 parsers.
> > > > [INFO] Velocimacro : initialization starting.
> > > > [INFO] Velocimacro : adding VMs from VM library template :
> > > > VM_global_library.vm
> > > > [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
> > > > in any resource loader.
> > > > [INFO] Velocimacro : error using  VM library template
> > > > VM_global_library.vm :
> > > > org.apache.velocity.exception.ResourceNotFoundException: Unable to find
> > > > resource 'VM_global_library.vm'
> > > > [INFO] Velocimacro :  VM library template macro registration complete.
> > > > [INFO] Velocimacro : allowInline = true : VMs can be defined inline in
> > > > templates
> > > > [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
> > > > may NOT replace previous VM definitions
> > > > [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will
> > > > be  global in scope if allowed.
> > > > [INFO] Velocimacro : initialization complete.
> > > > [INFO] Velocity successfully started.
> > > > [INFO] [site:site]
> > > > [INFO] Generate "Continuous Integration" report.
> > > > [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
> > > > got 0
> > > > [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
> > > > [INFO] Generate "Dependencies" report.
> > > > [INFO]
> > > > ------------------------------------------------------------------------
> > > > [ERROR] FATAL ERROR
> > > > [INFO]
> > > > ------------------------------------------------------------------------
> > > > [INFO] null
> > > > [INFO]
> > > > ------------------------------------------------------------------------
> > > > [INFO] Trace
> > > > java.lang.NullPointerException
> > > >         at
> > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
> > > >         at
> > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> > > >         at
> > > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
> > > >         at
> > > > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
> > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:362)
> > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > $DependenciesRenderer.renderBody(DependenciesReport.java:286)
> > > >         at
> > > > org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
> > > >         at
> > > > org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:157)
> > > >         at
> > > > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
> > > >         at
> > > > org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802)
> > > >         at
> > > > org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301)
> > > >         at
> > > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
> > > >         at
> > > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> > > >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> > > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > >         at
> > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > >         at
> > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > > >         at
> > > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > > >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > > >         at
> > > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > > >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > > [INFO]
> > > > ------------------------------------------------------------------------
> > > > [INFO] Total time: 1 minute 41 seconds
> > > > [INFO] Finished at: Wed May 10 13:58:02 EDT 2006
> > > > [INFO] Final Memory: 8M/14M
> > > > [INFO]
> > > > ------------------------------------------------------------------------
> > > > l
> > > >
> > > > On Tue, 2006-05-09 at 15:24 -0500, Wayne Fay wrote:
> > > > > Don't see any <scope>system</scope> dependencies there so that doesn't
> > > > > seem to be it...
> > > > >
> > > > > I'm not convinced you're running the latest version of site plugin
> > > > > (and others). Run mvn -U site to ensure you're all updated.
> > > > >
> > > > > If that doesn't work, perhaps you can add the Snapshot repo to your
> > > > > pom, and force an update with mvn -U site, to make sure your problem
> > > > > isn't already resolved in a not-yet-released version of the site
> > > > > plugin?
> > > > >
> > > > > This will help you get the Snapshot repos added to your pom:
> > > > > http://maven.apache.org/guides/development/guide-testing-development-plugins.html
> > > > >
> > > > > Wayne
> > > > >
> > > > > On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > > To be honest not sure what that means, but if I where to assume (with my
> > > > > > limited knowledge of m2) the only scope I identified was in dependencies
> > > > > > and those where compile) I will include my pom.xml (btw the parent pom
> > > > > > only has modelVersion atm) ...
> > > > > >
> > > > > >
> > > > > >
> > > > > > <project>
> > > > > >   <modelVersion>4.0.0</modelVersion>
> > > > > >   <groupId>mycompany</groupId>
> > > > > >   <artifactId>mypoject</artifactId>
> > > > > >   <packaging>jar</packaging>
> > > > > >   <version>0.1</version>
> > > > > >   <description>tbd</description>
> > > > > >
> > > > > >   <!--
> > > > > >     Define where to find the required artifacts (and only look there).
> > > > > >    -->
> > > > > >   <repositories>
> > > > > >     <repository>
> > > > > >       <id>central</id>
> > > > > >       <name>Internal Mirror of Central Repository</name>
> > > > > >       <url>mavenproxy</url>
> > > > > >     </repository>
> > > > > >   </repositories>
> > > > > >
> > > > > >   <!--
> > > > > >     Define the defalut parent POM for all our builds.
> > > > > >   -->
> > > > > >   <parent>
> > > > > >     <groupId>mycompany</groupId>
> > > > > >     <artifactId>our</artifactId>
> > > > > >     <version>1.0</version>
> > > > > >   </parent>
> > > > > >
> > > > > >         <!--
> > > > > >                 Describe how this build works.
> > > > > >         -->
> > > > > >         <build>
> > > > > >                 <resources>
> > > > > >                         <resource>
> > > > > >                                 <directory>src/main/resources</directory>
> > > > > >                                 <filtering>false</filtering>
> > > > > >                                 <includes>
> > > > > >                                         <include>**/gantt/gui/images/**</include>
> > > > > >                                 </includes>
> > > > > >                         </resource>
> > > > > >                 </resources>
> > > > > >                 <plugins>
> > > > > >                         <plugin>
> > > > > >                                 <groupId>org.apache.maven.plugins</groupId>
> > > > > >                                 <artifactId>maven-compiler-plugin</artifactId>
> > > > > >                                 <configuration>
> > > > > >                                         <source>1.4</source>
> > > > > >                                         <target>1.4</target>
> > > > > >                                 </configuration>
> > > > > >                         </plugin>
> > > > > >                         <plugin>
> > > > > >                                 <groupId>org.apache.maven.plugins</groupId>
> > > > > >                                 <artifactId>maven-resources-plugin</artifactId>
> > > > > >                         </plugin>
> > > > > >                         <!-- plugin>
> > > > > >                                 <groupId>org.apache.maven.plugins</groupId>
> > > > > >                                 <artifactId>maven-project-info-reports-plugin</artifactId>
> > > > > >                                 <version>2.0-alpha-1</version>
> > > > > >                         </plugin -->
> > > > > >                 </plugins>
> > > > > >         </build>
> > > > > >
> > > > > >         <dependencies>
> > > > > >                 <!-- DEFINE THE SPRING FRAMEWORK DEPENDENCIES -->
> > > > > >                 <dependency>
> > > > > >                         <groupId>org.springframework</groupId>
> > > > > >                         <artifactId>spring</artifactId>
> > > > > >                         <version>1.2.4</version>
> > > > > >                         <scope>compile</scope>
> > > > > >                 </dependency>
> > > > > >
> > > > > >                 <!-- DEFINE THE ACEGI SECURITY DEPENDENCIES -->
> > > > > >                 <dependency>
> > > > > >                         <groupId>acegisecurity</groupId>
> > > > > >                         <artifactId>acegi-security</artifactId>
> > > > > >                         <version>0.7.0</version>
> > > > > >                         <scope>compile</scope>
> > > > > >                         <exclusions>
> > > > > >                                 <exclusion>
> > > > > >                                         <artifactId>spring-core</artifactId>
> > > > > >                                         <groupId>springframework</groupId>
> > > > > >                                 </exclusion>
> > > > > >                         </exclusions>
> > > > > >                 </dependency>
> > > > > >
> > > > > >                 <!-- DEFINE THE CGLIB DEPENDENCIES -->
> > > > > >                 <dependency>
> > > > > >                         <groupId>cglib</groupId>
> > > > > >                         <artifactId>cglib</artifactId>
> > > > > >                         <version>2.0.2</version>
> > > > > >                         <scope>compile</scope>
> > > > > >                 </dependency>
> > > > > >
> > > > > >                 <!-- DEFINE THE DROOLS DEPENDENCIES -->
> > > > > >                 <dependency>
> > > > > >                         <groupId>drools</groupId>
> > > > > >                         <artifactId>drools-decisiontables</artifactId>
> > > > > >                         <version>2.1</version>
> > > > > >                         <scope>compile</scope>
> > > > > >                         <exclusions>
> > > > > >                                 <exclusion>
> > > > > >                                         <artifactId>poi</artifactId>
> > > > > >                                         <groupId>poi</groupId>
> > > > > >                                 </exclusion>
> > > > > >                         </exclusions>
> > > > > >                 </dependency>
> > > > > >
> > > > > >                 <!-- DEFINE THE HIBERNATE DEPENDENCIES -->
> > > > > >                 <dependency>
> > > > > >                         <groupId>net.sf.hibernate</groupId>
> > > > > >                         <artifactId>hibernate</artifactId>
> > > > > >                         <version>2.1.6</version>
> > > > > >                         <scope>compile</scope>
> > > > > >                 </dependency>
> > > > > >
> > > > > >                 <!-- DEFINE THE JAKARTA COMMONS DEPENDENCIES -->
> > > > > >                 <dependency>
> > > > > >                         <groupId>commons-chain</groupId>
> > > > > >                         <artifactId>commons-chain</artifactId>
> > > > > >                         <version>1.0</version>
> > > > > >                         <scope>compile</scope>
> > > > > >                 </dependency>
> > > > > >
> > > > > >                 <dependency>
> > > > > >                         <groupId>commons-digester</groupId>
> > > > > >                         <artifactId>commons-digester</artifactId>
> > > > > >                         <version>1.7</version>
> > > > > >                         <scope>compile</scope>
> > > > > >                 </dependency>
> > > > > >
> > > > > >                 <dependency>
> > > > > >                         <groupId>commons-lang</groupId>
> > > > > >                         <artifactId>commons-lang</artifactId>
> > > > > >                         <version>2.1</version>
> > > > > >                         <scope>compile</scope>
> > > > > >                 </dependency>
> > > > > >
> > > > > >                 <dependency>
> > > > > >                         <groupId>commons-vfs</groupId>
> > > > > >                         <artifactId>commons-vfs</artifactId>
> > > > > >                         <version>20050307052300</version>
> > > > > >                         <scope>compile</scope>
> > > > > >                 </dependency>
> > > > > >
> > > > > >                 <!-- DEFINE THE JAVA MONITOR DEPENDENCIES -->
> > > > > >                 <dependency>
> > > > > >                         <groupId>com.jamonapi</groupId>
> > > > > >                         <artifactId>jamon</artifactId>
> > > > > >                         <version>1.0</version>
> > > > > >                         <scope>compile</scope>
> > > > > >                 </dependency>
> > > > > >
> > > > > >                 <!-- DEFINE THE JASPERSOFT DEPENDENCIES -->
> > > > > >                 <dependency>
> > > > > >                         <groupId>com.jaspersoft</groupId>
> > > > > >                         <artifactId>panscopicsoap</artifactId>
> > > > > >                         <version>3.1</version>
> > > > > >                         <scope>compile</scope>
> > > > > >                 </dependency>
> > > > > >
> > > > > >                 <!-- DEFINE THE JAVA EXTENSION DEPENDENCIES -->
> > > > > >                 <dependency>
> > > > > >                         <groupId>javax</groupId>
> > > > > >                         <artifactId>mail</artifactId>
> > > > > >                         <version>1.3.1</version>
> > > > > >                         <scope>compile</scope>
> > > > > >                 </dependency>
> > > > > >
> > > > > >                 <dependency>
> > > > > >                         <groupId>javax</groupId>
> > > > > >                         <artifactId>rules</artifactId>
> > > > > >                         <version>1.1</version>
> > > > > >                         <scope>compile</scope>
> > > > > >                 </dependency>
> > > > > >
> > > > > >                 <!-- DEFINE THE JEPLITE DEPENDENCIES -->
> > > > > >                 <dependency>
> > > > > >                         <groupId>org.cheffo</groupId>
> > > > > >                         <artifactId>jeplite</artifactId>
> > > > > >                         <version>1.0</version>
> > > > > >                         <scope>compile</scope>
> > > > > >                 </dependency>
> > > > > >
> > > > > >                 <!-- DEFINE THE MULE DEPENDENCIES -->
> > > > > >                 <dependency>
> > > > > >                         <groupId>mule</groupId>
> > > > > >                         <artifactId>mule</artifactId>
> > > > > >                         <version>1.1-rc1</version>
> > > > > >                         <scope>compile</scope>
> > > > > >                 </dependency>
> > > > > >
> > > > > >                 <!-- DEFINE THE SHARK WORKFLOW DEPENDENCIES -->
> > > > > >                 <dependency>
> > > > > >                         <groupId>org.enhydra</groupId>
> > > > > >                         <artifactId>shark</artifactId>
> > > > > >                         <version>1.1.2</version>
> > > > > >                         <scope>compile</scope>
> > > > > >                 </dependency>
> > > > > >
> > > > > >                 <!-- DEFINE THE VELOCITY DEPENDENCIES -->
> > > > > >                 <dependency>
> > > > > >                         <groupId>velocity</groupId>
> > > > > >                         <artifactId>velocity</artifactId>
> > > > > >                         <version>1.4</version>
> > > > > >                         <scope>compile</scope>
> > > > > >                 </dependency>
> > > > > >
> > > > > >                 <!-- DEFINE THE XTREAM DEPENDENCIES -->
> > > > > >                 <dependency>
> > > > > >                         <groupId>xstream</groupId>
> > > > > >                         <artifactId>xstream</artifactId>
> > > > > >                         <version>1.0.2</version>
> > > > > >                         <scope>compile</scope>
> > > > > >                 </dependency>
> > > > > >
> > > > > >
> > > > > >     <!-- DEFINE THE jcFIELD DEPENDENCIES -->
> > > > > >
> > > > > >     <dependency>
> > > > > >       <groupId>com.klg</groupId>
> > > > > >       <artifactId>jcfield</artifactId>
> > > > > >       <version>6.0.0</version>
> > > > > >       <scope>compile</scope>
> > > > > >     </dependency>
> > > > > >
> > > > > >     <!-- DEFINE THE JAWS DEPENDENCIES -->
> > > > > >
> > > > > >     <dependency>
> > > > > >       <groupId>com.sun</groupId>
> > > > > >       <artifactId>jaws</artifactId>
> > > > > >       <version>1.0</version>
> > > > > >                         <scope>compile</scope>
> > > > > >     </dependency>
> > > > > >
> > > > > >     <!-- DEFINE THE jDOM DEPENDENCIES -->
> > > > > >
> > > > > >     <dependency>
> > > > > >       <groupId>jdom</groupId>
> > > > > >       <artifactId>jdom</artifactId>
> > > > > >       <version>1.0</version>
> > > > > >       <scope>compile</scope>
> > > > > >     </dependency>
> > > > > >
> > > > > >     <!-- DEFINE THE MPXJ DEPENDENCIES -->
> > > > > >
> > > > > >     <dependency>
> > > > > >       <groupId>com.tapsterrock</groupId>
> > > > > >       <artifactId>mpxj</artifactId>
> > > > > >       <version>0.0.23</version>
> > > > > >       <scope>compile</scope>
> > > > > >     </dependency>
> > > > > >         </dependencies>
> > > > > > </project>
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Tue, 2006-05-09 at 14:52 -0500, Wayne Fay wrote:
> > > > > > > Using any system scoped dependencies?
> > > > > > >
> > > > > > > Wayne
> > > > > > >
> > > > > > > On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > > > > Okay so I got passed my errors of missing dependencies (which are not
> > > > > > > > really used) by mucking with the poms (not the best way, but it worked
> > > > > > > > so I can move on).  Now I get a NPE when running the site goal, which is
> > > > > > > > incl'd below.  How do I know what the arguments are that are needed for
> > > > > > > > this goal or plugin (not sure of terminology).
> > > > > > > >
> > > > > > > > [INFO] Starting Jakarta Velocity v1.4
> > > > > > > > [INFO] RuntimeInstance initializing.
> > > > > > > > [INFO] Default Properties File:
> > > > > > > > org/apache/velocity/runtime/defaults/velocity.properties
> > > > > > > > [INFO] Default ResourceManager initializing. (class
> > > > > > > > org.apache.velocity.runtime.resource.ResourceManagerImpl)
> > > > > > > > [INFO] Resource Loader Instantiated:
> > > > > > > > org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > > > > > > > [INFO] ClasspathResourceLoader : initialization starting.
> > > > > > > > [INFO] ClasspathResourceLoader : initialization complete.
> > > > > > > > [INFO] ResourceCache : initialized. (class
> > > > > > > > org.apache.velocity.runtime.resource.ResourceCacheImpl)
> > > > > > > > [INFO] Default ResourceManager initialization complete.
> > > > > > > > [INFO] Loaded System Directive:
> > > > > > > > org.apache.velocity.runtime.directive.Literal
> > > > > > > > [INFO] Loaded System Directive:
> > > > > > > > org.apache.velocity.runtime.directive.Macro
> > > > > > > > [INFO] Loaded System Directive:
> > > > > > > > org.apache.velocity.runtime.directive.Parse
> > > > > > > > [INFO] Loaded System Directive:
> > > > > > > > org.apache.velocity.runtime.directive.Include
> > > > > > > > [INFO] Loaded System Directive:
> > > > > > > > org.apache.velocity.runtime.directive.Foreach
> > > > > > > > [INFO] Created: 20 parsers.
> > > > > > > > [INFO] Velocimacro : initialization starting.
> > > > > > > > [INFO] Velocimacro : adding VMs from VM library template :
> > > > > > > > VM_global_library.vm
> > > > > > > > [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
> > > > > > > > in any resource loader.
> > > > > > > > [INFO] Velocimacro : error using  VM library template
> > > > > > > > VM_global_library.vm :
> > > > > > > > org.apache.velocity.exception.ResourceNotFoundException: Unable to find
> > > > > > > > resource 'VM_global_library.vm'
> > > > > > > > [INFO] Velocimacro :  VM library template macro registration complete.
> > > > > > > > [INFO] Velocimacro : allowInline = true : VMs can be defined inline in
> > > > > > > > templates
> > > > > > > > [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
> > > > > > > > may NOT replace previous VM definitions
> > > > > > > > [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will
> > > > > > > > be  global in scope if allowed.
> > > > > > > > [INFO] Velocimacro : initialization complete.
> > > > > > > > [INFO] Velocity successfully started.
> > > > > > > > [INFO] [site:site]
> > > > > > > > [INFO] Generate "Continuous Integration" report.
> > > > > > > > [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
> > > > > > > > got 0
> > > > > > > > [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
> > > > > > > > [INFO] Generate "Dependencies" report.
> > > > > > > > [INFO]
> > > > > > > > ------------------------------------------------------------------------
> > > > > > > > [ERROR] FATAL ERROR
> > > > > > > > [INFO]
> > > > > > > > ------------------------------------------------------------------------
> > > > > > > > [INFO] null
> > > > > > > > [INFO]
> > > > > > > > ------------------------------------------------------------------------
> > > > > > > > [INFO] Trace
> > > > > > > > java.lang.NullPointerException
> > > > > > > >         at
> > > > > > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
> > > > > > > >         at
> > > > > > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> > > > > > > >         at
> > > > > > > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
> > > > > > > >         at
> > > > > > > > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
> > > > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > > > $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:362)
> > > > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > > > $DependenciesRenderer.renderBody(DependenciesReport.java:286)
> > > > > > > >         at
> > > > > > > > org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
> > > > > > > >         at
> > > > > > > > org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:157)
> > > > > > > >         at
> > > > > > > > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
> > > > > > > >         at
> > > > > > > > org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802)
> > > > > > > >         at
> > > > > > > > org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301)
> > > > > > > >         at
> > > > > > > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
> > > > > > > >         at
> > > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
> > > > > > > >         at
> > > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
> > > > > > > >         at
> > > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
> > > > > > > >         at
> > > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
> > > > > > > >         at
> > > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> > > > > > > >         at
> > > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
> > > > > > > >         at
> > > > > > > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> > > > > > > >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> > > > > > > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> > > > > > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > > >         at
> > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > > >         at
> > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > > > > > > >         at
> > > > > > > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > > > > > > >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > > > > > > >         at
> > > > > > > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > > > > > > >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > > > > > > [INFO]
> > > > > > > > ------------------------------------------------------------------------
> > > > > > > > [INFO] Total time: 4 seconds
> > > > > > > > [INFO] Finished at: Tue May 09 15:42:00 EDT 2006
> > > > > > > > [INFO] Final Memory: 7M/13M
> > > > > > > > [INFO]
> > > > > > > > ------------------------------------------------------------------------
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > Douglas WF Acheson
> > > > > > > >
> > > > > > > > On Tue, 2006-05-09 at 13:34 -0400, Douglas WF Acheson wrote:
> > > > > > > > > Hello,
> > > > > > > > >
> > > > > > > > >   The output you see is from running [m2] with the -X option.  I ran the
> > > > > > > > > package goal (with -X) and the same output is produced.
> > > > > > > > >
> > > > > > > > > Regards,
> > > > > > > > > Douglas WF Acheson
> > > > > > > > >
> > > > > > > > > On Tue, 2006-05-09 at 10:22 -0500, Wayne Fay wrote:
> > > > > > > > > > I'm not sure where these dependencies are coming from, esp poi 1.1 is
> > > > > > > > > > a very old release, so you might want to run "mvn -X package" to see
> > > > > > > > > > what is bringing in poi 1.1 since it appears to be a transitive
> > > > > > > > > > dependency.
> > > > > > > > > >
> > > > > > > > > > But here's poi, latest appears to be 2.5.1:
> > > > > > > > > > http://www.ibiblio.org/maven2/poi/poi/
> > > > > > > > > >
> > > > > > > > > > Not sure about easymockcontainer. Doesn't appear to exist in ibiblio.
> > > > > > > > > > Check with the easymock project website/email list.
> > > > > > > > > >
> > > > > > > > > > Wayne
> > > > > > > > > >
> > > > > > > > > > On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > > > > > > > Hello,
> > > > > > > > > > >
> > > > > > > > > > >   I am trying to run the goal site for my project, and I am running into
> > > > > > > > > > > problems.  Specifically, unable to find required dependencies, here is
> > > > > > > > > > > the output :
> > > > > > > > > > >
> > > > > > > > > > > 1) easymock:easymockcontainer:jar:1.0.1
> > > > > > > > > > >
> > > > > > > > > > >   Try downloading the file manually from the project website.
> > > > > > > > > > >
> > > > > > > > > > >   Then, install it using the command:
> > > > > > > > > > >       mvn install:install-file -DgroupId=easymock
> > > > > > > > > > > -DartifactId=easymockcontainer \
> > > > > > > > > > >           -Dversion=1.0.1 -Dpackaging=jar -Dfile=/path/to/file
> > > > > > > > > > >
> > > > > > > > > > >   Path to dependency:
> > > > > > > > > > >         1) mycompany:myproject:jar:5.0
> > > > > > > > > > >         2) drools:drools-decisiontables:jar:2.1
> > > > > > > > > > >         3) drools:drools-core:jar:2.1
> > > > > > > > > > >         4) easymock:easymockcontainer:jar:1.0.1
> > > > > > > > > > >
> > > > > > > > > > > 2) poi:poi:jar:1.1
> > > > > > > > > > >
> > > > > > > > > > >   Try downloading the file manually from the project website.
> > > > > > > > > > >
> > > > > > > > > > >   Then, install it using the command:
> > > > > > > > > > >       mvn install:install-file -DgroupId=poi -DartifactId=poi \
> > > > > > > > > > >           -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
> > > > > > > > > > >
> > > > > > > > > > >   Path to dependency:
> > > > > > > > > > >         1) mycompany:myproject:jar:5.0
> > > > > > > > > > >         2) drools:drools-decisiontables:jar:2.1
> > > > > > > > > > >         3) poi:poi:jar:1.1
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > If these artifacts do not exist, how can I continue?  I tried looking
> > > > > > > > > > > for easymockcontainer on the web, but could not find it.
> > > > > > > > > > >
> > > > > > > > > > > Signed confused :-)
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > ---------------------------------------------------------------------
> > > > > > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > ---------------------------------------------------------------------
> > > > > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > ---------------------------------------------------------------------
> > > > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > > > >
> > > > > > > >
> > > > > > > > ---------------------------------------------------------------------
> > > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > >
> > > > > >
> > > > > > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Wayne Fay <wa...@gmail.com>.
This is generally not a concern either. Most likely, the ibiblio maven
repository is simply very busy right now. Try again later or just try
the build again, eventually you will get through and you shouldn't get
those messages.

ibiblio is just a very heavily used site, so "error transferring file"
messages are pretty common, unfortunately.

Wayne

On 5/10/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> Hello,
>
>   The warnings I was referring to were the 'unable to retrieve
> artifacts'.  Are these a concern?
>
>
> dwfa
>
> On Wed, 2006-05-10 at 13:44 -0500, Wayne Fay wrote:
> > If you're talking about this "error":
> >
> > [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
> > in any resource loader.
> >
> > Then no, contrary to the ERROR message, this is not in fact anything
> > to worry about. There is no need to worry about going back to a
> > previous version, if you look at the earlier stack trace, you will see
> > this same error message existed back then too.
> >
> > Same goes for the messages:
> > > [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
> >
> > Still not sure why you've got these problems...
> >
> > Wayne
> >
> > On 5/10/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > Hello, its the noob agian :-):
> > >
> > >   I have updated my pom to include the snapshot repository, which
> > > updated all my downloadable artifacts (this took some effort and time).
> > > But, I still get the same error.  Now there are some warnings about
> > > files not able able to be retrieved.  Is this a concern?  Is this really
> > > a bug?  If it is how can I go back to a previous version, and which
> > > version should I use?  Or what arguments do I need to provide to the
> > > goal to get it to work.  Thx again for all your help ...
> > >
> > >
> > >
> > > linux: mvn -U site
> > > [INFO] Scanning for projects...
> > > [INFO]
> > > ----------------------------------------------------------------------------
> > > [INFO] Building Unnamed - com.bps.iproject:bpsserver-core:jar:5.0
> > > [INFO]    task-segment: [site]
> > > [INFO]
> > > ----------------------------------------------------------------------------
> > > [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
> > > updates from snapshots
> > > [WARNING] repository metadata for: 'artifact
> > > org.apache.maven.plugins:maven-site-plugin' could not be retrieved from
> > > repository: snapshots due to an error: Error transferring file
> > > [INFO] Repository 'snapshots' will be blacklisted
> > > [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
> > > updates from central
> > > [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking
> > > for updates from central
> > > [INFO] artifact org.apache.maven.plugins:maven-resources-plugin:
> > > checking for updates from central
> > > [INFO] artifact
> > > org.apache.maven.plugins:maven-project-info-reports-plugin: checking for
> > > updates from central
> > > [WARNING]
> > >         Artifact junit:junit:jar:3.8.1:test retains local scope 'test'
> > > overriding broader scope 'compile'
> > >         given by a dependency. If this is not intended, modify or remove
> > > the local scope.
> > >
> > > [INFO] Setting property: classpath.resource.loader.class =>
> > > 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> > > [INFO] Setting property: velocimacro.messages.on => 'false'.
> > > [INFO] Setting property: resource.loader => 'classpath'.
> > > [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> > > [INFO] **************************************************************
> > > [INFO] Starting Jakarta Velocity v1.4
> > > [INFO] RuntimeInstance initializing.
> > > [INFO] Default Properties File:
> > > org/apache/velocity/runtime/defaults/velocity.properties
> > > [INFO] Default ResourceManager initializing. (class
> > > org.apache.velocity.runtime.resource.ResourceManagerImpl)
> > > [INFO] Resource Loader Instantiated:
> > > org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > > [INFO] ClasspathResourceLoader : initialization starting.
> > > [INFO] ClasspathResourceLoader : initialization complete.
> > > [INFO] ResourceCache : initialized. (class
> > > org.apache.velocity.runtime.resource.ResourceCacheImpl)
> > > [INFO] Default ResourceManager initialization complete.
> > > [INFO] Loaded System Directive:
> > > org.apache.velocity.runtime.directive.Literal
> > > [INFO] Loaded System Directive:
> > > org.apache.velocity.runtime.directive.Macro
> > > [INFO] Loaded System Directive:
> > > org.apache.velocity.runtime.directive.Parse
> > > [INFO] Loaded System Directive:
> > > org.apache.velocity.runtime.directive.Include
> > > [INFO] Loaded System Directive:
> > > org.apache.velocity.runtime.directive.Foreach
> > > [INFO] Created: 20 parsers.
> > > [INFO] Velocimacro : initialization starting.
> > > [INFO] Velocimacro : adding VMs from VM library template :
> > > VM_global_library.vm
> > > [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
> > > in any resource loader.
> > > [INFO] Velocimacro : error using  VM library template
> > > VM_global_library.vm :
> > > org.apache.velocity.exception.ResourceNotFoundException: Unable to find
> > > resource 'VM_global_library.vm'
> > > [INFO] Velocimacro :  VM library template macro registration complete.
> > > [INFO] Velocimacro : allowInline = true : VMs can be defined inline in
> > > templates
> > > [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
> > > may NOT replace previous VM definitions
> > > [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will
> > > be  global in scope if allowed.
> > > [INFO] Velocimacro : initialization complete.
> > > [INFO] Velocity successfully started.
> > > [INFO] [site:site]
> > > [INFO] Generate "Continuous Integration" report.
> > > [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
> > > got 0
> > > [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
> > > [INFO] Generate "Dependencies" report.
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [ERROR] FATAL ERROR
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] null
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Trace
> > > java.lang.NullPointerException
> > >         at
> > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
> > >         at
> > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> > >         at
> > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
> > >         at
> > > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
> > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:362)
> > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > $DependenciesRenderer.renderBody(DependenciesReport.java:286)
> > >         at
> > > org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
> > >         at
> > > org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:157)
> > >         at
> > > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
> > >         at
> > > org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802)
> > >         at
> > > org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301)
> > >         at
> > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
> > >         at
> > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> > >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >         at
> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > >         at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > >         at
> > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > >         at
> > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Total time: 1 minute 41 seconds
> > > [INFO] Finished at: Wed May 10 13:58:02 EDT 2006
> > > [INFO] Final Memory: 8M/14M
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > l
> > >
> > > On Tue, 2006-05-09 at 15:24 -0500, Wayne Fay wrote:
> > > > Don't see any <scope>system</scope> dependencies there so that doesn't
> > > > seem to be it...
> > > >
> > > > I'm not convinced you're running the latest version of site plugin
> > > > (and others). Run mvn -U site to ensure you're all updated.
> > > >
> > > > If that doesn't work, perhaps you can add the Snapshot repo to your
> > > > pom, and force an update with mvn -U site, to make sure your problem
> > > > isn't already resolved in a not-yet-released version of the site
> > > > plugin?
> > > >
> > > > This will help you get the Snapshot repos added to your pom:
> > > > http://maven.apache.org/guides/development/guide-testing-development-plugins.html
> > > >
> > > > Wayne
> > > >
> > > > On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > To be honest not sure what that means, but if I where to assume (with my
> > > > > limited knowledge of m2) the only scope I identified was in dependencies
> > > > > and those where compile) I will include my pom.xml (btw the parent pom
> > > > > only has modelVersion atm) ...
> > > > >
> > > > >
> > > > >
> > > > > <project>
> > > > >   <modelVersion>4.0.0</modelVersion>
> > > > >   <groupId>mycompany</groupId>
> > > > >   <artifactId>mypoject</artifactId>
> > > > >   <packaging>jar</packaging>
> > > > >   <version>0.1</version>
> > > > >   <description>tbd</description>
> > > > >
> > > > >   <!--
> > > > >     Define where to find the required artifacts (and only look there).
> > > > >    -->
> > > > >   <repositories>
> > > > >     <repository>
> > > > >       <id>central</id>
> > > > >       <name>Internal Mirror of Central Repository</name>
> > > > >       <url>mavenproxy</url>
> > > > >     </repository>
> > > > >   </repositories>
> > > > >
> > > > >   <!--
> > > > >     Define the defalut parent POM for all our builds.
> > > > >   -->
> > > > >   <parent>
> > > > >     <groupId>mycompany</groupId>
> > > > >     <artifactId>our</artifactId>
> > > > >     <version>1.0</version>
> > > > >   </parent>
> > > > >
> > > > >         <!--
> > > > >                 Describe how this build works.
> > > > >         -->
> > > > >         <build>
> > > > >                 <resources>
> > > > >                         <resource>
> > > > >                                 <directory>src/main/resources</directory>
> > > > >                                 <filtering>false</filtering>
> > > > >                                 <includes>
> > > > >                                         <include>**/gantt/gui/images/**</include>
> > > > >                                 </includes>
> > > > >                         </resource>
> > > > >                 </resources>
> > > > >                 <plugins>
> > > > >                         <plugin>
> > > > >                                 <groupId>org.apache.maven.plugins</groupId>
> > > > >                                 <artifactId>maven-compiler-plugin</artifactId>
> > > > >                                 <configuration>
> > > > >                                         <source>1.4</source>
> > > > >                                         <target>1.4</target>
> > > > >                                 </configuration>
> > > > >                         </plugin>
> > > > >                         <plugin>
> > > > >                                 <groupId>org.apache.maven.plugins</groupId>
> > > > >                                 <artifactId>maven-resources-plugin</artifactId>
> > > > >                         </plugin>
> > > > >                         <!-- plugin>
> > > > >                                 <groupId>org.apache.maven.plugins</groupId>
> > > > >                                 <artifactId>maven-project-info-reports-plugin</artifactId>
> > > > >                                 <version>2.0-alpha-1</version>
> > > > >                         </plugin -->
> > > > >                 </plugins>
> > > > >         </build>
> > > > >
> > > > >         <dependencies>
> > > > >                 <!-- DEFINE THE SPRING FRAMEWORK DEPENDENCIES -->
> > > > >                 <dependency>
> > > > >                         <groupId>org.springframework</groupId>
> > > > >                         <artifactId>spring</artifactId>
> > > > >                         <version>1.2.4</version>
> > > > >                         <scope>compile</scope>
> > > > >                 </dependency>
> > > > >
> > > > >                 <!-- DEFINE THE ACEGI SECURITY DEPENDENCIES -->
> > > > >                 <dependency>
> > > > >                         <groupId>acegisecurity</groupId>
> > > > >                         <artifactId>acegi-security</artifactId>
> > > > >                         <version>0.7.0</version>
> > > > >                         <scope>compile</scope>
> > > > >                         <exclusions>
> > > > >                                 <exclusion>
> > > > >                                         <artifactId>spring-core</artifactId>
> > > > >                                         <groupId>springframework</groupId>
> > > > >                                 </exclusion>
> > > > >                         </exclusions>
> > > > >                 </dependency>
> > > > >
> > > > >                 <!-- DEFINE THE CGLIB DEPENDENCIES -->
> > > > >                 <dependency>
> > > > >                         <groupId>cglib</groupId>
> > > > >                         <artifactId>cglib</artifactId>
> > > > >                         <version>2.0.2</version>
> > > > >                         <scope>compile</scope>
> > > > >                 </dependency>
> > > > >
> > > > >                 <!-- DEFINE THE DROOLS DEPENDENCIES -->
> > > > >                 <dependency>
> > > > >                         <groupId>drools</groupId>
> > > > >                         <artifactId>drools-decisiontables</artifactId>
> > > > >                         <version>2.1</version>
> > > > >                         <scope>compile</scope>
> > > > >                         <exclusions>
> > > > >                                 <exclusion>
> > > > >                                         <artifactId>poi</artifactId>
> > > > >                                         <groupId>poi</groupId>
> > > > >                                 </exclusion>
> > > > >                         </exclusions>
> > > > >                 </dependency>
> > > > >
> > > > >                 <!-- DEFINE THE HIBERNATE DEPENDENCIES -->
> > > > >                 <dependency>
> > > > >                         <groupId>net.sf.hibernate</groupId>
> > > > >                         <artifactId>hibernate</artifactId>
> > > > >                         <version>2.1.6</version>
> > > > >                         <scope>compile</scope>
> > > > >                 </dependency>
> > > > >
> > > > >                 <!-- DEFINE THE JAKARTA COMMONS DEPENDENCIES -->
> > > > >                 <dependency>
> > > > >                         <groupId>commons-chain</groupId>
> > > > >                         <artifactId>commons-chain</artifactId>
> > > > >                         <version>1.0</version>
> > > > >                         <scope>compile</scope>
> > > > >                 </dependency>
> > > > >
> > > > >                 <dependency>
> > > > >                         <groupId>commons-digester</groupId>
> > > > >                         <artifactId>commons-digester</artifactId>
> > > > >                         <version>1.7</version>
> > > > >                         <scope>compile</scope>
> > > > >                 </dependency>
> > > > >
> > > > >                 <dependency>
> > > > >                         <groupId>commons-lang</groupId>
> > > > >                         <artifactId>commons-lang</artifactId>
> > > > >                         <version>2.1</version>
> > > > >                         <scope>compile</scope>
> > > > >                 </dependency>
> > > > >
> > > > >                 <dependency>
> > > > >                         <groupId>commons-vfs</groupId>
> > > > >                         <artifactId>commons-vfs</artifactId>
> > > > >                         <version>20050307052300</version>
> > > > >                         <scope>compile</scope>
> > > > >                 </dependency>
> > > > >
> > > > >                 <!-- DEFINE THE JAVA MONITOR DEPENDENCIES -->
> > > > >                 <dependency>
> > > > >                         <groupId>com.jamonapi</groupId>
> > > > >                         <artifactId>jamon</artifactId>
> > > > >                         <version>1.0</version>
> > > > >                         <scope>compile</scope>
> > > > >                 </dependency>
> > > > >
> > > > >                 <!-- DEFINE THE JASPERSOFT DEPENDENCIES -->
> > > > >                 <dependency>
> > > > >                         <groupId>com.jaspersoft</groupId>
> > > > >                         <artifactId>panscopicsoap</artifactId>
> > > > >                         <version>3.1</version>
> > > > >                         <scope>compile</scope>
> > > > >                 </dependency>
> > > > >
> > > > >                 <!-- DEFINE THE JAVA EXTENSION DEPENDENCIES -->
> > > > >                 <dependency>
> > > > >                         <groupId>javax</groupId>
> > > > >                         <artifactId>mail</artifactId>
> > > > >                         <version>1.3.1</version>
> > > > >                         <scope>compile</scope>
> > > > >                 </dependency>
> > > > >
> > > > >                 <dependency>
> > > > >                         <groupId>javax</groupId>
> > > > >                         <artifactId>rules</artifactId>
> > > > >                         <version>1.1</version>
> > > > >                         <scope>compile</scope>
> > > > >                 </dependency>
> > > > >
> > > > >                 <!-- DEFINE THE JEPLITE DEPENDENCIES -->
> > > > >                 <dependency>
> > > > >                         <groupId>org.cheffo</groupId>
> > > > >                         <artifactId>jeplite</artifactId>
> > > > >                         <version>1.0</version>
> > > > >                         <scope>compile</scope>
> > > > >                 </dependency>
> > > > >
> > > > >                 <!-- DEFINE THE MULE DEPENDENCIES -->
> > > > >                 <dependency>
> > > > >                         <groupId>mule</groupId>
> > > > >                         <artifactId>mule</artifactId>
> > > > >                         <version>1.1-rc1</version>
> > > > >                         <scope>compile</scope>
> > > > >                 </dependency>
> > > > >
> > > > >                 <!-- DEFINE THE SHARK WORKFLOW DEPENDENCIES -->
> > > > >                 <dependency>
> > > > >                         <groupId>org.enhydra</groupId>
> > > > >                         <artifactId>shark</artifactId>
> > > > >                         <version>1.1.2</version>
> > > > >                         <scope>compile</scope>
> > > > >                 </dependency>
> > > > >
> > > > >                 <!-- DEFINE THE VELOCITY DEPENDENCIES -->
> > > > >                 <dependency>
> > > > >                         <groupId>velocity</groupId>
> > > > >                         <artifactId>velocity</artifactId>
> > > > >                         <version>1.4</version>
> > > > >                         <scope>compile</scope>
> > > > >                 </dependency>
> > > > >
> > > > >                 <!-- DEFINE THE XTREAM DEPENDENCIES -->
> > > > >                 <dependency>
> > > > >                         <groupId>xstream</groupId>
> > > > >                         <artifactId>xstream</artifactId>
> > > > >                         <version>1.0.2</version>
> > > > >                         <scope>compile</scope>
> > > > >                 </dependency>
> > > > >
> > > > >
> > > > >     <!-- DEFINE THE jcFIELD DEPENDENCIES -->
> > > > >
> > > > >     <dependency>
> > > > >       <groupId>com.klg</groupId>
> > > > >       <artifactId>jcfield</artifactId>
> > > > >       <version>6.0.0</version>
> > > > >       <scope>compile</scope>
> > > > >     </dependency>
> > > > >
> > > > >     <!-- DEFINE THE JAWS DEPENDENCIES -->
> > > > >
> > > > >     <dependency>
> > > > >       <groupId>com.sun</groupId>
> > > > >       <artifactId>jaws</artifactId>
> > > > >       <version>1.0</version>
> > > > >                         <scope>compile</scope>
> > > > >     </dependency>
> > > > >
> > > > >     <!-- DEFINE THE jDOM DEPENDENCIES -->
> > > > >
> > > > >     <dependency>
> > > > >       <groupId>jdom</groupId>
> > > > >       <artifactId>jdom</artifactId>
> > > > >       <version>1.0</version>
> > > > >       <scope>compile</scope>
> > > > >     </dependency>
> > > > >
> > > > >     <!-- DEFINE THE MPXJ DEPENDENCIES -->
> > > > >
> > > > >     <dependency>
> > > > >       <groupId>com.tapsterrock</groupId>
> > > > >       <artifactId>mpxj</artifactId>
> > > > >       <version>0.0.23</version>
> > > > >       <scope>compile</scope>
> > > > >     </dependency>
> > > > >         </dependencies>
> > > > > </project>
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Tue, 2006-05-09 at 14:52 -0500, Wayne Fay wrote:
> > > > > > Using any system scoped dependencies?
> > > > > >
> > > > > > Wayne
> > > > > >
> > > > > > On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > > > Okay so I got passed my errors of missing dependencies (which are not
> > > > > > > really used) by mucking with the poms (not the best way, but it worked
> > > > > > > so I can move on).  Now I get a NPE when running the site goal, which is
> > > > > > > incl'd below.  How do I know what the arguments are that are needed for
> > > > > > > this goal or plugin (not sure of terminology).
> > > > > > >
> > > > > > > [INFO] Starting Jakarta Velocity v1.4
> > > > > > > [INFO] RuntimeInstance initializing.
> > > > > > > [INFO] Default Properties File:
> > > > > > > org/apache/velocity/runtime/defaults/velocity.properties
> > > > > > > [INFO] Default ResourceManager initializing. (class
> > > > > > > org.apache.velocity.runtime.resource.ResourceManagerImpl)
> > > > > > > [INFO] Resource Loader Instantiated:
> > > > > > > org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > > > > > > [INFO] ClasspathResourceLoader : initialization starting.
> > > > > > > [INFO] ClasspathResourceLoader : initialization complete.
> > > > > > > [INFO] ResourceCache : initialized. (class
> > > > > > > org.apache.velocity.runtime.resource.ResourceCacheImpl)
> > > > > > > [INFO] Default ResourceManager initialization complete.
> > > > > > > [INFO] Loaded System Directive:
> > > > > > > org.apache.velocity.runtime.directive.Literal
> > > > > > > [INFO] Loaded System Directive:
> > > > > > > org.apache.velocity.runtime.directive.Macro
> > > > > > > [INFO] Loaded System Directive:
> > > > > > > org.apache.velocity.runtime.directive.Parse
> > > > > > > [INFO] Loaded System Directive:
> > > > > > > org.apache.velocity.runtime.directive.Include
> > > > > > > [INFO] Loaded System Directive:
> > > > > > > org.apache.velocity.runtime.directive.Foreach
> > > > > > > [INFO] Created: 20 parsers.
> > > > > > > [INFO] Velocimacro : initialization starting.
> > > > > > > [INFO] Velocimacro : adding VMs from VM library template :
> > > > > > > VM_global_library.vm
> > > > > > > [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
> > > > > > > in any resource loader.
> > > > > > > [INFO] Velocimacro : error using  VM library template
> > > > > > > VM_global_library.vm :
> > > > > > > org.apache.velocity.exception.ResourceNotFoundException: Unable to find
> > > > > > > resource 'VM_global_library.vm'
> > > > > > > [INFO] Velocimacro :  VM library template macro registration complete.
> > > > > > > [INFO] Velocimacro : allowInline = true : VMs can be defined inline in
> > > > > > > templates
> > > > > > > [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
> > > > > > > may NOT replace previous VM definitions
> > > > > > > [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will
> > > > > > > be  global in scope if allowed.
> > > > > > > [INFO] Velocimacro : initialization complete.
> > > > > > > [INFO] Velocity successfully started.
> > > > > > > [INFO] [site:site]
> > > > > > > [INFO] Generate "Continuous Integration" report.
> > > > > > > [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
> > > > > > > got 0
> > > > > > > [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
> > > > > > > [INFO] Generate "Dependencies" report.
> > > > > > > [INFO]
> > > > > > > ------------------------------------------------------------------------
> > > > > > > [ERROR] FATAL ERROR
> > > > > > > [INFO]
> > > > > > > ------------------------------------------------------------------------
> > > > > > > [INFO] null
> > > > > > > [INFO]
> > > > > > > ------------------------------------------------------------------------
> > > > > > > [INFO] Trace
> > > > > > > java.lang.NullPointerException
> > > > > > >         at
> > > > > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
> > > > > > >         at
> > > > > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> > > > > > >         at
> > > > > > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
> > > > > > >         at
> > > > > > > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
> > > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > > $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:362)
> > > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > > $DependenciesRenderer.renderBody(DependenciesReport.java:286)
> > > > > > >         at
> > > > > > > org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
> > > > > > >         at
> > > > > > > org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:157)
> > > > > > >         at
> > > > > > > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
> > > > > > >         at
> > > > > > > org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802)
> > > > > > >         at
> > > > > > > org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301)
> > > > > > >         at
> > > > > > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
> > > > > > >         at
> > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
> > > > > > >         at
> > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
> > > > > > >         at
> > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
> > > > > > >         at
> > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
> > > > > > >         at
> > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> > > > > > >         at
> > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
> > > > > > >         at
> > > > > > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> > > > > > >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> > > > > > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> > > > > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > > >         at
> > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > > >         at
> > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > > > > > >         at
> > > > > > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > > > > > >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > > > > > >         at
> > > > > > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > > > > > >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > > > > > [INFO]
> > > > > > > ------------------------------------------------------------------------
> > > > > > > [INFO] Total time: 4 seconds
> > > > > > > [INFO] Finished at: Tue May 09 15:42:00 EDT 2006
> > > > > > > [INFO] Final Memory: 7M/13M
> > > > > > > [INFO]
> > > > > > > ------------------------------------------------------------------------
> > > > > > >
> > > > > > > Regards,
> > > > > > > Douglas WF Acheson
> > > > > > >
> > > > > > > On Tue, 2006-05-09 at 13:34 -0400, Douglas WF Acheson wrote:
> > > > > > > > Hello,
> > > > > > > >
> > > > > > > >   The output you see is from running [m2] with the -X option.  I ran the
> > > > > > > > package goal (with -X) and the same output is produced.
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > Douglas WF Acheson
> > > > > > > >
> > > > > > > > On Tue, 2006-05-09 at 10:22 -0500, Wayne Fay wrote:
> > > > > > > > > I'm not sure where these dependencies are coming from, esp poi 1.1 is
> > > > > > > > > a very old release, so you might want to run "mvn -X package" to see
> > > > > > > > > what is bringing in poi 1.1 since it appears to be a transitive
> > > > > > > > > dependency.
> > > > > > > > >
> > > > > > > > > But here's poi, latest appears to be 2.5.1:
> > > > > > > > > http://www.ibiblio.org/maven2/poi/poi/
> > > > > > > > >
> > > > > > > > > Not sure about easymockcontainer. Doesn't appear to exist in ibiblio.
> > > > > > > > > Check with the easymock project website/email list.
> > > > > > > > >
> > > > > > > > > Wayne
> > > > > > > > >
> > > > > > > > > On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > > > > > > Hello,
> > > > > > > > > >
> > > > > > > > > >   I am trying to run the goal site for my project, and I am running into
> > > > > > > > > > problems.  Specifically, unable to find required dependencies, here is
> > > > > > > > > > the output :
> > > > > > > > > >
> > > > > > > > > > 1) easymock:easymockcontainer:jar:1.0.1
> > > > > > > > > >
> > > > > > > > > >   Try downloading the file manually from the project website.
> > > > > > > > > >
> > > > > > > > > >   Then, install it using the command:
> > > > > > > > > >       mvn install:install-file -DgroupId=easymock
> > > > > > > > > > -DartifactId=easymockcontainer \
> > > > > > > > > >           -Dversion=1.0.1 -Dpackaging=jar -Dfile=/path/to/file
> > > > > > > > > >
> > > > > > > > > >   Path to dependency:
> > > > > > > > > >         1) mycompany:myproject:jar:5.0
> > > > > > > > > >         2) drools:drools-decisiontables:jar:2.1
> > > > > > > > > >         3) drools:drools-core:jar:2.1
> > > > > > > > > >         4) easymock:easymockcontainer:jar:1.0.1
> > > > > > > > > >
> > > > > > > > > > 2) poi:poi:jar:1.1
> > > > > > > > > >
> > > > > > > > > >   Try downloading the file manually from the project website.
> > > > > > > > > >
> > > > > > > > > >   Then, install it using the command:
> > > > > > > > > >       mvn install:install-file -DgroupId=poi -DartifactId=poi \
> > > > > > > > > >           -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
> > > > > > > > > >
> > > > > > > > > >   Path to dependency:
> > > > > > > > > >         1) mycompany:myproject:jar:5.0
> > > > > > > > > >         2) drools:drools-decisiontables:jar:2.1
> > > > > > > > > >         3) poi:poi:jar:1.1
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > If these artifacts do not exist, how can I continue?  I tried looking
> > > > > > > > > > for easymockcontainer on the web, but could not find it.
> > > > > > > > > >
> > > > > > > > > > Signed confused :-)
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > ---------------------------------------------------------------------
> > > > > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > ---------------------------------------------------------------------
> > > > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > > > >
> > > > > > > >
> > > > > > > > ---------------------------------------------------------------------
> > > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > > >
> > > > > > >
> > > > > > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > >
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Douglas WF Acheson <do...@bpsserver.com>.
Hello,

  The warnings I was referring to were the 'unable to retrieve
artifacts'.  Are these a concern?


dwfa

On Wed, 2006-05-10 at 13:44 -0500, Wayne Fay wrote:
> If you're talking about this "error":
> 
> [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
> in any resource loader.
> 
> Then no, contrary to the ERROR message, this is not in fact anything
> to worry about. There is no need to worry about going back to a
> previous version, if you look at the earlier stack trace, you will see
> this same error message existed back then too.
> 
> Same goes for the messages:
> > [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
> 
> Still not sure why you've got these problems...
> 
> Wayne
> 
> On 5/10/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > Hello, its the noob agian :-):
> >
> >   I have updated my pom to include the snapshot repository, which
> > updated all my downloadable artifacts (this took some effort and time).
> > But, I still get the same error.  Now there are some warnings about
> > files not able able to be retrieved.  Is this a concern?  Is this really
> > a bug?  If it is how can I go back to a previous version, and which
> > version should I use?  Or what arguments do I need to provide to the
> > goal to get it to work.  Thx again for all your help ...
> >
> >
> >
> > linux: mvn -U site
> > [INFO] Scanning for projects...
> > [INFO]
> > ----------------------------------------------------------------------------
> > [INFO] Building Unnamed - com.bps.iproject:bpsserver-core:jar:5.0
> > [INFO]    task-segment: [site]
> > [INFO]
> > ----------------------------------------------------------------------------
> > [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
> > updates from snapshots
> > [WARNING] repository metadata for: 'artifact
> > org.apache.maven.plugins:maven-site-plugin' could not be retrieved from
> > repository: snapshots due to an error: Error transferring file
> > [INFO] Repository 'snapshots' will be blacklisted
> > [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
> > updates from central
> > [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking
> > for updates from central
> > [INFO] artifact org.apache.maven.plugins:maven-resources-plugin:
> > checking for updates from central
> > [INFO] artifact
> > org.apache.maven.plugins:maven-project-info-reports-plugin: checking for
> > updates from central
> > [WARNING]
> >         Artifact junit:junit:jar:3.8.1:test retains local scope 'test'
> > overriding broader scope 'compile'
> >         given by a dependency. If this is not intended, modify or remove
> > the local scope.
> >
> > [INFO] Setting property: classpath.resource.loader.class =>
> > 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> > [INFO] Setting property: velocimacro.messages.on => 'false'.
> > [INFO] Setting property: resource.loader => 'classpath'.
> > [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> > [INFO] **************************************************************
> > [INFO] Starting Jakarta Velocity v1.4
> > [INFO] RuntimeInstance initializing.
> > [INFO] Default Properties File:
> > org/apache/velocity/runtime/defaults/velocity.properties
> > [INFO] Default ResourceManager initializing. (class
> > org.apache.velocity.runtime.resource.ResourceManagerImpl)
> > [INFO] Resource Loader Instantiated:
> > org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > [INFO] ClasspathResourceLoader : initialization starting.
> > [INFO] ClasspathResourceLoader : initialization complete.
> > [INFO] ResourceCache : initialized. (class
> > org.apache.velocity.runtime.resource.ResourceCacheImpl)
> > [INFO] Default ResourceManager initialization complete.
> > [INFO] Loaded System Directive:
> > org.apache.velocity.runtime.directive.Literal
> > [INFO] Loaded System Directive:
> > org.apache.velocity.runtime.directive.Macro
> > [INFO] Loaded System Directive:
> > org.apache.velocity.runtime.directive.Parse
> > [INFO] Loaded System Directive:
> > org.apache.velocity.runtime.directive.Include
> > [INFO] Loaded System Directive:
> > org.apache.velocity.runtime.directive.Foreach
> > [INFO] Created: 20 parsers.
> > [INFO] Velocimacro : initialization starting.
> > [INFO] Velocimacro : adding VMs from VM library template :
> > VM_global_library.vm
> > [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
> > in any resource loader.
> > [INFO] Velocimacro : error using  VM library template
> > VM_global_library.vm :
> > org.apache.velocity.exception.ResourceNotFoundException: Unable to find
> > resource 'VM_global_library.vm'
> > [INFO] Velocimacro :  VM library template macro registration complete.
> > [INFO] Velocimacro : allowInline = true : VMs can be defined inline in
> > templates
> > [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
> > may NOT replace previous VM definitions
> > [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will
> > be  global in scope if allowed.
> > [INFO] Velocimacro : initialization complete.
> > [INFO] Velocity successfully started.
> > [INFO] [site:site]
> > [INFO] Generate "Continuous Integration" report.
> > [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
> > got 0
> > [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
> > [INFO] Generate "Dependencies" report.
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] FATAL ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] null
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Trace
> > java.lang.NullPointerException
> >         at
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
> >         at
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
> >         at org.apache.maven.report.projectinfo.DependenciesReport
> > $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:362)
> >         at org.apache.maven.report.projectinfo.DependenciesReport
> > $DependenciesRenderer.renderBody(DependenciesReport.java:286)
> >         at
> > org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
> >         at
> > org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:157)
> >         at
> > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
> >         at
> > org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802)
> >         at
> > org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301)
> >         at
> > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
> >         at
> > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >         at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at
> > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >         at
> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 1 minute 41 seconds
> > [INFO] Finished at: Wed May 10 13:58:02 EDT 2006
> > [INFO] Final Memory: 8M/14M
> > [INFO]
> > ------------------------------------------------------------------------
> > l
> >
> > On Tue, 2006-05-09 at 15:24 -0500, Wayne Fay wrote:
> > > Don't see any <scope>system</scope> dependencies there so that doesn't
> > > seem to be it...
> > >
> > > I'm not convinced you're running the latest version of site plugin
> > > (and others). Run mvn -U site to ensure you're all updated.
> > >
> > > If that doesn't work, perhaps you can add the Snapshot repo to your
> > > pom, and force an update with mvn -U site, to make sure your problem
> > > isn't already resolved in a not-yet-released version of the site
> > > plugin?
> > >
> > > This will help you get the Snapshot repos added to your pom:
> > > http://maven.apache.org/guides/development/guide-testing-development-plugins.html
> > >
> > > Wayne
> > >
> > > On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > To be honest not sure what that means, but if I where to assume (with my
> > > > limited knowledge of m2) the only scope I identified was in dependencies
> > > > and those where compile) I will include my pom.xml (btw the parent pom
> > > > only has modelVersion atm) ...
> > > >
> > > >
> > > >
> > > > <project>
> > > >   <modelVersion>4.0.0</modelVersion>
> > > >   <groupId>mycompany</groupId>
> > > >   <artifactId>mypoject</artifactId>
> > > >   <packaging>jar</packaging>
> > > >   <version>0.1</version>
> > > >   <description>tbd</description>
> > > >
> > > >   <!--
> > > >     Define where to find the required artifacts (and only look there).
> > > >    -->
> > > >   <repositories>
> > > >     <repository>
> > > >       <id>central</id>
> > > >       <name>Internal Mirror of Central Repository</name>
> > > >       <url>mavenproxy</url>
> > > >     </repository>
> > > >   </repositories>
> > > >
> > > >   <!--
> > > >     Define the defalut parent POM for all our builds.
> > > >   -->
> > > >   <parent>
> > > >     <groupId>mycompany</groupId>
> > > >     <artifactId>our</artifactId>
> > > >     <version>1.0</version>
> > > >   </parent>
> > > >
> > > >         <!--
> > > >                 Describe how this build works.
> > > >         -->
> > > >         <build>
> > > >                 <resources>
> > > >                         <resource>
> > > >                                 <directory>src/main/resources</directory>
> > > >                                 <filtering>false</filtering>
> > > >                                 <includes>
> > > >                                         <include>**/gantt/gui/images/**</include>
> > > >                                 </includes>
> > > >                         </resource>
> > > >                 </resources>
> > > >                 <plugins>
> > > >                         <plugin>
> > > >                                 <groupId>org.apache.maven.plugins</groupId>
> > > >                                 <artifactId>maven-compiler-plugin</artifactId>
> > > >                                 <configuration>
> > > >                                         <source>1.4</source>
> > > >                                         <target>1.4</target>
> > > >                                 </configuration>
> > > >                         </plugin>
> > > >                         <plugin>
> > > >                                 <groupId>org.apache.maven.plugins</groupId>
> > > >                                 <artifactId>maven-resources-plugin</artifactId>
> > > >                         </plugin>
> > > >                         <!-- plugin>
> > > >                                 <groupId>org.apache.maven.plugins</groupId>
> > > >                                 <artifactId>maven-project-info-reports-plugin</artifactId>
> > > >                                 <version>2.0-alpha-1</version>
> > > >                         </plugin -->
> > > >                 </plugins>
> > > >         </build>
> > > >
> > > >         <dependencies>
> > > >                 <!-- DEFINE THE SPRING FRAMEWORK DEPENDENCIES -->
> > > >                 <dependency>
> > > >                         <groupId>org.springframework</groupId>
> > > >                         <artifactId>spring</artifactId>
> > > >                         <version>1.2.4</version>
> > > >                         <scope>compile</scope>
> > > >                 </dependency>
> > > >
> > > >                 <!-- DEFINE THE ACEGI SECURITY DEPENDENCIES -->
> > > >                 <dependency>
> > > >                         <groupId>acegisecurity</groupId>
> > > >                         <artifactId>acegi-security</artifactId>
> > > >                         <version>0.7.0</version>
> > > >                         <scope>compile</scope>
> > > >                         <exclusions>
> > > >                                 <exclusion>
> > > >                                         <artifactId>spring-core</artifactId>
> > > >                                         <groupId>springframework</groupId>
> > > >                                 </exclusion>
> > > >                         </exclusions>
> > > >                 </dependency>
> > > >
> > > >                 <!-- DEFINE THE CGLIB DEPENDENCIES -->
> > > >                 <dependency>
> > > >                         <groupId>cglib</groupId>
> > > >                         <artifactId>cglib</artifactId>
> > > >                         <version>2.0.2</version>
> > > >                         <scope>compile</scope>
> > > >                 </dependency>
> > > >
> > > >                 <!-- DEFINE THE DROOLS DEPENDENCIES -->
> > > >                 <dependency>
> > > >                         <groupId>drools</groupId>
> > > >                         <artifactId>drools-decisiontables</artifactId>
> > > >                         <version>2.1</version>
> > > >                         <scope>compile</scope>
> > > >                         <exclusions>
> > > >                                 <exclusion>
> > > >                                         <artifactId>poi</artifactId>
> > > >                                         <groupId>poi</groupId>
> > > >                                 </exclusion>
> > > >                         </exclusions>
> > > >                 </dependency>
> > > >
> > > >                 <!-- DEFINE THE HIBERNATE DEPENDENCIES -->
> > > >                 <dependency>
> > > >                         <groupId>net.sf.hibernate</groupId>
> > > >                         <artifactId>hibernate</artifactId>
> > > >                         <version>2.1.6</version>
> > > >                         <scope>compile</scope>
> > > >                 </dependency>
> > > >
> > > >                 <!-- DEFINE THE JAKARTA COMMONS DEPENDENCIES -->
> > > >                 <dependency>
> > > >                         <groupId>commons-chain</groupId>
> > > >                         <artifactId>commons-chain</artifactId>
> > > >                         <version>1.0</version>
> > > >                         <scope>compile</scope>
> > > >                 </dependency>
> > > >
> > > >                 <dependency>
> > > >                         <groupId>commons-digester</groupId>
> > > >                         <artifactId>commons-digester</artifactId>
> > > >                         <version>1.7</version>
> > > >                         <scope>compile</scope>
> > > >                 </dependency>
> > > >
> > > >                 <dependency>
> > > >                         <groupId>commons-lang</groupId>
> > > >                         <artifactId>commons-lang</artifactId>
> > > >                         <version>2.1</version>
> > > >                         <scope>compile</scope>
> > > >                 </dependency>
> > > >
> > > >                 <dependency>
> > > >                         <groupId>commons-vfs</groupId>
> > > >                         <artifactId>commons-vfs</artifactId>
> > > >                         <version>20050307052300</version>
> > > >                         <scope>compile</scope>
> > > >                 </dependency>
> > > >
> > > >                 <!-- DEFINE THE JAVA MONITOR DEPENDENCIES -->
> > > >                 <dependency>
> > > >                         <groupId>com.jamonapi</groupId>
> > > >                         <artifactId>jamon</artifactId>
> > > >                         <version>1.0</version>
> > > >                         <scope>compile</scope>
> > > >                 </dependency>
> > > >
> > > >                 <!-- DEFINE THE JASPERSOFT DEPENDENCIES -->
> > > >                 <dependency>
> > > >                         <groupId>com.jaspersoft</groupId>
> > > >                         <artifactId>panscopicsoap</artifactId>
> > > >                         <version>3.1</version>
> > > >                         <scope>compile</scope>
> > > >                 </dependency>
> > > >
> > > >                 <!-- DEFINE THE JAVA EXTENSION DEPENDENCIES -->
> > > >                 <dependency>
> > > >                         <groupId>javax</groupId>
> > > >                         <artifactId>mail</artifactId>
> > > >                         <version>1.3.1</version>
> > > >                         <scope>compile</scope>
> > > >                 </dependency>
> > > >
> > > >                 <dependency>
> > > >                         <groupId>javax</groupId>
> > > >                         <artifactId>rules</artifactId>
> > > >                         <version>1.1</version>
> > > >                         <scope>compile</scope>
> > > >                 </dependency>
> > > >
> > > >                 <!-- DEFINE THE JEPLITE DEPENDENCIES -->
> > > >                 <dependency>
> > > >                         <groupId>org.cheffo</groupId>
> > > >                         <artifactId>jeplite</artifactId>
> > > >                         <version>1.0</version>
> > > >                         <scope>compile</scope>
> > > >                 </dependency>
> > > >
> > > >                 <!-- DEFINE THE MULE DEPENDENCIES -->
> > > >                 <dependency>
> > > >                         <groupId>mule</groupId>
> > > >                         <artifactId>mule</artifactId>
> > > >                         <version>1.1-rc1</version>
> > > >                         <scope>compile</scope>
> > > >                 </dependency>
> > > >
> > > >                 <!-- DEFINE THE SHARK WORKFLOW DEPENDENCIES -->
> > > >                 <dependency>
> > > >                         <groupId>org.enhydra</groupId>
> > > >                         <artifactId>shark</artifactId>
> > > >                         <version>1.1.2</version>
> > > >                         <scope>compile</scope>
> > > >                 </dependency>
> > > >
> > > >                 <!-- DEFINE THE VELOCITY DEPENDENCIES -->
> > > >                 <dependency>
> > > >                         <groupId>velocity</groupId>
> > > >                         <artifactId>velocity</artifactId>
> > > >                         <version>1.4</version>
> > > >                         <scope>compile</scope>
> > > >                 </dependency>
> > > >
> > > >                 <!-- DEFINE THE XTREAM DEPENDENCIES -->
> > > >                 <dependency>
> > > >                         <groupId>xstream</groupId>
> > > >                         <artifactId>xstream</artifactId>
> > > >                         <version>1.0.2</version>
> > > >                         <scope>compile</scope>
> > > >                 </dependency>
> > > >
> > > >
> > > >     <!-- DEFINE THE jcFIELD DEPENDENCIES -->
> > > >
> > > >     <dependency>
> > > >       <groupId>com.klg</groupId>
> > > >       <artifactId>jcfield</artifactId>
> > > >       <version>6.0.0</version>
> > > >       <scope>compile</scope>
> > > >     </dependency>
> > > >
> > > >     <!-- DEFINE THE JAWS DEPENDENCIES -->
> > > >
> > > >     <dependency>
> > > >       <groupId>com.sun</groupId>
> > > >       <artifactId>jaws</artifactId>
> > > >       <version>1.0</version>
> > > >                         <scope>compile</scope>
> > > >     </dependency>
> > > >
> > > >     <!-- DEFINE THE jDOM DEPENDENCIES -->
> > > >
> > > >     <dependency>
> > > >       <groupId>jdom</groupId>
> > > >       <artifactId>jdom</artifactId>
> > > >       <version>1.0</version>
> > > >       <scope>compile</scope>
> > > >     </dependency>
> > > >
> > > >     <!-- DEFINE THE MPXJ DEPENDENCIES -->
> > > >
> > > >     <dependency>
> > > >       <groupId>com.tapsterrock</groupId>
> > > >       <artifactId>mpxj</artifactId>
> > > >       <version>0.0.23</version>
> > > >       <scope>compile</scope>
> > > >     </dependency>
> > > >         </dependencies>
> > > > </project>
> > > >
> > > >
> > > >
> > > >
> > > > On Tue, 2006-05-09 at 14:52 -0500, Wayne Fay wrote:
> > > > > Using any system scoped dependencies?
> > > > >
> > > > > Wayne
> > > > >
> > > > > On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > > Okay so I got passed my errors of missing dependencies (which are not
> > > > > > really used) by mucking with the poms (not the best way, but it worked
> > > > > > so I can move on).  Now I get a NPE when running the site goal, which is
> > > > > > incl'd below.  How do I know what the arguments are that are needed for
> > > > > > this goal or plugin (not sure of terminology).
> > > > > >
> > > > > > [INFO] Starting Jakarta Velocity v1.4
> > > > > > [INFO] RuntimeInstance initializing.
> > > > > > [INFO] Default Properties File:
> > > > > > org/apache/velocity/runtime/defaults/velocity.properties
> > > > > > [INFO] Default ResourceManager initializing. (class
> > > > > > org.apache.velocity.runtime.resource.ResourceManagerImpl)
> > > > > > [INFO] Resource Loader Instantiated:
> > > > > > org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > > > > > [INFO] ClasspathResourceLoader : initialization starting.
> > > > > > [INFO] ClasspathResourceLoader : initialization complete.
> > > > > > [INFO] ResourceCache : initialized. (class
> > > > > > org.apache.velocity.runtime.resource.ResourceCacheImpl)
> > > > > > [INFO] Default ResourceManager initialization complete.
> > > > > > [INFO] Loaded System Directive:
> > > > > > org.apache.velocity.runtime.directive.Literal
> > > > > > [INFO] Loaded System Directive:
> > > > > > org.apache.velocity.runtime.directive.Macro
> > > > > > [INFO] Loaded System Directive:
> > > > > > org.apache.velocity.runtime.directive.Parse
> > > > > > [INFO] Loaded System Directive:
> > > > > > org.apache.velocity.runtime.directive.Include
> > > > > > [INFO] Loaded System Directive:
> > > > > > org.apache.velocity.runtime.directive.Foreach
> > > > > > [INFO] Created: 20 parsers.
> > > > > > [INFO] Velocimacro : initialization starting.
> > > > > > [INFO] Velocimacro : adding VMs from VM library template :
> > > > > > VM_global_library.vm
> > > > > > [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
> > > > > > in any resource loader.
> > > > > > [INFO] Velocimacro : error using  VM library template
> > > > > > VM_global_library.vm :
> > > > > > org.apache.velocity.exception.ResourceNotFoundException: Unable to find
> > > > > > resource 'VM_global_library.vm'
> > > > > > [INFO] Velocimacro :  VM library template macro registration complete.
> > > > > > [INFO] Velocimacro : allowInline = true : VMs can be defined inline in
> > > > > > templates
> > > > > > [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
> > > > > > may NOT replace previous VM definitions
> > > > > > [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will
> > > > > > be  global in scope if allowed.
> > > > > > [INFO] Velocimacro : initialization complete.
> > > > > > [INFO] Velocity successfully started.
> > > > > > [INFO] [site:site]
> > > > > > [INFO] Generate "Continuous Integration" report.
> > > > > > [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
> > > > > > got 0
> > > > > > [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
> > > > > > [INFO] Generate "Dependencies" report.
> > > > > > [INFO]
> > > > > > ------------------------------------------------------------------------
> > > > > > [ERROR] FATAL ERROR
> > > > > > [INFO]
> > > > > > ------------------------------------------------------------------------
> > > > > > [INFO] null
> > > > > > [INFO]
> > > > > > ------------------------------------------------------------------------
> > > > > > [INFO] Trace
> > > > > > java.lang.NullPointerException
> > > > > >         at
> > > > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
> > > > > >         at
> > > > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> > > > > >         at
> > > > > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
> > > > > >         at
> > > > > > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
> > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:362)
> > > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > > $DependenciesRenderer.renderBody(DependenciesReport.java:286)
> > > > > >         at
> > > > > > org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
> > > > > >         at
> > > > > > org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:157)
> > > > > >         at
> > > > > > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
> > > > > >         at
> > > > > > org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802)
> > > > > >         at
> > > > > > org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301)
> > > > > >         at
> > > > > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
> > > > > >         at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
> > > > > >         at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
> > > > > >         at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
> > > > > >         at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
> > > > > >         at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> > > > > >         at
> > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
> > > > > >         at
> > > > > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> > > > > >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> > > > > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> > > > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > > >         at
> > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > > >         at
> > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > > > > >         at
> > > > > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > > > > >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > > > > >         at
> > > > > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > > > > >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > > > > [INFO]
> > > > > > ------------------------------------------------------------------------
> > > > > > [INFO] Total time: 4 seconds
> > > > > > [INFO] Finished at: Tue May 09 15:42:00 EDT 2006
> > > > > > [INFO] Final Memory: 7M/13M
> > > > > > [INFO]
> > > > > > ------------------------------------------------------------------------
> > > > > >
> > > > > > Regards,
> > > > > > Douglas WF Acheson
> > > > > >
> > > > > > On Tue, 2006-05-09 at 13:34 -0400, Douglas WF Acheson wrote:
> > > > > > > Hello,
> > > > > > >
> > > > > > >   The output you see is from running [m2] with the -X option.  I ran the
> > > > > > > package goal (with -X) and the same output is produced.
> > > > > > >
> > > > > > > Regards,
> > > > > > > Douglas WF Acheson
> > > > > > >
> > > > > > > On Tue, 2006-05-09 at 10:22 -0500, Wayne Fay wrote:
> > > > > > > > I'm not sure where these dependencies are coming from, esp poi 1.1 is
> > > > > > > > a very old release, so you might want to run "mvn -X package" to see
> > > > > > > > what is bringing in poi 1.1 since it appears to be a transitive
> > > > > > > > dependency.
> > > > > > > >
> > > > > > > > But here's poi, latest appears to be 2.5.1:
> > > > > > > > http://www.ibiblio.org/maven2/poi/poi/
> > > > > > > >
> > > > > > > > Not sure about easymockcontainer. Doesn't appear to exist in ibiblio.
> > > > > > > > Check with the easymock project website/email list.
> > > > > > > >
> > > > > > > > Wayne
> > > > > > > >
> > > > > > > > On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > > > > > Hello,
> > > > > > > > >
> > > > > > > > >   I am trying to run the goal site for my project, and I am running into
> > > > > > > > > problems.  Specifically, unable to find required dependencies, here is
> > > > > > > > > the output :
> > > > > > > > >
> > > > > > > > > 1) easymock:easymockcontainer:jar:1.0.1
> > > > > > > > >
> > > > > > > > >   Try downloading the file manually from the project website.
> > > > > > > > >
> > > > > > > > >   Then, install it using the command:
> > > > > > > > >       mvn install:install-file -DgroupId=easymock
> > > > > > > > > -DartifactId=easymockcontainer \
> > > > > > > > >           -Dversion=1.0.1 -Dpackaging=jar -Dfile=/path/to/file
> > > > > > > > >
> > > > > > > > >   Path to dependency:
> > > > > > > > >         1) mycompany:myproject:jar:5.0
> > > > > > > > >         2) drools:drools-decisiontables:jar:2.1
> > > > > > > > >         3) drools:drools-core:jar:2.1
> > > > > > > > >         4) easymock:easymockcontainer:jar:1.0.1
> > > > > > > > >
> > > > > > > > > 2) poi:poi:jar:1.1
> > > > > > > > >
> > > > > > > > >   Try downloading the file manually from the project website.
> > > > > > > > >
> > > > > > > > >   Then, install it using the command:
> > > > > > > > >       mvn install:install-file -DgroupId=poi -DartifactId=poi \
> > > > > > > > >           -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
> > > > > > > > >
> > > > > > > > >   Path to dependency:
> > > > > > > > >         1) mycompany:myproject:jar:5.0
> > > > > > > > >         2) drools:drools-decisiontables:jar:2.1
> > > > > > > > >         3) poi:poi:jar:1.1
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > If these artifacts do not exist, how can I continue?  I tried looking
> > > > > > > > > for easymockcontainer on the web, but could not find it.
> > > > > > > > >
> > > > > > > > > Signed confused :-)
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ---------------------------------------------------------------------
> > > > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > > ---------------------------------------------------------------------
> > > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > > >
> > > > > > >
> > > > > > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > >
> > > > > >
> > > > > > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Wayne Fay <wa...@gmail.com>.
If you're talking about this "error":

[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
in any resource loader.

Then no, contrary to the ERROR message, this is not in fact anything
to worry about. There is no need to worry about going back to a
previous version, if you look at the earlier stack trace, you will see
this same error message existed back then too.

Same goes for the messages:
> [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2

Still not sure why you've got these problems...

Wayne

On 5/10/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> Hello, its the noob agian :-):
>
>   I have updated my pom to include the snapshot repository, which
> updated all my downloadable artifacts (this took some effort and time).
> But, I still get the same error.  Now there are some warnings about
> files not able able to be retrieved.  Is this a concern?  Is this really
> a bug?  If it is how can I go back to a previous version, and which
> version should I use?  Or what arguments do I need to provide to the
> goal to get it to work.  Thx again for all your help ...
>
>
>
> linux: mvn -U site
> [INFO] Scanning for projects...
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building Unnamed - com.bps.iproject:bpsserver-core:jar:5.0
> [INFO]    task-segment: [site]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
> updates from snapshots
> [WARNING] repository metadata for: 'artifact
> org.apache.maven.plugins:maven-site-plugin' could not be retrieved from
> repository: snapshots due to an error: Error transferring file
> [INFO] Repository 'snapshots' will be blacklisted
> [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
> updates from central
> [INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking
> for updates from central
> [INFO] artifact org.apache.maven.plugins:maven-resources-plugin:
> checking for updates from central
> [INFO] artifact
> org.apache.maven.plugins:maven-project-info-reports-plugin: checking for
> updates from central
> [WARNING]
>         Artifact junit:junit:jar:3.8.1:test retains local scope 'test'
> overriding broader scope 'compile'
>         given by a dependency. If this is not intended, modify or remove
> the local scope.
>
> [INFO] Setting property: classpath.resource.loader.class =>
> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] **************************************************************
> [INFO] Starting Jakarta Velocity v1.4
> [INFO] RuntimeInstance initializing.
> [INFO] Default Properties File:
> org/apache/velocity/runtime/defaults/velocity.properties
> [INFO] Default ResourceManager initializing. (class
> org.apache.velocity.runtime.resource.ResourceManagerImpl)
> [INFO] Resource Loader Instantiated:
> org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> [INFO] ClasspathResourceLoader : initialization starting.
> [INFO] ClasspathResourceLoader : initialization complete.
> [INFO] ResourceCache : initialized. (class
> org.apache.velocity.runtime.resource.ResourceCacheImpl)
> [INFO] Default ResourceManager initialization complete.
> [INFO] Loaded System Directive:
> org.apache.velocity.runtime.directive.Literal
> [INFO] Loaded System Directive:
> org.apache.velocity.runtime.directive.Macro
> [INFO] Loaded System Directive:
> org.apache.velocity.runtime.directive.Parse
> [INFO] Loaded System Directive:
> org.apache.velocity.runtime.directive.Include
> [INFO] Loaded System Directive:
> org.apache.velocity.runtime.directive.Foreach
> [INFO] Created: 20 parsers.
> [INFO] Velocimacro : initialization starting.
> [INFO] Velocimacro : adding VMs from VM library template :
> VM_global_library.vm
> [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
> in any resource loader.
> [INFO] Velocimacro : error using  VM library template
> VM_global_library.vm :
> org.apache.velocity.exception.ResourceNotFoundException: Unable to find
> resource 'VM_global_library.vm'
> [INFO] Velocimacro :  VM library template macro registration complete.
> [INFO] Velocimacro : allowInline = true : VMs can be defined inline in
> templates
> [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
> may NOT replace previous VM definitions
> [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will
> be  global in scope if allowed.
> [INFO] Velocimacro : initialization complete.
> [INFO] Velocity successfully started.
> [INFO] [site:site]
> [INFO] Generate "Continuous Integration" report.
> [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
> got 0
> [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
> [INFO] Generate "Dependencies" report.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] null
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
>         at org.apache.maven.report.projectinfo.DependenciesReport
> $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:362)
>         at org.apache.maven.report.projectinfo.DependenciesReport
> $DependenciesRenderer.renderBody(DependenciesReport.java:286)
>         at
> org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
>         at
> org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:157)
>         at
> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
>         at
> org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802)
>         at
> org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>         at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 41 seconds
> [INFO] Finished at: Wed May 10 13:58:02 EDT 2006
> [INFO] Final Memory: 8M/14M
> [INFO]
> ------------------------------------------------------------------------
> l
>
> On Tue, 2006-05-09 at 15:24 -0500, Wayne Fay wrote:
> > Don't see any <scope>system</scope> dependencies there so that doesn't
> > seem to be it...
> >
> > I'm not convinced you're running the latest version of site plugin
> > (and others). Run mvn -U site to ensure you're all updated.
> >
> > If that doesn't work, perhaps you can add the Snapshot repo to your
> > pom, and force an update with mvn -U site, to make sure your problem
> > isn't already resolved in a not-yet-released version of the site
> > plugin?
> >
> > This will help you get the Snapshot repos added to your pom:
> > http://maven.apache.org/guides/development/guide-testing-development-plugins.html
> >
> > Wayne
> >
> > On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > To be honest not sure what that means, but if I where to assume (with my
> > > limited knowledge of m2) the only scope I identified was in dependencies
> > > and those where compile) I will include my pom.xml (btw the parent pom
> > > only has modelVersion atm) ...
> > >
> > >
> > >
> > > <project>
> > >   <modelVersion>4.0.0</modelVersion>
> > >   <groupId>mycompany</groupId>
> > >   <artifactId>mypoject</artifactId>
> > >   <packaging>jar</packaging>
> > >   <version>0.1</version>
> > >   <description>tbd</description>
> > >
> > >   <!--
> > >     Define where to find the required artifacts (and only look there).
> > >    -->
> > >   <repositories>
> > >     <repository>
> > >       <id>central</id>
> > >       <name>Internal Mirror of Central Repository</name>
> > >       <url>mavenproxy</url>
> > >     </repository>
> > >   </repositories>
> > >
> > >   <!--
> > >     Define the defalut parent POM for all our builds.
> > >   -->
> > >   <parent>
> > >     <groupId>mycompany</groupId>
> > >     <artifactId>our</artifactId>
> > >     <version>1.0</version>
> > >   </parent>
> > >
> > >         <!--
> > >                 Describe how this build works.
> > >         -->
> > >         <build>
> > >                 <resources>
> > >                         <resource>
> > >                                 <directory>src/main/resources</directory>
> > >                                 <filtering>false</filtering>
> > >                                 <includes>
> > >                                         <include>**/gantt/gui/images/**</include>
> > >                                 </includes>
> > >                         </resource>
> > >                 </resources>
> > >                 <plugins>
> > >                         <plugin>
> > >                                 <groupId>org.apache.maven.plugins</groupId>
> > >                                 <artifactId>maven-compiler-plugin</artifactId>
> > >                                 <configuration>
> > >                                         <source>1.4</source>
> > >                                         <target>1.4</target>
> > >                                 </configuration>
> > >                         </plugin>
> > >                         <plugin>
> > >                                 <groupId>org.apache.maven.plugins</groupId>
> > >                                 <artifactId>maven-resources-plugin</artifactId>
> > >                         </plugin>
> > >                         <!-- plugin>
> > >                                 <groupId>org.apache.maven.plugins</groupId>
> > >                                 <artifactId>maven-project-info-reports-plugin</artifactId>
> > >                                 <version>2.0-alpha-1</version>
> > >                         </plugin -->
> > >                 </plugins>
> > >         </build>
> > >
> > >         <dependencies>
> > >                 <!-- DEFINE THE SPRING FRAMEWORK DEPENDENCIES -->
> > >                 <dependency>
> > >                         <groupId>org.springframework</groupId>
> > >                         <artifactId>spring</artifactId>
> > >                         <version>1.2.4</version>
> > >                         <scope>compile</scope>
> > >                 </dependency>
> > >
> > >                 <!-- DEFINE THE ACEGI SECURITY DEPENDENCIES -->
> > >                 <dependency>
> > >                         <groupId>acegisecurity</groupId>
> > >                         <artifactId>acegi-security</artifactId>
> > >                         <version>0.7.0</version>
> > >                         <scope>compile</scope>
> > >                         <exclusions>
> > >                                 <exclusion>
> > >                                         <artifactId>spring-core</artifactId>
> > >                                         <groupId>springframework</groupId>
> > >                                 </exclusion>
> > >                         </exclusions>
> > >                 </dependency>
> > >
> > >                 <!-- DEFINE THE CGLIB DEPENDENCIES -->
> > >                 <dependency>
> > >                         <groupId>cglib</groupId>
> > >                         <artifactId>cglib</artifactId>
> > >                         <version>2.0.2</version>
> > >                         <scope>compile</scope>
> > >                 </dependency>
> > >
> > >                 <!-- DEFINE THE DROOLS DEPENDENCIES -->
> > >                 <dependency>
> > >                         <groupId>drools</groupId>
> > >                         <artifactId>drools-decisiontables</artifactId>
> > >                         <version>2.1</version>
> > >                         <scope>compile</scope>
> > >                         <exclusions>
> > >                                 <exclusion>
> > >                                         <artifactId>poi</artifactId>
> > >                                         <groupId>poi</groupId>
> > >                                 </exclusion>
> > >                         </exclusions>
> > >                 </dependency>
> > >
> > >                 <!-- DEFINE THE HIBERNATE DEPENDENCIES -->
> > >                 <dependency>
> > >                         <groupId>net.sf.hibernate</groupId>
> > >                         <artifactId>hibernate</artifactId>
> > >                         <version>2.1.6</version>
> > >                         <scope>compile</scope>
> > >                 </dependency>
> > >
> > >                 <!-- DEFINE THE JAKARTA COMMONS DEPENDENCIES -->
> > >                 <dependency>
> > >                         <groupId>commons-chain</groupId>
> > >                         <artifactId>commons-chain</artifactId>
> > >                         <version>1.0</version>
> > >                         <scope>compile</scope>
> > >                 </dependency>
> > >
> > >                 <dependency>
> > >                         <groupId>commons-digester</groupId>
> > >                         <artifactId>commons-digester</artifactId>
> > >                         <version>1.7</version>
> > >                         <scope>compile</scope>
> > >                 </dependency>
> > >
> > >                 <dependency>
> > >                         <groupId>commons-lang</groupId>
> > >                         <artifactId>commons-lang</artifactId>
> > >                         <version>2.1</version>
> > >                         <scope>compile</scope>
> > >                 </dependency>
> > >
> > >                 <dependency>
> > >                         <groupId>commons-vfs</groupId>
> > >                         <artifactId>commons-vfs</artifactId>
> > >                         <version>20050307052300</version>
> > >                         <scope>compile</scope>
> > >                 </dependency>
> > >
> > >                 <!-- DEFINE THE JAVA MONITOR DEPENDENCIES -->
> > >                 <dependency>
> > >                         <groupId>com.jamonapi</groupId>
> > >                         <artifactId>jamon</artifactId>
> > >                         <version>1.0</version>
> > >                         <scope>compile</scope>
> > >                 </dependency>
> > >
> > >                 <!-- DEFINE THE JASPERSOFT DEPENDENCIES -->
> > >                 <dependency>
> > >                         <groupId>com.jaspersoft</groupId>
> > >                         <artifactId>panscopicsoap</artifactId>
> > >                         <version>3.1</version>
> > >                         <scope>compile</scope>
> > >                 </dependency>
> > >
> > >                 <!-- DEFINE THE JAVA EXTENSION DEPENDENCIES -->
> > >                 <dependency>
> > >                         <groupId>javax</groupId>
> > >                         <artifactId>mail</artifactId>
> > >                         <version>1.3.1</version>
> > >                         <scope>compile</scope>
> > >                 </dependency>
> > >
> > >                 <dependency>
> > >                         <groupId>javax</groupId>
> > >                         <artifactId>rules</artifactId>
> > >                         <version>1.1</version>
> > >                         <scope>compile</scope>
> > >                 </dependency>
> > >
> > >                 <!-- DEFINE THE JEPLITE DEPENDENCIES -->
> > >                 <dependency>
> > >                         <groupId>org.cheffo</groupId>
> > >                         <artifactId>jeplite</artifactId>
> > >                         <version>1.0</version>
> > >                         <scope>compile</scope>
> > >                 </dependency>
> > >
> > >                 <!-- DEFINE THE MULE DEPENDENCIES -->
> > >                 <dependency>
> > >                         <groupId>mule</groupId>
> > >                         <artifactId>mule</artifactId>
> > >                         <version>1.1-rc1</version>
> > >                         <scope>compile</scope>
> > >                 </dependency>
> > >
> > >                 <!-- DEFINE THE SHARK WORKFLOW DEPENDENCIES -->
> > >                 <dependency>
> > >                         <groupId>org.enhydra</groupId>
> > >                         <artifactId>shark</artifactId>
> > >                         <version>1.1.2</version>
> > >                         <scope>compile</scope>
> > >                 </dependency>
> > >
> > >                 <!-- DEFINE THE VELOCITY DEPENDENCIES -->
> > >                 <dependency>
> > >                         <groupId>velocity</groupId>
> > >                         <artifactId>velocity</artifactId>
> > >                         <version>1.4</version>
> > >                         <scope>compile</scope>
> > >                 </dependency>
> > >
> > >                 <!-- DEFINE THE XTREAM DEPENDENCIES -->
> > >                 <dependency>
> > >                         <groupId>xstream</groupId>
> > >                         <artifactId>xstream</artifactId>
> > >                         <version>1.0.2</version>
> > >                         <scope>compile</scope>
> > >                 </dependency>
> > >
> > >
> > >     <!-- DEFINE THE jcFIELD DEPENDENCIES -->
> > >
> > >     <dependency>
> > >       <groupId>com.klg</groupId>
> > >       <artifactId>jcfield</artifactId>
> > >       <version>6.0.0</version>
> > >       <scope>compile</scope>
> > >     </dependency>
> > >
> > >     <!-- DEFINE THE JAWS DEPENDENCIES -->
> > >
> > >     <dependency>
> > >       <groupId>com.sun</groupId>
> > >       <artifactId>jaws</artifactId>
> > >       <version>1.0</version>
> > >                         <scope>compile</scope>
> > >     </dependency>
> > >
> > >     <!-- DEFINE THE jDOM DEPENDENCIES -->
> > >
> > >     <dependency>
> > >       <groupId>jdom</groupId>
> > >       <artifactId>jdom</artifactId>
> > >       <version>1.0</version>
> > >       <scope>compile</scope>
> > >     </dependency>
> > >
> > >     <!-- DEFINE THE MPXJ DEPENDENCIES -->
> > >
> > >     <dependency>
> > >       <groupId>com.tapsterrock</groupId>
> > >       <artifactId>mpxj</artifactId>
> > >       <version>0.0.23</version>
> > >       <scope>compile</scope>
> > >     </dependency>
> > >         </dependencies>
> > > </project>
> > >
> > >
> > >
> > >
> > > On Tue, 2006-05-09 at 14:52 -0500, Wayne Fay wrote:
> > > > Using any system scoped dependencies?
> > > >
> > > > Wayne
> > > >
> > > > On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > Okay so I got passed my errors of missing dependencies (which are not
> > > > > really used) by mucking with the poms (not the best way, but it worked
> > > > > so I can move on).  Now I get a NPE when running the site goal, which is
> > > > > incl'd below.  How do I know what the arguments are that are needed for
> > > > > this goal or plugin (not sure of terminology).
> > > > >
> > > > > [INFO] Starting Jakarta Velocity v1.4
> > > > > [INFO] RuntimeInstance initializing.
> > > > > [INFO] Default Properties File:
> > > > > org/apache/velocity/runtime/defaults/velocity.properties
> > > > > [INFO] Default ResourceManager initializing. (class
> > > > > org.apache.velocity.runtime.resource.ResourceManagerImpl)
> > > > > [INFO] Resource Loader Instantiated:
> > > > > org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > > > > [INFO] ClasspathResourceLoader : initialization starting.
> > > > > [INFO] ClasspathResourceLoader : initialization complete.
> > > > > [INFO] ResourceCache : initialized. (class
> > > > > org.apache.velocity.runtime.resource.ResourceCacheImpl)
> > > > > [INFO] Default ResourceManager initialization complete.
> > > > > [INFO] Loaded System Directive:
> > > > > org.apache.velocity.runtime.directive.Literal
> > > > > [INFO] Loaded System Directive:
> > > > > org.apache.velocity.runtime.directive.Macro
> > > > > [INFO] Loaded System Directive:
> > > > > org.apache.velocity.runtime.directive.Parse
> > > > > [INFO] Loaded System Directive:
> > > > > org.apache.velocity.runtime.directive.Include
> > > > > [INFO] Loaded System Directive:
> > > > > org.apache.velocity.runtime.directive.Foreach
> > > > > [INFO] Created: 20 parsers.
> > > > > [INFO] Velocimacro : initialization starting.
> > > > > [INFO] Velocimacro : adding VMs from VM library template :
> > > > > VM_global_library.vm
> > > > > [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
> > > > > in any resource loader.
> > > > > [INFO] Velocimacro : error using  VM library template
> > > > > VM_global_library.vm :
> > > > > org.apache.velocity.exception.ResourceNotFoundException: Unable to find
> > > > > resource 'VM_global_library.vm'
> > > > > [INFO] Velocimacro :  VM library template macro registration complete.
> > > > > [INFO] Velocimacro : allowInline = true : VMs can be defined inline in
> > > > > templates
> > > > > [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
> > > > > may NOT replace previous VM definitions
> > > > > [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will
> > > > > be  global in scope if allowed.
> > > > > [INFO] Velocimacro : initialization complete.
> > > > > [INFO] Velocity successfully started.
> > > > > [INFO] [site:site]
> > > > > [INFO] Generate "Continuous Integration" report.
> > > > > [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
> > > > > got 0
> > > > > [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
> > > > > [INFO] Generate "Dependencies" report.
> > > > > [INFO]
> > > > > ------------------------------------------------------------------------
> > > > > [ERROR] FATAL ERROR
> > > > > [INFO]
> > > > > ------------------------------------------------------------------------
> > > > > [INFO] null
> > > > > [INFO]
> > > > > ------------------------------------------------------------------------
> > > > > [INFO] Trace
> > > > > java.lang.NullPointerException
> > > > >         at
> > > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
> > > > >         at
> > > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> > > > >         at
> > > > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
> > > > >         at
> > > > > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
> > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:362)
> > > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > > $DependenciesRenderer.renderBody(DependenciesReport.java:286)
> > > > >         at
> > > > > org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
> > > > >         at
> > > > > org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:157)
> > > > >         at
> > > > > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
> > > > >         at
> > > > > org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802)
> > > > >         at
> > > > > org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301)
> > > > >         at
> > > > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
> > > > >         at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
> > > > >         at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
> > > > >         at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
> > > > >         at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
> > > > >         at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> > > > >         at
> > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
> > > > >         at
> > > > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> > > > >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> > > > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> > > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > > >         at
> > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > > >         at
> > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > > > >         at
> > > > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > > > >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > > > >         at
> > > > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > > > >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > > > [INFO]
> > > > > ------------------------------------------------------------------------
> > > > > [INFO] Total time: 4 seconds
> > > > > [INFO] Finished at: Tue May 09 15:42:00 EDT 2006
> > > > > [INFO] Final Memory: 7M/13M
> > > > > [INFO]
> > > > > ------------------------------------------------------------------------
> > > > >
> > > > > Regards,
> > > > > Douglas WF Acheson
> > > > >
> > > > > On Tue, 2006-05-09 at 13:34 -0400, Douglas WF Acheson wrote:
> > > > > > Hello,
> > > > > >
> > > > > >   The output you see is from running [m2] with the -X option.  I ran the
> > > > > > package goal (with -X) and the same output is produced.
> > > > > >
> > > > > > Regards,
> > > > > > Douglas WF Acheson
> > > > > >
> > > > > > On Tue, 2006-05-09 at 10:22 -0500, Wayne Fay wrote:
> > > > > > > I'm not sure where these dependencies are coming from, esp poi 1.1 is
> > > > > > > a very old release, so you might want to run "mvn -X package" to see
> > > > > > > what is bringing in poi 1.1 since it appears to be a transitive
> > > > > > > dependency.
> > > > > > >
> > > > > > > But here's poi, latest appears to be 2.5.1:
> > > > > > > http://www.ibiblio.org/maven2/poi/poi/
> > > > > > >
> > > > > > > Not sure about easymockcontainer. Doesn't appear to exist in ibiblio.
> > > > > > > Check with the easymock project website/email list.
> > > > > > >
> > > > > > > Wayne
> > > > > > >
> > > > > > > On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > > > > Hello,
> > > > > > > >
> > > > > > > >   I am trying to run the goal site for my project, and I am running into
> > > > > > > > problems.  Specifically, unable to find required dependencies, here is
> > > > > > > > the output :
> > > > > > > >
> > > > > > > > 1) easymock:easymockcontainer:jar:1.0.1
> > > > > > > >
> > > > > > > >   Try downloading the file manually from the project website.
> > > > > > > >
> > > > > > > >   Then, install it using the command:
> > > > > > > >       mvn install:install-file -DgroupId=easymock
> > > > > > > > -DartifactId=easymockcontainer \
> > > > > > > >           -Dversion=1.0.1 -Dpackaging=jar -Dfile=/path/to/file
> > > > > > > >
> > > > > > > >   Path to dependency:
> > > > > > > >         1) mycompany:myproject:jar:5.0
> > > > > > > >         2) drools:drools-decisiontables:jar:2.1
> > > > > > > >         3) drools:drools-core:jar:2.1
> > > > > > > >         4) easymock:easymockcontainer:jar:1.0.1
> > > > > > > >
> > > > > > > > 2) poi:poi:jar:1.1
> > > > > > > >
> > > > > > > >   Try downloading the file manually from the project website.
> > > > > > > >
> > > > > > > >   Then, install it using the command:
> > > > > > > >       mvn install:install-file -DgroupId=poi -DartifactId=poi \
> > > > > > > >           -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
> > > > > > > >
> > > > > > > >   Path to dependency:
> > > > > > > >         1) mycompany:myproject:jar:5.0
> > > > > > > >         2) drools:drools-decisiontables:jar:2.1
> > > > > > > >         3) poi:poi:jar:1.1
> > > > > > > >
> > > > > > > >
> > > > > > > > If these artifacts do not exist, how can I continue?  I tried looking
> > > > > > > > for easymockcontainer on the web, but could not find it.
> > > > > > > >
> > > > > > > > Signed confused :-)
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > ---------------------------------------------------------------------
> > > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > >
> > > > > >
> > > > > > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > >
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Douglas WF Acheson <do...@bpsserver.com>.
Hello, its the noob agian :-):

  I have updated my pom to include the snapshot repository, which
updated all my downloadable artifacts (this took some effort and time).
But, I still get the same error.  Now there are some warnings about
files not able able to be retrieved.  Is this a concern?  Is this really
a bug?  If it is how can I go back to a previous version, and which
version should I use?  Or what arguments do I need to provide to the
goal to get it to work.  Thx again for all your help ...



linux: mvn -U site
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Unnamed - com.bps.iproject:bpsserver-core:jar:5.0
[INFO]    task-segment: [site]
[INFO]
----------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
updates from snapshots
[WARNING] repository metadata for: 'artifact
org.apache.maven.plugins:maven-site-plugin' could not be retrieved from
repository: snapshots due to an error: Error transferring file
[INFO] Repository 'snapshots' will be blacklisted
[INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
updates from central
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking
for updates from central
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin:
checking for updates from central
[INFO] artifact
org.apache.maven.plugins:maven-project-info-reports-plugin: checking for
updates from central
[WARNING]
        Artifact junit:junit:jar:3.8.1:test retains local scope 'test'
overriding broader scope 'compile'
        given by a dependency. If this is not intended, modify or remove
the local scope.

[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] **************************************************************
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File:
org/apache/velocity/runtime/defaults/velocity.properties
[INFO] Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated:
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template :
VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
in any resource loader.
[INFO] Velocimacro : error using  VM library template
VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'VM_global_library.vm'
[INFO] Velocimacro :  VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in
templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
may NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will
be  global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [site:site]
[INFO] Generate "Continuous Integration" report.
[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
got 0
[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
[INFO] Generate "Dependencies" report.
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] null
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
        at org.apache.maven.report.projectinfo.DependenciesReport
$DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:362)
        at org.apache.maven.report.projectinfo.DependenciesReport
$DependenciesRenderer.renderBody(DependenciesReport.java:286)
        at
org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
        at
org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:157)
        at
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
        at
org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802)
        at
org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 41 seconds
[INFO] Finished at: Wed May 10 13:58:02 EDT 2006
[INFO] Final Memory: 8M/14M
[INFO]
------------------------------------------------------------------------
l

On Tue, 2006-05-09 at 15:24 -0500, Wayne Fay wrote:
> Don't see any <scope>system</scope> dependencies there so that doesn't
> seem to be it...
> 
> I'm not convinced you're running the latest version of site plugin
> (and others). Run mvn -U site to ensure you're all updated.
> 
> If that doesn't work, perhaps you can add the Snapshot repo to your
> pom, and force an update with mvn -U site, to make sure your problem
> isn't already resolved in a not-yet-released version of the site
> plugin?
> 
> This will help you get the Snapshot repos added to your pom:
> http://maven.apache.org/guides/development/guide-testing-development-plugins.html
> 
> Wayne
> 
> On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > To be honest not sure what that means, but if I where to assume (with my
> > limited knowledge of m2) the only scope I identified was in dependencies
> > and those where compile) I will include my pom.xml (btw the parent pom
> > only has modelVersion atm) ...
> >
> >
> >
> > <project>
> >   <modelVersion>4.0.0</modelVersion>
> >   <groupId>mycompany</groupId>
> >   <artifactId>mypoject</artifactId>
> >   <packaging>jar</packaging>
> >   <version>0.1</version>
> >   <description>tbd</description>
> >
> >   <!--
> >     Define where to find the required artifacts (and only look there).
> >    -->
> >   <repositories>
> >     <repository>
> >       <id>central</id>
> >       <name>Internal Mirror of Central Repository</name>
> >       <url>mavenproxy</url>
> >     </repository>
> >   </repositories>
> >
> >   <!--
> >     Define the defalut parent POM for all our builds.
> >   -->
> >   <parent>
> >     <groupId>mycompany</groupId>
> >     <artifactId>our</artifactId>
> >     <version>1.0</version>
> >   </parent>
> >
> >         <!--
> >                 Describe how this build works.
> >         -->
> >         <build>
> >                 <resources>
> >                         <resource>
> >                                 <directory>src/main/resources</directory>
> >                                 <filtering>false</filtering>
> >                                 <includes>
> >                                         <include>**/gantt/gui/images/**</include>
> >                                 </includes>
> >                         </resource>
> >                 </resources>
> >                 <plugins>
> >                         <plugin>
> >                                 <groupId>org.apache.maven.plugins</groupId>
> >                                 <artifactId>maven-compiler-plugin</artifactId>
> >                                 <configuration>
> >                                         <source>1.4</source>
> >                                         <target>1.4</target>
> >                                 </configuration>
> >                         </plugin>
> >                         <plugin>
> >                                 <groupId>org.apache.maven.plugins</groupId>
> >                                 <artifactId>maven-resources-plugin</artifactId>
> >                         </plugin>
> >                         <!-- plugin>
> >                                 <groupId>org.apache.maven.plugins</groupId>
> >                                 <artifactId>maven-project-info-reports-plugin</artifactId>
> >                                 <version>2.0-alpha-1</version>
> >                         </plugin -->
> >                 </plugins>
> >         </build>
> >
> >         <dependencies>
> >                 <!-- DEFINE THE SPRING FRAMEWORK DEPENDENCIES -->
> >                 <dependency>
> >                         <groupId>org.springframework</groupId>
> >                         <artifactId>spring</artifactId>
> >                         <version>1.2.4</version>
> >                         <scope>compile</scope>
> >                 </dependency>
> >
> >                 <!-- DEFINE THE ACEGI SECURITY DEPENDENCIES -->
> >                 <dependency>
> >                         <groupId>acegisecurity</groupId>
> >                         <artifactId>acegi-security</artifactId>
> >                         <version>0.7.0</version>
> >                         <scope>compile</scope>
> >                         <exclusions>
> >                                 <exclusion>
> >                                         <artifactId>spring-core</artifactId>
> >                                         <groupId>springframework</groupId>
> >                                 </exclusion>
> >                         </exclusions>
> >                 </dependency>
> >
> >                 <!-- DEFINE THE CGLIB DEPENDENCIES -->
> >                 <dependency>
> >                         <groupId>cglib</groupId>
> >                         <artifactId>cglib</artifactId>
> >                         <version>2.0.2</version>
> >                         <scope>compile</scope>
> >                 </dependency>
> >
> >                 <!-- DEFINE THE DROOLS DEPENDENCIES -->
> >                 <dependency>
> >                         <groupId>drools</groupId>
> >                         <artifactId>drools-decisiontables</artifactId>
> >                         <version>2.1</version>
> >                         <scope>compile</scope>
> >                         <exclusions>
> >                                 <exclusion>
> >                                         <artifactId>poi</artifactId>
> >                                         <groupId>poi</groupId>
> >                                 </exclusion>
> >                         </exclusions>
> >                 </dependency>
> >
> >                 <!-- DEFINE THE HIBERNATE DEPENDENCIES -->
> >                 <dependency>
> >                         <groupId>net.sf.hibernate</groupId>
> >                         <artifactId>hibernate</artifactId>
> >                         <version>2.1.6</version>
> >                         <scope>compile</scope>
> >                 </dependency>
> >
> >                 <!-- DEFINE THE JAKARTA COMMONS DEPENDENCIES -->
> >                 <dependency>
> >                         <groupId>commons-chain</groupId>
> >                         <artifactId>commons-chain</artifactId>
> >                         <version>1.0</version>
> >                         <scope>compile</scope>
> >                 </dependency>
> >
> >                 <dependency>
> >                         <groupId>commons-digester</groupId>
> >                         <artifactId>commons-digester</artifactId>
> >                         <version>1.7</version>
> >                         <scope>compile</scope>
> >                 </dependency>
> >
> >                 <dependency>
> >                         <groupId>commons-lang</groupId>
> >                         <artifactId>commons-lang</artifactId>
> >                         <version>2.1</version>
> >                         <scope>compile</scope>
> >                 </dependency>
> >
> >                 <dependency>
> >                         <groupId>commons-vfs</groupId>
> >                         <artifactId>commons-vfs</artifactId>
> >                         <version>20050307052300</version>
> >                         <scope>compile</scope>
> >                 </dependency>
> >
> >                 <!-- DEFINE THE JAVA MONITOR DEPENDENCIES -->
> >                 <dependency>
> >                         <groupId>com.jamonapi</groupId>
> >                         <artifactId>jamon</artifactId>
> >                         <version>1.0</version>
> >                         <scope>compile</scope>
> >                 </dependency>
> >
> >                 <!-- DEFINE THE JASPERSOFT DEPENDENCIES -->
> >                 <dependency>
> >                         <groupId>com.jaspersoft</groupId>
> >                         <artifactId>panscopicsoap</artifactId>
> >                         <version>3.1</version>
> >                         <scope>compile</scope>
> >                 </dependency>
> >
> >                 <!-- DEFINE THE JAVA EXTENSION DEPENDENCIES -->
> >                 <dependency>
> >                         <groupId>javax</groupId>
> >                         <artifactId>mail</artifactId>
> >                         <version>1.3.1</version>
> >                         <scope>compile</scope>
> >                 </dependency>
> >
> >                 <dependency>
> >                         <groupId>javax</groupId>
> >                         <artifactId>rules</artifactId>
> >                         <version>1.1</version>
> >                         <scope>compile</scope>
> >                 </dependency>
> >
> >                 <!-- DEFINE THE JEPLITE DEPENDENCIES -->
> >                 <dependency>
> >                         <groupId>org.cheffo</groupId>
> >                         <artifactId>jeplite</artifactId>
> >                         <version>1.0</version>
> >                         <scope>compile</scope>
> >                 </dependency>
> >
> >                 <!-- DEFINE THE MULE DEPENDENCIES -->
> >                 <dependency>
> >                         <groupId>mule</groupId>
> >                         <artifactId>mule</artifactId>
> >                         <version>1.1-rc1</version>
> >                         <scope>compile</scope>
> >                 </dependency>
> >
> >                 <!-- DEFINE THE SHARK WORKFLOW DEPENDENCIES -->
> >                 <dependency>
> >                         <groupId>org.enhydra</groupId>
> >                         <artifactId>shark</artifactId>
> >                         <version>1.1.2</version>
> >                         <scope>compile</scope>
> >                 </dependency>
> >
> >                 <!-- DEFINE THE VELOCITY DEPENDENCIES -->
> >                 <dependency>
> >                         <groupId>velocity</groupId>
> >                         <artifactId>velocity</artifactId>
> >                         <version>1.4</version>
> >                         <scope>compile</scope>
> >                 </dependency>
> >
> >                 <!-- DEFINE THE XTREAM DEPENDENCIES -->
> >                 <dependency>
> >                         <groupId>xstream</groupId>
> >                         <artifactId>xstream</artifactId>
> >                         <version>1.0.2</version>
> >                         <scope>compile</scope>
> >                 </dependency>
> >
> >
> >     <!-- DEFINE THE jcFIELD DEPENDENCIES -->
> >
> >     <dependency>
> >       <groupId>com.klg</groupId>
> >       <artifactId>jcfield</artifactId>
> >       <version>6.0.0</version>
> >       <scope>compile</scope>
> >     </dependency>
> >
> >     <!-- DEFINE THE JAWS DEPENDENCIES -->
> >
> >     <dependency>
> >       <groupId>com.sun</groupId>
> >       <artifactId>jaws</artifactId>
> >       <version>1.0</version>
> >                         <scope>compile</scope>
> >     </dependency>
> >
> >     <!-- DEFINE THE jDOM DEPENDENCIES -->
> >
> >     <dependency>
> >       <groupId>jdom</groupId>
> >       <artifactId>jdom</artifactId>
> >       <version>1.0</version>
> >       <scope>compile</scope>
> >     </dependency>
> >
> >     <!-- DEFINE THE MPXJ DEPENDENCIES -->
> >
> >     <dependency>
> >       <groupId>com.tapsterrock</groupId>
> >       <artifactId>mpxj</artifactId>
> >       <version>0.0.23</version>
> >       <scope>compile</scope>
> >     </dependency>
> >         </dependencies>
> > </project>
> >
> >
> >
> >
> > On Tue, 2006-05-09 at 14:52 -0500, Wayne Fay wrote:
> > > Using any system scoped dependencies?
> > >
> > > Wayne
> > >
> > > On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > Okay so I got passed my errors of missing dependencies (which are not
> > > > really used) by mucking with the poms (not the best way, but it worked
> > > > so I can move on).  Now I get a NPE when running the site goal, which is
> > > > incl'd below.  How do I know what the arguments are that are needed for
> > > > this goal or plugin (not sure of terminology).
> > > >
> > > > [INFO] Starting Jakarta Velocity v1.4
> > > > [INFO] RuntimeInstance initializing.
> > > > [INFO] Default Properties File:
> > > > org/apache/velocity/runtime/defaults/velocity.properties
> > > > [INFO] Default ResourceManager initializing. (class
> > > > org.apache.velocity.runtime.resource.ResourceManagerImpl)
> > > > [INFO] Resource Loader Instantiated:
> > > > org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > > > [INFO] ClasspathResourceLoader : initialization starting.
> > > > [INFO] ClasspathResourceLoader : initialization complete.
> > > > [INFO] ResourceCache : initialized. (class
> > > > org.apache.velocity.runtime.resource.ResourceCacheImpl)
> > > > [INFO] Default ResourceManager initialization complete.
> > > > [INFO] Loaded System Directive:
> > > > org.apache.velocity.runtime.directive.Literal
> > > > [INFO] Loaded System Directive:
> > > > org.apache.velocity.runtime.directive.Macro
> > > > [INFO] Loaded System Directive:
> > > > org.apache.velocity.runtime.directive.Parse
> > > > [INFO] Loaded System Directive:
> > > > org.apache.velocity.runtime.directive.Include
> > > > [INFO] Loaded System Directive:
> > > > org.apache.velocity.runtime.directive.Foreach
> > > > [INFO] Created: 20 parsers.
> > > > [INFO] Velocimacro : initialization starting.
> > > > [INFO] Velocimacro : adding VMs from VM library template :
> > > > VM_global_library.vm
> > > > [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
> > > > in any resource loader.
> > > > [INFO] Velocimacro : error using  VM library template
> > > > VM_global_library.vm :
> > > > org.apache.velocity.exception.ResourceNotFoundException: Unable to find
> > > > resource 'VM_global_library.vm'
> > > > [INFO] Velocimacro :  VM library template macro registration complete.
> > > > [INFO] Velocimacro : allowInline = true : VMs can be defined inline in
> > > > templates
> > > > [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
> > > > may NOT replace previous VM definitions
> > > > [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will
> > > > be  global in scope if allowed.
> > > > [INFO] Velocimacro : initialization complete.
> > > > [INFO] Velocity successfully started.
> > > > [INFO] [site:site]
> > > > [INFO] Generate "Continuous Integration" report.
> > > > [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
> > > > got 0
> > > > [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
> > > > [INFO] Generate "Dependencies" report.
> > > > [INFO]
> > > > ------------------------------------------------------------------------
> > > > [ERROR] FATAL ERROR
> > > > [INFO]
> > > > ------------------------------------------------------------------------
> > > > [INFO] null
> > > > [INFO]
> > > > ------------------------------------------------------------------------
> > > > [INFO] Trace
> > > > java.lang.NullPointerException
> > > >         at
> > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
> > > >         at
> > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> > > >         at
> > > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
> > > >         at
> > > > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
> > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:362)
> > > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > > $DependenciesRenderer.renderBody(DependenciesReport.java:286)
> > > >         at
> > > > org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
> > > >         at
> > > > org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:157)
> > > >         at
> > > > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
> > > >         at
> > > > org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802)
> > > >         at
> > > > org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301)
> > > >         at
> > > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> > > >         at
> > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
> > > >         at
> > > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> > > >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> > > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> > > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > >         at
> > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > > >         at
> > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > > >         at
> > > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > > >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > > >         at
> > > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > > >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > > [INFO]
> > > > ------------------------------------------------------------------------
> > > > [INFO] Total time: 4 seconds
> > > > [INFO] Finished at: Tue May 09 15:42:00 EDT 2006
> > > > [INFO] Final Memory: 7M/13M
> > > > [INFO]
> > > > ------------------------------------------------------------------------
> > > >
> > > > Regards,
> > > > Douglas WF Acheson
> > > >
> > > > On Tue, 2006-05-09 at 13:34 -0400, Douglas WF Acheson wrote:
> > > > > Hello,
> > > > >
> > > > >   The output you see is from running [m2] with the -X option.  I ran the
> > > > > package goal (with -X) and the same output is produced.
> > > > >
> > > > > Regards,
> > > > > Douglas WF Acheson
> > > > >
> > > > > On Tue, 2006-05-09 at 10:22 -0500, Wayne Fay wrote:
> > > > > > I'm not sure where these dependencies are coming from, esp poi 1.1 is
> > > > > > a very old release, so you might want to run "mvn -X package" to see
> > > > > > what is bringing in poi 1.1 since it appears to be a transitive
> > > > > > dependency.
> > > > > >
> > > > > > But here's poi, latest appears to be 2.5.1:
> > > > > > http://www.ibiblio.org/maven2/poi/poi/
> > > > > >
> > > > > > Not sure about easymockcontainer. Doesn't appear to exist in ibiblio.
> > > > > > Check with the easymock project website/email list.
> > > > > >
> > > > > > Wayne
> > > > > >
> > > > > > On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > > > Hello,
> > > > > > >
> > > > > > >   I am trying to run the goal site for my project, and I am running into
> > > > > > > problems.  Specifically, unable to find required dependencies, here is
> > > > > > > the output :
> > > > > > >
> > > > > > > 1) easymock:easymockcontainer:jar:1.0.1
> > > > > > >
> > > > > > >   Try downloading the file manually from the project website.
> > > > > > >
> > > > > > >   Then, install it using the command:
> > > > > > >       mvn install:install-file -DgroupId=easymock
> > > > > > > -DartifactId=easymockcontainer \
> > > > > > >           -Dversion=1.0.1 -Dpackaging=jar -Dfile=/path/to/file
> > > > > > >
> > > > > > >   Path to dependency:
> > > > > > >         1) mycompany:myproject:jar:5.0
> > > > > > >         2) drools:drools-decisiontables:jar:2.1
> > > > > > >         3) drools:drools-core:jar:2.1
> > > > > > >         4) easymock:easymockcontainer:jar:1.0.1
> > > > > > >
> > > > > > > 2) poi:poi:jar:1.1
> > > > > > >
> > > > > > >   Try downloading the file manually from the project website.
> > > > > > >
> > > > > > >   Then, install it using the command:
> > > > > > >       mvn install:install-file -DgroupId=poi -DartifactId=poi \
> > > > > > >           -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
> > > > > > >
> > > > > > >   Path to dependency:
> > > > > > >         1) mycompany:myproject:jar:5.0
> > > > > > >         2) drools:drools-decisiontables:jar:2.1
> > > > > > >         3) poi:poi:jar:1.1
> > > > > > >
> > > > > > >
> > > > > > > If these artifacts do not exist, how can I continue?  I tried looking
> > > > > > > for easymockcontainer on the web, but could not find it.
> > > > > > >
> > > > > > > Signed confused :-)
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > >
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Wayne Fay <wa...@gmail.com>.
Don't see any <scope>system</scope> dependencies there so that doesn't
seem to be it...

I'm not convinced you're running the latest version of site plugin
(and others). Run mvn -U site to ensure you're all updated.

If that doesn't work, perhaps you can add the Snapshot repo to your
pom, and force an update with mvn -U site, to make sure your problem
isn't already resolved in a not-yet-released version of the site
plugin?

This will help you get the Snapshot repos added to your pom:
http://maven.apache.org/guides/development/guide-testing-development-plugins.html

Wayne

On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> To be honest not sure what that means, but if I where to assume (with my
> limited knowledge of m2) the only scope I identified was in dependencies
> and those where compile) I will include my pom.xml (btw the parent pom
> only has modelVersion atm) ...
>
>
>
> <project>
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>mycompany</groupId>
>   <artifactId>mypoject</artifactId>
>   <packaging>jar</packaging>
>   <version>0.1</version>
>   <description>tbd</description>
>
>   <!--
>     Define where to find the required artifacts (and only look there).
>    -->
>   <repositories>
>     <repository>
>       <id>central</id>
>       <name>Internal Mirror of Central Repository</name>
>       <url>mavenproxy</url>
>     </repository>
>   </repositories>
>
>   <!--
>     Define the defalut parent POM for all our builds.
>   -->
>   <parent>
>     <groupId>mycompany</groupId>
>     <artifactId>our</artifactId>
>     <version>1.0</version>
>   </parent>
>
>         <!--
>                 Describe how this build works.
>         -->
>         <build>
>                 <resources>
>                         <resource>
>                                 <directory>src/main/resources</directory>
>                                 <filtering>false</filtering>
>                                 <includes>
>                                         <include>**/gantt/gui/images/**</include>
>                                 </includes>
>                         </resource>
>                 </resources>
>                 <plugins>
>                         <plugin>
>                                 <groupId>org.apache.maven.plugins</groupId>
>                                 <artifactId>maven-compiler-plugin</artifactId>
>                                 <configuration>
>                                         <source>1.4</source>
>                                         <target>1.4</target>
>                                 </configuration>
>                         </plugin>
>                         <plugin>
>                                 <groupId>org.apache.maven.plugins</groupId>
>                                 <artifactId>maven-resources-plugin</artifactId>
>                         </plugin>
>                         <!-- plugin>
>                                 <groupId>org.apache.maven.plugins</groupId>
>                                 <artifactId>maven-project-info-reports-plugin</artifactId>
>                                 <version>2.0-alpha-1</version>
>                         </plugin -->
>                 </plugins>
>         </build>
>
>         <dependencies>
>                 <!-- DEFINE THE SPRING FRAMEWORK DEPENDENCIES -->
>                 <dependency>
>                         <groupId>org.springframework</groupId>
>                         <artifactId>spring</artifactId>
>                         <version>1.2.4</version>
>                         <scope>compile</scope>
>                 </dependency>
>
>                 <!-- DEFINE THE ACEGI SECURITY DEPENDENCIES -->
>                 <dependency>
>                         <groupId>acegisecurity</groupId>
>                         <artifactId>acegi-security</artifactId>
>                         <version>0.7.0</version>
>                         <scope>compile</scope>
>                         <exclusions>
>                                 <exclusion>
>                                         <artifactId>spring-core</artifactId>
>                                         <groupId>springframework</groupId>
>                                 </exclusion>
>                         </exclusions>
>                 </dependency>
>
>                 <!-- DEFINE THE CGLIB DEPENDENCIES -->
>                 <dependency>
>                         <groupId>cglib</groupId>
>                         <artifactId>cglib</artifactId>
>                         <version>2.0.2</version>
>                         <scope>compile</scope>
>                 </dependency>
>
>                 <!-- DEFINE THE DROOLS DEPENDENCIES -->
>                 <dependency>
>                         <groupId>drools</groupId>
>                         <artifactId>drools-decisiontables</artifactId>
>                         <version>2.1</version>
>                         <scope>compile</scope>
>                         <exclusions>
>                                 <exclusion>
>                                         <artifactId>poi</artifactId>
>                                         <groupId>poi</groupId>
>                                 </exclusion>
>                         </exclusions>
>                 </dependency>
>
>                 <!-- DEFINE THE HIBERNATE DEPENDENCIES -->
>                 <dependency>
>                         <groupId>net.sf.hibernate</groupId>
>                         <artifactId>hibernate</artifactId>
>                         <version>2.1.6</version>
>                         <scope>compile</scope>
>                 </dependency>
>
>                 <!-- DEFINE THE JAKARTA COMMONS DEPENDENCIES -->
>                 <dependency>
>                         <groupId>commons-chain</groupId>
>                         <artifactId>commons-chain</artifactId>
>                         <version>1.0</version>
>                         <scope>compile</scope>
>                 </dependency>
>
>                 <dependency>
>                         <groupId>commons-digester</groupId>
>                         <artifactId>commons-digester</artifactId>
>                         <version>1.7</version>
>                         <scope>compile</scope>
>                 </dependency>
>
>                 <dependency>
>                         <groupId>commons-lang</groupId>
>                         <artifactId>commons-lang</artifactId>
>                         <version>2.1</version>
>                         <scope>compile</scope>
>                 </dependency>
>
>                 <dependency>
>                         <groupId>commons-vfs</groupId>
>                         <artifactId>commons-vfs</artifactId>
>                         <version>20050307052300</version>
>                         <scope>compile</scope>
>                 </dependency>
>
>                 <!-- DEFINE THE JAVA MONITOR DEPENDENCIES -->
>                 <dependency>
>                         <groupId>com.jamonapi</groupId>
>                         <artifactId>jamon</artifactId>
>                         <version>1.0</version>
>                         <scope>compile</scope>
>                 </dependency>
>
>                 <!-- DEFINE THE JASPERSOFT DEPENDENCIES -->
>                 <dependency>
>                         <groupId>com.jaspersoft</groupId>
>                         <artifactId>panscopicsoap</artifactId>
>                         <version>3.1</version>
>                         <scope>compile</scope>
>                 </dependency>
>
>                 <!-- DEFINE THE JAVA EXTENSION DEPENDENCIES -->
>                 <dependency>
>                         <groupId>javax</groupId>
>                         <artifactId>mail</artifactId>
>                         <version>1.3.1</version>
>                         <scope>compile</scope>
>                 </dependency>
>
>                 <dependency>
>                         <groupId>javax</groupId>
>                         <artifactId>rules</artifactId>
>                         <version>1.1</version>
>                         <scope>compile</scope>
>                 </dependency>
>
>                 <!-- DEFINE THE JEPLITE DEPENDENCIES -->
>                 <dependency>
>                         <groupId>org.cheffo</groupId>
>                         <artifactId>jeplite</artifactId>
>                         <version>1.0</version>
>                         <scope>compile</scope>
>                 </dependency>
>
>                 <!-- DEFINE THE MULE DEPENDENCIES -->
>                 <dependency>
>                         <groupId>mule</groupId>
>                         <artifactId>mule</artifactId>
>                         <version>1.1-rc1</version>
>                         <scope>compile</scope>
>                 </dependency>
>
>                 <!-- DEFINE THE SHARK WORKFLOW DEPENDENCIES -->
>                 <dependency>
>                         <groupId>org.enhydra</groupId>
>                         <artifactId>shark</artifactId>
>                         <version>1.1.2</version>
>                         <scope>compile</scope>
>                 </dependency>
>
>                 <!-- DEFINE THE VELOCITY DEPENDENCIES -->
>                 <dependency>
>                         <groupId>velocity</groupId>
>                         <artifactId>velocity</artifactId>
>                         <version>1.4</version>
>                         <scope>compile</scope>
>                 </dependency>
>
>                 <!-- DEFINE THE XTREAM DEPENDENCIES -->
>                 <dependency>
>                         <groupId>xstream</groupId>
>                         <artifactId>xstream</artifactId>
>                         <version>1.0.2</version>
>                         <scope>compile</scope>
>                 </dependency>
>
>
>     <!-- DEFINE THE jcFIELD DEPENDENCIES -->
>
>     <dependency>
>       <groupId>com.klg</groupId>
>       <artifactId>jcfield</artifactId>
>       <version>6.0.0</version>
>       <scope>compile</scope>
>     </dependency>
>
>     <!-- DEFINE THE JAWS DEPENDENCIES -->
>
>     <dependency>
>       <groupId>com.sun</groupId>
>       <artifactId>jaws</artifactId>
>       <version>1.0</version>
>                         <scope>compile</scope>
>     </dependency>
>
>     <!-- DEFINE THE jDOM DEPENDENCIES -->
>
>     <dependency>
>       <groupId>jdom</groupId>
>       <artifactId>jdom</artifactId>
>       <version>1.0</version>
>       <scope>compile</scope>
>     </dependency>
>
>     <!-- DEFINE THE MPXJ DEPENDENCIES -->
>
>     <dependency>
>       <groupId>com.tapsterrock</groupId>
>       <artifactId>mpxj</artifactId>
>       <version>0.0.23</version>
>       <scope>compile</scope>
>     </dependency>
>         </dependencies>
> </project>
>
>
>
>
> On Tue, 2006-05-09 at 14:52 -0500, Wayne Fay wrote:
> > Using any system scoped dependencies?
> >
> > Wayne
> >
> > On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > Okay so I got passed my errors of missing dependencies (which are not
> > > really used) by mucking with the poms (not the best way, but it worked
> > > so I can move on).  Now I get a NPE when running the site goal, which is
> > > incl'd below.  How do I know what the arguments are that are needed for
> > > this goal or plugin (not sure of terminology).
> > >
> > > [INFO] Starting Jakarta Velocity v1.4
> > > [INFO] RuntimeInstance initializing.
> > > [INFO] Default Properties File:
> > > org/apache/velocity/runtime/defaults/velocity.properties
> > > [INFO] Default ResourceManager initializing. (class
> > > org.apache.velocity.runtime.resource.ResourceManagerImpl)
> > > [INFO] Resource Loader Instantiated:
> > > org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > > [INFO] ClasspathResourceLoader : initialization starting.
> > > [INFO] ClasspathResourceLoader : initialization complete.
> > > [INFO] ResourceCache : initialized. (class
> > > org.apache.velocity.runtime.resource.ResourceCacheImpl)
> > > [INFO] Default ResourceManager initialization complete.
> > > [INFO] Loaded System Directive:
> > > org.apache.velocity.runtime.directive.Literal
> > > [INFO] Loaded System Directive:
> > > org.apache.velocity.runtime.directive.Macro
> > > [INFO] Loaded System Directive:
> > > org.apache.velocity.runtime.directive.Parse
> > > [INFO] Loaded System Directive:
> > > org.apache.velocity.runtime.directive.Include
> > > [INFO] Loaded System Directive:
> > > org.apache.velocity.runtime.directive.Foreach
> > > [INFO] Created: 20 parsers.
> > > [INFO] Velocimacro : initialization starting.
> > > [INFO] Velocimacro : adding VMs from VM library template :
> > > VM_global_library.vm
> > > [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
> > > in any resource loader.
> > > [INFO] Velocimacro : error using  VM library template
> > > VM_global_library.vm :
> > > org.apache.velocity.exception.ResourceNotFoundException: Unable to find
> > > resource 'VM_global_library.vm'
> > > [INFO] Velocimacro :  VM library template macro registration complete.
> > > [INFO] Velocimacro : allowInline = true : VMs can be defined inline in
> > > templates
> > > [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
> > > may NOT replace previous VM definitions
> > > [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will
> > > be  global in scope if allowed.
> > > [INFO] Velocimacro : initialization complete.
> > > [INFO] Velocity successfully started.
> > > [INFO] [site:site]
> > > [INFO] Generate "Continuous Integration" report.
> > > [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
> > > got 0
> > > [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
> > > [INFO] Generate "Dependencies" report.
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [ERROR] FATAL ERROR
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] null
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Trace
> > > java.lang.NullPointerException
> > >         at
> > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
> > >         at
> > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> > >         at
> > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
> > >         at
> > > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
> > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:362)
> > >         at org.apache.maven.report.projectinfo.DependenciesReport
> > > $DependenciesRenderer.renderBody(DependenciesReport.java:286)
> > >         at
> > > org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
> > >         at
> > > org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:157)
> > >         at
> > > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
> > >         at
> > > org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802)
> > >         at
> > > org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301)
> > >         at
> > > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> > >         at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
> > >         at
> > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> > >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> > >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >         at
> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > >         at
> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > >         at java.lang.reflect.Method.invoke(Method.java:585)
> > >         at
> > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > >         at
> > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > [INFO]
> > > ------------------------------------------------------------------------
> > > [INFO] Total time: 4 seconds
> > > [INFO] Finished at: Tue May 09 15:42:00 EDT 2006
> > > [INFO] Final Memory: 7M/13M
> > > [INFO]
> > > ------------------------------------------------------------------------
> > >
> > > Regards,
> > > Douglas WF Acheson
> > >
> > > On Tue, 2006-05-09 at 13:34 -0400, Douglas WF Acheson wrote:
> > > > Hello,
> > > >
> > > >   The output you see is from running [m2] with the -X option.  I ran the
> > > > package goal (with -X) and the same output is produced.
> > > >
> > > > Regards,
> > > > Douglas WF Acheson
> > > >
> > > > On Tue, 2006-05-09 at 10:22 -0500, Wayne Fay wrote:
> > > > > I'm not sure where these dependencies are coming from, esp poi 1.1 is
> > > > > a very old release, so you might want to run "mvn -X package" to see
> > > > > what is bringing in poi 1.1 since it appears to be a transitive
> > > > > dependency.
> > > > >
> > > > > But here's poi, latest appears to be 2.5.1:
> > > > > http://www.ibiblio.org/maven2/poi/poi/
> > > > >
> > > > > Not sure about easymockcontainer. Doesn't appear to exist in ibiblio.
> > > > > Check with the easymock project website/email list.
> > > > >
> > > > > Wayne
> > > > >
> > > > > On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > > Hello,
> > > > > >
> > > > > >   I am trying to run the goal site for my project, and I am running into
> > > > > > problems.  Specifically, unable to find required dependencies, here is
> > > > > > the output :
> > > > > >
> > > > > > 1) easymock:easymockcontainer:jar:1.0.1
> > > > > >
> > > > > >   Try downloading the file manually from the project website.
> > > > > >
> > > > > >   Then, install it using the command:
> > > > > >       mvn install:install-file -DgroupId=easymock
> > > > > > -DartifactId=easymockcontainer \
> > > > > >           -Dversion=1.0.1 -Dpackaging=jar -Dfile=/path/to/file
> > > > > >
> > > > > >   Path to dependency:
> > > > > >         1) mycompany:myproject:jar:5.0
> > > > > >         2) drools:drools-decisiontables:jar:2.1
> > > > > >         3) drools:drools-core:jar:2.1
> > > > > >         4) easymock:easymockcontainer:jar:1.0.1
> > > > > >
> > > > > > 2) poi:poi:jar:1.1
> > > > > >
> > > > > >   Try downloading the file manually from the project website.
> > > > > >
> > > > > >   Then, install it using the command:
> > > > > >       mvn install:install-file -DgroupId=poi -DartifactId=poi \
> > > > > >           -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
> > > > > >
> > > > > >   Path to dependency:
> > > > > >         1) mycompany:myproject:jar:5.0
> > > > > >         2) drools:drools-decisiontables:jar:2.1
> > > > > >         3) poi:poi:jar:1.1
> > > > > >
> > > > > >
> > > > > > If these artifacts do not exist, how can I continue?  I tried looking
> > > > > > for easymockcontainer on the web, but could not find it.
> > > > > >
> > > > > > Signed confused :-)
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Douglas WF Acheson <do...@bpsserver.com>.
To be honest not sure what that means, but if I where to assume (with my
limited knowledge of m2) the only scope I identified was in dependencies
and those where compile) I will include my pom.xml (btw the parent pom
only has modelVersion atm) ...



<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>mycompany</groupId>
  <artifactId>mypoject</artifactId>
  <packaging>jar</packaging>
  <version>0.1</version>
  <description>tbd</description>

  <!--
    Define where to find the required artifacts (and only look there).
   -->
  <repositories>
    <repository>
      <id>central</id>
      <name>Internal Mirror of Central Repository</name>
      <url>mavenproxy</url>
    </repository>
  </repositories>

  <!--
    Define the defalut parent POM for all our builds.
  -->
  <parent>
    <groupId>mycompany</groupId>
    <artifactId>our</artifactId>
    <version>1.0</version>
  </parent>

	<!--
		Describe how this build works.
	-->
	<build>
		<resources>
			<resource>
				<directory>src/main/resources</directory>
				<filtering>false</filtering>
				<includes>
					<include>**/gantt/gui/images/**</include>
				</includes>
			</resource>
		</resources>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.4</source>
					<target>1.4</target>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-resources-plugin</artifactId>
			</plugin>
			<!-- plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-project-info-reports-plugin</artifactId>
				<version>2.0-alpha-1</version>
			</plugin -->
		</plugins>
	</build>

	<dependencies>
		<!-- DEFINE THE SPRING FRAMEWORK DEPENDENCIES -->
		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring</artifactId>
			<version>1.2.4</version>
			<scope>compile</scope>
		</dependency>

		<!-- DEFINE THE ACEGI SECURITY DEPENDENCIES -->
		<dependency>
			<groupId>acegisecurity</groupId>
			<artifactId>acegi-security</artifactId>
			<version>0.7.0</version>
			<scope>compile</scope>
			<exclusions>
				<exclusion>
					<artifactId>spring-core</artifactId>
					<groupId>springframework</groupId>
				</exclusion>
			</exclusions>
		</dependency>

		<!-- DEFINE THE CGLIB DEPENDENCIES -->
		<dependency>
			<groupId>cglib</groupId>
			<artifactId>cglib</artifactId>
			<version>2.0.2</version>
			<scope>compile</scope>
		</dependency>

		<!-- DEFINE THE DROOLS DEPENDENCIES -->
		<dependency>
			<groupId>drools</groupId>
			<artifactId>drools-decisiontables</artifactId>
			<version>2.1</version>
			<scope>compile</scope>
			<exclusions>
				<exclusion>
					<artifactId>poi</artifactId>
					<groupId>poi</groupId>
				</exclusion>
			</exclusions>
		</dependency>

		<!-- DEFINE THE HIBERNATE DEPENDENCIES -->
		<dependency>
			<groupId>net.sf.hibernate</groupId>
			<artifactId>hibernate</artifactId>
			<version>2.1.6</version>
			<scope>compile</scope>
		</dependency>

		<!-- DEFINE THE JAKARTA COMMONS DEPENDENCIES -->
		<dependency>
			<groupId>commons-chain</groupId>
			<artifactId>commons-chain</artifactId>
			<version>1.0</version>
			<scope>compile</scope>
		</dependency>

		<dependency>
			<groupId>commons-digester</groupId>
			<artifactId>commons-digester</artifactId>
			<version>1.7</version>
			<scope>compile</scope>
		</dependency>

		<dependency>
			<groupId>commons-lang</groupId>
			<artifactId>commons-lang</artifactId>
			<version>2.1</version>
			<scope>compile</scope>
		</dependency>

		<dependency>
			<groupId>commons-vfs</groupId>
			<artifactId>commons-vfs</artifactId>
			<version>20050307052300</version>
			<scope>compile</scope>
		</dependency>

		<!-- DEFINE THE JAVA MONITOR DEPENDENCIES -->
		<dependency>
			<groupId>com.jamonapi</groupId>
			<artifactId>jamon</artifactId>
			<version>1.0</version>
			<scope>compile</scope>
		</dependency>

		<!-- DEFINE THE JASPERSOFT DEPENDENCIES -->
		<dependency>
			<groupId>com.jaspersoft</groupId>
			<artifactId>panscopicsoap</artifactId>
			<version>3.1</version>
			<scope>compile</scope>
		</dependency>

		<!-- DEFINE THE JAVA EXTENSION DEPENDENCIES -->
		<dependency>
			<groupId>javax</groupId>
			<artifactId>mail</artifactId>
			<version>1.3.1</version>
			<scope>compile</scope>
		</dependency>

		<dependency>
			<groupId>javax</groupId>
			<artifactId>rules</artifactId>
			<version>1.1</version>
			<scope>compile</scope>
		</dependency>

		<!-- DEFINE THE JEPLITE DEPENDENCIES -->
		<dependency>
			<groupId>org.cheffo</groupId>
			<artifactId>jeplite</artifactId>
			<version>1.0</version>
			<scope>compile</scope>
		</dependency>

		<!-- DEFINE THE MULE DEPENDENCIES -->
		<dependency>
			<groupId>mule</groupId>
			<artifactId>mule</artifactId>
			<version>1.1-rc1</version>
			<scope>compile</scope>
		</dependency>

		<!-- DEFINE THE SHARK WORKFLOW DEPENDENCIES -->
		<dependency>
			<groupId>org.enhydra</groupId>
			<artifactId>shark</artifactId>
			<version>1.1.2</version>
			<scope>compile</scope>
		</dependency>

		<!-- DEFINE THE VELOCITY DEPENDENCIES -->
		<dependency>
			<groupId>velocity</groupId>
			<artifactId>velocity</artifactId>
			<version>1.4</version>
			<scope>compile</scope>
		</dependency>

		<!-- DEFINE THE XTREAM DEPENDENCIES -->
		<dependency>
			<groupId>xstream</groupId>
			<artifactId>xstream</artifactId>
			<version>1.0.2</version>
			<scope>compile</scope>
		</dependency>


    <!-- DEFINE THE jcFIELD DEPENDENCIES -->

    <dependency>
      <groupId>com.klg</groupId>
      <artifactId>jcfield</artifactId>
      <version>6.0.0</version>
      <scope>compile</scope>
    </dependency>

    <!-- DEFINE THE JAWS DEPENDENCIES -->

    <dependency>
      <groupId>com.sun</groupId>
      <artifactId>jaws</artifactId>
      <version>1.0</version>
			<scope>compile</scope>
    </dependency>

    <!-- DEFINE THE jDOM DEPENDENCIES -->

    <dependency>
      <groupId>jdom</groupId>
      <artifactId>jdom</artifactId>
      <version>1.0</version>
      <scope>compile</scope>
    </dependency>

    <!-- DEFINE THE MPXJ DEPENDENCIES -->

    <dependency>
      <groupId>com.tapsterrock</groupId>
      <artifactId>mpxj</artifactId>
      <version>0.0.23</version>
      <scope>compile</scope>
    </dependency>
	</dependencies>
</project>




On Tue, 2006-05-09 at 14:52 -0500, Wayne Fay wrote:
> Using any system scoped dependencies?
> 
> Wayne
> 
> On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > Okay so I got passed my errors of missing dependencies (which are not
> > really used) by mucking with the poms (not the best way, but it worked
> > so I can move on).  Now I get a NPE when running the site goal, which is
> > incl'd below.  How do I know what the arguments are that are needed for
> > this goal or plugin (not sure of terminology).
> >
> > [INFO] Starting Jakarta Velocity v1.4
> > [INFO] RuntimeInstance initializing.
> > [INFO] Default Properties File:
> > org/apache/velocity/runtime/defaults/velocity.properties
> > [INFO] Default ResourceManager initializing. (class
> > org.apache.velocity.runtime.resource.ResourceManagerImpl)
> > [INFO] Resource Loader Instantiated:
> > org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> > [INFO] ClasspathResourceLoader : initialization starting.
> > [INFO] ClasspathResourceLoader : initialization complete.
> > [INFO] ResourceCache : initialized. (class
> > org.apache.velocity.runtime.resource.ResourceCacheImpl)
> > [INFO] Default ResourceManager initialization complete.
> > [INFO] Loaded System Directive:
> > org.apache.velocity.runtime.directive.Literal
> > [INFO] Loaded System Directive:
> > org.apache.velocity.runtime.directive.Macro
> > [INFO] Loaded System Directive:
> > org.apache.velocity.runtime.directive.Parse
> > [INFO] Loaded System Directive:
> > org.apache.velocity.runtime.directive.Include
> > [INFO] Loaded System Directive:
> > org.apache.velocity.runtime.directive.Foreach
> > [INFO] Created: 20 parsers.
> > [INFO] Velocimacro : initialization starting.
> > [INFO] Velocimacro : adding VMs from VM library template :
> > VM_global_library.vm
> > [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
> > in any resource loader.
> > [INFO] Velocimacro : error using  VM library template
> > VM_global_library.vm :
> > org.apache.velocity.exception.ResourceNotFoundException: Unable to find
> > resource 'VM_global_library.vm'
> > [INFO] Velocimacro :  VM library template macro registration complete.
> > [INFO] Velocimacro : allowInline = true : VMs can be defined inline in
> > templates
> > [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
> > may NOT replace previous VM definitions
> > [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will
> > be  global in scope if allowed.
> > [INFO] Velocimacro : initialization complete.
> > [INFO] Velocity successfully started.
> > [INFO] [site:site]
> > [INFO] Generate "Continuous Integration" report.
> > [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
> > got 0
> > [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
> > [INFO] Generate "Dependencies" report.
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] FATAL ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] null
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Trace
> > java.lang.NullPointerException
> >         at
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
> >         at
> > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
> >         at
> > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
> >         at org.apache.maven.report.projectinfo.DependenciesReport
> > $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:362)
> >         at org.apache.maven.report.projectinfo.DependenciesReport
> > $DependenciesRenderer.renderBody(DependenciesReport.java:286)
> >         at
> > org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
> >         at
> > org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:157)
> >         at
> > org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
> >         at
> > org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802)
> >         at
> > org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301)
> >         at
> > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
> >         at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
> >         at
> > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >         at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >         at java.lang.reflect.Method.invoke(Method.java:585)
> >         at
> > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >         at
> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 4 seconds
> > [INFO] Finished at: Tue May 09 15:42:00 EDT 2006
> > [INFO] Final Memory: 7M/13M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > Regards,
> > Douglas WF Acheson
> >
> > On Tue, 2006-05-09 at 13:34 -0400, Douglas WF Acheson wrote:
> > > Hello,
> > >
> > >   The output you see is from running [m2] with the -X option.  I ran the
> > > package goal (with -X) and the same output is produced.
> > >
> > > Regards,
> > > Douglas WF Acheson
> > >
> > > On Tue, 2006-05-09 at 10:22 -0500, Wayne Fay wrote:
> > > > I'm not sure where these dependencies are coming from, esp poi 1.1 is
> > > > a very old release, so you might want to run "mvn -X package" to see
> > > > what is bringing in poi 1.1 since it appears to be a transitive
> > > > dependency.
> > > >
> > > > But here's poi, latest appears to be 2.5.1:
> > > > http://www.ibiblio.org/maven2/poi/poi/
> > > >
> > > > Not sure about easymockcontainer. Doesn't appear to exist in ibiblio.
> > > > Check with the easymock project website/email list.
> > > >
> > > > Wayne
> > > >
> > > > On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > > Hello,
> > > > >
> > > > >   I am trying to run the goal site for my project, and I am running into
> > > > > problems.  Specifically, unable to find required dependencies, here is
> > > > > the output :
> > > > >
> > > > > 1) easymock:easymockcontainer:jar:1.0.1
> > > > >
> > > > >   Try downloading the file manually from the project website.
> > > > >
> > > > >   Then, install it using the command:
> > > > >       mvn install:install-file -DgroupId=easymock
> > > > > -DartifactId=easymockcontainer \
> > > > >           -Dversion=1.0.1 -Dpackaging=jar -Dfile=/path/to/file
> > > > >
> > > > >   Path to dependency:
> > > > >         1) mycompany:myproject:jar:5.0
> > > > >         2) drools:drools-decisiontables:jar:2.1
> > > > >         3) drools:drools-core:jar:2.1
> > > > >         4) easymock:easymockcontainer:jar:1.0.1
> > > > >
> > > > > 2) poi:poi:jar:1.1
> > > > >
> > > > >   Try downloading the file manually from the project website.
> > > > >
> > > > >   Then, install it using the command:
> > > > >       mvn install:install-file -DgroupId=poi -DartifactId=poi \
> > > > >           -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
> > > > >
> > > > >   Path to dependency:
> > > > >         1) mycompany:myproject:jar:5.0
> > > > >         2) drools:drools-decisiontables:jar:2.1
> > > > >         3) poi:poi:jar:1.1
> > > > >
> > > > >
> > > > > If these artifacts do not exist, how can I continue?  I tried looking
> > > > > for easymockcontainer on the web, but could not find it.
> > > > >
> > > > > Signed confused :-)
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Wayne Fay <wa...@gmail.com>.
Using any system scoped dependencies?

Wayne

On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> Okay so I got passed my errors of missing dependencies (which are not
> really used) by mucking with the poms (not the best way, but it worked
> so I can move on).  Now I get a NPE when running the site goal, which is
> incl'd below.  How do I know what the arguments are that are needed for
> this goal or plugin (not sure of terminology).
>
> [INFO] Starting Jakarta Velocity v1.4
> [INFO] RuntimeInstance initializing.
> [INFO] Default Properties File:
> org/apache/velocity/runtime/defaults/velocity.properties
> [INFO] Default ResourceManager initializing. (class
> org.apache.velocity.runtime.resource.ResourceManagerImpl)
> [INFO] Resource Loader Instantiated:
> org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> [INFO] ClasspathResourceLoader : initialization starting.
> [INFO] ClasspathResourceLoader : initialization complete.
> [INFO] ResourceCache : initialized. (class
> org.apache.velocity.runtime.resource.ResourceCacheImpl)
> [INFO] Default ResourceManager initialization complete.
> [INFO] Loaded System Directive:
> org.apache.velocity.runtime.directive.Literal
> [INFO] Loaded System Directive:
> org.apache.velocity.runtime.directive.Macro
> [INFO] Loaded System Directive:
> org.apache.velocity.runtime.directive.Parse
> [INFO] Loaded System Directive:
> org.apache.velocity.runtime.directive.Include
> [INFO] Loaded System Directive:
> org.apache.velocity.runtime.directive.Foreach
> [INFO] Created: 20 parsers.
> [INFO] Velocimacro : initialization starting.
> [INFO] Velocimacro : adding VMs from VM library template :
> VM_global_library.vm
> [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
> in any resource loader.
> [INFO] Velocimacro : error using  VM library template
> VM_global_library.vm :
> org.apache.velocity.exception.ResourceNotFoundException: Unable to find
> resource 'VM_global_library.vm'
> [INFO] Velocimacro :  VM library template macro registration complete.
> [INFO] Velocimacro : allowInline = true : VMs can be defined inline in
> templates
> [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
> may NOT replace previous VM definitions
> [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will
> be  global in scope if allowed.
> [INFO] Velocimacro : initialization complete.
> [INFO] Velocity successfully started.
> [INFO] [site:site]
> [INFO] Generate "Continuous Integration" report.
> [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
> got 0
> [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
> [INFO] Generate "Dependencies" report.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] null
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
>         at org.apache.maven.report.projectinfo.DependenciesReport
> $DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:362)
>         at org.apache.maven.report.projectinfo.DependenciesReport
> $DependenciesRenderer.renderBody(DependenciesReport.java:286)
>         at
> org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
>         at
> org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:157)
>         at
> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
>         at
> org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802)
>         at
> org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>         at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Tue May 09 15:42:00 EDT 2006
> [INFO] Final Memory: 7M/13M
> [INFO]
> ------------------------------------------------------------------------
>
> Regards,
> Douglas WF Acheson
>
> On Tue, 2006-05-09 at 13:34 -0400, Douglas WF Acheson wrote:
> > Hello,
> >
> >   The output you see is from running [m2] with the -X option.  I ran the
> > package goal (with -X) and the same output is produced.
> >
> > Regards,
> > Douglas WF Acheson
> >
> > On Tue, 2006-05-09 at 10:22 -0500, Wayne Fay wrote:
> > > I'm not sure where these dependencies are coming from, esp poi 1.1 is
> > > a very old release, so you might want to run "mvn -X package" to see
> > > what is bringing in poi 1.1 since it appears to be a transitive
> > > dependency.
> > >
> > > But here's poi, latest appears to be 2.5.1:
> > > http://www.ibiblio.org/maven2/poi/poi/
> > >
> > > Not sure about easymockcontainer. Doesn't appear to exist in ibiblio.
> > > Check with the easymock project website/email list.
> > >
> > > Wayne
> > >
> > > On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > > Hello,
> > > >
> > > >   I am trying to run the goal site for my project, and I am running into
> > > > problems.  Specifically, unable to find required dependencies, here is
> > > > the output :
> > > >
> > > > 1) easymock:easymockcontainer:jar:1.0.1
> > > >
> > > >   Try downloading the file manually from the project website.
> > > >
> > > >   Then, install it using the command:
> > > >       mvn install:install-file -DgroupId=easymock
> > > > -DartifactId=easymockcontainer \
> > > >           -Dversion=1.0.1 -Dpackaging=jar -Dfile=/path/to/file
> > > >
> > > >   Path to dependency:
> > > >         1) mycompany:myproject:jar:5.0
> > > >         2) drools:drools-decisiontables:jar:2.1
> > > >         3) drools:drools-core:jar:2.1
> > > >         4) easymock:easymockcontainer:jar:1.0.1
> > > >
> > > > 2) poi:poi:jar:1.1
> > > >
> > > >   Try downloading the file manually from the project website.
> > > >
> > > >   Then, install it using the command:
> > > >       mvn install:install-file -DgroupId=poi -DartifactId=poi \
> > > >           -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
> > > >
> > > >   Path to dependency:
> > > >         1) mycompany:myproject:jar:5.0
> > > >         2) drools:drools-decisiontables:jar:2.1
> > > >         3) poi:poi:jar:1.1
> > > >
> > > >
> > > > If these artifacts do not exist, how can I continue?  I tried looking
> > > > for easymockcontainer on the web, but could not find it.
> > > >
> > > > Signed confused :-)
> > > >
> > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Douglas WF Acheson <do...@bpsserver.com>.
Okay so I got passed my errors of missing dependencies (which are not
really used) by mucking with the poms (not the best way, but it worked
so I can move on).  Now I get a NPE when running the site goal, which is
incl'd below.  How do I know what the arguments are that are needed for
this goal or plugin (not sure of terminology).

[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File:
org/apache/velocity/runtime/defaults/velocity.properties
[INFO] Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated:
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template :
VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
in any resource loader.
[INFO] Velocimacro : error using  VM library template
VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'VM_global_library.vm'
[INFO] Velocimacro :  VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in
templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
may NOT replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will
be  global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [site:site]
[INFO] Generate "Continuous Integration" report.
[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
got 0
[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0
[INFO] Generate "Dependencies" report.
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] null
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82)
        at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:467)
        at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:225)
        at org.apache.maven.report.projectinfo.DependenciesReport
$DependenciesRenderer.getMavenProjectFromRepository(DependenciesReport.java:362)
        at org.apache.maven.report.projectinfo.DependenciesReport
$DependenciesRenderer.renderBody(DependenciesReport.java:286)
        at
org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:65)
        at
org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:157)
        at
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
        at
org.apache.maven.plugins.site.SiteMojo.generateReportsPages(SiteMojo.java:802)
        at
org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:301)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Tue May 09 15:42:00 EDT 2006
[INFO] Final Memory: 7M/13M
[INFO]
------------------------------------------------------------------------

Regards,
Douglas WF Acheson 

On Tue, 2006-05-09 at 13:34 -0400, Douglas WF Acheson wrote:
> Hello,
> 
>   The output you see is from running [m2] with the -X option.  I ran the
> package goal (with -X) and the same output is produced.
> 
> Regards,
> Douglas WF Acheson
> 
> On Tue, 2006-05-09 at 10:22 -0500, Wayne Fay wrote:
> > I'm not sure where these dependencies are coming from, esp poi 1.1 is
> > a very old release, so you might want to run "mvn -X package" to see
> > what is bringing in poi 1.1 since it appears to be a transitive
> > dependency.
> > 
> > But here's poi, latest appears to be 2.5.1:
> > http://www.ibiblio.org/maven2/poi/poi/
> > 
> > Not sure about easymockcontainer. Doesn't appear to exist in ibiblio.
> > Check with the easymock project website/email list.
> > 
> > Wayne
> > 
> > On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > > Hello,
> > >
> > >   I am trying to run the goal site for my project, and I am running into
> > > problems.  Specifically, unable to find required dependencies, here is
> > > the output :
> > >
> > > 1) easymock:easymockcontainer:jar:1.0.1
> > >
> > >   Try downloading the file manually from the project website.
> > >
> > >   Then, install it using the command:
> > >       mvn install:install-file -DgroupId=easymock
> > > -DartifactId=easymockcontainer \
> > >           -Dversion=1.0.1 -Dpackaging=jar -Dfile=/path/to/file
> > >
> > >   Path to dependency:
> > >         1) mycompany:myproject:jar:5.0
> > >         2) drools:drools-decisiontables:jar:2.1
> > >         3) drools:drools-core:jar:2.1
> > >         4) easymock:easymockcontainer:jar:1.0.1
> > >
> > > 2) poi:poi:jar:1.1
> > >
> > >   Try downloading the file manually from the project website.
> > >
> > >   Then, install it using the command:
> > >       mvn install:install-file -DgroupId=poi -DartifactId=poi \
> > >           -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
> > >
> > >   Path to dependency:
> > >         1) mycompany:myproject:jar:5.0
> > >         2) drools:drools-decisiontables:jar:2.1
> > >         3) poi:poi:jar:1.1
> > >
> > >
> > > If these artifacts do not exist, how can I continue?  I tried looking
> > > for easymockcontainer on the web, but could not find it.
> > >
> > > Signed confused :-)
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Douglas WF Acheson <do...@bpsserver.com>.
Hello,

  The output you see is from running [m2] with the -X option.  I ran the
package goal (with -X) and the same output is produced.

Regards,
Douglas WF Acheson

On Tue, 2006-05-09 at 10:22 -0500, Wayne Fay wrote:
> I'm not sure where these dependencies are coming from, esp poi 1.1 is
> a very old release, so you might want to run "mvn -X package" to see
> what is bringing in poi 1.1 since it appears to be a transitive
> dependency.
> 
> But here's poi, latest appears to be 2.5.1:
> http://www.ibiblio.org/maven2/poi/poi/
> 
> Not sure about easymockcontainer. Doesn't appear to exist in ibiblio.
> Check with the easymock project website/email list.
> 
> Wayne
> 
> On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> > Hello,
> >
> >   I am trying to run the goal site for my project, and I am running into
> > problems.  Specifically, unable to find required dependencies, here is
> > the output :
> >
> > 1) easymock:easymockcontainer:jar:1.0.1
> >
> >   Try downloading the file manually from the project website.
> >
> >   Then, install it using the command:
> >       mvn install:install-file -DgroupId=easymock
> > -DartifactId=easymockcontainer \
> >           -Dversion=1.0.1 -Dpackaging=jar -Dfile=/path/to/file
> >
> >   Path to dependency:
> >         1) mycompany:myproject:jar:5.0
> >         2) drools:drools-decisiontables:jar:2.1
> >         3) drools:drools-core:jar:2.1
> >         4) easymock:easymockcontainer:jar:1.0.1
> >
> > 2) poi:poi:jar:1.1
> >
> >   Try downloading the file manually from the project website.
> >
> >   Then, install it using the command:
> >       mvn install:install-file -DgroupId=poi -DartifactId=poi \
> >           -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
> >
> >   Path to dependency:
> >         1) mycompany:myproject:jar:5.0
> >         2) drools:drools-decisiontables:jar:2.1
> >         3) poi:poi:jar:1.1
> >
> >
> > If these artifacts do not exist, how can I continue?  I tried looking
> > for easymockcontainer on the web, but could not find it.
> >
> > Signed confused :-)
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Trying to run goal site

Posted by Wayne Fay <wa...@gmail.com>.
I'm not sure where these dependencies are coming from, esp poi 1.1 is
a very old release, so you might want to run "mvn -X package" to see
what is bringing in poi 1.1 since it appears to be a transitive
dependency.

But here's poi, latest appears to be 2.5.1:
http://www.ibiblio.org/maven2/poi/poi/

Not sure about easymockcontainer. Doesn't appear to exist in ibiblio.
Check with the easymock project website/email list.

Wayne

On 5/9/06, Douglas WF Acheson <do...@bpsserver.com> wrote:
> Hello,
>
>   I am trying to run the goal site for my project, and I am running into
> problems.  Specifically, unable to find required dependencies, here is
> the output :
>
> 1) easymock:easymockcontainer:jar:1.0.1
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=easymock
> -DartifactId=easymockcontainer \
>           -Dversion=1.0.1 -Dpackaging=jar -Dfile=/path/to/file
>
>   Path to dependency:
>         1) mycompany:myproject:jar:5.0
>         2) drools:drools-decisiontables:jar:2.1
>         3) drools:drools-core:jar:2.1
>         4) easymock:easymockcontainer:jar:1.0.1
>
> 2) poi:poi:jar:1.1
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=poi -DartifactId=poi \
>           -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
>
>   Path to dependency:
>         1) mycompany:myproject:jar:5.0
>         2) drools:drools-decisiontables:jar:2.1
>         3) poi:poi:jar:1.1
>
>
> If these artifacts do not exist, how can I continue?  I tried looking
> for easymockcontainer on the web, but could not find it.
>
> Signed confused :-)
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org