nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Furkan KAMACI (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NUTCH-1800) Documentation for Nutch 1.X REST API
Date Sun, 19 Jun 2016 16:45:05 GMT

    [ https://issues.apache.org/jira/browse/NUTCH-1800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15338608#comment-15338608
] 

Furkan KAMACI commented on NUTCH-1800:
--------------------------------------

[~lewismc] when I switch to master branch and try to generate the REST API I get error:

{code}
furkan@kamaci:~/projects/gsoc2016/nutch$ ant -lib ivy restdocs
Buildfile: /home/furkan/projects/gsoc2016/nutch/build.xml
Trying to override old definition of task javac
  [taskdef] Could not load definitions from resource org/sonar/ant/antlib.xml. It could not
be found.

restdocs:
[ivy:makepom] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ ::
[ivy:makepom] :: loading settings :: url = jar:file:/home/furkan/projects/gsoc2016/nutch/ivy/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings.xml
[artifact:mvn] + Error stacktraces are turned on.
[artifact:mvn] [INFO] Scanning for projects...
[artifact:mvn] [INFO] ------------------------------------------------------------------------
[artifact:mvn] [INFO] Building Apache Nutch
[artifact:mvn] [INFO]    task-segment: [test]
[artifact:mvn] [INFO] ------------------------------------------------------------------------
[artifact:mvn] [INFO] [resources:resources]
[artifact:mvn] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
[artifact:mvn] [INFO] skip non existing resourceDirectory /home/furkan/projects/gsoc2016/nutch/src/main/resources
[artifact:mvn] Downloading: http://repo1.maven.org/maven2/org/apache/mrunit/mrunit/1.1.0/mrunit-1.1.0.jar
[artifact:mvn] [INFO] ------------------------------------------------------------------------
[artifact:mvn] [ERROR] BUILD ERROR
[artifact:mvn] [INFO] ------------------------------------------------------------------------
[artifact:mvn] [INFO] Failed to resolve artifact.
[artifact:mvn] 
[artifact:mvn] Missing:
[artifact:mvn] ----------
[artifact:mvn] 1) org.apache.mrunit:mrunit:jar:1.1.0
[artifact:mvn] 
[artifact:mvn]   Try downloading the file manually from the project website.
[artifact:mvn] 
[artifact:mvn]   Then, install it using the command: 
[artifact:mvn]       mvn install:install-file -DgroupId=org.apache.mrunit -DartifactId=mrunit
-Dversion=1.1.0 -Dpackaging=jar -Dfile=/path/to/file
[artifact:mvn] 
[artifact:mvn]   Alternatively, if you host your own repository you can deploy the file there:

[artifact:mvn]       mvn deploy:deploy-file -DgroupId=org.apache.mrunit -DartifactId=mrunit
-Dversion=1.1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[artifact:mvn] 
[artifact:mvn]   Path to dependency: 
[artifact:mvn]          1) org.apache.nutch:nutch:jar:1.12-SNAPSHOT
[artifact:mvn]          2) org.apache.mrunit:mrunit:jar:1.1.0
[artifact:mvn] 
[artifact:mvn] ----------
[artifact:mvn] 1 required artifact is missing.
[artifact:mvn] 
[artifact:mvn] for artifact: 
[artifact:mvn]   org.apache.nutch:nutch:jar:1.12-SNAPSHOT
[artifact:mvn] 
[artifact:mvn] from the specified remote repositories:
[artifact:mvn]   central (http://repo1.maven.org/maven2)
[artifact:mvn] 
[artifact:mvn] 
[artifact:mvn] 
[artifact:mvn] [INFO] ------------------------------------------------------------------------
[artifact:mvn] [INFO] Trace
[artifact:mvn] org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
[artifact:mvn] ----------
[artifact:mvn] 1) org.apache.mrunit:mrunit:jar:1.1.0
[artifact:mvn] 
[artifact:mvn]   Try downloading the file manually from the project website.
[artifact:mvn] 
[artifact:mvn]   Then, install it using the command: 
[artifact:mvn]       mvn install:install-file -DgroupId=org.apache.mrunit -DartifactId=mrunit
-Dversion=1.1.0 -Dpackaging=jar -Dfile=/path/to/file
[artifact:mvn] 
[artifact:mvn]   Alternatively, if you host your own repository you can deploy the file there:

