锘??xml version="1.0" encoding="utf-8" standalone="yes"?>一区二区三区亚洲,亚洲日产2021三区在线,久久久久久亚洲AV无码专区http://www.tkk7.com/quxiangjun/archive/2015/02/09/422833.html鐬跨ゥ鍐?/dc:creator>鐬跨ゥ鍐?/author>Mon, 09 Feb 2015 09:09:00 GMThttp://www.tkk7.com/quxiangjun/archive/2015/02/09/422833.htmlhttp://www.tkk7.com/quxiangjun/comments/422833.htmlhttp://www.tkk7.com/quxiangjun/archive/2015/02/09/422833.html#Feedback1http://www.tkk7.com/quxiangjun/comments/commentRss/422833.htmlhttp://www.tkk7.com/quxiangjun/services/trackbacks/422833.html
Maven欏圭洰鐨?nbsp;
<modules>
<module>common-login</module>
<module>common-sysconfig</module>
<module>common-frameworkimpl</module>
<module>common-dict</module>
<module>common-monitor</module>
<module>common-message</module>
<module>common-sync</module>
<module>common-authorization</module>
</modules>
鍚勪釜妯″潡鐨勪緷璧栧叧緋伙紝鍦ㄥ畬鎴愭暣浣撴ā鍧楃紪璇戜箣鍓嶏紝闇瑕佸悇涓猰odule鍏ㄩ儴install瀹屾垚錛岃屼笖鍚勪釜闇姹傚湪maven鐗堟湰涓嬶紝瀛樺湪瀵瑰簲鐨刯ar鍖咃紱

濡傛灉鎸夌収渚濊禆欏哄簭錛屽厛緙栬瘧鎴愬姛鍏ㄩ儴鐨勫瓙module錛岀劧鍚庡湪緙栬瘧瀵瑰簲鐨刾arent宸ョ▼銆?br />
Maven緙栬瘧鍑洪敊淇℃伅錛?br />
Apache Maven 3.0.2 (r1056850; 2011-01-09 08:58:10+0800)
Java version: 1.6.0_25, vendor: Sun Microsystems Inc.
Java home: C:\jdk\jdk1.6.0_25\jre
Default locale: zh_CN, platform encoding: UTF-8
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from EMBEDDED\conf\settings.xml
[DEBUG] Reading user settings from d:\232750\.m2\settings.xml
[DEBUG] Using local repository at D:\232750\.m2\repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for D:\232750\.m2\repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project com.deppon.dpap.brms.governor:brms-governor-web:war:0.9.0: (none)
[DEBUG] Looking up lifecyle mappings for packaging war from ClassRealm[plexus.core, parent: null]
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.deppon.dpap.brms.governor:brms-governor-web:war:0.9.0
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ com.deppon.dpap.brms.governor:brms-governor:0.9.0, F:\juny.qu\rule_workspace\brms-governor\pom.xml, line 245, column 14
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: com.deppon.dpap.brms.governor:brms-governor-web:war:0.9.0
[DEBUG] Tasks:   [install]
[DEBUG] Style:   Regular
[DEBUG] =======================================================================
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building brms-governor-web 0.9.0
[INFO] ------------------------------------------------------------------------
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project:       com.deppon.dpap.brms.governor:brms-governor-web:0.9.0
[DEBUG] Dependencies (collect): []
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources (default-resources)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <buildFilters default-value="${project.build.filters}"/>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <escapeString default-value="${maven.resources.escapeString}"/>
  <escapeWindowsPaths default-value="true">${maven.resources.escapeWindowsPaths}</escapeWindowsPaths>
  <includeEmptyDirs default-value="false">${maven.resources.includeEmptyDirs}</includeEmptyDirs>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <overwrite default-value="false">${maven.resources.overwrite}</overwrite>
  <project default-value="${project}"/>
  <resources default-value="${project.resources}"/>
  <session default-value="${session}"/>
  <useBuildFilters default-value="true"/>
  <useDefaultDelimiters default-value="true"/>
