Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-1052

Invoking mvn from ant

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Alfresco connector, Build
    • Labels:
      None

      Description

      Using ant 'test', AlfrescoConnector test is ignored. Because ant doesn't call 'mvn package' at test-materials/alfresco-war and copy the war to proper test dir. It would be nice if we could call mvn command from ant, including compile jars and test.

      Currently, this test is skipped when we use ant.

      $ ant make-core-deps make-deps build test
      Or
      $ cd connectors/alfresco
      $ ant run-IT-HSQLDB
      ...
      
      pretest-warn:
           [echo] Alfresco Connector integration tests cannot be be performed without alfresco.war
      

      Also, it seems there is a difference between build.xml and pom.xml about test content(alfresco war/client version).
      I'm not sure what is correct.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shinichiro abe Shinichiro Abe
                Reporter:
                shinichiro abe Shinichiro Abe
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: