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

Karl Wright commented on CONNECTORS-223:
----------------------------------------

mvn clean install produces:

[INFO] Reactor Summary:
[INFO]
[INFO] ManifoldCF ........................................ SUCCESS [0.775s]
[INFO] ManifoldCF - Framework ............................ SUCCESS [0.018s]
[INFO] ManifoldCF - Framework - Core ..................... SUCCESS [9.729s]
[INFO] ManifoldCF - Framework - UI Core .................. SUCCESS [0.875s]
[INFO] ManifoldCF - Framework - Agents ................... SUCCESS [17.479s]
[INFO] ManifoldCF - Framework - Pull Agent ............... SUCCESS [36.954s]
[INFO] ManifoldCF - Connectors ........................... SUCCESS [0.018s]
[INFO] ManifoldCF - Connectors - Solr .................... SUCCESS [1.257s]
[INFO] ManifoldCF - Connectors - Null Output ............. SUCCESS [0.672s]
[INFO] ManifoldCF - Connectors - MetaCarta GTS ........... SUCCESS [1.139s]
[INFO] ManifoldCF - Connectors - Null Authority .......... SUCCESS [0.707s]
[INFO] ManifoldCF - Connectors - Active Directory ........ SUCCESS [0.932s]
[INFO] ManifoldCF - Connectors - Web ..................... SUCCESS [2.185s]
[INFO] ManifoldCF - Connectors - RSS ..................... SUCCESS [1.784s]
[INFO] ManifoldCF - Connectors - JDBC .................... SUCCESS [1.243s]
[INFO] ManifoldCF - Connectors - Filesystem .............. SUCCESS [30.436s]
[INFO] ManifoldCF - Framework - Jetty Runner ............. FAILURE [0.838s]
[INFO] ManifoldCF - Framework - Authority Servlet ........ SKIPPED
[INFO] ManifoldCF - Framework - API Servlet .............. SKIPPED
[INFO] ManifoldCF - Framework - Authority Service ........ SKIPPED
[INFO] ManifoldCF - Framework - API Service .............. SKIPPED
[INFO] ManifoldCF - Framework - Crawler UI ............... SKIPPED
[INFO] ManifoldCF - Connectors - jCIFS ................... SKIPPED
[INFO] ManifoldCF - Tests ................................ SKIPPED
[INFO] ManifoldCF - Test - Filesystem .................... SKIPPED
[INFO] ManifoldCF - Test - Sharepoint .................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:47.286s
[INFO] Finished at: Wed Jul 20 09:57:52 EDT 2011
[INFO] Final Memory: 36M/87M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:
2.1:copy (copy-war) on project mcf-jettyrunner: Unable to find artifact. Could n
ot find artifact org.apache.manifoldcf:mcf-api-service:war:0.3.0-SNAPSHOT
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.apache.manifoldcf -DartifactId=mc
f-api-service -Dversion=0.3.0-SNAPSHOT -Dpackaging=war -Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the file t
here:
[ERROR] mvn deploy:deploy-file -DgroupId=org.apache.manifoldcf -DartifactId=mcf-
api-service -Dversion=0.3.0-SNAPSHOT -Dpackaging=war -Dfile=/path/to/file -Durl=
[url] -DrepositoryId=[id]
[ERROR]
[ERROR]
[ERROR] org.apache.manifoldcf:mcf-api-service:war:0.3.0-SNAPSHOT
[ERROR]
[ERROR] from the specified remote repositories:
[ERROR] central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
[ERROR] -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :mcf-jettyrunner

I'm not attempting to run anything but clearly the dependencies don't work 
consistently at this time, just for building.

The jetty-runner jar can be BUILT right where it is, but it cannot be RUN until 
the wars are all available.  The directory where all this is assembled under 
ant is based on jetty-example, and is separate from jetty-runner for this very 
reason.  Is there a way to make a similar separation in Maven?


> Tests in project hierarchy do not adhere to maven conventions
> -------------------------------------------------------------
>
>                 Key: CONNECTORS-223
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-223
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: ManifoldCF 0.1, ManifoldCF 0.2, ManifoldCF 0.3
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 0.3
>
>         Attachments: CONNECTORS-223.patch, CONNECTORS-223_forkMode.patch, 
> CONNECTORS-223_jetty-runner.patch, test_reset.patch
>
>
> Maven expects unit tests under .../src/test/java, and root-level project 
> tests under tests/xxx/src/test/java (or equivalent, along with their own 
> pom.xml at tests and tests/xxx).  This is basically compatible with the ant 
> build except in location detail.  The proposal is to move stuff around to 
> make the tests work with maven.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to