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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to