Skip to content

FTBFS  #1

@mcepl

Description

@mcepl

With git master and Android SDK rev. 19 I get this when (after running android update project -p . --target 15 and running mvn I get this.

wycliff:PocketBox (master) $ mvn -X
/usr/lib/jvm/java
Apache Maven 3.0.3 (rNON-CANONICAL_2011-12-13_08-47_mockbuild; 2011-12-13 14:47:49+0100)
Maven home: /usr/share/maven
Java version: 1.7.0_03-icedtea, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre
Default locale: cs_CZ, platform encoding: UTF-8
OS name: "linux", version: "3.3.0-0.11.el7.x86_64", arch: "amd64", family: "unix"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /usr/share/maven/conf/settings.xml
[DEBUG] Reading user settings from /home/matej/.m2/settings.xml
[DEBUG] Using local repository at /home/matej/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for /home/matej/.m2/repository
[INFO] Scanning for projects...
[DEBUG] com.jayway.maven.plugins.android.generation2:maven-android-plugin:jar:2.3.3:
[DEBUG]    org.apache.maven:maven-artifact:jar:2.2.1:compile
[DEBUG]    org.apache.maven:maven-model:jar:2.2.1:compile
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.2.1:compile
[DEBUG]    org.apache.maven:maven-project:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-settings:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-profile:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
[DEBUG]          backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
[DEBUG]       org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
[DEBUG]    org.apache.maven:maven-core:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-plugin-parameter-documenter:jar:2.2.1:compile
[DEBUG]       org.slf4j:slf4j-jdk14:jar:1.5.6:runtime
[DEBUG]          org.slf4j:slf4j-api:jar:1.5.6:runtime
[DEBUG]       org.slf4j:jcl-over-slf4j:jar:1.5.6:runtime
[DEBUG]       org.apache.maven.reporting:maven-reporting-api:jar:2.2.1:compile
[DEBUG]          org.apache.maven.doxia:doxia-sink-api:jar:1.1:compile
[DEBUG]          org.apache.maven.doxia:doxia-logging-api:jar:1.1:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
[DEBUG]       org.apache.maven:maven-error-diagnostics:jar:2.2.1:compile
[DEBUG]       commons-cli:commons-cli:jar:1.2:compile
[DEBUG]       org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile
[DEBUG]       org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4:compile
[DEBUG]       org.apache.maven:maven-monitor:jar:2.2.1:compile
[DEBUG]       classworlds:classworlds:jar:1.1:compile
[DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG]    org.apache.maven.plugins:maven-dependency-plugin:jar:2.1:compile
[DEBUG]       org.apache.maven.shared:file-management:jar:1.1:compile
[DEBUG]          org.apache.maven.shared:maven-shared-io:jar:1.0:compile
[DEBUG]             org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6:compile
[DEBUG]       org.apache.maven.shared:maven-dependency-analyzer:jar:1.1:compile
[DEBUG]       org.apache.maven.shared:maven-dependency-tree:jar:1.2:compile
[DEBUG]       org.apache.maven.shared:maven-common-artifact-filters:jar:1.0:compile
[DEBUG]          org.apache.maven.shared:maven-plugin-testing-harness:jar:1.1:compile
[DEBUG]       org.apache.maven.reporting:maven-reporting-impl:jar:2.0.4:compile
[DEBUG]          commons-validator:commons-validator:jar:1.2.0:compile
[DEBUG]             commons-beanutils:commons-beanutils:jar:1.7.0:compile
[DEBUG]             commons-digester:commons-digester:jar:1.6:compile
[DEBUG]                commons-collections:commons-collections:jar:2.1:compile
[DEBUG]             commons-logging:commons-logging:jar:1.0.4:compile
[DEBUG]             xml-apis:xml-apis:jar:1.0.b2:compile
[DEBUG]          org.apache.maven.doxia:doxia-core:jar:1.0-alpha-7:compile
[DEBUG]          oro:oro:jar:2.0.7:compile
[DEBUG]          org.apache.maven.doxia:doxia-site-renderer:jar:1.0-alpha-7:compile
[DEBUG]             org.codehaus.plexus:plexus-i18n:jar:1.0-beta-6:compile
[DEBUG]             org.codehaus.plexus:plexus-velocity:jar:1.1.2:compile
[DEBUG]                plexus:plexus-utils:jar:1.0.2:compile
[DEBUG]                velocity:velocity:jar:1.4:compile
[DEBUG]                   velocity:velocity-dep:jar:1.4:runtime
[DEBUG]             org.apache.maven.doxia:doxia-decoration-model:jar:1.0-alpha-7:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:2.0.1:compile
[DEBUG]    org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-12:compile
[DEBUG]    org.codehaus.plexus:plexus-io:jar:1.0-alpha-5:compile
[DEBUG]    org.codehaus.plexus:plexus-container-default:jar:1.2.1.4:compile
[DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.1.0:compile
[DEBUG]       org.apache.xbean:xbean-reflect:jar:3.4:compile
[DEBUG]          log4j:log4j:jar:1.2.12:compile
[DEBUG]          commons-logging:commons-logging-api:jar:1.1:compile
[DEBUG]       com.google.code.google-collections:google-collect:jar:snapshot-20080530:compile
[DEBUG]       junit:junit:jar:3.8.2:compile
[DEBUG]    org.codehaus.plexus:plexus-component-api:jar:1.0-alpha-20:compile
[DEBUG]    commons-jxpath:commons-jxpath:jar:1.3:compile
[DEBUG]    commons-io:commons-io:jar:1.4:compile
[DEBUG]    asm:asm:jar:3.2:compile
[DEBUG]    commons-lang:commons-lang:jar:2.4:compile
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG]   Imported: org.sonatype.aether.transfer < plexus.core
[DEBUG]   Imported: org.apache.maven.exception < plexus.core
[DEBUG]   Imported: org.sonatype.aether.metadata < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG]   Imported: org.sonatype.aether.collection < plexus.core
[DEBUG]   Imported: org.sonatype.aether.version < plexus.core
[DEBUG]   Imported: org.apache.maven.monitor < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG]   Imported: org.apache.maven.profiles < plexus.core
[DEBUG]   Imported: org.sonatype.aether.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
[DEBUG]   Imported: org.apache.maven.execution < plexus.core
[DEBUG]   Imported: org.sonatype.aether.artifact < plexus.core
[DEBUG]   Imported: org.sonatype.aether.spi < plexus.core
[DEBUG]   Imported: org.apache.maven.reporting < plexus.core
[DEBUG]   Imported: org.apache.maven.usability < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG]   Imported: org.sonatype.aether.graph < plexus.core
[DEBUG]   Imported: org.sonatype.aether.* < plexus.core
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG]   Imported: org.codehaus.classworlds < plexus.core
[DEBUG]   Imported: org.sonatype.aether.impl < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
[DEBUG]   Imported: org.sonatype.aether.deployment < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG]   Imported: org.apache.maven.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.cli < plexus.core
[DEBUG]   Imported: org.sonatype.aether.installation < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG]   Imported: org.apache.maven.project < plexus.core
[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.model < plexus.core
[DEBUG]   Imported: org.apache.maven.* < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG]   Imported: org.sonatype.aether.resolution < plexus.core
[DEBUG]   Imported: org.apache.maven.plugin < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG] Populating class realm maven.api
[DEBUG] Created new class realm extension>com.jayway.maven.plugins.android.generation2:maven-android-plugin:2.3.3
[DEBUG] Importing foreign packages into class realm extension>com.jayway.maven.plugins.android.generation2:maven-android-plugin:2.3.3
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm extension>com.jayway.maven.plugins.android.generation2:maven-android-plugin:2.3.3
[DEBUG]   Included: com.jayway.maven.plugins.android.generation2:maven-android-plugin:jar:2.3.3
[DEBUG]   Included: backport-util-concurrent:backport-util-concurrent:jar:3.1
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.11
[DEBUG]   Included: org.slf4j:slf4j-jdk14:jar:1.5.6
[DEBUG]   Included: org.slf4j:slf4j-api:jar:1.5.6
[DEBUG]   Included: org.slf4j:jcl-over-slf4j:jar:1.5.6
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-api:jar:2.2.1
[DEBUG]   Included: org.apache.maven.doxia:doxia-sink-api:jar:1.1
[DEBUG]   Included: org.apache.maven.doxia:doxia-logging-api:jar:1.1
[DEBUG]   Included: commons-cli:commons-cli:jar:1.2
[DEBUG]   Included: org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG]   Included: org.apache.maven.plugins:maven-dependency-plugin:jar:2.1
[DEBUG]   Included: org.apache.maven.shared:file-management:jar:1.1
[DEBUG]   Included: org.apache.maven.shared:maven-shared-io:jar:1.0
[DEBUG]   Included: org.apache.maven.shared:maven-dependency-analyzer:jar:1.1
[DEBUG]   Included: org.apache.maven.shared:maven-dependency-tree:jar:1.2
[DEBUG]   Included: org.apache.maven.shared:maven-common-artifact-filters:jar:1.0
[DEBUG]   Included: org.apache.maven.shared:maven-plugin-testing-harness:jar:1.1
[DEBUG]   Included: org.apache.maven.reporting:maven-reporting-impl:jar:2.0.4
[DEBUG]   Included: commons-validator:commons-validator:jar:1.2.0
[DEBUG]   Included: commons-beanutils:commons-beanutils:jar:1.7.0
[DEBUG]   Included: commons-digester:commons-digester:jar:1.6
[DEBUG]   Included: commons-collections:commons-collections:jar:2.1
[DEBUG]   Included: commons-logging:commons-logging:jar:1.0.4
[DEBUG]   Included: xml-apis:xml-apis:jar:1.0.b2
[DEBUG]   Included: org.apache.maven.doxia:doxia-core:jar:1.0-alpha-7
[DEBUG]   Included: oro:oro:jar:2.0.7
[DEBUG]   Included: org.apache.maven.doxia:doxia-site-renderer:jar:1.0-alpha-7
[DEBUG]   Included: org.codehaus.plexus:plexus-i18n:jar:1.0-beta-6
[DEBUG]   Included: org.codehaus.plexus:plexus-velocity:jar:1.1.2
[DEBUG]   Included: plexus:plexus-utils:jar:1.0.2
[DEBUG]   Included: velocity:velocity:jar:1.4
[DEBUG]   Included: velocity:velocity-dep:jar:1.4
[DEBUG]   Included: org.apache.maven.doxia:doxia-decoration-model:jar:1.0-alpha-7
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:2.0.1
[DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-12
[DEBUG]   Included: org.codehaus.plexus:plexus-io:jar:1.0-alpha-5
[DEBUG]   Included: org.apache.xbean:xbean-reflect:jar:3.4
[DEBUG]   Included: log4j:log4j:jar:1.2.12
[DEBUG]   Included: commons-logging:commons-logging-api:jar:1.1
[DEBUG]   Included: com.google.code.google-collections:google-collect:jar:snapshot-20080530
[DEBUG]   Included: junit:junit:jar:3.8.2
[DEBUG]   Included: commons-jxpath:commons-jxpath:jar:1.3
[DEBUG]   Included: commons-io:commons-io:jar:1.4
[DEBUG]   Included: asm:asm:jar:3.2
[DEBUG]   Included: commons-lang:commons-lang:jar:2.4
[DEBUG] Extension realms for project com.bjdodson:PocketBox:apk:0.1: [ClassRealm[extension>com.jayway.maven.plugins.android.generation2:maven-android-plugin:2.3.3, parent: sun.misc.Launcher$AppClassLoader@58a1a199]]
[DEBUG] Created new class realm project>com.bjdodson:PocketBox:0.1
[DEBUG] Populating class realm project>com.bjdodson:PocketBox:0.1
[DEBUG] Looking up lifecyle mappings for packaging apk from ClassRealm[project>com.bjdodson:PocketBox:0.1, parent: ClassRealm[maven.api, parent: null]]
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for com.bjdodson:PocketBox:apk:0.1
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 33, column 15
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.409s
[INFO] Finished at: Wed May 02 20:57:11 CEST 2012
[INFO] Final Memory: 8M/102M
[INFO] ------------------------------------------------------------------------
[ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]
org.apache.maven.lifecycle.NoGoalSpecifiedException: No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy.
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:104)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:321)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:158)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException
wycliff:PocketBox (master) $ 

x

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions