Login
Login

Building Algo-quant 1.2.0 with eclipse Luna Service Release 2 (4.4.2)

Home 21090308 Forums Programming Java Building Algo-quant 1.2.0 with eclipse Luna Service Release 2 (4.4.2)

  • This topic is empty.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #5534
    cheerful
    Member

    Dear Sir,

    Thanks for the trial license, however I cannot install algo-quant. I install the latest eclipse luna. I have the trial license installed in the right directory

    I encountered two error.

    First error is when I import the maven as shown in the attachment.

    Second error is when I continue to install it. Error as shown below

    [INFO] Scanning for projects…
    [INFO] ————————————————————————
    [INFO] Reactor Build Order:
    [INFO]
    [INFO] AlgoQuant
    [INFO] AlgoQuant Maven Plugin
    [INFO] AlgoQuant Core
    [INFO]
    [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
    [INFO]
    [INFO] ————————————————————————
    [INFO] Building AlgoQuant 1.2.0
    [INFO] ————————————————————————
    [INFO]
    [INFO] — maven-clean-plugin:2.5:clean (default-clean) @ algoquant —
    [INFO]
    [INFO] — build-helper-maven-plugin:1.10:add-resource (add-resource) @ algoquant —
    [INFO]
    [INFO] — maven-source-plugin:2.4:jar-no-fork (attach-sources) @ algoquant —
    [INFO]
    [INFO] — maven-install-plugin:2.4:install (default-install) @ algoquant —
    [INFO] Installing C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\pom.xml to C:\Users\YCM LLC\.m2\repository\com\numericalmethod\algoquant\1.2.0\algoquant-1.2.0.pom
    [INFO]
    [INFO] ————————————————————————
    [INFO] Building AlgoQuant Maven Plugin 1.2.0
    [INFO] ————————————————————————
    [INFO]
    [INFO] — maven-clean-plugin:2.5:clean (default-clean) @ algoquant-maven-plugin —
    [INFO] Deleting C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\maven\target
    [INFO]
    [INFO] — maven-plugin-plugin:3.4:helpmojo (help-goal) @ algoquant-maven-plugin —
    [INFO] Using ‘UTF-8’ encoding to read mojo metadata.
    [INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors.
    [INFO] Mojo extractor with id: java-annotations found 0 mojo descriptors.
    [INFO]
    [INFO] — maven-plugin-plugin:3.4:descriptor (default-descriptor) @ algoquant-maven-plugin —
    [INFO] Using ‘UTF-8’ encoding to read mojo metadata.
    [INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors.
    [INFO] Mojo extractor with id: java-annotations found 0 mojo descriptors.
    [INFO]
    [INFO] — build-helper-maven-plugin:1.10:add-resource (add-resource) @ algoquant-maven-plugin —
    [INFO]
    [INFO] — maven-resources-plugin:2.6:resources (default-resources) @ algoquant-maven-plugin —
    [INFO] Using ‘UTF-8’ encoding to copy filtered resources.
    [INFO] Copying 2 resources
    [INFO] Copying 2 resources
    [INFO]
    [INFO] — maven-compiler-plugin:3.3:compile (default-compile) @ algoquant-maven-plugin —
    [INFO] Changes detected – recompiling the module!
    [INFO] Compiling 7 source files to C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\maven\target\classes
    [INFO]
    [INFO] — maven-plugin-plugin:3.4:descriptor (mojo-descriptor) @ algoquant-maven-plugin —
    [INFO] Using ‘UTF-8’ encoding to read mojo metadata.
    [INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors.
    [WARNING] Deprecated @Component annotation for ‘mavenProject’ field in com.numericalmethod.algoquant.maven.indices.sp500.SP500Mojo: replace with @Parameter( default-value = “${project}”, readonly = true )
    [WARNING] Deprecated @Component annotation for ‘mavenSession’ field in com.numericalmethod.algoquant.maven.indices.sp500.SP500Mojo: replace with @Parameter( default-value = “${session}”, readonly = true )
    [INFO] Mojo extractor with id: java-annotations found 2 mojo descriptors.
    [INFO]
    [INFO] — maven-resources-plugin:2.6:testResources (default-testResources) @ algoquant-maven-plugin —
    [INFO] Not copying test resources
    [INFO]
    [INFO] — maven-compiler-plugin:3.3:testCompile (default-testCompile) @ algoquant-maven-plugin —
    [INFO] Not compiling test sources
    [INFO]
    [INFO] — maven-surefire-plugin:2.19:test (default-test) @ algoquant-maven-plugin —
    [INFO] Tests are skipped.
    [INFO]
    [INFO] — maven-jar-plugin:2.6:jar (default-jar) @ algoquant-maven-plugin —
    [INFO] Building jar: C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\maven\target\algoquant-maven-plugin-1.2.0.jar
    [INFO]
    [INFO] — maven-plugin-plugin:3.4:addPluginArtifactMetadata (default-addPluginArtifactMetadata) @ algoquant-maven-plugin —
    [INFO]
    [INFO] — maven-source-plugin:2.4:jar-no-fork (attach-sources) @ algoquant-maven-plugin —
    [INFO] Building jar: C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\maven\target\algoquant-maven-plugin-1.2.0-sources.jar
    [INFO]
    [INFO] — maven-install-plugin:2.4:install (default-install) @ algoquant-maven-plugin —
    [INFO] Installing C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\maven\target\algoquant-maven-plugin-1.2.0.jar to C:\Users\YCM LLC\.m2\repository\com\numericalmethod\algoquant-maven-plugin\1.2.0\algoquant-maven-plugin-1.2.0.jar
    [INFO] Installing C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\maven\pom.xml to C:\Users\YCM LLC\.m2\repository\com\numericalmethod\algoquant-maven-plugin\1.2.0\algoquant-maven-plugin-1.2.0.pom
    [INFO] Installing C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\maven\target\algoquant-maven-plugin-1.2.0-sources.jar to C:\Users\YCM LLC\.m2\repository\com\numericalmethod\algoquant-maven-plugin\1.2.0\algoquant-maven-plugin-1.2.0-sources.jar
    [INFO]
    [INFO] ————————————————————————
    [INFO] Building AlgoQuant Core 1.2.0
    [INFO] ————————————————————————
    [INFO]
    [INFO] — maven-clean-plugin:2.5:clean (default-clean) @ algoquant-core —
    [INFO] Deleting C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\core\target
    [INFO]
    [INFO] — maven-jaxb2-plugin:0.13.1:generate (jaxb-generate-algoquant-config-binding) @ algoquant-core —
    [INFO] Started execution.
    Cannot find CatalogManager.properties
    [INFO] JAXB API is loaded from the [jar:file:/C:/Program%20Files/Java/jdk1.8.0_92/jre/lib/rt.jar!].
    [INFO] Detected JAXB API version [2.2].
    [INFO] pluginArtifacts:[org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:maven-plugin:0.13.1:, org.jvnet.jaxb2.maven2:maven-jaxb2-plugin-core:jar:0.13.1:compile, org.slf4j:slf4j-api:jar:1.7.7:compile, org.apache.commons:commons-lang3:jar:3.2.1:compile, com.sun.org.apache.xml.internal:resolver:jar:20050927:compile, org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile, junit:junit:jar:4.8.1:compile, org.codehaus.plexus:plexus-utils:jar:1.5.15:compile, org.jvnet.jaxb2.maven2:maven-jaxb22-plugin:jar:0.13.1:compile, org.glassfish.jaxb:jaxb-runtime:jar:2.2.11:compile, org.glassfish.jaxb:jaxb-core:jar:2.2.11:compile, javax.xml.bind:jaxb-api:jar:2.2.12-b140109.1041:compile, org.glassfish.jaxb:txw2:jar:2.2.11:compile, com.sun.istack:istack-commons-runtime:jar:2.21:compile, org.jvnet.staxex:stax-ex:jar:1.7.7:compile, com.sun.xml.fastinfoset:FastInfoset:jar:1.2.13:compile, org.glassfish.jaxb:jaxb-xjc:jar:2.2.11:compile, com.sun.xsom:xsom:jar:20140925:compile, relaxngDatatype:relaxngDatatype:jar:20020414:compile, org.glassfish.jaxb:codemodel:jar:2.2.11:compile, com.sun.xml.bind.external:rngom:jar:2.2.11:compile, com.sun.xml.dtd-parser:dtd-parser:jar:1.1:compile, com.sun.istack:istack-commons-tools:jar:2.21:compile, org.apache.ant:ant:jar:1.7.0:compile, org.apache.ant:ant-launcher:jar:1.7.0:compile, com.sun:tools:jar:1.6:system, org.apache.maven.plugin-tools:maven-plugin-annotations:jar:3.4:compile]
    [INFO] specVersion:2.2
    [INFO] encoding:UTF-8
    [INFO] locale:null
    [INFO] schemaLanguage:null
    [INFO] schemaDirectory:C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\core\src\main\resources
    [INFO] schemaIncludes:[xsd/*.xsd]
    [INFO] schemaExcludes:null
    [INFO] schemas:[]
    [INFO] bindingDirectory:C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\core\src\main\resources
    [INFO] bindingIncludes:[*.xjb]
    [INFO] bindingExcludes:null
    [INFO] bindings:[]
    [INFO] disableDefaultExcludes:false
    [INFO] catalog:C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\core\src\main\resources\xsd\catalog.xml
    [INFO] catalogResolver:org.jvnet.jaxb2.maven2.resolver.tools.ClasspathCatalogResolver
    [INFO] generatePackage:com.numericalmethod.algoquant.execution.backtest.parameter
    [INFO] generateDirectory:C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\core\target\generated-sources\xjc
    [INFO] readOnly:false
    [INFO] extension:true
    [INFO] strict:true
    [INFO] writeCode:true
    [INFO] verbose:true
    [INFO] debug:false
    [INFO] args:[]
    [INFO] forceRegenerate:true
    [INFO] removeOldOutput:false
    [INFO] produces:[**/*.*, **/*.java, **/bgm.ser, **/jaxb.properties]
    [INFO] otherDepends:null
    [INFO] episodeFile:C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\core\target\generated-sources\xjc\META-INF\jaxb-config.episode
    [INFO] episode:true
    [INFO] plugins:null
    [INFO] episodes:null
    [INFO] useDependenciesAsEpisodes:false
    [INFO] scanDependenciesForBindings:false
    [INFO] xjcPlugins:null
    [INFO] episodes:null
    [INFO] catalogURIs (calculated):[file:/C:/Users/YCM%20LLC/Desktop/algoquant-1.2.0/algoquant-1.2.0/core/src/main/resources/xsd/catalog.xml]
    [INFO] resolvedCatalogURIs (calculated):[file:/C:/Users/YCM%20LLC/Desktop/algoquant-1.2.0/algoquant-1.2.0/core/src/main/resources/xsd/catalog.xml]
    [INFO] schemaFiles (calculated):[C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\core\src\main\resources\xsd\BTParam.xsd]
    [INFO] schemaURIs (calculated):[file:/C:/Users/YCM%20LLC/Desktop/algoquant-1.2.0/algoquant-1.2.0/core/src/main/resources/xsd/BTParam.xsd]
    [INFO] resolvedSchemaURIs (calculated):[file:/C:/Users/YCM%20LLC/Desktop/algoquant-1.2.0/algoquant-1.2.0/core/src/main/resources/xsd/BTParam.xsd]
    [INFO] bindingFiles (calculated):[]
    [INFO] bindingURIs (calculated):[]
    [INFO] resolvedBindingURIs (calculated):[]
    [INFO] xjcPluginArtifacts (resolved):[]
    [INFO] xjcPluginFiles (resolved):[]
    [INFO] xjcPluginURLs (resolved):[]
    [INFO] episodeArtifacts (resolved):[]
    [INFO] episodeFiles (resolved):[]
    [INFO] optionsConfiguration:OptionsConfiguration [specVersion=2.2
    generateDirectory=C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\core\target\generated-sources\xjc
    generatePackage=com.numericalmethod.algoquant.execution.backtest.parameter
    schemaLanguage=null
    grammars.systemIds=[file:/C:/Users/YCM%20LLC/Desktop/algoquant-1.2.0/algoquant-1.2.0/core/src/main/resources/xsd/BTParam.xsd]
    bindFiles.systemIds=[]
    plugins=[]
    readOnly=false
    packageLevelAnnotations=true
    noFileHeader=false
    enableIntrospection=false
    disableXmlSecurity=true
    accessExternalSchema=all
    accessExternalDTD=all
    contentForWildcard=false
    extension=true
    strict=true
    verbose=true
    debugMode=false
    arguments=[-episode, C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\core\target\generated-sources\xjc\META-INF\jaxb-config.episode]]
    [WARNING] The plugin is configured to use catalogs and strict mode at the same time.
    Using catalogs to resolve schema URIs in strict mode is known to be problematic and may fail.
    Please refer to the following link for more information:
    https://github.com/highsource/maven-jaxb2-plugin/wiki/Catalogs-in-Strict-Mode
    Consider setting false in your plugin configuration.

    Using java.util.ServiceLoader
    [WARNING] You are using forceRegenerate=true in your configuration.
    This configuration setting is deprecated and not recommended as it causes problems with incremental builds in IDEs.
    Please refer to the following link for more information:
    https://github.com/highsource/maven-jaxb2-plugin/wiki/Do-Not-Use-forceRegenerate
    Consider removing this setting from your plugin configuration.

    [INFO] The [forceRegenerate] switch is turned on, XJC will be executed.
    [INFO] Parsing input schema(s)…
    [INFO] Compiling input schema(s)…
    [INFO] Writing output to [C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\core\target\generated-sources\xjc].
    [INFO] Cleaning package directories.
    [INFO] XJC writing: com\numericalmethod\algoquant\execution\backtest\parameter\BTParam.java
    [INFO] XJC writing: com\numericalmethod\algoquant\execution\backtest\parameter\ObjectFactory.java
    [INFO] XJC writing: com\numericalmethod\algoquant\execution\backtest\parameter\package-info.java
    [INFO] Episode file [C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\core\target\generated-sources\xjc\META-INF\jaxb-config.episode] was augmented with if-exists=”true” attributes.
    [INFO] Finished execution.
    [INFO]
    [INFO] — algoquant-maven-plugin:1.2.0:sp500 (generate-sp500) @ algoquant-core —
    [INFO] Updating S&P500 data in: C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\core\target\generated-sources\algoquant\com\numericalmethod\algoquant\execution\datatype\product\stock\usa\SP500.java
    [INFO] Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/1.9.1/build-helper-maven-plugin-1.9.1.pom
    [INFO] Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/1.9.1/build-helper-maven-plugin-1.9.1.pom (7 KB at 10.3 KB/sec)
    [INFO] Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/mojo-parent/33/mojo-parent-33.pom
    [INFO] Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/mojo-parent/33/mojo-parent-33.pom (26 KB at 148.9 KB/sec)
    [INFO] Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/1.9.1/build-helper-maven-plugin-1.9.1.jar
    [INFO] Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/1.9.1/build-helper-maven-plugin-1.9.1.jar (47 KB at 173.7 KB/sec)
    [INFO] Downloading: http://repo.maven.apache.org/maven2/junit/junit/4.11/junit-4.11.pom
    [INFO] Downloaded: http://repo.maven.apache.org/maven2/junit/junit/4.11/junit-4.11.pom (3 KB at 14.7 KB/sec)
    [INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
    [INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom (643 B at 1.3 KB/sec)
    [INFO] Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
    [INFO] Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom (12 KB at 102.1 KB/sec)
    [INFO] Downloading: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.8/plexus-utils-1.5.8.jar
    [INFO] Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/1.5.8/plexus-utils-1.5.8.jar (262 KB at 398.7 KB/sec)
    [INFO] Source directory: C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\core\target\generated-sources\algoquant added.
    [INFO]
    [INFO] — build-helper-maven-plugin:1.10:add-resource (add-resource) @ algoquant-core —
    [INFO]
    [INFO] — maven-resources-plugin:2.6:resources (default-resources) @ algoquant-core —
    [INFO] Using ‘UTF-8’ encoding to copy filtered resources.
    [INFO] Copying 32 resources
    [INFO] Copying 1 resource
    [INFO] Copying 2 resources
    [INFO]
    [INFO] — maven-compiler-plugin:3.3:compile (default-compile) @ algoquant-core —
    [INFO] Changes detected – recompiling the module!
    [INFO] Compiling 684 source files to C:\Users\YCM LLC\Desktop\algoquant-1.2.0\algoquant-1.2.0\core\target\classes
    [INFO] /C:/Users/YCM LLC/Desktop/algoquant-1.2.0/algoquant-1.2.0/core/src/main/java/com/numericalmethod/algoquant/util/gui/demo/backtest/model/BacktestTask.java: Some input files use or override a deprecated API.
    [INFO] /C:/Users/YCM LLC/Desktop/algoquant-1.2.0/algoquant-1.2.0/core/src/main/java/com/numericalmethod/algoquant/util/gui/demo/backtest/model/BacktestTask.java: Recompile with -Xlint:deprecation for details.
    [INFO] /C:/Users/YCM LLC/Desktop/algoquant-1.2.0/algoquant-1.2.0/core/src/main/java/com/numericalmethod/algoquant/data/cache/VectorCache.java: Some input files use unchecked or unsafe operations.
    [INFO] /C:/Users/YCM LLC/Desktop/algoquant-1.2.0/algoquant-1.2.0/core/src/main/java/com/numericalmethod/algoquant/data/cache/VectorCache.java: Recompile with -Xlint:unchecked for details.
    [INFO] ————————————————————-
    [ERROR] COMPILATION ERROR :
    [INFO] ————————————————————-
    [ERROR] /C:/Users/YCM LLC/Desktop/algoquant-1.2.0/algoquant-1.2.0/core/src/main/java/com/numericalmethod/algoquant/model/infantino2010/strategy/order/threshold/TestData.java:[78,48] cannot find symbol
    symbol: variable TWC
    [INFO] 1 error
    [INFO] ————————————————————-
    [INFO] ————————————————————————
    [INFO] Reactor Summary:
    [INFO]
    [INFO] AlgoQuant ………………………………….. SUCCESS [ 1.307 s]
    [INFO] AlgoQuant Maven Plugin ………………………. SUCCESS [ 9.425 s]
    [INFO] AlgoQuant Core ……………………………… FAILURE [ 26.526 s]
    [INFO] ————————————————————————
    [INFO] BUILD FAILURE
    [INFO] ————————————————————————
    [INFO] Total time: 37.390 s
    [INFO] Finished at: 2016-05-19T18:56:57-08:00
    [INFO] Final Memory: 70M/1122M
    [INFO] ————————————————————————
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project algoquant-core: Compilation failure
    [ERROR] /C:/Users/YCM LLC/Desktop/algoquant-1.2.0/algoquant-1.2.0/core/src/main/java/com/numericalmethod/algoquant/model/infantino2010/strategy/order/threshold/TestData.java:[78,48] cannot find symbol
    [ERROR] symbol: variable TWC
    [ERROR] -> [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/MojoFailureException
    [ERROR]
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR] mvn -rf :algoquant-core

    #5536
    kenyiu
    Participant

    Hi,

    Since the stock TWC has been removed from S&P500, please comment/remove line 78 in the file algoquant\core\src\main\java\com\numericalmethod\algoquant\model\infantino2010\strategy\order\threshold\TestData.java and build the project again.

    Thanks.

    #5537
    cheerful
    Member

    Dear Ken,

    Still cant install…

    [INFO] Scanning for projects…
    [INFO] ————————————————————————
    [INFO] Reactor Build Order:
    [INFO]
    [INFO] AlgoQuant
    [INFO] AlgoQuant Maven Plugin
    [INFO] AlgoQuant Core
    [INFO]
    [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
    [INFO]
    [INFO] ————————————————————————
    [INFO] Building AlgoQuant 1.2.0
    [INFO] ————————————————————————
    [INFO]
    [INFO] — maven-clean-plugin:2.5:clean (default-clean) @ algoquant —
    [INFO]
    [INFO] — build-helper-maven-plugin:1.10:add-resource (add-resource) @ algoquant —
    [INFO]
    [INFO] — maven-source-plugin:2.4:jar-no-fork (attach-sources) @ algoquant —
    [INFO]
    [INFO] — maven-install-plugin:2.4:install (default-install) @ algoquant —
    [INFO] Installing C:\Users\YCM LLC\Desktop\algoquant-1.2.0\pom.xml to C:\Users\YCM LLC\.m2\repository\com\numericalmethod\algoquant\1.2.0\algoquant-1.2.0.pom
    [INFO]
    [INFO] ————————————————————————
    [INFO] Building AlgoQuant Maven Plugin 1.2.0
    [INFO] ————————————————————————
    [INFO]
    [INFO] — maven-clean-plugin:2.5:clean (default-clean) @ algoquant-maven-plugin —
    [INFO] Deleting C:\Users\YCM LLC\Desktop\algoquant-1.2.0\maven\target
    [INFO]
    [INFO] — maven-plugin-plugin:3.4:helpmojo (help-goal) @ algoquant-maven-plugin —
    [INFO] Using ‘UTF-8’ encoding to read mojo metadata.
    [INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors.
    [INFO] Mojo extractor with id: java-annotations found 0 mojo descriptors.
    [INFO]
    [INFO] — maven-plugin-plugin:3.4:descriptor (default-descriptor) @ algoquant-maven-plugin —
    [INFO] Using ‘UTF-8’ encoding to read mojo metadata.
    [INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors.
    [INFO] Mojo extractor with id: java-annotations found 0 mojo descriptors.
    [INFO]
    [INFO] — build-helper-maven-plugin:1.10:add-resource (add-resource) @ algoquant-maven-plugin —
    [INFO]
    [INFO] — maven-resources-plugin:2.6:resources (default-resources) @ algoquant-maven-plugin —
    [INFO] Using ‘UTF-8’ encoding to copy filtered resources.
    [INFO] Copying 2 resources
    [INFO] Copying 2 resources
    [INFO]
    [INFO] — maven-compiler-plugin:3.3:compile (default-compile) @ algoquant-maven-plugin —
    [INFO] Changes detected – recompiling the module!
    [INFO] Compiling 7 source files to C:\Users\YCM LLC\Desktop\algoquant-1.2.0\maven\target\classes
    [INFO]
    [INFO] — maven-plugin-plugin:3.4:descriptor (mojo-descriptor) @ algoquant-maven-plugin —
    [INFO] Using ‘UTF-8’ encoding to read mojo metadata.
    [INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors.
    [WARNING] Deprecated @Component annotation for ‘mavenProject’ field in com.numericalmethod.algoquant.maven.indices.sp500.SP500Mojo: replace with @Parameter( default-value = “${project}”, readonly = true )
    [WARNING] Deprecated @Component annotation for ‘mavenSession’ field in com.numericalmethod.algoquant.maven.indices.sp500.SP500Mojo: replace with @Parameter( default-value = “${session}”, readonly = true )
    [INFO] Mojo extractor with id: java-annotations found 2 mojo descriptors.
    [INFO]
    [INFO] — maven-resources-plugin:2.6:testResources (default-testResources) @ algoquant-maven-plugin —
    [INFO] Not copying test resources
    [INFO]
    [INFO] — maven-compiler-plugin:3.3:testCompile (default-testCompile) @ algoquant-maven-plugin —
    [INFO] Not compiling test sources
    [INFO]
    [INFO] — maven-surefire-plugin:2.19:test (default-test) @ algoquant-maven-plugin —
    [INFO] Tests are skipped.
    [INFO]
    [INFO] — maven-jar-plugin:2.6:jar (default-jar) @ algoquant-maven-plugin —
    [INFO] Building jar: C:\Users\YCM LLC\Desktop\algoquant-1.2.0\maven\target\algoquant-maven-plugin-1.2.0.jar
    [INFO]
    [INFO] — maven-plugin-plugin:3.4:addPluginArtifactMetadata (default-addPluginArtifactMetadata) @ algoquant-maven-plugin —
    [INFO]
    [INFO] — maven-source-plugin:2.4:jar-no-fork (attach-sources) @ algoquant-maven-plugin —
    [INFO] Building jar: C:\Users\YCM LLC\Desktop\algoquant-1.2.0\maven\target\algoquant-maven-plugin-1.2.0-sources.jar
    [INFO]
    [INFO] — maven-install-plugin:2.4:install (default-install) @ algoquant-maven-plugin —
    [INFO] Installing C:\Users\YCM LLC\Desktop\algoquant-1.2.0\maven\target\algoquant-maven-plugin-1.2.0.jar to C:\Users\YCM LLC\.m2\repository\com\numericalmethod\algoquant-maven-plugin\1.2.0\algoquant-maven-plugin-1.2.0.jar
    [INFO] Installing C:\Users\YCM LLC\Desktop\algoquant-1.2.0\maven\pom.xml to C:\Users\YCM LLC\.m2\repository\com\numericalmethod\algoquant-maven-plugin\1.2.0\algoquant-maven-plugin-1.2.0.pom
    [INFO] Installing C:\Users\YCM LLC\Desktop\algoquant-1.2.0\maven\target\algoquant-maven-plugin-1.2.0-sources.jar to C:\Users\YCM LLC\.m2\repository\com\numericalmethod\algoquant-maven-plugin\1.2.0\algoquant-maven-plugin-1.2.0-sources.jar
    [INFO]
    [INFO] ————————————————————————
    [INFO] Building AlgoQuant Core 1.2.0
    [INFO] ————————————————————————
    [INFO]
    [INFO] — maven-clean-plugin:2.5:clean (default-clean) @ algoquant-core —
    [INFO] Deleting C:\Users\YCM LLC\Desktop\algoquant-1.2.0\core\target
    [INFO] ————————————————————————
    [INFO] Reactor Summary:
    [INFO]
    [INFO] AlgoQuant ………………………………….. SUCCESS [ 0.951 s]
    [INFO] AlgoQuant Maven Plugin ………………………. SUCCESS [ 9.086 s]
    [INFO] AlgoQuant Core ……………………………… FAILURE [ 1.750 s]
    [INFO] ————————————————————————
    [INFO] BUILD FAILURE
    [INFO] ————————————————————————
    [INFO] Total time: 11.877 s
    [INFO] Finished at: 2016-05-20T20:57:16-08:00
    [INFO] Final Memory: 47M/936M
    [INFO] ————————————————————————
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project algoquant-core: Failed to clean project: Failed to delete C:\Users\YCM LLC\Desktop\algoquant-1.2.0\core\target\generated-sources\xjc\META-INF\jaxb-config.episode -> [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
    [ERROR]
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR] mvn -rf :algoquant-core

    #5538
    cheerful
    Member

    Dear Ken,

    Please ignore the above. I get it to build successfully.

    However, I still encounter another problem when I try to add the generated source folder. I couldnt find it. I attach the screen shot.

    #5540
    kenyiu
    Participant

    Could you please post the whole output here?

    #5541
    cheerful
    Member

    Dear Ken

    When I run RullAllDemo.java:

    Exception in thread “main” com.numericalmethod.suanshu.misc.license.LicenseError: license file not found – put the license file in the classpath, working directory, or next to suanshu.jar (loaded license from: license not yet loaded).

    After a while, the Eclipse shut down.

    I have added the license in C:\Users\YCM LLC\Desktop\algoquant-1.2.0\license. I attached the log file from Eclipse

    #5543
    Ryu
    Member

    Your license has expired.
    Could you please download AlgoQuant again that comes with an updated trial license?

    #5544
    cheerful
    Member

    Dear Ryu,

    I have downloaded the latest algoQuant. I corrected the TWC and re-built it again. I have new errors as shown below.

    [INFO] Scanning for projects…
    [INFO] ————————————————————————
    [INFO] Reactor Build Order:
    [INFO]
    [INFO] AlgoQuant
    [INFO] AlgoQuant Maven Plugin
    [INFO] AlgoQuant Core
    [INFO]
    [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
    [INFO]
    [INFO] ————————————————————————
    [INFO] Building AlgoQuant 1.2.0
    [INFO] ————————————————————————
    [INFO]
    [INFO] — maven-clean-plugin:2.5:clean (default-clean) @ algoquant —
    [INFO]
    [INFO] — build-helper-maven-plugin:1.10:add-resource (add-resource) @ algoquant —
    [INFO]
    [INFO] — maven-source-plugin:2.4:jar-no-fork (attach-sources) @ algoquant —
    [INFO]
    [INFO] — maven-install-plugin:2.4:install (default-install) @ algoquant —
    [INFO] Installing C:\Users\YCM LLC\Desktop\algoquant-1.2.0\pom.xml to C:\Users\YCM LLC\.m2\repository\com\numericalmethod\algoquant\1.2.0\algoquant-1.2.0.pom
    [INFO]
    [INFO] ————————————————————————
    [INFO] Building AlgoQuant Maven Plugin 1.2.0
    [INFO] ————————————————————————
    [INFO]
    [INFO] — maven-clean-plugin:2.5:clean (default-clean) @ algoquant-maven-plugin —
    [INFO] Deleting C:\Users\YCM LLC\Desktop\algoquant-1.2.0\maven\target
    [INFO]
    [INFO] — maven-plugin-plugin:3.4:helpmojo (help-goal) @ algoquant-maven-plugin —
    [INFO] Using ‘UTF-8’ encoding to read mojo metadata.
    [INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors.
    [INFO] Mojo extractor with id: java-annotations found 0 mojo descriptors.
    [INFO]
    [INFO] — maven-plugin-plugin:3.4:descriptor (default-descriptor) @ algoquant-maven-plugin —
    [INFO] Using ‘UTF-8’ encoding to read mojo metadata.
    [INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors.
    [INFO] Mojo extractor with id: java-annotations found 0 mojo descriptors.
    [INFO]
    [INFO] — build-helper-maven-plugin:1.10:add-resource (add-resource) @ algoquant-maven-plugin —
    [INFO]
    [INFO] — maven-resources-plugin:2.6:resources (default-resources) @ algoquant-maven-plugin —
    [INFO] Using ‘UTF-8’ encoding to copy filtered resources.
    [INFO] Copying 2 resources
    [INFO] Copying 2 resources
    [INFO]
    [INFO] — maven-compiler-plugin:3.3:compile (default-compile) @ algoquant-maven-plugin —
    [INFO] Changes detected – recompiling the module!
    [INFO] Compiling 7 source files to C:\Users\YCM LLC\Desktop\algoquant-1.2.0\maven\target\classes
    [INFO]
    [INFO] — maven-plugin-plugin:3.4:descriptor (mojo-descriptor) @ algoquant-maven-plugin —
    [INFO] Using ‘UTF-8’ encoding to read mojo metadata.
    [INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors.
    [WARNING] Deprecated @Component annotation for ‘mavenProject’ field in com.numericalmethod.algoquant.maven.indices.sp500.SP500Mojo: replace with @Parameter( default-value = “${project}”, readonly = true )
    [WARNING] Deprecated @Component annotation for ‘mavenSession’ field in com.numericalmethod.algoquant.maven.indices.sp500.SP500Mojo: replace with @Parameter( default-value = “${session}”, readonly = true )
    [INFO] Mojo extractor with id: java-annotations found 2 mojo descriptors.
    [INFO]
    [INFO] — maven-resources-plugin:2.6:testResources (default-testResources) @ algoquant-maven-plugin —
    [INFO] Not copying test resources
    [INFO]
    [INFO] — maven-compiler-plugin:3.3:testCompile (default-testCompile) @ algoquant-maven-plugin —
    [INFO] Not compiling test sources
    [INFO]
    [INFO] — maven-surefire-plugin:2.19:test (default-test) @ algoquant-maven-plugin —
    [INFO] Tests are skipped.
    [INFO]
    [INFO] — maven-jar-plugin:2.6:jar (default-jar) @ algoquant-maven-plugin —
    [INFO] Building jar: C:\Users\YCM LLC\Desktop\algoquant-1.2.0\maven\target\algoquant-maven-plugin-1.2.0.jar
    [INFO]
    [INFO] — maven-plugin-plugin:3.4:addPluginArtifactMetadata (default-addPluginArtifactMetadata) @ algoquant-maven-plugin —
    [INFO]
    [INFO] — maven-source-plugin:2.4:jar-no-fork (attach-sources) @ algoquant-maven-plugin —
    [INFO] Building jar: C:\Users\YCM LLC\Desktop\algoquant-1.2.0\maven\target\algoquant-maven-plugin-1.2.0-sources.jar
    [INFO]
    [INFO] — maven-install-plugin:2.4:install (default-install) @ algoquant-maven-plugin —
    [INFO] Installing C:\Users\YCM LLC\Desktop\algoquant-1.2.0\maven\target\algoquant-maven-plugin-1.2.0.jar to C:\Users\YCM LLC\.m2\repository\com\numericalmethod\algoquant-maven-plugin\1.2.0\algoquant-maven-plugin-1.2.0.jar
    [INFO] Installing C:\Users\YCM LLC\Desktop\algoquant-1.2.0\maven\pom.xml to C:\Users\YCM LLC\.m2\repository\com\numericalmethod\algoquant-maven-plugin\1.2.0\algoquant-maven-plugin-1.2.0.pom
    [INFO] Installing C:\Users\YCM LLC\Desktop\algoquant-1.2.0\maven\target\algoquant-maven-plugin-1.2.0-sources.jar to C:\Users\YCM LLC\.m2\repository\com\numericalmethod\algoquant-maven-plugin\1.2.0\algoquant-maven-plugin-1.2.0-sources.jar
    [INFO]
    [INFO] ————————————————————————
    [INFO] Building AlgoQuant Core 1.2.0
    [INFO] ————————————————————————
    [INFO]
    [INFO] — maven-clean-plugin:2.5:clean (default-clean) @ algoquant-core —
    [INFO] Deleting C:\Users\YCM LLC\Desktop\algoquant-1.2.0\core\target
    [INFO] ————————————————————————
    [INFO] Reactor Summary:
    [INFO]
    [INFO] AlgoQuant ………………………………….. SUCCESS [ 1.341 s]
    [INFO] AlgoQuant Maven Plugin ………………………. SUCCESS [ 8.147 s]
    [INFO] AlgoQuant Core ……………………………… FAILURE [ 1.803 s]
    [INFO] ————————————————————————
    [INFO] BUILD FAILURE
    [INFO] ————————————————————————
    [INFO] Total time: 11.436 s
    [INFO] Finished at: 2016-05-23T19:23:01-08:00
    [INFO] Final Memory: 50M/1080M
    [INFO] ————————————————————————
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project algoquant-core: Failed to clean project: Failed to delete C:\Users\YCM LLC\Desktop\algoquant-1.2.0\core\target\generated-sources\xjc\META-INF\jaxb-config.episode -> [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
    [ERROR]
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR] mvn -rf :algoquant-core

    #5545
    kenyiu
    Participant

    Hi cheerful,

    Seems that the project folder has been locked by some other processes, so that it cannot be cleaned.
    `[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project algoquant-core: Failed to clean project: Failed to delete C:\Users\YCM LLC\Desktop\algoquant-1.2.0\core\target\generated-sources\xjc\META-INF\jaxb-config.episode -> [Help 1]’

    Could you please close some possible programs, try deleting the folder ‘core/target’, and build it again?

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.