include_recipe "apt"
apt_repository "jenkins" do
uri "http://pkg.jenkins-ci.org/debian"
components ["binary/"]
key "http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key"
action :add
end
package "jenkins" do
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building simple-project 1.0.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ simple-project --- | |
[INFO] Deleting /Volumes/mac-data/dev/github/sonatype/nexus-book-examples/maven/simple-project/target | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ simple-project --- |
/** | |
* init.gradle file for development using Nexus as proxy repository | |
* | |
* @author Manfred Moser <[email protected] | |
*/ | |
apply plugin:NexusRepositoryPlugin | |
class NexusRepositoryPlugin implements Plugin<Gradle> { |
[INFO] | |
[INFO] --- android-maven-plugin:3.7.1-SNAPSHOT:ndk-build (default) @ mixed-java-native-with-apklib-dependency --- | |
[INFO] Creating native output directory /Volumes/mac-data/dev/github/jayway/maven-android-plugin-samples/native/mixed-java-native-with-apklib-dependency/obj/local/armeabi | |
Downloading: http://localhost:8081/nexus/content/groups/public/com/jayway/maven/plugins/android/generation2/samples/native-apklib/1.0.0-SNAPSHOT/native-apklib-1.0.0-SNAPSHOT.har | |
[ERROR] Error during build: Error while resolving header archive file for: native-apklib | |
org.apache.maven.plugin.MojoExecutionException: Error while resolving header archive file for: native-apklib | |
at com.jayway.maven.plugins.android.phase05compile.MakefileHelper.createMakefileFromArtifacts(MakefileHelper.java:226) | |
at com.jayway.maven.plugins.android.phase05compile.NdkBuildMojo.execute(NdkBuildMojo.java:392) | |
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106) | |
at org.apache.maven.lifecycle.intern |
#!/bin/sh | |
SONATYPE_CLM_SERVER_HOME=/opt/tools/sonatype-clm-server | |
VERSION=1.6.0-02 | |
JAVA_OPTIONS="-Xmx1024m -XX:MaxPermSize=128m" | |
do_start() | |
{ | |
cd $SONATYPE_CLM_SERVER_HOME | |
java -jar $JAVA_OPTIONS sonatype-clm-server-$VERSION.jar server config.yml > /dev/null 2>&1 & |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.6.1-SNAPSHOT:apk (default-apk) on project instrumentationtests: Error while processing transient dependencies: org.eclipse.aether.internal.impl.ObjectPool cannot be cast to org.eclipse.aether.internal.impl.ObjectPool -> [Help 1] | |
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.6.1-SNAPSHOT:apk (default-apk) on project instrumentationtests: Error while processing transient dependencies | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) | |
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84 |
[INFO] [INFO] Installing | |
/Volumes/mac-data/dev/github/simpligility/progressive-company-super-pom/target/checkout/target/progressive-company-super-pom-0.0.6.pom.asc | |
to /Users/manfred/.m2/repository/com/simpligility/maven/progressive-company-super-pom/0.0.6/progressive-company-super-pom-0.0.6.pom.asc | |
[INFO] [INFO] | |
[INFO] [INFO] --- nexus-staging-maven-plugin:1.2:deploy | |
(injected-nexus-deploy) @ progressive-company-super-pom --- | |
[INFO] [INFO] Performing local staging (local | |
stagingDirectory="/Volumes/mac-data/dev/github/simpligility/progressive-company-super-pom/target/checkout/target/nexus-staging")... | |
[INFO] [INFO] Using server credentials with ID="ossrh-releases" from | |
Maven settings. |
No repo hooked in, empty local repository, Maven 3.0.4 | |
mvn archetype:generate -Dfilter=nexus-plugin-archetype | |
[INFO] Scanning for projects... | |
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom | |
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom (5 KB at 11.6 KB/sec) | |
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom | |
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugins/18/maven-plugins-18.pom (13 KB at 127.0 KB/sec) | |
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/maven-parent/16/maven-parent-16.pom |
package android.support.v4.app; | |
import android.os.Bundle; | |
import android.os.Handler; | |
import android.view.ContextMenu; | |
import android.view.ContextMenu.ContextMenuInfo; | |
import android.view.Gravity; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.View.OnCreateContextMenuListener; |
<?xml version="1.0" encoding="UTF-8"?> | |
<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/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.twitli.test</groupId> | |
<artifactId>robofragmenttest</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<packaging>apk</packaging> | |
<dependencies> | |
<dependency> |
include_recipe "apt"
apt_repository "jenkins" do
uri "http://pkg.jenkins-ci.org/debian"
components ["binary/"]
key "http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key"
action :add
end
package "jenkins" do