maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff MAURY <jeffma...@jeffmaury.com>
Subject Re: No POM 1 how do I install my POM (Please help!!!)
Date Sat, 17 Dec 2011 15:35:33 GMT
You should run Maven from a directory where a pom.xml is present or use the
-f argument.
Regards
Jeff MAURY

On Sat, Dec 17, 2011 at 4:22 PM, Apache Omega <jason007thomas@yahoo.com>wrote:

> i'm trying to get maven fully operational but every time i run anything
> there's an error stating NO POM1
> how do I correct this???
>
> Microsoft Windows [Version 6.1.7600]
> Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
>
> C:\Users\Administrator>mvn install:install
> [INFO] Scanning for projects...
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Maven Stub Project (No POM) 1
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 0.296s
> [INFO] Finished at: Sun Dec 18 09:08:37 CST 2011
> [INFO] Final Memory: 7M/73M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-install-plugin:2.3
> .1:install (default-cli): Goal requires a project to execute but there is
> no
> POM
>  in this directory (C:\Users\Administrator). Please verify you invoked
> Maven
> fro
> m the correct directory. -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please
> rea
> d the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MissingProject
> Exception
> C:\Users\Administrator>mvn install:install-file
> -Dfile=path-to-your-artifact-jar
>  -DpomFile=path-to-pom
> [INFO] Scanning for projects...
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Maven Stub Project (No POM) 1
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-install-plugin:2.3.1:install-file (default-cli) @
> standalone-po
> m ---
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0
> .6/maven-plugin-api-2.0.6.pom
> Downloaded:
> http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.
> 6/maven-plugin-api-2.0.6.pom<http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.%0A6/maven-plugin-api-2.0.6.pom>(2
KB at 3.1 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven/2.0.6/maven-2.
> 0.6.pom
> Downloaded:
> http://repo1.maven.org/maven2/org/apache/maven/maven/2.0.6/maven-2.0
> .6.pom (9 KB at 18.4 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-parent/5/maven
> -parent-5.pom<http://repo1.maven.org/maven2/org/apache/maven/maven-parent/5/maven%0A-parent-5.pom>
> Downloaded:
> http://repo1.maven.org/maven2/org/apache/maven/maven-parent/5/maven-
> parent-5.pom<http://repo1.maven.org/maven2/org/apache/maven/maven-parent/5/maven-%0Aparent-5.pom>(15
KB at 30.2 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/apache/3/apache-3.pom
> Downloaded: http://repo1.maven.org/maven2/org/apache/apache/3/apache-3.pom
> (4 KB
>  at 7.0 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.6/
> maven-project-2.0.6.pom<http://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.6/%0Amaven-project-2.0.6.pom>
> Downloaded:
> http://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.6/m
> aven-project-2.0.6.pom<http://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0.6/m%0Aaven-project-2.0.6.pom>(3
KB at 5.0 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0.6
> /maven-settings-2.0.6.pom<http://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0.6%0A/maven-settings-2.0.6.pom>
> Downloaded:
> http://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0.6/
> maven-settings-2.0.6.pom<http://repo1.maven.org/maven2/org/apache/maven/maven-settings/2.0.6/%0Amaven-settings-2.0.6.pom>(2
KB at 4.7 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.6/ma
> ven-model-2.0.6.pom<http://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.6/ma%0Aven-model-2.0.6.pom>
> Downloaded:
> http://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.6/mav
> en-model-2.0.6.pom<http://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0.6/mav%0Aen-model-2.0.6.pom>(3
KB at 6.3 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.
> 1/plexus-utils-1.4.1.pom<http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.%0A1/plexus-utils-1.4.1.pom>
> Downloaded:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.1
> /plexus-utils-1.4.1.pom<http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.1%0A/plexus-utils-1.4.1.pom>(2
KB at 3.9 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.11/ple
> xus-1.0.11.pom<http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.11/ple%0Axus-1.0.11.pom>
> Downloaded:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.11/plex
> us-1.0.11.pom<http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.11/plex%0Aus-1.0.11.pom>(9
KB at 19.6 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.pom
> Downloaded:
> http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.pom
> (998
>  B at 2.5 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.
> 4/plexus-utils-1.0.4.pom<http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.%0A4/plexus-utils-1.0.4.pom>
> Downloaded:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4
> /plexus-utils-1.0.4.pom<http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4%0A/plexus-utils-1.0.4.pom>(7
KB at 14.1 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.6/
> maven-profile-2.0.6.pom<http://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.6/%0Amaven-profile-2.0.6.pom>
> Downloaded:
> http://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.6/m
> aven-profile-2.0.6.pom<http://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0.6/m%0Aaven-profile-2.0.6.pom>(2
KB at 3.7 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manag
> er/2.0.6/maven-artifact-manager-2.0.6.pom<http://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manag%0Aer/2.0.6/maven-artifact-manager-2.0.6.pom>
> Downloaded:
> http://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manage
> r/2.0.6/maven-artifact-manager-2.0.6.pom<http://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manage%0Ar/2.0.6/maven-artifact-manager-2.0.6.pom>(3
KB at 6.1 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-repository-met
> adata/2.0.6/maven-repository-metadata-2.0.6.pom<http://repo1.maven.org/maven2/org/apache/maven/maven-repository-met%0Aadata/2.0.6/maven-repository-metadata-2.0.6.pom>
> Downloaded:
> http://repo1.maven.org/maven2/org/apache/maven/maven-repository-meta
> data/2.0.6/maven-repository-metadata-2.0.6.pom<http://repo1.maven.org/maven2/org/apache/maven/maven-repository-meta%0Adata/2.0.6/maven-repository-metadata-2.0.6.pom>(2
KB at 3.4 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.6
> /maven-artifact-2.0.6.pom<http://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.6%0A/maven-artifact-2.0.6.pom>
> Downloaded:
> http://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.6/
> maven-artifact-2.0.6.pom<http://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0.6/%0Amaven-artifact-2.0.6.pom>(2
KB at 2.7 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-registr
> y/2.0.6/maven-plugin-registry-2.0.6.pom<http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-registr%0Ay/2.0.6/maven-plugin-registry-2.0.6.pom>
> Downloaded:
> http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-registry
> /2.0.6/maven-plugin-registry-2.0.6.pom (2 KB at 5.5 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/2.0.
> 5/plexus-utils-2.0.5.pom<http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/2.0.%0A5/plexus-utils-2.0.5.pom>
> Downloaded:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/2.0.5
> /plexus-utils-2.0.5.pom<http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/2.0.5%0A/plexus-utils-2.0.5.pom>(4
KB at 7.9 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/2.0.6/plex
> us-2.0.6.pom<http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/2.0.6/plex%0Aus-2.0.6.pom>
> Downloaded:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/2.0.6/plexu
> s-2.0.6.pom<http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/2.0.6/plexu%0As-2.0.6.pom>(17
KB at 36.8 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0
> /plexus-digest-1.0.pom<http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0%0A/plexus-digest-1.0.pom>
> Downloaded:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/
> plexus-digest-1.0.pom<http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/%0Aplexus-digest-1.0.pom>(2
KB at 2.2 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components
> /1.1.7/plexus-components-1.1.7.pom
> Downloaded:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-components/
> 1.1.7/plexus-components-1.1.7.pom (5 KB at 12.2 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.8/plex
> us-1.0.8.pom<http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.8/plex%0Aus-1.0.8.pom>
> Downloaded:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.8/plexu
> s-1.0.8.pom<http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/1.0.8/plexu%0As-1.0.8.pom>(8
KB at 13.2 KB/sec)
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-
> default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.pom<http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-%0Adefault/1.0-alpha-8/plexus-container-default-1.0-alpha-8.pom>
> Downloaded:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-d
> efault/1.0-alpha-8/plexus-container-default-1.0-alpha-8.pom<http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-d%0Aefault/1.0-alpha-8/plexus-container-default-1.0-alpha-8.pom>(8
KB at 12.0
> KB/sec
> )
> Downloading:
> http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0
> /plexus-digest-1.0.jar<http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0%0A/plexus-digest-1.0.jar>
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/2.0.
> 5/plexus-utils-2.0.5.jar<http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/2.0.%0A5/plexus-utils-2.0.5.jar>
> Downloaded:
> http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar
> (119
>  KB at 147.6 KB/sec)
> Downloaded:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/
> plexus-digest-1.0.jar<http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-digest/1.0/%0Aplexus-digest-1.0.jar>(12
KB at 11.1 KB/sec)
> Downloaded:
> http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/2.0.5
> /plexus-utils-2.0.5.jar<http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/2.0.5%0A/plexus-utils-2.0.5.jar>(218
KB at 168.0 KB/sec)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 13.297s
> [INFO] Finished at: Sun Dec 18 09:11:04 CST 2011
> [INFO] Final Memory: 4M/73M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-install-plugin:2.3
> .1:install-file (default-cli) on project standalone-pom: File not found
> C:\Users
> \Administrator\path-to-pom: C:\Users\Administrator\path-to-pom (The system
> canno
> t find the file specified) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please
> rea
> d the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
> xception
> C:\Users\Administrator>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/No-POM-1-how-do-I-install-my-POM-Please-help-tp5082740p5082740.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
"Legacy code" often differs from its suggested alternative by actually
working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message