[artifact:mvn]       mvn deploy:deploy-file -DgroupId=org.apache.mrunit -DartifactId=mrunit
-Dversion=1.1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[artifact:mvn] 
[artifact:mvn]   Path to dependency: 
[artifact:mvn]          1) org.apache.nutch:nutch:jar:1.12-SNAPSHOT
[artifact:mvn]          2) org.apache.mrunit:mrunit:jar:1.1.0
[artifact:mvn] 
[artifact:mvn] ----------
[artifact:mvn] 1 required artifact is missing.
[artifact:mvn] 
[artifact:mvn] for artifact: 
[artifact:mvn]   org.apache.nutch:nutch:jar:1.12-SNAPSHOT
[artifact:mvn] 
[artifact:mvn] from the specified remote repositories:
[artifact:mvn]   central (http://repo1.maven.org/maven2)
[artifact:mvn] 
[artifact:mvn] 
[artifact:mvn]  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:576)
[artifact:mvn]  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:500)
[artifact:mvn]  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:479)
[artifact:mvn]  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
[artifact:mvn]  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)
[artifact:mvn]  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
[artifact:mvn]  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
[artifact:mvn]  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
[artifact:mvn]  at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)
[artifact:mvn]  at org.apache.maven.cli.MavenCli.main(MavenCli.java:93)
[artifact:mvn]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[artifact:mvn]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[artifact:mvn]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[artifact:mvn]  at java.lang.reflect.Method.invoke(Method.java:498)
[artifact:mvn]  at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
[artifact:mvn]  at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
[artifact:mvn]  at org.apache.tools.ant.taskdefs.Java.run(Java.java:771)
[artifact:mvn]  at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:221)
[artifact:mvn]  at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135)
[artifact:mvn]  at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
[artifact:mvn]  at org.apache.maven.artifact.ant.Mvn.execute(Mvn.java:91)
[artifact:mvn]  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[artifact:mvn]  at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[artifact:mvn]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[artifact:mvn]  at java.lang.reflect.Method.invoke(Method.java:498)
[artifact:mvn]  at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[artifact:mvn]  at org.apache.tools.ant.Task.perform(Task.java:348)
[artifact:mvn]  at org.apache.tools.ant.Target.execute(Target.java:435)
[artifact:mvn]  at org.apache.tools.ant.Target.performTasks(Target.java:456)
[artifact:mvn]  at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
[artifact:mvn]  at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
[artifact:mvn]  at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[artifact:mvn]  at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
[artifact:mvn]  at org.apache.tools.ant.Main.runBuild(Main.java:851)
[artifact:mvn]  at org.apache.tools.ant.Main.startAnt(Main.java:235)
[artifact:mvn]  at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
[artifact:mvn]  at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
[artifact:mvn] Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException:
Missing:
[artifact:mvn] ----------
[artifact:mvn] 1) org.apache.mrunit:mrunit:jar:1.1.0
[artifact:mvn] 
[artifact:mvn]   Try downloading the file manually from the project website.
[artifact:mvn] 
[artifact:mvn]   Then, install it using the command: 
[artifact:mvn]       mvn install:install-file -DgroupId=org.apache.mrunit -DartifactId=mrunit
-Dversion=1.1.0 -Dpackaging=jar -Dfile=/path/to/file
[artifact:mvn] 
[artifact:mvn]   Alternatively, if you host your own repository you can deploy the file there:

[artifact:mvn]       mvn deploy:deploy-file -DgroupId=org.apache.mrunit -DartifactId=mrunit
-Dversion=1.1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[artifact:mvn] 
[artifact:mvn]   Path to dependency: 
[artifact:mvn]          1) org.apache.nutch:nutch:jar:1.12-SNAPSHOT
[artifact:mvn]          2) org.apache.mrunit:mrunit:jar:1.1.0
[artifact:mvn] 
[artifact:mvn] ----------
[artifact:mvn] 1 required artifact is missing.
[artifact:mvn] 
[artifact:mvn] for artifact: 
[artifact:mvn]   org.apache.nutch:nutch:jar:1.12-SNAPSHOT
[artifact:mvn] 
[artifact:mvn] from the specified remote repositories:
[artifact:mvn]   central (http://repo1.maven.org/maven2)
[artifact:mvn] 
[artifact:mvn] 
[artifact:mvn]  at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:324)
[artifact:mvn]  at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:288)
[artifact:mvn]  at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1417)
[artifact:mvn]  at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:407)
[artifact:mvn]  at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
[artifact:mvn]  ... 36 more
[artifact:mvn] [INFO] ------------------------------------------------------------------------
[artifact:mvn] [INFO] Total time: 24 seconds
[artifact:mvn] [INFO] Finished at: Sun Jun 19 19:41:06 EEST 2016
[artifact:mvn] [INFO] Final Memory: 59M/723M
[artifact:mvn] [INFO] ------------------------------------------------------------------------
[artifact:mvn] Java Result: 1

BUILD SUCCESSFUL
{code}

What I miss?

> Documentation for Nutch 1.X REST API
> ------------------------------------
>
>                 Key: NUTCH-1800
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1800
>             Project: Nutch
>          Issue Type: New Feature
>          Components: documentation, REST_api
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>             Fix For: 1.11
>
>         Attachments: NUTCH-1800.patch
>
>
> This issue should build on NUTCH-1769 with full Java documentation for all classes in
the following packages
> org.apache.nutch.api.*
> I am assigning this one to [~fjodor.vershinin] as he is doing an excellent job on the
REST API. His UML graphic in [0] and commantary shows that he has a good understanding of
the REST API and its functionality.
> Thank you [~fjodor.vershinin] great work.
> [0] https://wiki.apache.org/nutch/NutchRESTAPI#UML_Graphic



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message