You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "dhivakaran (JIRA)" <ji...@codehaus.org> on 2008/10/20 19:44:19 UTC

[jira] Created: (MECLIPSE-494) 1 required artifact is missing.

1 required artifact is missing.
-------------------------------

                 Key: MECLIPSE-494
                 URL: http://jira.codehaus.org/browse/MECLIPSE-494
             Project: Maven 2.x Eclipse Plugin
          Issue Type: Bug
          Components: Core : Dependencies resolution and build path
    Affects Versions: 2.0
         Environment: windows xp
            Reporter: dhivakaran



E:\myproject-site>mvn compile
[INFO] Scanning for projects...
[INFO] -------------------------------------------------------------------------
---
[INFO] Building LineOfSight
[INFO]    task-segment: [compile]
[INFO] -------------------------------------------------------------------------
---
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://maven.xwiki.org/externals/commons-chain/commons-chain/1.1/co
mmons-chain-1.1.pom
[WARNING] Unable to get resource 'commons-chain:commons-chain:pom:1.1' from repo
sitory xwiki-externals (http://maven.xwiki.org/externals)
Downloading: http://maven.xwiki.org/releases/commons-chain/commons-chain/1.1/com
mons-chain-1.1.pom
[WARNING] Unable to get resource 'commons-chain:commons-chain:pom:1.1' from repo
sitory xwiki-releases (http://maven.xwiki.org/releases)
Downloading: http://repo1.maven.org/maven2/commons-chain/commons-chain/1.1/commo
ns-chain-1.1.pom
[WARNING] Unable to get resource 'commons-chain:commons-chain:pom:1.1' from repo
sitory central (http://repo1.maven.org/maven2)
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Mon Oct 20 22:56:08 GMT+05:30 2008
[INFO] Final Memory: 6M/11M
[INFO] ------------------------------------------------------------------------

E:\myproject-site>mvn clean
[INFO] Scanning for projects...
[INFO] -------------------------------------------------------------------------
---
[INFO] Building LineOfSight
[INFO]    task-segment: [clean]
[INFO] -------------------------------------------------------------------------
---
[INFO] [clean:clean]
[INFO] Deleting directory E:\myproject-site\target
[INFO] Deleting directory E:\myproject-site\target\classes
[INFO] Deleting directory E:\myproject-site\target\test-classes
[INFO] Deleting directory E:\myproject-site\target\site
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Mon Oct 20 22:56:33 GMT+05:30 2008
[INFO] Final Memory: 3M/6M
[INFO] ------------------------------------------------------------------------

E:\myproject-site>mvn package
[INFO] Scanning for projects...
[INFO] -------------------------------------------------------------------------
---
[INFO] Building LineOfSight
[INFO]    task-segment: [package]
[INFO] -------------------------------------------------------------------------
---
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://maven.xwiki.org/externals/commons-chain/commons-chain/1.1/co
mmons-chain-1.1.pom
[WARNING] Unable to get resource 'commons-chain:commons-chain:pom:1.1' from repo
sitory xwiki-externals (http://maven.xwiki.org/externals)
Downloading: http://maven.xwiki.org/releases/commons-chain/commons-chain/1.1/com
mons-chain-1.1.pom
[WARNING] Unable to get resource 'commons-chain:commons-chain:pom:1.1' from repo
sitory xwiki-releases (http://maven.xwiki.org/releases)
Downloading: http://repo1.maven.org/maven2/commons-chain/commons-chain/1.1/commo
ns-chain-1.1.pom
[WARNING] Unable to get resource 'commons-chain:commons-chain:pom:1.1' from repo
sitory central (http://repo1.maven.org/maven2)
[INFO] [compiler:compile]
[INFO] Compiling 66 source files to E:\myproject-site\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [war:war]
[INFO] Exploding webapp...
[INFO] Copy webapp webResources to E:\myproject-site\target\LineOfSight
[INFO] Assembling webapp LineOfSight in E:\myproject-site\target\LineOfSight
[INFO] Generating war E:\myproject-site\target\LineOfSight.war
[INFO] Building war: E:\myproject-site\target\LineOfSight.war
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Mon Oct 20 22:56:57 GMT+05:30 2008
[INFO] Final Memory: 7M/25M
[INFO] ------------------------------------------------------------------------

E:\myproject-site>mvn site
[INFO] Scanning for projects...
[INFO] -------------------------------------------------------------------------
---
[INFO] Building LineOfSight
[INFO]    task-segment: [site]
[INFO] -------------------------------------------------------------------------
---
[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.pr
operties
[INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.
resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLo
aderResourceLoader
[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 'V
M_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  glob
al in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[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.pr
operties
[INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.
resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLo
aderResourceLoader
[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 'V
M_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  glob
al in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
Downloading: http://maven.xwiki.org/externals/jaxen/jaxen/1.1-beta-8/jaxen-1.1-b
eta-8.pom
[WARNING] Unable to get resource 'jaxen:jaxen:pom:1.1-beta-8' from repository xw
iki-plugins-externals (http://maven.xwiki.org/externals)
Downloading: http://maven.xwiki.org/releases/jaxen/jaxen/1.1-beta-8/jaxen-1.1-be
ta-8.pom
[WARNING] Unable to get resource 'jaxen:jaxen:pom:1.1-beta-8' from repository xw
iki-plugins-releases (http://maven.xwiki.org/releases)
Downloading: http://repo1.maven.org/maven2/jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta
-8.pom
[WARNING] Unable to get resource 'jaxen:jaxen:pom:1.1-beta-8' from repository ce
ntral (http://repo1.maven.org/maven2)
Downloading: http://maven.xwiki.org/externals/jaxen/jaxen/1.1-beta-8/jaxen-1.1-b
eta-8.pom
[WARNING] Unable to get resource 'jaxen:jaxen:pom:1.1-beta-8' from repository xw
iki-externals (http://maven.xwiki.org/externals)
Downloading: http://maven.xwiki.org/releases/jaxen/jaxen/1.1-beta-8/jaxen-1.1-be
ta-8.pom
[WARNING] Unable to get resource 'jaxen:jaxen:pom:1.1-beta-8' from repository xw
iki-releases (http://maven.xwiki.org/releases)
Downloading: http://repo1.maven.org/maven2/jaxen/jaxen/1.1-beta-8/jaxen-1.1-beta
-8.pom
[WARNING] Unable to get resource 'jaxen:jaxen:pom:1.1-beta-8' from repository ce
ntral (http://repo1.maven.org/maven2)
Downloading: http://maven.xwiki.org/externals/jaxen/jaxen/1.1/jaxen-1.1.pom
[WARNING] Unable to get resource 'jaxen:jaxen:pom:1.1' from repository xwiki-plu
gins-externals (http://maven.xwiki.org/externals)
Downloading: http://maven.xwiki.org/releases/jaxen/jaxen/1.1/jaxen-1.1.pom
[WARNING] Unable to get resource 'jaxen:jaxen:pom:1.1' from repository xwiki-plu
gins-releases (http://maven.xwiki.org/releases)
Downloading: http://repo1.maven.org/maven2/jaxen/jaxen/1.1/jaxen-1.1.pom
[WARNING] Unable to get resource 'jaxen:jaxen:pom:1.1' from repository central (
http://repo1.maven.org/maven2)
Downloading: http://maven.xwiki.org/externals/jaxen/jaxen/1.1/jaxen-1.1.pom
[WARNING] Unable to get resource 'jaxen:jaxen:pom:1.1' from repository xwiki-ext
ernals (http://maven.xwiki.org/externals)
Downloading: http://maven.xwiki.org/releases/jaxen/jaxen/1.1/jaxen-1.1.pom
[WARNING] Unable to get resource 'jaxen:jaxen:pom:1.1' from repository xwiki-rel
eases (http://maven.xwiki.org/releases)
Downloading: http://repo1.maven.org/maven2/jaxen/jaxen/1.1/jaxen-1.1.pom
[WARNING] Unable to get resource 'jaxen:jaxen:pom:1.1' from repository central (
http://repo1.maven.org/maven2)
Downloading: http://maven.xwiki.org/externals/jaxen/jaxen/1.1/jaxen-1.1.jar
[WARNING] Unable to get resource 'jaxen:jaxen:jar:1.1' from repository xwiki-plu
gins-externals (http://maven.xwiki.org/externals)
Downloading: http://maven.xwiki.org/releases/jaxen/jaxen/1.1/jaxen-1.1.jar
[WARNING] Unable to get resource 'jaxen:jaxen:jar:1.1' from repository xwiki-plu
gins-releases (http://maven.xwiki.org/releases)
Downloading: http://repo1.maven.org/maven2/jaxen/jaxen/1.1/jaxen-1.1.jar
[WARNING] Unable to get resource 'jaxen:jaxen:jar:1.1' from repository central (
http://repo1.maven.org/maven2)
Downloading: http://maven.xwiki.org/externals/jaxen/jaxen/1.1/jaxen-1.1.jar
[WARNING] Unable to get resource 'jaxen:jaxen:jar:1.1' from repository xwiki-ext
ernals (http://maven.xwiki.org/externals)
Downloading: http://maven.xwiki.org/releases/jaxen/jaxen/1.1/jaxen-1.1.jar
[WARNING] Unable to get resource 'jaxen:jaxen:jar:1.1' from repository xwiki-rel
eases (http://maven.xwiki.org/releases)
Downloading: http://repo1.maven.org/maven2/jaxen/jaxen/1.1/jaxen-1.1.jar
[WARNING] Unable to get resource 'jaxen:jaxen:jar:1.1' from repository central (
http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) jaxen:jaxen:jar:1.1

  Try downloading the file manually from the project website.

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

  Path to dependency:
        1) org.apache.maven.plugins:maven-pmd-plugin:maven-plugin:2.2
        2) jaxen:jaxen:jar:1.1

----------
1 required artifact is missing.

for artifact:
  org.apache.maven.plugins:maven-pmd-plugin:maven-plugin:2.2

from the specified remote repositories:
  xwiki-releases (http://maven.xwiki.org/releases),
  central (http://repo1.maven.org/maven2),
  maven-surefire-plugin (http://repo1.maven.org/maven2/org/apache/maven/plugins/
maven-surefire-plugin),
  xwiki-plugins-snapshots (http://maven.xwiki.org/snapshots),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  xwiki-snapshots (http://maven.xwiki.org/snapshots),
  xwiki-externals (http://maven.xwiki.org/externals),
  xwiki-plugins-releases (http://maven.xwiki.org/releases),
  xwiki-plugins-externals (http://maven.xwiki.org/externals)


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Mon Oct 20 22:57:16 GMT+05:30 2008
[INFO] Final Memory: 12M/23M
[INFO] ------------------------------------------------------------------------


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira