---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ wk-framework ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ wk-framework ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ wk-framework ---
[INFO] Building jar: d:\product\document\engine\wk-framework\target\wk-framework-4.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ wk-framework ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory d:\product\document\engine\wk-framework\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ wk-framework ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ wk-framework ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ wk-framework ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ wk-framework ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ wk-framework ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ wk-framework ---
[INFO] Installing d:\product\document\engine\wk-framework\target\wk-framework-4.0.1-SNAPSHOT.jar to C:\Users\shufu_000\.m2\repository\cn\wizzer\wk-framework\4.0.1-SNAPSHOT\wk-framework-4.0.1-SNAPSHOT.jar
[INFO] Installing d:\product\document\engine\wk-framework\pom.xml to C:\Users\shufu_000\.m2\repository\cn\wizzer\wk-framework\4.0.1-SNAPSHOT\wk-framework-4.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.132 s
[INFO] Finished at: 2017-12-18T10:35:41+08:00
[INFO] Final Memory: 21M/69M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building wk-starter 4.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.nutz:nutz-web:jar:1.r.61-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.450 s
[INFO] Finished at: 2017-12-18T10:35:43+08:00
[INFO] Final Memory: 6M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project wk-starter: Could not resolve dependencies for project cn.wizzer:wk-starter:jar:4.0.1-SNAPSHOT: Could not find artifact org.nutz:nutz-web:jar:1.r.61-SNAPSHOT -> [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/DependencyResolutionException
Error: Unable to access jarfile starter.jar
Traceback (most recent call last):
File "D:\product\document\engine\build.py", line 31, in <module>
subprocess.check_call("java -jar starter.jar -inject ROOT.war -output engine.jar", shell=True, cwd="dst/")
File "C:\Users\shufu_000\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'java -jar starter.jar -inject ROOT.war -output engine.jar' returned non-zero exit status 1.
d:\product\document\engine>build.py
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] wk-app
[INFO] wk-web
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building wk-app 4.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ wk-app ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ wk-app ---
[INFO] Installing d:\product\document\engine\wk-app\pom.xml to C:\Users\shufu_000\.m2\repository\cn\wizzer\app\wk-app\4.0.1-SNAPSHOT\wk-app-4.0.1-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building wk-web 4.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ wk-web ---
[INFO] Deleting D:\product\document\engine\wk-app\wk-web\target
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ wk-web ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 89 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ wk-web ---
[INFO] Compiling 502 source files to D:\product\document\engine\wk-app\wk-web\target\classes
[INFO] /D:/product/document/engine/wk-app/wk-web/src/main/java/cn/wizzer/app/web/commons/helper/Excel.java: D:\product\document\engine\wk-app\wk-web\src\main\java\cn\wizzer\app\web\commons\helper\Excel.java使用或覆盖了已过时的 API。
[INFO] /D:/product/document/engine/wk-app/wk-web/src/main/java/cn/wizzer/app/web/commons/helper/Excel.java: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
[INFO] /D:/product/document/engine/wk-app/wk-web/src/main/java/cn/wizzer/app/doc/modules/services/impl/DocSettingCabinetServiceImpl.java: 某些输入文件使用了未经检查或不安全的操作。
[INFO] /D:/product/document/engine/wk-app/wk-web/src/main/java/cn/wizzer/app/doc/modules/services/impl/DocSettingCabinetServiceImpl.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ wk-web ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ wk-web ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ wk-web ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default) @ wk-web ---
[INFO] Building jar: D:\product\document\engine\wk-app\wk-web\target\nutzwk.jar
[INFO]
[INFO] --- maven-war-plugin:2.6:war (default-war) @ wk-web ---
[INFO] Packaging webapp
[INFO] Assembling webapp [wk-web] in [D:\product\document\engine\wk-app\wk-web\target\nutzwk]
[INFO] Processing war project
[INFO] Copying webapp webResources [D:\product\document\engine\wk-app\wk-web\src/main/resources] to [D:\product\document\engine\wk-app\wk-web\target\nutzwk]
[INFO] Copying webapp resources [D:\product\document\engine\wk-app\wk-web\src\main\webapp]
[INFO] Building jar: D:\product\document\engine\wk-app\wk-web\target\nutzwk\WEB-INF\lib\wk-web-4.0.1-SNAPSHOT.jar
[INFO] Webapp assembled in [4980 msecs]
[INFO] Building war: D:\product\document\engine\wk-app\wk-web\target\nutzwk.war
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ wk-web ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 89 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ wk-web ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ wk-web ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ wk-web ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ wk-web ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default) @ wk-web ---
[INFO] Building jar: D:\product\document\engine\wk-app\wk-web\target\nutzwk.jar
[INFO]
[INFO] --- maven-war-plugin:2.6:war (default-war) @ wk-web ---
[INFO] Packaging webapp
[INFO] Assembling webapp [wk-web] in [D:\product\document\engine\wk-app\wk-web\target\nutzwk]
[INFO] Processing war project
[INFO] Copying webapp webResources [D:\product\document\engine\wk-app\wk-web\src/main/resources] to [D:\product\document\engine\wk-app\wk-web\target\nutzwk]
[INFO] Copying webapp resources [D:\product\document\engine\wk-app\wk-web\src\main\webapp]
[INFO] Building jar: D:\product\document\engine\wk-app\wk-web\target\nutzwk\WEB-INF\lib\wk-web-4.0.1-SNAPSHOT.jar
[INFO] Webapp assembled in [3807 msecs]
[INFO] Building war: D:\product\document\engine\wk-app\wk-web\target\nutzwk.war
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ wk-web ---
[INFO] Installing D:\product\document\engine\wk-app\wk-web\target\nutzwk.war to C:\Users\shufu_000\.m2\repository\cn\wizzer\app\wk-web\4.0.1-SNAPSHOT\wk-web-4.0.1-SNAPSHOT.war
[INFO] Installing D:\product\document\engine\wk-app\wk-web\pom.xml to C:\Users\shufu_000\.m2\repository\cn\wizzer\app\wk-web\4.0.1-SNAPSHOT\wk-web-4.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] wk-app ............................................. SUCCESS [ 0.286 s]
[INFO] wk-web ............................................. SUCCESS [ 32.734 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 33.167 s
[INFO] Finished at: 2017-12-18T10:38:58+08:00
[INFO] Final Memory: 29M/159M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building wk-framework 4.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ wk-framework ---
[INFO] Deleting d:\product\document\engine\wk-framework\target
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ wk-framework ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory d:\product\document\engine\wk-framework\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ wk-framework ---
[INFO] Compiling 37 source files to d:\product\document\engine\wk-framework\target\classes
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ wk-framework ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ wk-framework ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ wk-framework ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ wk-framework ---
[INFO] Building jar: d:\product\document\engine\wk-framework\target\wk-framework-4.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ wk-framework ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory d:\product\document\engine\wk-framework\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ wk-framework ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ wk-framework ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ wk-framework ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ wk-framework ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ wk-framework ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ wk-framework ---
[INFO] Installing d:\product\document\engine\wk-framework\target\wk-framework-4.0.1-SNAPSHOT.jar to C:\Users\shufu_000\.m2\repository\cn\wizzer\wk-framework\4.0.1-SNAPSHOT\wk-framework-4.0.1-SNAPSHOT.jar
[INFO] Installing d:\product\document\engine\wk-framework\pom.xml to C:\Users\shufu_000\.m2\repository\cn\wizzer\wk-framework\4.0.1-SNAPSHOT\wk-framework-4.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.195 s
[INFO] Finished at: 2017-12-18T10:39:03+08:00
[INFO] Final Memory: 21M/69M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building wk-starter 4.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.nutz:nutz-web:jar:1.r.61-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.465 s
[INFO] Finished at: 2017-12-18T10:39:06+08:00
[INFO] Final Memory: 6M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project wk-starter: Could not resolve dependencies for project cn.wizzer:wk-starter:jar:4.0.1-SNAPSHOT: Could not find artifact org.nutz:nutz-web:jar:1.r.61-SNAPSHOT -> [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/DependencyResolutionException
Error: Unable to access jarfile starter.jar
Traceback (most recent call last):
File "D:\product\document\engine\build.py", line 31, in <module>
subprocess.check_call("java -jar starter.jar -inject ROOT.war -output engine.jar", shell=True, cwd="dst/")
File "C:\Users\shufu_000\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'java -jar starter.jar -inject ROOT.war -output engine.jar' returned non-zero exit status 1.
31 回复
maven的setting
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<!--
| This is the configuration file for Maven. It can be specified at two levels:
|
| 1. User Level. This settings.xml file provides configuration for a single user,
| and is normally provided in ${user.home}/.m2/settings.xml.
|
| NOTE: This location can be overridden with the CLI option:
|
| -s /path/to/user/settings.xml
|
| 2. Global Level. This settings.xml file provides configuration for all Maven
| users on a machine (assuming they're all using the same Maven
| installation). It's normally provided in
| ${maven.home}/conf/settings.xml.
|
| NOTE: This location can be overridden with the CLI option:
|
| -gs /path/to/global/settings.xml
|
| The sections in this sample file are intended to give you a running start at
| getting the most out of your Maven installation. Where appropriate, the default
| values (values used when the setting is not specified) are provided.
|
|-->
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!-- localRepository
| The path to the local repository maven will use to store artifacts.
|
| Default: ~/.m2/repository
<localRepository>/path/to/local/repo</localRepository>
-->
<!-- interactiveMode
| This will determine whether maven prompts you when it needs input. If set to false,
| maven will use a sensible default value, perhaps based on some other setting, for
| the parameter in question.
|
| Default: true
<interactiveMode>true</interactiveMode>
-->
<!-- offline
| Determines whether maven should attempt to connect to the network when executing a build.
| This will have an effect on artifact downloads, artifact deployment, and others.
|
| Default: false
<offline>false</offline>
-->
<!-- pluginGroups
| This is a list of additional group identifiers that will be searched when resolving plugins by their prefix, i.e.
| when invoking a command line like "mvn prefix:goal". Maven will automatically add the group identifiers
| "org.apache.maven.plugins" and "org.codehaus.mojo" if these are not already contained in the list.
|-->
<pluginGroups>
<!-- pluginGroup
| Specifies a further group identifier to use for plugin lookup.
<pluginGroup>com.your.plugins</pluginGroup>
-->
</pluginGroups>
<!-- proxies
| This is a list of proxies which can be used on this machine to connect to the network.
| Unless otherwise specified (by system property or command-line switch), the first proxy
| specification in this list marked as active will be used.
|-->
<proxies>
<!-- proxy
| Specification for one proxy, to be used in connecting to the network.
|
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username>proxyuser</username>
<password>proxypass</password>
<host>proxy.host.net</host>
<port>80</port>
<nonProxyHosts>local.net|some.host.com</nonProxyHosts>
</proxy>
-->
</proxies>
<!-- servers
| This is a list of authentication profiles, keyed by the server-id used within the system.
| Authentication profiles can be used whenever maven must make a connection to a remote server.
|-->
<servers>
<!-- server
| Specifies the authentication information to use when connecting to a particular server, identified by
| a unique name within the system (referred to by the 'id' attribute below).
|
| NOTE: You should either specify username/password OR privateKey/passphrase, since these pairings are
| used together.
|
<server>
<id>deploymentRepo</id>
<username>repouser</username>
<password>repopwd</password>
</server>
-->
<!-- Another sample, using keys to authenticate.
<server>
<id>siteServer</id>
<privateKey>/path/to/private/key</privateKey>
<passphrase>optional; leave empty if not used.</passphrase>
</server>
-->
</servers>
<!-- mirrors
| This is a list of mirrors to be used in downloading artifacts from remote repositories.
|
| It works like this: a POM may declare a repository to use in resolving certain artifacts.
| However, this repository may have problems with heavy traffic at times, so people have mirrored
| it to several places.
|
| That repository definition will have a unique id, so we can create a mirror reference for that
| repository, to be used as an alternate download site. The mirror site will be the preferred
| server for that repository.
|-->
<mirrors>
<!-- mirror
| Specifies a repository mirror site to use instead of a given repository. The repository that
| this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
| for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
|
<mirror>
<id>mirrorId</id>
<mirrorOf>repositoryId</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://my.repository.com/repo/path</url>
</mirror>
-->
</mirrors>
<!-- profiles
| This is a list of profiles which can be activated in a variety of ways, and which can modify
| the build process. Profiles provided in the settings.xml are intended to provide local machine-
| specific paths and repository locations which allow the build to work in the local environment.
|
| For example, if you have an integration testing plugin - like cactus - that needs to know where
| your Tomcat instance is installed, you can provide a variable here such that the variable is
| dereferenced during the build process to configure the cactus plugin.
|
| As noted above, profiles can be activated in a variety of ways. One way - the activeProfiles
| section of this document (settings.xml) - will be discussed later. Another way essentially
| relies on the detection of a system property, either matching a particular value for the property,
| or merely testing its existence. Profiles can also be activated by JDK version prefix, where a
| value of '1.4' might activate a profile when the build is executed on a JDK version of '1.4.2_07'.
| Finally, the list of active profiles can be specified directly from the command line.
|
| NOTE: For profiles defined in the settings.xml, you are restricted to specifying only artifact
| repositories, plugin repositories, and free-form properties to be used as configuration
| variables for plugins in the POM.
|
|-->
<profiles>
<!-- profile
| Specifies a set of introductions to the build process, to be activated using one or more of the
| mechanisms described above. For inheritance purposes, and to activate profiles via <activatedProfiles/>
| or the command line, profiles have to have an ID that is unique.
|
| An encouraged best practice for profile identification is to use a consistent naming convention
| for profiles, such as 'env-dev', 'env-test', 'env-production', 'user-jdcasey', 'user-brett', etc.
| This will make it more intuitive to understand what the set of introduced profiles is attempting
| to accomplish, particularly when you only have a list of profile id's for debug.
|
| This profile example uses the JDK version to trigger activation, and provides a JDK-specific repo.
<profile>
<id>jdk-1.4</id>
<activation>
<jdk>1.4</jdk>
</activation>
<repositories>
<repository>
<id>jdk14</id>
<name>Repository for JDK 1.4 builds</name>
<url>http://www.myhost.com/maven/jdk14</url>
<layout>default</layout>
<snapshotPolicy>always</snapshotPolicy>
</repository>
</repositories>
</profile>
-->
<!--
| Here is another profile, activated by the system property 'target-env' with a value of 'dev',
| which provides a specific path to the Tomcat instance. To use this, your plugin configuration
| might hypothetically look like:
|
| ...
| <plugin>
| <groupId>org.myco.myplugins</groupId>
| <artifactId>myplugin</artifactId>
|
| <configuration>
| <tomcatLocation>${tomcatPath}</tomcatLocation>
| </configuration>
| </plugin>
| ...
|
| NOTE: If you just wanted to inject this configuration whenever someone set 'target-env' to
| anything, you could just leave off the <value/> inside the activation-property.
|
<profile>
<id>env-dev</id>
<activation>
<property>
<name>target-env</name>
<value>dev</value>
</property>
</activation>
<properties>
<tomcatPath>/path/to/tomcat/instance</tomcatPath>
</properties>
</profile>
-->
</profiles>
<!-- activeProfiles
| List of profiles that are active for all builds.
|
<activeProfiles>
<activeProfile>alwaysActiveProfile</activeProfile>
<activeProfile>anotherAlwaysActiveProfile</activeProfile>
</activeProfiles>
-->
</settings>
SDK升级到152后,wk-starter.jar无法生成
[INFO] /D:/product/document/engine/wk-app/wk-web/src/main/java/cn/wizzer/app/web/commons/helper/Excel.java: D:\product\document\engine\wk-app\wk-web\src\main\java\cn\wizzer\app\web\commons\helper\Excel.java使用或覆盖了已过时的 API。
[INFO] /D:/product/document/engine/wk-app/wk-web/src/main/java/cn/wizzer/app/web/commons/helper/Excel.java: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
[INFO] /D:/product/document/engine/wk-app/wk-web/src/main/java/cn/wizzer/app/doc/modules/services/impl/DocSettingCabinetServiceImpl.java: 某些 输入文件使用了未经检查或不安全的操作。
[INFO] /D:/product/document/engine/wk-app/wk-web/src/main/java/cn/wizzer/app/doc/modules/services/impl/DocSettingCabinetServiceImpl.java: 有关 详细信息, 请使用 -Xlint:unchecked 重新编译。
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ wk-web ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ wk-web ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ wk-web ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default) @ wk-web ---
[INFO] Building jar: D:\product\document\engine\wk-app\wk-web\target\nutzwk.jar
[INFO]
[INFO] --- maven-war-plugin:2.6:war (default-war) @ wk-web ---
[INFO] Packaging webapp
[INFO] Assembling webapp [wk-web] in [D:\product\document\engine\wk-app\wk-web\target\nutzwk]
[INFO] Processing war project
[INFO] Copying webapp webResources [D:\product\document\engine\wk-app\wk-web\src/main/resources] to [D:\product\document\engine\wk-app\wk-web\target\nutzwk]
[INFO] Copying webapp resources [D:\product\document\engine\wk-app\wk-web\src\main\webapp]
[INFO] Building jar: D:\product\document\engine\wk-app\wk-web\target\nutzwk\WEB-INF\lib\wk-web-4.0.1-SNAPSHOT.jar
[INFO] Webapp assembled in [4561 msecs]
[INFO] Building war: D:\product\document\engine\wk-app\wk-web\target\nutzwk.war
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ wk-web ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 89 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ wk-web ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ wk-web ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ wk-web ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ wk-web ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default) @ wk-web ---
[INFO] Building jar: D:\product\document\engine\wk-app\wk-web\target\nutzwk.jar
[INFO]
[INFO] --- maven-war-plugin:2.6:war (default-war) @ wk-web ---
[INFO] Packaging webapp
[INFO] Assembling webapp [wk-web] in [D:\product\document\engine\wk-app\wk-web\target\nutzwk]
[INFO] Processing war project
[INFO] Copying webapp webResources [D:\product\document\engine\wk-app\wk-web\src/main/resources] to [D:\product\document\engine\wk-app\wk-web\target\nutzwk]
[INFO] Copying webapp resources [D:\product\document\engine\wk-app\wk-web\src\main\webapp]
[INFO] Building jar: D:\product\document\engine\wk-app\wk-web\target\nutzwk\WEB-INF\lib\wk-web-4.0.1-SNAPSHOT.jar
[INFO] Webapp assembled in [3356 msecs]
[INFO] Building war: D:\product\document\engine\wk-app\wk-web\target\nutzwk.war
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ wk-web ---
[INFO] Installing D:\product\document\engine\wk-app\wk-web\target\nutzwk.war to C:\Users\shufu_000\.m2\repository\cn\wizzer\app\wk-web\4.0.1-SNAPSHOT\wk-web-4.0.1-SNAPSHOT.war
[INFO] Installing D:\product\document\engine\wk-app\wk-web\pom.xml to C:\Users\shufu_000\.m2\repository\cn\wizzer\app\wk-web\4.0.1-SNAPSHOT\wk-web-4.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] wk-app ............................................. SUCCESS [ 0.486 s]
[INFO] wk-web ............................................. SUCCESS [ 35.655 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.373 s
[INFO] Finished at: 2017-12-18T11:46:07+08:00
[INFO] Final Memory: 34M/427M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building wk-framework 4.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ wk-framework ---
[INFO] Deleting d:\product\document\engine\wk-framework\target
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ wk-framework ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory d:\product\document\engine\wk-framework\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ wk-framework ---
[INFO] Compiling 37 source files to d:\product\document\engine\wk-framework\target\classes
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ wk-framework ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ wk-framework ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ wk-framework ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ wk-framework ---
[INFO] Building jar: d:\product\document\engine\wk-framework\target\wk-framework-4.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ wk-framework ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory d:\product\document\engine\wk-framework\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ wk-framework ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ wk-framework ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ wk-framework ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ wk-framework ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ wk-framework ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ wk-framework ---
[INFO] Installing d:\product\document\engine\wk-framework\target\wk-framework-4.0.1-SNAPSHOT.jar to C:\Users\shufu_000\.m2\repository\cn\wizzer\wk-framework\4.0.1-SNAPSHOT\wk-framework-4.0.1-SNAPSHOT.jar
[INFO] Installing d:\product\document\engine\wk-framework\pom.xml to C:\Users\shufu_000\.m2\repository\cn\wizzer\wk-framework\4.0.1-SNAPSHOT\wk-framework-4.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.845 s
[INFO] Finished at: 2017-12-18T11:46:16+08:00
[INFO] Final Memory: 33M/270M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building wk-starter 4.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.nutz:nutz-web:jar:1.r.61-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.934 s
[INFO] Finished at: 2017-12-18T11:46:19+08:00
[INFO] Final Memory: 7M/155M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project wk-starter: Could not resolve dependencies for project cn.wizzer:wk-starter:jar:4.0.1-SNAPSHOT: Could not find artifact org.nutz:nutz-web:jar:1.r.61-SNAPSHOT -> [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/DependencyResolutionException
Error: Unable to access jarfile starter.jar
Traceback (most recent call last):
File "D:\product\document\engine\build.py", line 31, in <module>
subprocess.check_call("java -jar starter.jar -inject ROOT.war -output engine.jar", shell=True, cwd="dst/")
File "C:\Users\shufu_000\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'java -jar starter.jar -inject ROOT.war -output engine.jar' returned non-zero exit status 1.
这个starter.jar就没有生成
[WARNING] The POM for org.nutz:nutz-web:jar:1.r.61-SNAPSHOT is missing, no dependency information available
这个是找不到了!
[INFO ] 2017-12-18 12:00:41,680 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'weixinController ' - cn.wizzer.app.web.modules.controllers.open.wx.WeixinController
[INFO ] 2017-12-18 12:00:41,680 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'cmsArticleController ' - cn.wizzer.app.web.modules.controllers.platform.cms.CmsArticleController
[INFO ] 2017-12-18 12:00:41,680 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'cmsChannelController ' - cn.wizzer.app.web.modules.controllers.platform.cms.CmsChannelController
[INFO ] 2017-12-18 12:00:41,681 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'cmsLinkClassController ' - cn.wizzer.app.web.modules.controllers.platform.cms.CmsLinkClassController
[INFO ] 2017-12-18 12:00:41,681 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'cmsLinkController ' - cn.wizzer.app.web.modules.controllers.platform.cms.CmsLinkController
[INFO ] 2017-12-18 12:00:41,682 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'cmsSiteController ' - cn.wizzer.app.web.modules.controllers.platform.cms.CmsSiteController
[INFO ] 2017-12-18 12:00:41,682 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docDocumentCommentController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocDocumentCommentController
[INFO ] 2017-12-18 12:00:41,683 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docDocumentController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocDocumentController
[INFO ] 2017-12-18 12:00:41,683 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docDocumentCopyController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocDocumentCopyController
[INFO ] 2017-12-18 12:00:41,683 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docDocumentRelationController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocDocumentRelationController
[INFO ] 2017-12-18 12:00:41,684 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docDocumentRepayingController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocDocumentRepayingController
[INFO ] 2017-12-18 12:00:41,684 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docHandleController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocHandleController
[INFO ] 2017-12-18 12:00:41,685 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docHomeController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocHomeController
[INFO ] 2017-12-18 12:00:41,685 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docLetterReceiveController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocLetterReceiveController
[INFO ] 2017-12-18 12:00:41,685 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docLetterSendController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocLetterSendController
[INFO ] 2017-12-18 12:00:41,686 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docManageQueryController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocManageQueryController
[INFO ] 2017-12-18 12:00:41,687 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docNodeAdminController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocNodeAdminController
[INFO ] 2017-12-18 12:00:41,687 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docNodeAlertController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocNodeAlertController
[INFO ] 2017-12-18 12:00:41,687 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docNodeConfigController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocNodeConfigController
[INFO ] 2017-12-18 12:00:41,688 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docNodeController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocNodeController
[INFO ] 2017-12-18 12:00:41,689 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docNodeEmployeeController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocNodeEmployeeController
[INFO ] 2017-12-18 12:00:41,690 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docNodeSignController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocNodeSignController
[INFO ] 2017-12-18 12:00:41,690 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docNodeStatController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocNodeStatController
[INFO ] 2017-12-18 12:00:41,691 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docPackageController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocPackageController
[INFO ] 2017-12-18 12:00:41,691 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docPackageDocumentController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocPackageDocumentController
[INFO ] 2017-12-18 12:00:41,692 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docReceiveController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocReceiveController
[INFO ] 2017-12-18 12:00:41,692 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docReceiveFilesController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocReceiveFilesController
[INFO ] 2017-12-18 12:00:41,692 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docReceiveHandleController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocReceiveHandleController
[INFO ] 2017-12-18 12:00:41,693 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docReceiveHandleProcController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocReceiveHandleProcController
[INFO ] 2017-12-18 12:00:41,693 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docReceiveHandleResultController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocReceiveHandleResultController
[INFO ] 2017-12-18 12:00:41,694 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docReceiveRelationController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocReceiveRelationController
[INFO ] 2017-12-18 12:00:41,694 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docSendBodyController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocSendBodyController
[INFO ] 2017-12-18 12:00:41,695 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docSendController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocSendController
[INFO ] 2017-12-18 12:00:41,696 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docSendFilesController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocSendFilesController
[INFO ] 2017-12-18 12:00:41,697 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docSendHandleController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocSendHandleController
[INFO ] 2017-12-18 12:00:41,698 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docSendHandleProcController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocSendHandleProcController
[INFO ] 2017-12-18 12:00:41,699 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docSendHandleResultController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocSendHandleResultController
[INFO ] 2017-12-18 12:00:41,699 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docSendRelationController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocSendRelationController
[INFO ] 2017-12-18 12:00:41,700 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docSendTargetController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocSendTargetController
[INFO ] 2017-12-18 12:00:41,700 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docSettingBoxController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocSettingBoxController
[INFO ] 2017-12-18 12:00:41,701 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docSettingCabinetController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocSettingCabinetController
[INFO ] 2017-12-18 12:00:41,701 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docSettingGroupController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocSettingGroupController
[INFO ] 2017-12-18 12:00:41,702 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docSettingIdentityController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocSettingIdentityController
[INFO ] 2017-12-18 12:00:41,702 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docSettingPartController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocSettingPartController
[INFO ] 2017-12-18 12:00:41,707 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docSettingPlaceController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocSettingPlaceController
[INFO ] 2017-12-18 12:00:41,708 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docSettingPrinterController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocSettingPrinterController
[INFO ] 2017-12-18 12:00:41,708 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docSettingRuleController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocSettingRuleController
[INFO ] 2017-12-18 12:00:41,709 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docSettingWhiteController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocSettingWhiteController
[INFO ] 2017-12-18 12:00:41,709 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docTemplateController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocTemplateController
[INFO ] 2017-12-18 12:00:41,709 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docTemplateNodesController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocTemplateNodesController
[INFO ] 2017-12-18 12:00:41,710 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docTemplateUnitsController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocTemplateUnitsController
[INFO ] 2017-12-18 12:00:41,710 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docUnitConfigController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocUnitConfigController
[INFO ] 2017-12-18 12:00:41,710 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docUnitController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocUnitController
[INFO ] 2017-12-18 12:00:41,711 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docUnitEmployeeController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocUnitEmployeeController
[INFO ] 2017-12-18 12:00:41,711 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'docUnitSignController ' - cn.wizzer.app.web.modules.controllers.platform.doc.DocUnitSignController
[INFO ] 2017-12-18 12:00:41,712 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'memParterController ' - cn.wizzer.app.web.modules.controllers.platform.mem.MemParterController
[INFO ] 2017-12-18 12:00:41,712 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'memTypeController ' - cn.wizzer.app.web.modules.controllers.platform.mem.MemTypeController
[INFO ] 2017-12-18 12:00:41,713 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'orgDeptController ' - cn.wizzer.app.web.modules.controllers.platform.org.OrgDeptController
[INFO ] 2017-12-18 12:00:41,713 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'orgDeptEmployeeController ' - cn.wizzer.app.web.modules.controllers.platform.org.OrgDeptEmployeeController
[INFO ] 2017-12-18 12:00:41,714 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'orgEmployeeController ' - cn.wizzer.app.web.modules.controllers.platform.org.OrgEmployeeController
[INFO ] 2017-12-18 12:00:41,714 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'orgEmployeeUserController ' - cn.wizzer.app.web.modules.controllers.platform.org.OrgEmployeeUserController
[INFO ] 2017-12-18 12:00:41,714 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'sysApiController ' - cn.wizzer.app.web.modules.controllers.platform.sys.SysApiController
[INFO ] 2017-12-18 12:00:41,715 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'sysCheckController ' - cn.wizzer.app.web.modules.controllers.platform.sys.SysCheckController
[INFO ] 2017-12-18 12:00:41,715 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'sysConfController ' - cn.wizzer.app.web.modules.controllers.platform.sys.SysConfController
[INFO ] 2017-12-18 12:00:41,715 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'sysDictController ' - cn.wizzer.app.web.modules.controllers.platform.sys.SysDictController
[INFO ] 2017-12-18 12:00:41,716 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'sysHomeController ' - cn.wizzer.app.web.modules.controllers.platform.sys.SysHomeController
[INFO ] 2017-12-18 12:00:41,716 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'sysIdentifierController ' - cn.wizzer.app.web.modules.controllers.platform.sys.SysIdentifierController
[INFO ] 2017-12-18 12:00:41,717 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'sysLogController ' - cn.wizzer.app.web.modules.controllers.platform.sys.SysLogController
[INFO ] 2017-12-18 12:00:41,717 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'sysLoginController ' - cn.wizzer.app.web.modules.controllers.platform.sys.SysLoginController
[INFO ] 2017-12-18 12:00:41,718 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'sysMenuController ' - cn.wizzer.app.web.modules.controllers.platform.sys.SysMenuController
[INFO ] 2017-12-18 12:00:41,718 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'sysPluginController ' - cn.wizzer.app.web.modules.controllers.platform.sys.SysPluginController
[INFO ] 2017-12-18 12:00:41,719 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'sysRoleController ' - cn.wizzer.app.web.modules.controllers.platform.sys.SysRoleController
[INFO ] 2017-12-18 12:00:41,719 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'sysRouteController ' - cn.wizzer.app.web.modules.controllers.platform.sys.SysRouteController
[INFO ] 2017-12-18 12:00:41,719 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'sysTaskController ' - cn.wizzer.app.web.modules.controllers.platform.sys.SysTaskController
[INFO ] 2017-12-18 12:00:41,720 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'sysUnitController ' - cn.wizzer.app.web.modules.controllers.platform.sys.SysUnitController
[INFO ] 2017-12-18 12:00:41,722 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'sysUserController ' - cn.wizzer.app.web.modules.controllers.platform.sys.SysUserController
[INFO ] 2017-12-18 12:00:41,722 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'tpmPersonController ' - cn.wizzer.app.web.modules.controllers.platform.tpm.TpmPersonController
[INFO ] 2017-12-18 12:00:41,723 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'tpmProjectController ' - cn.wizzer.app.web.modules.controllers.platform.tpm.TpmProjectController
[INFO ] 2017-12-18 12:00:41,723 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'tpmTaskController ' - cn.wizzer.app.web.modules.controllers.platform.tpm.TpmTaskController
[INFO ] 2017-12-18 12:00:41,724 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxConfigController ' - cn.wizzer.app.web.modules.controllers.platform.wx.WxConfigController
[INFO ] 2017-12-18 12:00:41,724 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxMassController ' - cn.wizzer.app.web.modules.controllers.platform.wx.WxMassController
[INFO ] 2017-12-18 12:00:41,725 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxMenuController ' - cn.wizzer.app.web.modules.controllers.platform.wx.WxMenuController
[INFO ] 2017-12-18 12:00:41,725 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxMsgUserController ' - cn.wizzer.app.web.modules.controllers.platform.wx.WxMsgUserController
[INFO ] 2017-12-18 12:00:41,725 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxPayTestController ' - cn.wizzer.app.web.modules.controllers.platform.wx.WxPayTestController
[INFO ] 2017-12-18 12:00:41,726 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxReplyController ' - cn.wizzer.app.web.modules.controllers.platform.wx.WxReplyController
[INFO ] 2017-12-18 12:00:41,726 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxReplyNewsController ' - cn.wizzer.app.web.modules.controllers.platform.wx.WxReplyNewsController
[INFO ] 2017-12-18 12:00:41,727 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxReplyTxtController ' - cn.wizzer.app.web.modules.controllers.platform.wx.WxReplyTxtController
[INFO ] 2017-12-18 12:00:41,727 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxTplIdController ' - cn.wizzer.app.web.modules.controllers.platform.wx.WxTplIdController
[INFO ] 2017-12-18 12:00:41,727 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxTplListController ' - cn.wizzer.app.web.modules.controllers.platform.wx.WxTplListController
[INFO ] 2017-12-18 12:00:41,728 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxTplLogController ' - cn.wizzer.app.web.modules.controllers.platform.wx.WxTplLogController
[INFO ] 2017-12-18 12:00:41,728 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxUserController ' - cn.wizzer.app.web.modules.controllers.platform.wx.WxUserController
[INFO ] 2017-12-18 12:00:41,729 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxConfigServiceImpl ' - cn.wizzer.app.wx.modules.services.impl.WxConfigServiceImpl
[INFO ] 2017-12-18 12:00:41,729 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxMassNewsServiceImpl ' - cn.wizzer.app.wx.modules.services.impl.WxMassNewsServiceImpl
[INFO ] 2017-12-18 12:00:41,729 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxMassSendServiceImpl ' - cn.wizzer.app.wx.modules.services.impl.WxMassSendServiceImpl
[INFO ] 2017-12-18 12:00:41,730 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxMassServiceImpl ' - cn.wizzer.app.wx.modules.services.impl.WxMassServiceImpl
[INFO ] 2017-12-18 12:00:41,731 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxMenuServiceImpl ' - cn.wizzer.app.wx.modules.services.impl.WxMenuServiceImpl
[INFO ] 2017-12-18 12:00:41,731 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxMsgReplyServiceImpl ' - cn.wizzer.app.wx.modules.services.impl.WxMsgReplyServiceImpl
[INFO ] 2017-12-18 12:00:41,732 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxMsgServiceImpl ' - cn.wizzer.app.wx.modules.services.impl.WxMsgServiceImpl
[INFO ] 2017-12-18 12:00:41,732 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxReplyNewsServiceImpl ' - cn.wizzer.app.wx.modules.services.impl.WxReplyNewsServiceImpl
[INFO ] 2017-12-18 12:00:41,733 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxReplyServiceImpl ' - cn.wizzer.app.wx.modules.services.impl.WxReplyServiceImpl
[INFO ] 2017-12-18 12:00:41,733 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxReplyTxtServiceImpl ' - cn.wizzer.app.wx.modules.services.impl.WxReplyTxtServiceImpl
[INFO ] 2017-12-18 12:00:41,734 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxTplIdServiceImpl ' - cn.wizzer.app.wx.modules.services.impl.WxTplIdServiceImpl
[INFO ] 2017-12-18 12:00:41,734 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxTplListServiceImpl ' - cn.wizzer.app.wx.modules.services.impl.WxTplListServiceImpl
[INFO ] 2017-12-18 12:00:41,734 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxTplLogServiceImpl ' - cn.wizzer.app.wx.modules.services.impl.WxTplLogServiceImpl
[INFO ] 2017-12-18 12:00:41,735 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wxUserServiceImpl ' - cn.wizzer.app.wx.modules.services.impl.WxUserServiceImpl
[DEBUG] 2017-12-18 12:00:41,736 org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:114) - found jedis -- org.nutz.integration.jedis.JedisIocLoader
[DEBUG] 2017-12-18 12:00:41,741 org.nutz.resource.Scans.scan(Scans.java:280) - Found 1 resource by src( org/nutz/integration/jedis/jedis.js ) , regex( ^(.+[.])(js|json)$ )
[DEBUG] 2017-12-18 12:00:41,741 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) - loading [org/nutz/integration/jedis/jedis.js]
[DEBUG] 2017-12-18 12:00:41,743 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 9 bean define from path=[org/nutz/integration/jedis/jedis.js] --> [redisService, jedisCluster, jedisClusterNodes, jedisClusterWrapper, pubSubService, jedisPoolConfig, jedisPool, jedisAgent, redis]
[DEBUG] 2017-12-18 12:00:41,746 org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:114) - found quartz -- org.nutz.integration.quartz.QuartzIocLoader
[DEBUG] 2017-12-18 12:00:41,746 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 0 bean define from path=[] --> []
[DEBUG] 2017-12-18 12:00:41,748 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) - Load AopConfigure for anno=org.nutz.aop.interceptor.async.Async by type=org.nutz.aop.interceptor.async.AsyncAopIocLoader
[DEBUG] 2017-12-18 12:00:41,750 org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:114) - found rabbitmq -- org.nutz.integration.rabbitmq.RabbitmqIocLoader
[DEBUG] 2017-12-18 12:00:41,754 org.nutz.resource.Scans.scan(Scans.java:280) - Found 1 resource by src( org/nutz/integration/rabbitmq/rabbitmq.js ) , regex( ^(.+[.])(js|json)$ )
[DEBUG] 2017-12-18 12:00:41,754 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) - loading [org/nutz/integration/rabbitmq/rabbitmq.js]
[DEBUG] 2017-12-18 12:00:41,756 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) - Loaded 2 bean define from path=[org/nutz/integration/rabbitmq/rabbitmq.js] --> [rabbitmq, rabbitmq_cf]
[DEBUG] 2017-12-18 12:00:41,757 org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:114) - found wkcache -- org.nutz.plugins.wkcache.WkcacheIocLoader
[INFO ] 2017-12-18 12:00:41,758 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:50) - > scan 'org.nutz.plugins.wkcache'
[DEBUG] 2017-12-18 12:00:41,760 org.nutz.resource.Scans.scan(Scans.java:280) - Found 13 resource by src( org/nutz/plugins/wkcache/ ) , regex( ^.+[.]class$ )
[INFO ] 2017-12-18 12:00:41,761 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wkcacheRemoveEntryInterceptor ' - org.nutz.plugins.wkcache.WkcacheRemoveEntryInterceptor
[INFO ] 2017-12-18 12:00:41,761 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add '$aop_wkcache ' - org.nutz.plugins.wkcache.WkcacheAopConfigure
[INFO ] 2017-12-18 12:00:41,761 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wkcacheResultInterceptor ' - org.nutz.plugins.wkcache.WkcacheResultInterceptor
[INFO ] 2017-12-18 12:00:41,762 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wkcacheUpdateInterceptor ' - org.nutz.plugins.wkcache.WkcacheUpdateInterceptor
[INFO ] 2017-12-18 12:00:41,762 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:98) - > add 'wkcacheRemoveAllInterceptor ' - org.nutz.plugins.wkcache.WkcacheRemoveAllInterceptor
[INFO ] 2017-12-18 12:00:41,762 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:98) - NutIoc init begin ...
[INFO ] 2017-12-18 12:00:41,762 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:121) - ... NutIoc init complete
[INFO ] 2017-12-18 12:00:41,763 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:261) - org.nutz.ioc.impl.NutIoc@632071960 is closing. startup date [17-12-18 12:00:41.762]
[INFO ] 2017-12-18 12:00:41,763 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:275) - org.nutz.ioc.impl.NutIoc@632071960 is deposed. startup date [17-12-18 12:00:41.762]
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.59 sec <<< FAILURE! - in cn.wizzer.test.SysUserTest
testOne(cn.wizzer.test.SysUserTest) Time elapsed: 3.154 sec <<< ERROR!
java.lang.NullPointerException
at cn.wizzer.test.SysUserTest.setData(SysUserTest.java:225)
at cn.wizzer.test.SysUserTest.testOne(SysUserTest.java:121)
Running cn.wizzer.test.UtilsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in cn.wizzer.test.UtilsTest
Results :
Tests in error:
SysUserTest.testOne:121->setData:225 ? NullPointer
Tests run: 7, Failures: 0, Errors: 1, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] NutzWk ............................................. SUCCESS [ 0.016 s]
[INFO] wk-framework ....................................... SUCCESS [ 8.873 s]
[INFO] wk-app ............................................. SUCCESS [ 0.001 s]
[INFO] wk-web ............................................. FAILURE [ 7.147 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16.228 s
[INFO] Finished at: 2017-12-18T12:00:42+08:00
[INFO] Final Memory: 28M/176M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project wk-web: There are test failures.
[ERROR]
[ERROR] Please refer to D:\product\document\engine\wk-app\wk-web\target\surefire-reports for the individual test results.
[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 <goals> -rf :wk-web
wk-starter的pom
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>cn.wizzer</groupId>
<artifactId>wk-starter</artifactId>
<version>4.0.1-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.nutz</groupId>
<artifactId>nutz-web</artifactId>
<version>1.r.61-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-commons</artifactId>
</exclusion>
<exclusion>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.glassfish.web</groupId>
<artifactId>javax.servlet.jsp</artifactId>
</exclusion>
<exclusion>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-jsp</artifactId>
</exclusion>
<exclusion>
<groupId>org.glassfish</groupId>
<artifactId>javax.el</artifactId>
</exclusion>
<exclusion>
<groupId>org.eclipse.jetty.aggregate</groupId>
<artifactId>jetty-all</artifactId>
</exclusion>
<exclusion>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-webapp</artifactId>
<version>9.4.2.v20170220</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.websocket</groupId>
<artifactId>javax-websocket-server-impl</artifactId>
<version>9.4.2.v20170220</version>
</dependency>
<dependency>
<groupId>org.nutz</groupId>
<artifactId>nutz</artifactId>
<version>1.r.65-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<useIncrementalCompilation>false</useIncrementalCompilation>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>org.nutz.web.WebLauncher</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>
下面这个包找不到
org.nutz
nutz-web
1.r.61-SNAPSHOT
buidl.py里面有这样一句
subprocess.call("mvn clean package install -Dmaven.test.skip=true", shell=True, cwd=fname)
// 加个 -U 试试
subprocess.call("mvn clean package install -Dmaven.test.skip=true -U ", shell=True, cwd=fname)
有这个U
# 逐个插件模块进行编译
for fname in os.listdir(os.getcwd()):
if fname.startswith("wk-starter") :
subprocess.call("mvn clean package assembly:single -Dmaven.test.skip=true -U", shell=True, cwd=fname)
elif fname.startswith("wk-app") or fname.startswith("wk-framework") :
subprocess.call("mvn clean package install -Dmaven.test.skip=true", shell=True, cwd=fname)
for root, dirs, files in os.walk(os.getcwd()):
for name in files:
if name.startswith("wk-starter-") and name.endswith("jar-with-dependencies.jar"):
fsource = os.path.join(root, name)
shutil.copyfile(fsource, "dst/starter.jar")
elif name.endswith("jar-with-dependencies.jar") :
fsource = os.path.join(root, name)
shutil.copyfile(fsource, "dst/plugins/" + name[0:-26] + ".jar")
elif name.startswith("nutzwk") and name.endswith(".war") :
fsource = os.path.join(root, name)
shutil.copyfile(fsource, "dst/ROOT.war")
[INFO] --- maven-install-plugin:2.4:install (default-install) @ wk-framework ---
[INFO] Installing d:\product\document\engine\wk-framework\target\wk-framework-4.0.1-SNAPSHOT.jar to C:\Users\shufu_000\.m2\repository\cn\wizzer\wk-framework\4.0.1-SNAPSHOT\wk-framework-4.0.1-SNAPSHOT.jar
[INFO] Installing d:\product\document\engine\wk-framework\pom.xml to C:\Users\shufu_000\.m2\repository\cn\wizzer\wk-framework\4.0.1-SNAPSHOT\wk-framework-4.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.192 s
[INFO] Finished at: 2017-12-18T13:44:55+08:00
[INFO] Final Memory: 28M/177M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building wk-starter 4.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.nutz:nutz-web:jar:1.r.61-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.041 s
[INFO] Finished at: 2017-12-18T13:44:59+08:00
[INFO] Final Memory: 7M/155M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project wk-starter: Could not resolve dependencies for project cn.wizzer:wk-starter:jar:4.0.1-SNAPSHOT: Could not find artifact org.nutz:nutz-web:jar:1.r.61-SNAPSHOT -> [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/DependencyResolutionException
Error: Unable to access jarfile starter.jar
Traceback (most recent call last):
File "D:\product\document\engine\build.py", line 31, in <module>
subprocess.check_call("java -jar starter.jar -inject ROOT.war -output engine.jar", shell=True, cwd="dst/")
File "C:\Users\shufu_000\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'java -jar starter.jar -inject ROOT.war -output engine.jar' returned non-zero exit status 1.
d:\product\document\engine>build.py
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] wk-app
[INFO] wk-web
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building wk-app 4.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ wk-app ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ wk-app ---
[INFO] Installing d:\product\document\engine\wk-app\pom.xml to C:\Users\shufu_000\.m2\repository\cn\wizzer\app\wk-app\4.0.1-SNAPSHOT\wk-app-4.0.1-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building wk-web 4.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/cn/wizzer/wk-framework/4.0.1-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/cn/wizzer/wk-framework/4.0.1-SNAPSHOT/maven-metadata.xml (753 B at 1.3 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/cn/wizzer/wk-parent/4.0.1-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/cn/wizzer/wk-parent/4.0.1-SNAPSHOT/maven-metadata.xml (574 B at 13 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz/1.r.65-SNAPSHOT/maven-metadata.xml (963 B at 17 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-daocache/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-daocache/1.r.65-SNAPSHOT/maven-metadata.xml (980 B at 12 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzmore/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzmore/1.r.65-SNAPSHOT/maven-metadata.xml (576 B at 9.3 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-cache/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-cache/1.r.65-SNAPSHOT/maven-metadata.xml (977 B at 12 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-integration-jedis/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-integration-jedis/1.r.65-SNAPSHOT/maven-metadata.xml (981 B at 18 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-integration-quartz/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-integration-quartz/1.r.65-SNAPSHOT/maven-metadata.xml (982 B at 20 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-wkcache/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-wkcache/1.r.65-SNAPSHOT/maven-metadata.xml (979 B at 20 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzwx/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzwx/1.r.65-SNAPSHOT/maven-metadata.xml (961 B at 17 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-views/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-views/1.r.65-SNAPSHOT/maven-metadata.xml (977 B at 17 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-integration-rabbitmq/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-integration-rabbitmq/1.r.65-SNAPSHOT/maven-metadata.xml (984 B at 16 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/cn/wizzer/wk-code-generator/4.0.1-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/cn/wizzer/wk-code-generator/4.0.1-SNAPSHOT/maven-metadata.xml (755 B at 13 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz/1.r.62-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz/1.r.62-SNAPSHOT/maven-metadata.xml (963 B at 17 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-mock/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-mock/1.r.65-SNAPSHOT/maven-metadata.xml (976 B at 16 kB/s)
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ wk-web ---
[INFO] Deleting D:\product\document\engine\wk-app\wk-web\target
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ wk-web ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 89 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ wk-web ---
[INFO] Compiling 502 source files to D:\product\document\engine\wk-app\wk-web\target\classes
[INFO] /D:/product/document/engine/wk-app/wk-web/src/main/java/cn/wizzer/app/web/commons/helper/Excel.java: D:\product\document\engine\wk-app\wk-web\src\main\java\cn\wizzer\app\web\commons\helper\Excel.java使用或覆盖了已过时的 API。
[INFO] /D:/product/document/engine/wk-app/wk-web/src/main/java/cn/wizzer/app/web/commons/helper/Excel.java: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
[INFO] /D:/product/document/engine/wk-app/wk-web/src/main/java/cn/wizzer/app/doc/modules/services/impl/DocSettingCabinetServiceImpl.java: 某些 输入文件使用了未经检查或不安全的操作。
[INFO] /D:/product/document/engine/wk-app/wk-web/src/main/java/cn/wizzer/app/doc/modules/services/impl/DocSettingCabinetServiceImpl.java: 有关 详细信息, 请使用 -Xlint:unchecked 重新编译。
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ wk-web ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ wk-web ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ wk-web ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default) @ wk-web ---
[INFO] Building jar: D:\product\document\engine\wk-app\wk-web\target\nutzwk.jar
[INFO]
[INFO] --- maven-war-plugin:2.6:war (default-war) @ wk-web ---
[INFO] Packaging webapp
[INFO] Assembling webapp [wk-web] in [D:\product\document\engine\wk-app\wk-web\target\nutzwk]
[INFO] Processing war project
[INFO] Copying webapp webResources [D:\product\document\engine\wk-app\wk-web\src/main/resources] to [D:\product\document\engine\wk-app\wk-web\target\nutzwk]
[INFO] Copying webapp resources [D:\product\document\engine\wk-app\wk-web\src\main\webapp]
[INFO] Building jar: D:\product\document\engine\wk-app\wk-web\target\nutzwk\WEB-INF\lib\wk-web-4.0.1-SNAPSHOT.jar
[INFO] Webapp assembled in [6445 msecs]
[INFO] Building war: D:\product\document\engine\wk-app\wk-web\target\nutzwk.war
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ wk-web ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 89 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ wk-web ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ wk-web ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ wk-web ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ wk-web ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default) @ wk-web ---
[INFO] Building jar: D:\product\document\engine\wk-app\wk-web\target\nutzwk.jar
[INFO]
[INFO] --- maven-war-plugin:2.6:war (default-war) @ wk-web ---
[INFO] Packaging webapp
[INFO] Assembling webapp [wk-web] in [D:\product\document\engine\wk-app\wk-web\target\nutzwk]
[INFO] Processing war project
[INFO] Copying webapp webResources [D:\product\document\engine\wk-app\wk-web\src/main/resources] to [D:\product\document\engine\wk-app\wk-web\target\nutzwk]
[INFO] Copying webapp resources [D:\product\document\engine\wk-app\wk-web\src\main\webapp]
[INFO] Building jar: D:\product\document\engine\wk-app\wk-web\target\nutzwk\WEB-INF\lib\wk-web-4.0.1-SNAPSHOT.jar
[INFO] Webapp assembled in [4040 msecs]
[INFO] Building war: D:\product\document\engine\wk-app\wk-web\target\nutzwk.war
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ wk-web ---
[INFO] Installing D:\product\document\engine\wk-app\wk-web\target\nutzwk.war to C:\Users\shufu_000\.m2\repository\cn\wizzer\app\wk-web\4.0.1-SNAPSHOT\wk-web-4.0.1-SNAPSHOT.war
[INFO] Installing D:\product\document\engine\wk-app\wk-web\pom.xml to C:\Users\shufu_000\.m2\repository\cn\wizzer\app\wk-web\4.0.1-SNAPSHOT\wk-web-4.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] wk-app ............................................. SUCCESS [ 0.664 s]
[INFO] wk-web ............................................. SUCCESS [ 55.330 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 56.336 s
[INFO] Finished at: 2017-12-18T13:48:00+08:00
[INFO] Final Memory: 36M/414M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building wk-framework 4.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz/1.r.65-SNAPSHOT/maven-metadata.xml (963 B at 1.8 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-daocache/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-daocache/1.r.65-SNAPSHOT/maven-metadata.xml (980 B at 18 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzmore/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzmore/1.r.65-SNAPSHOT/maven-metadata.xml (576 B at 13 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-cache/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-cache/1.r.65-SNAPSHOT/maven-metadata.xml (977 B at 11 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-integration-jedis/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-integration-jedis/1.r.65-SNAPSHOT/maven-metadata.xml (981 B at 19 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-integration-quartz/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-integration-quartz/1.r.65-SNAPSHOT/maven-metadata.xml (982 B at 18 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-wkcache/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-wkcache/1.r.65-SNAPSHOT/maven-metadata.xml (979 B at 18 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzwx/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutzwx/1.r.65-SNAPSHOT/maven-metadata.xml (961 B at 19 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-views/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-views/1.r.65-SNAPSHOT/maven-metadata.xml (977 B at 21 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-integration-rabbitmq/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-integration-rabbitmq/1.r.65-SNAPSHOT/maven-metadata.xml (984 B at 14 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-mock/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz-plugins-mock/1.r.65-SNAPSHOT/maven-metadata.xml (976 B at 19 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/cn/wizzer/wk-code-generator/4.0.1-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/cn/wizzer/wk-code-generator/4.0.1-SNAPSHOT/maven-metadata.xml (755 B at 15 kB/s)
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz/1.r.62-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz/1.r.62-SNAPSHOT/maven-metadata.xml (963 B at 20 kB/s)
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ wk-framework ---
[INFO] Deleting d:\product\document\engine\wk-framework\target
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ wk-framework ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory d:\product\document\engine\wk-framework\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ wk-framework ---
[INFO] Compiling 37 source files to d:\product\document\engine\wk-framework\target\classes
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ wk-framework ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ wk-framework ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ wk-framework ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ wk-framework ---
[INFO] Building jar: d:\product\document\engine\wk-framework\target\wk-framework-4.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ wk-framework ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory d:\product\document\engine\wk-framework\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ wk-framework ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ wk-framework ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ wk-framework ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ wk-framework ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ wk-framework ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ wk-framework ---
[INFO] Installing d:\product\document\engine\wk-framework\target\wk-framework-4.0.1-SNAPSHOT.jar to C:\Users\shufu_000\.m2\repository\cn\wizzer\wk-framework\4.0.1-SNAPSHOT\wk-framework-4.0.1-SNAPSHOT.jar
[INFO] Installing d:\product\document\engine\wk-framework\pom.xml to C:\Users\shufu_000\.m2\repository\cn\wizzer\wk-framework\4.0.1-SNAPSHOT\wk-framework-4.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.684 s
[INFO] Finished at: 2017-12-18T13:48:14+08:00
[INFO] Final Memory: 28M/182M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building wk-starter 4.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.maven.apache.org/maven2/org/nutz/nutz-web/1.r.61/nutz-web-1.r.61.pom
[WARNING] The POM for org.nutz:nutz-web:jar:1.r.61 is missing, no dependency information available
Downloading: https://repo.maven.apache.org/maven2/org/nutz/nutz-web/1.r.61/nutz-web-1.r.61.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.521 s
[INFO] Finished at: 2017-12-18T13:48:23+08:00
[INFO] Final Memory: 10M/123M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project wk-starter: Could not resolve dependencies for project cn.wizzer:wk-starter:jar:4.0.1-SNAPSHOT: Could not find artifact org.nutz:nutz-web:jar:1.r.61 in central (https://repo.maven.apache.org/maven2) -> [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/DependencyResolutionException
Error: Unable to access jarfile starter.jar
Traceback (most recent call last):
File "D:\product\document\engine\build.py", line 31, in <module>
subprocess.check_call("java -jar starter.jar -inject ROOT.war -output engine.jar", shell=True, cwd="dst/")
File "C:\Users\shufu_000\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'java -jar starter.jar -inject ROOT.war -output engine.jar' returned non-zero exit status 1.
添加回复
请先登陆