mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From VIGNESH PRAJAPATI <vignesh2...@gmail.com>
Subject Re: problem at : Installing and testing Taste
Date Sun, 04 Dec 2011 11:28:55 GMT
ya i have not modified
but after referring this link i have replaced my pom of taste-web.
there is another errors like..

*At command mvn compile*
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.mahout:mahout-taste-webapp:war:0.5
[WARNING] 'parent.relativePath' points at
org.apache.mahout:mahout-distribution instead of org.apache.mahout:mahout,
please verify your project structure @ line 24, column 11
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Mahout Taste Webapp 0.5
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.4:resources (default-resources) @
mahout-taste-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 41 resources to
C:\cygwin\home\vigs\mahout-distribution-0.5\taste-web\target/mahout-taste-webapp-0.5/WEB-INF/lib
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
mahout-taste-webapp ---
[INFO] No sources to compile
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 0.859s
[INFO] Finished at: Sun Dec 04 16:51:34 IST 2011
[INFO] Final Memory: 3M/254M
[INFO]
------------------------------------------------------------------------

*
At command mvn install*


[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.mahout:mahout-taste-webapp:war:0.5
[WARNING] 'parent.relativePath' points at
org.apache.mahout:mahout-distribution instead of org.apache.mahout:mahout,
please verify your project structure @ line 24, column 11
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Mahout Taste Webapp 0.5
[INFO]
------------------------------------------------------------------------
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1-beta-1/maven-war-plugin-2.1-beta-1.pom
Downloaded:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1-beta-1/maven-war-plugin-2.1-beta-1.pom(6
KB at 0.5 KB/sec)
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1-beta-1/maven-war-plugin-2.1-beta-1.jar
Downloaded:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1-beta-1/maven-war-plugin-2.1-beta-1.jar(75
KB at 45.0 KB/sec)
Downloading:
http://repo1.maven.org/maven2/axis/axis-wsdl4j/1.5.1/axis-wsdl4j-1.5.1.jar
Downloading:
http://repo1.maven.org/maven2/commons-discovery/commons-discovery/0.2/commons-discovery-0.2.jar
Downloading: http://repo1.maven.org/maven2/junit/junit/4.7/junit-4.7.jar
Downloaded:
http://repo1.maven.org/maven2/axis/axis-wsdl4j/1.5.1/axis-wsdl4j-1.5.1.jar(124
KB at 104.3 KB/sec)
Downloaded:
http://repo1.maven.org/maven2/commons-discovery/commons-discovery/0.2/commons-discovery-0.2.jar(70
KB at 3.4 KB/sec)
Downloaded: http://repo1.maven.org/maven2/junit/junit/4.7/junit-4.7.jar(227
KB at 10.2 KB/sec)
[INFO]
[INFO] --- maven-resources-plugin:2.4:resources (default-resources) @
mahout-taste-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
C:\cygwin\home\vigs\mahout-distribution-0.5\taste-web\src\main\resources
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 35.562s
[INFO] Finished at: Sun Dec 04 16:47:45 IST 2011
[INFO] Final Memory: 3M/254M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-resources-plugin:2.4:resources
(default-resources) on project mahout-taste-webapp: Execution
default-resources of goal
org.apache.maven.plugins:maven-resources-plugin:2.4:resources failed:
basedir C:\cygwin\home\vigs\mahout-distribution-0.5\taste-web\lib is not a
directory -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException


*At command mvn jetty:run-war*
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.mahout:mahout-taste-webapp:war:0.5
[WARNING] 'parent.relativePath' points at
org.apache.mahout:mahout-distribution instead of org.apache.mahout:mahout,
please verify your project structure @ line 24, column 11
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Mahout Taste Webapp 0.5
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] >>> jetty-maven-plugin:7.1.2.v20100523:run-war (default-cli) @
mahout-taste-webapp >>>
[INFO]
[INFO] --- maven-resources-plugin:2.4:resources (default-resources) @
mahout-taste-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 41 resources to
C:\cygwin\home\vigs\mahout-distribution-0.5\taste-web\target/mahout-taste-webapp-0.5/WEB-INF/lib
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
mahout-taste-webapp ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.4:testResources (default-testResources)
@ mahout-taste-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
C:\cygwin\home\vigs\mahout-distribution-0.5\taste-web\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
mahout-taste-webapp ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.8.1:test (default-test) @
mahout-taste-webapp ---
[INFO] No tests to run.
[INFO] Surefire report directory:
C:\cygwin\home\vigs\mahout-distribution-0.5\taste-web\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-war-plugin:2.1-beta-1:war (default-war) @
mahout-taste-webapp ---
[INFO] Packaging webapp
[INFO] Assembling webapp[mahout-taste-webapp] in
[C:\cygwin\home\vigs\mahout-distribution-0.5\taste-web\target\mahout-taste-webapp-0.5]
[INFO] Dependency[Dependency {groupId=org.apache.mahout,
artifactId=mahout-core, version=0.5, type=jar}] has changed (was Dependency
{groupId=org.apache.mahout, artifactId=mahout-core, version=0.5, type=jar}).
[INFO] Processing war project
[INFO] Copying webapp
webResources[C:\cygwin\home\vigs\mahout-distribution-0.5\taste-web\src/main/resources]
to[C:\cygwin\home\vigs\mahout-distribution-0.5\taste-web\target\mahout-taste-webapp-0.5]
[INFO] Webapp assembled in [93 msecs]
[INFO] Building war:
C:\cygwin\home\vigs\mahout-distribution-0.5\taste-web\target\mahout-taste-webapp-0.5.war
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1.860s
[INFO] Finished at: Sun Dec 04 16:54:10 IST 2011
[INFO] Final Memory: 5M/254M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-war-plugin:2.1-beta-1:war (default-war) on
project mahout-taste-webapp: Error assembling WAR: webxml attribute is
required (or pre-existing WEB-INF/web.xml if executing in update mode) ->
[Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException



On Sun, Dec 4, 2011 at 4:48 AM, Sean Owen <srowen@gmail.com> wrote:

> Are you sure you didn't modify that file? It says it's not valid, and I
> don't see pluginManagement in the 0.5 version:
>
> http://svn.apache.org/repos/asf/mahout/tags/mahout-0.5/taste-web/pom.xml
>
> On Sat, Dec 3, 2011 at 10:13 PM, VIGNESH PRAJAPATI <vignesh2066@gmail.com
> >wrote:
>
> > ---------- Forwarded message ----------
> > From: VIGNESH PRAJAPATI <vignesh2066@gmail.com>
> > Date: Sun, Dec 4, 2011 at 3:38 AM
> > Subject: problem at : Installing and testing Taste
> > To: mahout-user-subscribe@apache.org
> >
> >
> > folks,
> >
> > at *Installing ans testing Taste with link*
> > http://girlincomputerscience.blogspot.com/2010/11/apache-mahout.html
> >
> > with my mahout version is 0.5 and maven is 3.0.3 with Windows Xp as a
> > platform
> >
> > its seems great till point 5 of *Installing ans testing Taste* but at
> > command* **mvn jetty:run-war *there is
> >
> > error like:
> >
> > [INFO] Scanning for projects...
> > [ERROR] The build could not read 1 project -> [Help 1]
> > [ERROR]
> > [ERROR]   The project org.apache.mahout:mahout-distribution:0.5
> > (C:\cygwin\home\vigs\mahout-distribution-0.5\taste-web\pom.xml) has 2
> > errors
> > [ERROR]     Malformed POM
> > C:\cygwin\home\vigs\mahout-distribution-0.5\taste-web\pom.xml:
> Unrecognised
> > tag: 'pluginManagement' (position: START_TAG seen
> > ...<plugins>\r\n\r\n\r\n\r\n<pluginManagement>... @48:19)  @
> > C:\cygwin\home\vigs\mahout-distribution-0.5\taste-web\pom.xml, line 48,
> > column 19 -> [Help 2]
> > [ERROR]     Malformed POM
> > C:\cygwin\home\vigs\mahout-distribution-0.5\pom.xml: Unrecognised tag:
> > 'pluginManagement' (position: START_TAG seen ...<plugin>\r\n  \r\n
> > <pluginManagement>... @42:21)  @
> > C:\cygwin\home\vigs\mahout-distribution-0.5\pom.xml, line 42, column 21
> ->
> > [Help 2]
> > [ERROR]
> > [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e
> > switch.
> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> > [ERROR]
> > [ERROR] For more information about the errors and possible solutions,
> > please read the following articles:
> > [ERROR] [Help 1]
> >
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> > [ERROR] [Help 2]
> > http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException
> >
> > So can any one help me for this issue..?
> > thanks in advance....
> > --
> >
> > *Vignesh Prajapati*
> > Tel: 9427415949 |
> > vignesh2066@gmail.com | www.vipras.com.co.in
> > MYTK [image: Facebook] <https://www.facebook.com/vigs143> [image:
> > Twitter]<http://twitter.com/#%21/vigs143> [image:
> > LinkedIn] <http://www.linkedin.com/pub/vignesh-prajapati/37/756/46a>
> > [image:
> > about.me] <http://www.way4fun.tk><
> >
> http://r1.wisestamp.com/r/landing?promo=7&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_7
> > >
> >
>



-- 

*Vignesh Prajapati*
Tel: 9427415949 |
vignesh2066@gmail.com | www.vipras.com.co.in
MYTK [image: Facebook] <https://www.facebook.com/vigs143> [image:
Twitter]<http://twitter.com/#%21/vigs143> [image:
LinkedIn] <http://www.linkedin.com/pub/vignesh-prajapati/37/756/46a> [image:
about.me] <http://www.way4fun.tk><http://r1.wisestamp.com/r/landing?promo=7&dest=http%3A%2F%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_7>

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