</configuration>
[DEBUG] =======================================================================
[DEBUG] com.deppon.dpap.brms.governor:brms-governor-web:war:0.9.0
[DEBUG]    com.deppon.dpap:framework-server:jar:1.1.2:compile
[DEBUG]       com.deppon.dpap:framework-shared:jar:1.1.2:compile
[DEBUG]          com.caucho:hessian:jar:4.0.7:compile
[DEBUG]       org.springframework:spring-core:jar:3.0.5.RELEASE:compile
[DEBUG]       org.springframework:spring-beans:jar:3.0.5.RELEASE:compile
[DEBUG]       org.springframework:spring-context:jar:3.0.5.RELEASE:compile
[DEBUG]       org.springframework:spring-aop:jar:3.0.5.RELEASE:compile
[DEBUG]       org.springframework:spring-asm:jar:3.0.5.RELEASE:compile
[DEBUG]       org.springframework:spring-aspects:jar:3.0.5.RELEASE:compile
[DEBUG]          org.springframework:spring-context-support:jar:3.0.5.RELEASE:compile
[DEBUG]          org.springframework:spring-test:jar:3.0.5.RELEASE:compile
[DEBUG]       org.springframework:spring-expression:jar:3.0.5.RELEASE:compile
[DEBUG]       org.springframework:spring-instrument:jar:3.0.5.RELEASE:compile
[DEBUG]       org.springframework:spring-jdbc:jar:3.0.5.RELEASE:compile
[DEBUG]          org.springframework:spring-tx:jar:3.0.5.RELEASE:compile
[DEBUG]       org.springframework:spring-jms:jar:3.0.5.RELEASE:compile
[DEBUG]       org.springframework:spring-orm:jar:3.0.5.RELEASE:compile
[DEBUG]       org.springframework:spring-oxm:jar:3.0.5.RELEASE:compile
[DEBUG]       org.springframework:spring-web:jar:3.0.5.RELEASE:compile
[DEBUG]       org.springframework:spring-webmvc:jar:3.0.5.RELEASE:compile
[DEBUG]       aopalliance:aopalliance:jar:1.0:compile
[DEBUG]       org.aspectj:aspectjweaver:jar:1.6.8:compile
[DEBUG]       cglib:cglib-nodep:jar:2.2:compile
[DEBUG]       org.apache.struts:struts2-core:jar:2.3.15.1:compile
[DEBUG]          org.apache.struts.xwork:xwork-core:jar:2.3.15.1:compile
[DEBUG]             asm:asm:jar:3.3:compile
[DEBUG]             asm:asm-commons:jar:3.3:compile
[DEBUG]                asm:asm-tree:jar:3.3:compile
[DEBUG]          org.freemarker:freemarker:jar:2.3.19:compile
[DEBUG]          ognl:ognl:jar:3.0.6:compile
[DEBUG]          commons-fileupload:commons-fileupload:jar:1.3:compile
[DEBUG]       org.apache.struts:struts2-spring-plugin:jar:2.3.15.1:compile
[DEBUG]          org.apache.commons:commons-lang3:jar:3.1:compile
[DEBUG]       org.apache.struts:struts2-convention-plugin:jar:2.3.15.1:compile
[DEBUG]       commons-beanutils:commons-beanutils:jar:1.8.3:compile
[DEBUG]       commons-lang:commons-lang:jar:2.6:compile
[DEBUG]       commons-collections:commons-collections:jar:3.2.1:compile
[DEBUG]       commons-codec:commons-codec:jar:1.5:compile
[DEBUG]       commons-io:commons-io:jar:2.0.1:compile
[DEBUG]       commons-logging:commons-logging:jar:1.1.1:compile
[DEBUG]       commons-configuration:commons-configuration:jar:1.6:compile
[DEBUG]          commons-beanutils:commons-beanutils-core:jar:1.8.0:compile
[DEBUG]       commons-digester:commons-digester:jar:2.1:compile
[DEBUG]       commons-pool:commons-pool:jar:1.5.6:compile
[DEBUG]       commons-dbcp:commons-dbcp:jar:1.4:compile
[DEBUG]       commons-dbutils:commons-dbutils:jar:1.3:compile
[DEBUG]       org.mybatis:mybatis:jar:3.0.5:compile
[DEBUG]       org.mybatis:mybatis-spring:jar:1.0.1:compile
[DEBUG]       javax.transaction:transaction-api:jar:1.1:compile
[DEBUG]       org.quartz-scheduler:quartz:jar:1.8.6:compile
[DEBUG]       org.quartz-scheduler:quartz-oracle:jar:1.8.6:compile
[DEBUG]       log4j:log4j:jar:1.2.16:compile
[DEBUG]       org.slf4j:slf4j-log4j12:jar:1.6.1:compile
[DEBUG]       org.slf4j:slf4j-api:jar:1.6.1:compile
[DEBUG]       org.codehaus.jackson:jackson-core-asl:jar:1.8.1:compile
[DEBUG]       org.codehaus.jackson:jackson-mapper-asl:jar:1.8.1:compile
[DEBUG]       javax.mail:mail:jar:1.4.1:compile
[DEBUG]       javax.activation:activation:jar:1.0.2:compile
[DEBUG]       javassist:javassist:jar:3.12.1.GA:compile
[DEBUG]       org.jgroups:jgroups:jar:3.0.10.Final:compile
[DEBUG]       redis.clients:jedis:jar:2.1.0:compile
[DEBUG]       com.alibaba:fastjson:jar:1.1.35:compile
[DEBUG]       org.apache.poi:poi:jar:3.8:compile
[DEBUG]       org.apache.poi:poi-ooxml:jar:3.8:compile
[DEBUG]          dom4j:dom4j:jar:1.6.1:compile
[DEBUG]             xml-apis:xml-apis:jar:1.0.b2:compile
[DEBUG]       org.apache.poi:poi-ooxml-schemas:jar:3.8:compile
[DEBUG]          org.apache.xmlbeans:xmlbeans:jar:2.3.0:compile
[DEBUG]             stax:stax-api:jar:1.0.1:compile
[DEBUG]       org.codehaus.groovy:groovy-all:jar:1.7.5:compile
[DEBUG]       com.lowagie:itext:jar:2.1.7:compile
[DEBUG]          bouncycastle:bcmail-jdk14:jar:138:compile
[DEBUG]          bouncycastle:bcprov-jdk14:jar:138:compile
[DEBUG]          org.bouncycastle:bctsp-jdk14:jar:1.38:compile
[DEBUG]             org.bouncycastle:bcprov-jdk14:jar:1.38:compile
[DEBUG]             org.bouncycastle:bcmail-jdk14:jar:1.38:compile
[DEBUG]       com.lowagie:iTextAsian:jar:2.1.7:compile
[DEBUG]       org.mongodb:mongo-java-driver:jar:2.9.3:compile
[DEBUG]       commons-net:commons-net:jar:3.2:compile
[DEBUG]       org.apache.ant:ant:jar:1.8.4:compile
[DEBUG]          org.apache.ant:ant-launcher:jar:1.8.4:compile
[DEBUG]    com.deppon.dpap.brms.governor:brms-governor-config:jar:0.9.0:compile
[DEBUG]    com.deppon.dpap.brms.governor:brms-governor-common:jar:0.9.0:compile
[DEBUG]       com.deppon.dpap.brms.server:brms-server-base:jar:0.9.0:compile
[DEBUG]       com.deppon.dpap:framework-sso:jar:1.1.2:compile
[DEBUG]    com.deppon.dpap.brms.governor:brms-governor-ruleeditor:jar:0.9.0:compile
[DEBUG]    com.deppon.dpap.brms.governor:brms-governor-rulemanage:jar:0.9.0:compile
[DEBUG]       com.deppon.dpap.brms.governor:common-dict:jar:0.9.0:compile
[DEBUG]          com.deppon.dpap.brms.governor:common-frameworkimpl:jar:0.9.0:compile
[DEBUG]       com.deppon.dpap.brms.governor:common-login:jar:0.9.0:compile
[DEBUG]          com.deppon.dpap.brms.governor:common-authorization:jar:0.9.0:compile
[DEBUG]          com.deppon.dpap.brms.governor:common-message:jar:0.9.0:compile
[DEBUG]          com.deppon.dpap.brms.governor:common-sync:jar:0.9.0:compile
[DEBUG]             com.ibm.mq:commonservices:jar:1.0:compile
[DEBUG]             com.ibm.mq:dhbcore:jar:1.0:compile
[DEBUG]             com.ibm.mq:fscontext:jar:1.0:compile
[DEBUG]             com.ibm.mq:headers:jar:1.0:compile
[DEBUG]             com.ibm.mq:jmqi:jar:1.0:compile
[DEBUG]             com.ibm.mq:jms:jar:1.0:compile
[DEBUG]             com.ibm.mq:jta:jar:1.0:compile
[DEBUG]             com.ibm.mq:mq:jar:1.0:compile
[DEBUG]             com.ibm.mq:mqjms:jar:1.0:compile
[DEBUG]             com.ibm.mq:pcf:jar:1.0:compile
[DEBUG]             com.ibm.mq:providerutil:jar:1.0:compile
[DEBUG]          com.deppon.dpap.brms.governor:common-sysconfig:jar:0.9.0:compile
[DEBUG]          com.deppon.dpap.brms.governor:common-monitor:jar:0.9.0:compile
[DEBUG]          com.deppon.casclient:casclient:jar:2.1.1:compile
[DEBUG]    com.deppon.dpap.brms.governor:brms-governor-monitor:jar:0.9.0:compile
[DEBUG]    oracle:oracle-jdbc:jar:10.1.0.2.0:compile
[DEBUG]    javax.servlet:servlet-api:jar:2.5:provided
[DEBUG]    javax.servlet:jsp-api:jar:2.0:provided
[DEBUG]    org.lazyluke:log4jdbc-remix:jar:0.2.7:compile
[DEBUG]       junit:junit:jar:4.8.2:test (scope managed from compile) (version managed from 4.7)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.796s
[INFO] Finished at: Mon Feb 09 16:52:45 CST 2015
[INFO] Final Memory: 5M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project brms-governor-web: Could not resolve dependencies for project com.deppon.dpap.brms.governor:brms-governor-web:war:0.9.0: Failure to find com.deppon.dpap.brms.governor:brms-governor-monitor:jar:0.9.0 in http://縐佹湇鍦板潃:绔彛/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project brms-governor-web: Could not resolve dependencies for project com.deppon.dpap.brms.governor:brms-governor-web:war:0.9.0: Failure to find com.deppon.dpap.brms.governor:brms-governor-monitor:jar:0.9.0 in http://縐佹湇鍦板潃:绔彛/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:190)
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:104)
at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project com.deppon.dpap.brms.governor:brms-governor-web:war:0.9.0: Failure to find com.deppon.dpap.brms.governor:brms-governor-monitor:jar:0.9.0 in http://縐佹湇鍦板潃:绔彛/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced
at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:156)
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:165)
... 22 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Failure to find com.deppon.dpap.brms.governor:brms-governor-monitor:jar:0.9.0 in http://縐佹湇鍦板潃:绔彛/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:526)
at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifacts(DefaultRepositorySystem.java:304)
at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:334)
at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:150)
... 23 more
Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Failure to find com.deppon.dpap.brms.governor:brms-governor-monitor:jar:0.9.0 in http://縐佹湇鍦板潃:绔彛/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced
at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:186)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:408)
... 26 more
[ERROR] 
[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/DependencyResolutionException



]]>
鍏充簬ThreadLocal鐨勪嬌鐢ㄨ姹?/title><link>http://www.tkk7.com/quxiangjun/archive/2015/02/05/422776.html</link><dc:creator>鐬跨ゥ鍐?/dc:creator><author>鐬跨ゥ鍐?/author><pubDate>Thu, 05 Feb 2015 11:40:00 GMT</pubDate><guid>http://www.tkk7.com/quxiangjun/archive/2015/02/05/422776.html</guid><wfw:comment>http://www.tkk7.com/quxiangjun/comments/422776.html</wfw:comment><comments>http://www.tkk7.com/quxiangjun/archive/2015/02/05/422776.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/quxiangjun/comments/commentRss/422776.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/quxiangjun/services/trackbacks/422776.html</trackback:ping><description><![CDATA[<br />閽堝ThreadLocal鐨勪嬌鐢紝濡傛灉鍦═hreadPool鐨勫満鏅腑錛岀嚎紼嬬殑浣跨敤浼氬瓨鍦ㄨ鐩栫殑闂錛涜繖閲岃褰曚笅錛屽悗琛ュ満鏅絼锝咃綅锝忋?img src ="http://www.tkk7.com/quxiangjun/aggbug/422776.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/quxiangjun/" target="_blank">鐬跨ゥ鍐?/a> 2015-02-05 19:40 <a href="http://www.tkk7.com/quxiangjun/archive/2015/02/05/422776.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鍦╠rools寮曟搸涓鏋滀嬌鐢ㄨ鍒欒〃http://www.tkk7.com/quxiangjun/archive/2015/02/05/422765.html鐬跨ゥ鍐?/dc:creator>鐬跨ゥ鍐?/author>Thu, 05 Feb 2015 06:09:00 GMThttp://www.tkk7.com/quxiangjun/archive/2015/02/05/422765.htmlhttp://www.tkk7.com/quxiangjun/comments/422765.htmlhttp://www.tkk7.com/quxiangjun/archive/2015/02/05/422765.html#Feedback0http://www.tkk7.com/quxiangjun/comments/commentRss/422765.htmlhttp://www.tkk7.com/quxiangjun/services/trackbacks/422765.html鍓嶆彁鍑嗗錛歫ava 铏氭嫙鏈?nbsp;
                 Drools鏍稿績搴?br />                 Junit4.0浠ヤ笂鐗堟湰
                 瑙勫垯Excel妯℃澘琛紙灝嗕笅闈㈢殑鍥劇墖鐨勫唴瀹規柊寤哄埌Excel涓級

鍏稿瀷鐨勭敤娉曞氨鏄牴鎹甧xcel鍒涘緩KnowledgeBase,鐒跺悗灝嗗畠涓㈢粰session鎵ц錛屾墽琛岀殑鍙傛暟鍜岀粨鏋滈兘鍦╬arams閲岄潰
  1 package com.xxx.yyyy;
  2 
  3 import java.io.File;
  4 import java.io.FileInputStream;
  5 import java.io.InputStream;
  6 import java.util.Arrays;
  7 import java.util.Collection;
  8 import java.util.HashMap;
  9 import java.util.Map;
 10 import junit.framework.Assert;
 11 import org.drools.KnowledgeBase;
 12 import org.drools.KnowledgeBaseFactory;
 13 import org.drools.builder.DecisionTableConfiguration;
 14 import org.drools.builder.DecisionTableInputType;
 15 import org.drools.builder.KnowledgeBuilder;
 16 import org.drools.builder.KnowledgeBuilderFactory;
 17 import org.drools.builder.ResourceType;
 18 import org.drools.definition.KnowledgePackage;
 19 import org.drools.io.ResourceFactory;
 20 import org.drools.runtime.StatelessKnowledgeSession;
 21 import org.junit.Test;
 22 import org.junit.runner.RunWith;
 23 import org.junit.runners.Parameterized;
 24 import org.junit.runners.Parameterized.Parameters;
 25 
 26 @RunWith(Parameterized.class)
 27 public class IsP4PTest
 28 {
 29     private IsP4P param;
 30 
 31     private String extected;
 32 
 33     public IsP4PTest(IsP4P param, String extected)
 34     {
 35         this.param = param;
 36         this.extected = extected;
 37     }
 38 public Map<String, Object> getParams()
 39         {
 40             Map<String, Object> params = new HashMap<String, Object>();
 41 
 42             params.put("productLine", productLine);
 43             params.put("productType", productType);
 44             params.put("playType", playType);
 45 
 46             return params;
 47         }
 48 public void testExcel(String fileName, Map<String, Object> params)
 49             throws Exception
 50     {
 51         System.out.println("---------------begin------------------------");
 52 
 53         DecisionTableConfiguration dtableconfiguration = KnowledgeBuilderFactory
 54                 .newDecisionTableConfiguration();
 55 dtableconfiguration.setInputType(DecisionTableInputType.XLS);
 56         final KnowledgeBuilder kbuilder = KnowledgeBuilderFactory
 57                 .newKnowledgeBuilder();
 58 File file = new File(
 59                 "F:\\juny.qu\\rule_workspace\\com.deppon.rules\\src\\main\\java\\com\\xxx\\yyyy\\"
 60                         + fileName);
 61         InputStream is = new FileInputStream(file);
 62 kbuilder.add(ResourceFactory.newInputStreamResource(is, "UTF-8"),
 63                 ResourceType.DTABLE);
 64         if (kbuilder.hasErrors())
 65         {
 66             System.out.println(kbuilder.getErrors().toString());
 67         }
 68 Collection<KnowledgePackage> pkgs = kbuilder.getKnowledgePackages();
 69         KnowledgeBase kbase = KnowledgeBaseFactory.newKnowledgeBase();
 70         kbase.addKnowledgePackages(pkgs);
 71 
 72 StatelessKnowledgeSession ksession = kbase
 73                 .newStatelessKnowledgeSession();
 74         ksession.execute(Arrays.asList(new Object[] { params }));
 75 
 76 System.out.println("---------------end------------------------");
 77 }
 78 
 79 
 80 @Parameters
 81     public static Collection<?> contructData()
 82     {
 83 return Arrays.asList(new Object[][] {
 84                 { new IsP4P("鎼滅儲鎺ㄥ箍", "true", "null"), "true" },
 85                 { new IsP4P("緗戠洘鎺ㄥ箍", "true", "null"), "true" },
 86                 { new IsP4P("鎺橀噾鎺ㄥ箍", "true", "闈炶疆鎾?), "false" },
 87                 { new IsP4P("鍏朵粬", "false", "鍏朵粬"), "other" } });
 88 }
 89 
 90 @Test
 91     public void testP4P() throws Exception
 92     {
 93         Map<String, Object> params = new HashMap<String, Object>();
 94         params.putAll(param.getParams());
 95         testExcel("ka/isP4P.xls", params);
 96         Assert.assertEquals(extected, params.get("isP4P"));
 97     }
 98 }
 99 
100 

 1 package com.xxx.yyyy;
 2 
 3 import java.io.File;
 4 import java.io.FileInputStream;
 5 import java.io.FileNotFoundException;
 6 import java.io.InputStream;
 7 
 8 import org.drools.decisiontable.InputType;
 9 import org.drools.decisiontable.SpreadsheetCompiler;
10 import org.junit.Test;
11 
12 public class SpreadsheetCompilerTest {
13 
14 @Test
15     public void compile() throws FileNotFoundException{
16         //File file = new File("F:\\juny.qu\\rule_workspace\\com.deppon.rules\\src\\main\\java\\com\\xxx\\yyyy\\ka\\isP4P.xls");
17         //File file = new File("F:\\collections_study\\瑙勫垯寮曟搸緋葷粺寮鍙戝皬緇刓\瑙勫垯寮曟搸doc\\02寮鍙慭\06-璇︾粏璁捐\\澧炲兼湇鍔℃姌鎵f祴璇?.xls");
18         File file = new File("F:\\rules.xlsx");
19         
20         InputStream is = new FileInputStream(file);
21         
22         SpreadsheetCompiler converter = new SpreadsheetCompiler();
23         String drl = converter.compile(is, InputType.XLS); //--------exception here-------- 
24         System.out.println("\n\n" + drl);
25         
26     }
27 
28 }
  • 浠涔堟椂鍊欒冭檻浣跨敤瑙勫垯琛?/span>
  濡傛灉瑙勫垯鍙互琛ㄧず鎴?/span> templates+data(妯℃澘錛嬫暟鎹?,鍙互鑰冭檻浣跨敤 decision tables銆傚湪鍐崇瓥琛ㄧ殑姣忎竴琛岋紝閲囬泦鏁版嵁鍜屾ā鏉夸竴璧風敓鎴愯鍒欍?/span>浣跨敤鍩轟簬鍐崇瓥琛ㄧ殑Spreadsheet鐨?/span>API鍦?/span>Drools-decisiontables妯″潡涓傚彧鏈変竴涓被錛?/span>SpreadsheetCompiler. 榪欎釜綾誨彲浠ユ搷浣滃悇縐嶆牸寮忕殑Spreadsheet錛屽茍鐢熸垚DRL瑙勫垯錛堢劧鍚庡氨鍙互甯歌鐨勬柟寮忎嬌鐢級銆?/span>

涓涓吀鍨嬬殑瑙勫垯琛ㄧ殑鏍煎紡






]]>
Drools涓枃涔辯爜瑙e喅http://www.tkk7.com/quxiangjun/archive/2015/02/04/422739.html鐬跨ゥ鍐?/dc:creator>鐬跨ゥ鍐?/author>Wed, 04 Feb 2015 07:22:00 GMThttp://www.tkk7.com/quxiangjun/archive/2015/02/04/422739.htmlhttp://www.tkk7.com/quxiangjun/comments/422739.htmlhttp://www.tkk7.com/quxiangjun/archive/2015/02/04/422739.html#Feedback2http://www.tkk7.com/quxiangjun/comments/commentRss/422739.htmlhttp://www.tkk7.com/quxiangjun/services/trackbacks/422739.html     欏圭洰涓敤鍒頒簡瑙勫垯寮曟搸錛屽悗鏉ラ夌敤浜哾rools寮婧愮殑瀹炵幇錛屽悗鏉ラ儴緗茬殑linux鐜鍚庝貢鐮侊紝鍦ㄦ湰鍦頒笉涔辯爜錛屾墍浠ョ涓鏃墮棿灝辨兂鍒頒簡搴旇鏄痙rools鍐呴儴鍙栦簡鎿嶄綔緋葷粺榛樿鐨勭紪鐮佷簡 銆?span>鍑℃槸涔辯爜鍩烘湰涓婃槸瀛楄妭鍜屽瓧絎︿箣闂寸浉浜掕漿鎹㈢殑鏃跺欏嚭鐜扮殑錛岀粡榪囦粩緇嗘帓鏌ワ紝鍙戠幇灝嗚鍒欐枃浠跺姞鍏ュ埌session閲岄潰鐨勬椂鍊欐病鏈夌粰緙栫爜錛屼簬鏄姞涓娿?br />
鍔犺澆瑙勫垯鏂囦歡鐨勬椂鍊欏繀欏繪寚瀹氱紪鐮侊紝姣斿UTF-8
涓枃涔辯爜浠g爜錛?/span>

Reader reader = new FileReader(new File("F:/WorkFolder/drools/drl/addpoint.drl"));
瑙e喅鏂規硶錛?/div>
Reader reader = new InputStreamReader(new FileInputStream("F:/WorkFolder/drools/drl/addpoint.drl"),"UTF-8");

鍔犱笂榪欎竴澶勭紪鐮佽繕鏄笉琛岋紝鍚庢潵鍙戠幇鎴戜滑鐢ㄧ殑decisiontable鐨勮В鐮佹槸鐢ㄧ殑jxl錛屽湪緗戜笂鐪嬶紝jxl鐨勮В鏋愪篃鏈夊彲鑳戒駭鐢熶貢鐮侊紝浜庢槸鍔犱笂錛?br />
緇欏鍣ㄥ惎鍔ㄧ殑鏃跺欒緗甹xl鐨勭紪鐮?br />
System.setProperty("jxl.encoding", "UTF-8");

鍔犱笂榪欎袱涓郴緇熷弬鏁幫紝涔熸槸涔辯爜錛岀粡榪囪皟璇曞彂鐜幫紝org.drools.rule.builder.dialect.java.JavaDialect綾婚噷闈㈢殑addClassCompileTask鏂規硶鏈夊皢瀛楃瓚呭瓧鑺傝漿鎹㈢殑浠g爜錛屽涓嬶細
public void addClassCompileTask(final String className,
                                     final BaseDescr descr,
                                     final String text,
                                     final MemoryResourceReader src,
                                     final ErrorHandler handler) {

        final String fileName = className.replace( '.',
                                                   '/' ) + ".java";
        try {
        if (src != null) {
                 src.add( fileName,
                          text.getBytes() );
             } else {
                 this.src.add( fileName,
                               text.getBytes() );
             }
        } catch (final UnsupportedEncodingException e ) {
           throw new RuntimeException("unable to encoding the rule!");
        }
       

        this.errorHandlers.put( fileName,
                                handler );

        addClassName( fileName );
    }

鎴戜滑鍐嶆潵鐪嬩竴涓婼tring鐨刧etBytes鏂規硶鐨勫疄鐜幫紝榪欎釜鏂規硶閲岄潰榛樿鍙栧鉤鍙扮殑緙栫爜鐨勶紝鑷蟲錛屾垜浠氨鐭ラ亾鐥呮牴浜嗭紝鎵浠ユ瘮杈冪畝鍗曚簡錛屽姞涓?Dfile.encoding=UTF8鍙傛暟灝卞彲浠ヤ簡銆傛敞鎰忥紝榪欎釜鍦版柟鏄疷TF8錛屼笉鏄疷TF-8,鍏蜂綋鐨勮В閲婄湅瀹樻柟鏂囨。: http://docs.oracle.com/javase/6/docs/technotes/guides/intl/encoding.doc.html錛屾渶鍚庤繖涓篃鏄湪tomcat鐨勫惎鍔ㄥ弬鏁伴噷闈㈠姞涓?Dfile.encoding=UTF8
  • 鍦╰omcat鐨勫惎鍔?strong style="line-height: 25.2000007629395px; font-size: 14px;">
    catalina.bat/
    catalina.sh
    鍙傛暟閲岄潰鍔犱笂-Dfile.encoding=UTF8

CATALINA_OPTS="-Xmx1024m -Xms1024m -XX:PermSize=256m -XX:MaxPermSize=512m -Xss128k -server -Xdebug -Xnoagent -Djav

a.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8530 -Dfile.encoding=UTF8"


  • 鍦╩aven璺慾unit嫻嬭瘯鐨勬椂鍊欏姞涓婅繖涓弬鏁?Dfile.encoding=UTF-8
濡傛灉涓嶅姞榪欎釜嫻嬭瘯錛屽湪junit璺戞祴璇曠殑鏃跺欒繕浼氫嬌鐢ㄦ搷浣滅郴緇熺殑榛樿瀛楃闆嗭紝浼氬鑷存祴璇曞け璐?
                          <plugin>
<artifactId>maven-surefire-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<version>2.11</version>
<configuration>
<argLine>-Dfile.encoding=utf-8</argLine>
<parallel>methods</parallel>  
        <threadCount>10</threadCount>  
<includes>
<include>**/*Test.java</include>
</includes>
<excludes>
<exclude>**/BaseControllerTest.java</exclude>
<exclude>**/BaseTest.java</exclude>
<exclude>**/TestUtils.java</exclude>
</excludes>
</configuration>
</plugin>

榪欓噷涔辯爜闂鍛婁竴孌佃惤錛?br />






]]> 主站蜘蛛池模板: 久久亚洲精品国产精品| 久久精品国产69国产精品亚洲| 亚洲国产日产无码精品| 四虎国产成人永久精品免费| 亚洲国产精品嫩草影院在线观看 | 国产精品亚洲专区一区| 拔擦拔擦8x华人免费久久| 亚洲精品无码专区在线播放| 成人毛片18女人毛片免费视频未 | 国产精品福利在线观看免费不卡| 亚洲成A人片在线观看无码3D| 免费一级毛片在线播放视频免费观看永久 | 亚洲美女一区二区三区| 一区二区免费视频| 亚洲经典在线中文字幕| 日本视频一区在线观看免费| 亚洲高清中文字幕免费| 美女黄网站人色视频免费国产 | 精选影视免费在线 | 亚洲AV日韩精品久久久久| 57pao国产成视频免费播放 | 亚洲国产日产无码精品| 女人与禽交视频免费看| 国产在亚洲线视频观看| 国产亚洲高清不卡在线观看| 午夜理伦剧场免费| 亚洲色在线无码国产精品不卡| 精品久久免费视频| 99re6在线精品免费观看| 亚洲综合激情六月婷婷在线观看| 好吊妞在线新免费视频| 特黄特色的大片观看免费视频| 亚洲成Av人片乱码色午夜| 永久免费毛片在线播放| 污污污视频在线免费观看| 亚洲国产精品lv| 日韩免费福利视频| 美女在线视频观看影院免费天天看| 亚洲精品第一国产综合野| 2022中文字字幕久亚洲| 免费看污成人午夜网站|