guruw 34 Опубликовано 3 мая, 2013 (изменено) сурсы l2emuent, те что в шаре имеют примерно такую структуру: - CT2.6_Compile - CT2.6_Data - CT2.6_Source (http://rghost.ru/45728186/image.png) Объясните, как правильно компилировать данные исходники. при команде mvn clean: C:\source\GS_CT2.6>mvn clean [iNFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for l2emuproject:l2emu-core:jar:2.6.0 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-comp iler-plugin is missing. @ line 111, column 12 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-sure fire-plugin is missing. @ line 104, column 12 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar- plugin is missing. @ l2emuproject:l2emuParent:1.0.3, C:\Users\╚трэ\.m2\repositor y\l2emuproject\l2emuParent\1.0.3\l2emuParent-1.0.3.pom, line 134, column 12 [WARNING] The expression ${artifactId} is deprecated. Please use ${project.artif actId} instead. [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten t he stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support buildin g such malformed projects. [WARNING] [iNFO] [iNFO] ------------------------------------------------------------------------ [iNFO] Building l2emu-core 2.6.0 [iNFO] ------------------------------------------------------------------------ [iNFO] [iNFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ l2emu-core --- [iNFO] ------------------------------------------------------------------------ [iNFO] BUILD SUCCESS [iNFO] ------------------------------------------------------------------------ [iNFO] Total time: 0.342s [iNFO] Finished at: Fri May 03 16:03:50 MSK 2013 [iNFO] Final Memory: 6M/153M [iNFO] ------------------------------------------------------------------------ при команде mvn assembly:assembly C:\source\GS_CT2.6>mvn assembly:assembly [iNFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for l2emuproject:l2emu-core:jar:2.6.0 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-comp iler-plugin is missing. @ line 111, column 12 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-sure fire-plugin is missing. @ line 104, column 12 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar- plugin is missing. @ l2emuproject:l2emuParent:1.0.3, C:\Users\╚трэ\.m2\repositor y\l2emuproject\l2emuParent\1.0.3\l2emuParent-1.0.3.pom, line 134, column 12 [WARNING] The expression ${artifactId} is deprecated. Please use ${project.artif actId} instead. [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten t he stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support buildin g such malformed projects. [WARNING] [iNFO] [iNFO] ------------------------------------------------------------------------ [iNFO] Building l2emu-core 2.6.0 [iNFO] ------------------------------------------------------------------------ [iNFO] [iNFO] >>> maven-assembly-plugin:2.1:assembly (default-cli) @ l2emu-core >>> Downloading: http://repo.l2-emu.n...0.1/jython-engi ne-1.0.1.pom Downloading: http://svn-l2emu.no-...-engine/1.0.1/j ython-engine-1.0.1.pom Downloading: http://repo.l2-emu.n.../bsh-engine-1.0 .1.pom Downloading: http://svn-l2emu.no-...gine/1.0.1/bsh- engine-1.0.1.pom Downloading: http://repo.l2-emu.n...2.0/bsf-2.0.pom Downloading: http://svn-l2emu.no-...2.0/bsf-2.0.pom Downloading: http://repo.l2-emu.n.../core-3.3.0.pom Downloading: http://svn-l2emu.no-...e/3.3.0/core-3. 3.0.pom [iNFO] ------------------------------------------------------------------------ [iNFO] BUILD FAILURE [iNFO] ------------------------------------------------------------------------ [iNFO] Total time: 3.389s [iNFO] Finished at: Fri May 03 16:04:10 MSK 2013 [iNFO] Final Memory: 7M/153M [iNFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project l2emu-core: Could not resolve dependen cies for project l2emuproject:l2emu-core:jar:2.6.0: Failed to collect dependenci es for [l2emu-vct:l2emu-lglink:jar:1.0.0 (compile), l2emu-vct:l2emu-mmocore:jar: 1.0.21vs (compile), l2emu-vct:l2emu-commons:jar:3.0.1vs (compile), l2emu-vct:jav olution:jar:5.5.1vs (compile), l2emu-vct:commons-io:jar:1.4 (compile), l2emu-vct :commons-lang:jar:2.4 (compile), l2emu-vct:commons-logging:jar:1.1.1 (compile), l2emu-vct:mysql-connector-java:jar:5.1.22 (compile), l2emu-vct:l2emu-dbpool:jar: 1.0.2vs (compile), l2emu-vct:l2emu-geo:jar:2.0.5 (compile), l2emu-vct:log4j:jar: 1.2.15 (compile), l2emu-vct:java-engine:jar:1.0.3 (compile), l2emu-vct:jython:ja r:2.2.2 (compile), l2emuproject:jython-engine:jar:1.0.1 (compile), l2emuproject: bsh-engine:jar:1.0.1 (compile), org.apache.bsf:bsf:jar:2.0 (compile), org.beansh ell:bsh:jar:2.0b5 (compile), org.eclipse.jdt:core:jar:3.3.0 (compile), org.schwe ring:irclib:jar:1.10 (compile), sshtools:j2ssh-daemon:jar:0.2.2 (compile), junit :junit:jar:3.8.1 (compile)]: Failed to read artifact descriptor for l2emuproject :jython-engine:jar:1.0.1: Could not transfer artifact l2emuproject:jython-engine :pom:1.0.1 from/to L2-Emu Repository (http://repo.l2-emu.net): repo.l2-emu.net: Unknown host repo.l2-emu.net -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [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 rea d the following articles: [ERROR] [Help 1] http://cwiki.apache..../DependencyReso lutionException Изменено 3 мая, 2013 пользователем guruw Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты
Shkaf 26 Опубликовано 3 мая, 2013 Компилируйте антом блеадь! ant -f build.xml -l compile.log Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты
guruw 34 Опубликовано 3 мая, 2013 Компилируйте антом блеадь! ant -f build.xml -l compile.log build.xml в папках нет, зачем Ант? в папке только pom.xml Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты
NOD3286 0 Опубликовано 6 августа, 2013 Дай свой скайп Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты