Мне удалось продолжить процесс, когда я был подключен к другой беспроводной сети на своем рабочем месте. может быть, что-то ограничивает функциональность maven моей домашней сетью?
Хотя даже с вариантами, чтобы выбрать правильный каталог архетипа, я все еще получаю ошибку сборки неудачи, вот лог - любые направления будут оценены
mvn -DarchetypeCatalog=http://maven.openimaj.org/archetype-catalog.xml
archetype:generate
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom >>>
[INFO]
[INFO] <<< maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom <<<
[INFO]
[INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
[INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
1: http://maven.openimaj.org/archetype-catalog.xml -> org.apache.maven.archetypes:maven-archetype-quickstart (An archetype which contains a sample Maven project.)
2: http://maven.openimaj.org/archetype-catalog.xml -> org.openimaj:openimaj-quickstart-archetype (Maven quickstart archetype for OpenIMAJ)
3: http://maven.openimaj.org/archetype-catalog.xml -> org.openimaj:openimaj-subproject-archetype (Maven archetype for creating OpenIMAJ subprojects with the most of the standard configuration completed automatically)
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): 1: 1
Define value for property 'groupId': : com.onetwoclick
Define value for property 'artifactId': : OpenImajEXP
Define value for property 'version': 1.0-SNAPSHOT: :
Define value for property 'package': com.onetwoclick: :
Confirm properties configuration:
groupId: com.onetwoclick
artifactId: OpenImajEXP
version: 1.0-SNAPSHOT
package: com.onetwoclick
Y: :
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Old (1.x) Archetype: maven-archetype-quickstart:1.1
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: com.onetwoclick
[INFO] Parameter: packageName, Value: com.onetwoclick
[INFO] Parameter: package, Value: com.onetwoclick
[INFO] Parameter: artifactId, Value: OpenImajEXP
[INFO] Parameter: basedir, Value: /Users/alon.zouaretz
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] project created from Old (1.x) Archetype in dir: /Users/alon.zouaretz/OpenImajEXP
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:21.756s
[INFO] Finished at: Mon Jun 24 14:35:19 EDT 2013
[INFO] Final Memory: 7M/81M
[INFO] ------------------------------------------------------------------------
nyc0-mbook-1015:~ alon.zouaretz$ cd OpenImajEXP
nyc0-mbook-1015:OpenImajEXP alon.zouaretz$ mvn assembly:assembly
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenImajEXP 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-assembly-plugin:2.2-beta-5:assembly (default-cli) @ OpenImajEXP >>>
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ OpenImajEXP ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/alon.zouaretz/OpenImajEXP/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ OpenImajEXP ---
[INFO] Compiling 1 source file to /Users/alon.zouaretz/OpenImajEXP/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ OpenImajEXP ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/alon.zouaretz/OpenImajEXP/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ OpenImajEXP ---
[INFO] Compiling 1 source file to /Users/alon.zouaretz/OpenImajEXP/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ OpenImajEXP ---
[INFO] Surefire report directory: /Users/alon.zouaretz/OpenImajEXP/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.onetwoclick.AppTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ OpenImajEXP ---
[INFO] Building jar: /Users/alon.zouaretz/OpenImajEXP/target/OpenImajEXP-1.0-SNAPSHOT.jar
[INFO]
[INFO] <<< maven-assembly-plugin:2.2-beta-5:assembly (default-cli) @ OpenImajEXP <<<
[INFO]
[INFO] --- maven-assembly-plugin:2.2-beta-5:assembly (default-cli) @ OpenImajEXP ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.031s
[INFO] Finished at: Mon Jun 24 14:36:26 EDT 2013
[INFO] Final Memory: 10M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5:assembly (default-cli) on project OpenImajEXP: Error reading assemblies: No assembly descriptors found. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Еще раз спасибо за любые мысли по этому вопросу!
Что касается первой проблемы, то, что делает «свернуться -vvv http://maven.openimaj.org/archetype-catalog.xml» (ротор должен быть на mac по умолчанию) печать из домашней сети? – Jon
Что касается второго, похоже, вы выбрали неправильный архетип - вы выбрали 1 (org.apache.maven.archetypes: maven-archetype-quickstart), но вы должны были выбрать 2 (org.openimaj: openimaj-quickstart-archetype) – Jon