[jira] [Issue Comment Edited] (CONNECTORS-223) Tests in project hierarchy do not adhere to maven conventions

2011-07-20 Thread Karl Wright (JIRA)

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

Karl Wright edited comment on CONNECTORS-223 at 7/20/11 1:24 PM:
-

With that import and a few other similar imports, I was able to get further.  
Now I am stopped by the following error, which looks like something new:

[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]

This is the result of "mvn test".

Thoughts?  (I'm keeping all this information around in order to update the 
how-to-build-and-deploy page, FWIW.)

  was (Author: kwri...@metacarta.com):
With that import and a few other similar imports, I was able to get 
further.  Now I am stopped by the following error, which looks like something 
new:

[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]

Thoughts?  (I'm keeping all this information around in order to update the 
how-to-build-and-deploy page, FWIW.)
  
> 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, 
> 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




[jira] [Issue Comment Edited] (CONNECTORS-223) Tests in project hierarchy do not adhere to maven conventions

2011-07-20 Thread Karl Wright (JIRA)

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

Karl Wright edited comment on CONNECTORS-223 at 7/20/11 1:24 PM:
-

With that import and a few other similar imports, I was able to get further.  
Now I am stopped by the following error, which looks like something new:

[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]

Thoughts?  (I'm keeping all this information around in order to update the 
how-to-build-and-deploy page, FWIW.)

  was (Author: kwri...@metacarta.com):
With this and similar imports, I was able to get further.  Now I am stopped 
by the following error, which looks like something new:

[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]

Thoughts?  (I'm keeping all this information around in order to update the 
how-to-build-and-deploy page, FWIW.)
  
> 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, 
> 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