Компиляция MCPC Plus, Linux

  • Автор темы Автор темы Indeoo
  • Дата начала Дата начала
Да,да, но как все эти дары соединить в едино, чтобы запустить maven3
 
У меня все пошло без 3 шага.
 
Я написал и выложил на 100% готовый скрипт, что еще нужно?
 
Запусти скрипт, он сделает все за тебя.
 
https://github.com/MinecraftPortCentral/MCPC-Plus
  1. Install Maven 3
  2. Check out and install MCPC API
    • Note: this is not needed as the repository we use has MCPC-API too, but you might have a newer one (with your own changes :D)
    • Check out this repo and run:
  3. Check out FML
  4. Copy entire contents of FML to root folder in fml
  5. python setup.py
  6. extract eclipse-resources.zip to eclipse/Forge folder
  7. mvn initialize -P -built from eclipse/Forge folder
  8. mvn clean package

Значить я поставил Maven 3
Скомпилировал API
Выкачал FML
Скачал исходник MCPC и в папку fml скопировал все что было в FML
Разорхивировал Все что в архивах по провильному пути, запустил команду
mvn initialize -P -built все прошло отлично.

Вопросы.
5 шаг не работает, закрывается мгновенно
8 шаг тоже не работает.


Как скомпилировать, ЧЯДНТ
 
Присоединяюсь к вопросу, как собирать пол линуксом.
Проделал все этапы в итоге получил это...
Код:
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:11.601s
[INFO] Finished at: Wed Sep 25 11:44:43 MSK 2013
[INFO] Final Memory: 10M/70M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project mcpc-plus: Could not resolve dependencies for project mcpc:mcpc-plus:jar:1.6.2-R0.2-SNAPSHOT: The following artifacts could not be resolved: net.minecraft.libraries:launchwrapper:jar:1.3, net.minecraft.libraries:lzma:jar:0.0.1: Could not find artifact net.minecraft.libraries:launchwrapper:jar:1.3 in mcpc-mvn-repo-releases (http://github.com/MinecraftPortCentral/mcpc-mvn-repo/raw/master/releases) -> [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
zenit@minecraft-pvp:~/craftbukkit$ mvn clean package
[INFO] Scanning for projects...
[INFO]                                                                     
[INFO] ------------------------------------------------------------------------
[INFO] Building mcpc-plus 1.6.2-R0.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for net.minecraftforge:minecraft-forge:jar:9.10.0.845-R1-MCPC is missing, no dependency information available
[WARNING] The POM for net.minecraft.libraries:launchwrapper:jar:1.3 is missing, no dependency information available
[WARNING] The POM for net.minecraft.libraries:lzma:jar:0.0.1 is missing, no dependency information available
[WARNING] The POM for paulscode:sound:jar:1.1 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.884s
[INFO] Finished at: Wed Sep 25 11:46:25 MSK 2013
[INFO] Final Memory: 8M/88M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project mcpc-plus: Could not resolve dependencies for project mcpc:mcpc-plus:jar:1.6.2-R0.2-SNAPSHOT: The following artifacts could not be resolved: net.minecraft.libraries:launchwrapper:jar:1.3, net.minecraft.libraries:lzma:jar:0.0.1: Failure to find net.minecraft.libraries:launchwrapper:jar:1.3 in http://github.com/MinecraftPortCentral/mcpc-mvn-repo/raw/master/releases was cached in the local repository, resolution will not be reattempted until the update interval of mcpc-mvn-repo-releases has elapsed or updates are forced -> [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
Может кто напишет полный гад от и до.
 
Я уже разобрался как оно, распишу по порядку.

Устанавливаем мавен.
sudo apt-get install maven
Создаем папки
mcpc-api
mcpc-plus
Качаем исходники mcpc-api распаковываем.
Переходим в папку и mcpc-api собираем апи
sudo mvn clean install
Качаем mcpc-plus и fml и распаковыаем mcpc-plus и fml в папку fml.
Переходим в папку mcpc-plus и инсталлим фордж.
python setup.py
Распаковываем eclipse-resources.zip
Дальше инициализируем проект
mvn initialize -P -built from eclipse
И собираем mcpc-plus (Требуется 2гб свободной памяти)
mvn clean package
 
Назад
Верх