Skip to content

Instantly share code, notes, and snippets.

View jvanzyl's full-sized avatar

Jason van Zyl jvanzyl

  • Guelph, Ontario, Canada
View GitHub Profile
# Maven Dev Hangout -- April 9th, 2015
## Preparing for Maven 3.3.2
There is a critical issue where core extensions cannot be used from authenticated repos, and an issue with Wagon causing issues for some users trying to stage to Nexus. The core extensions issue has been resolved but I'm looking at the Wagon issue for Jan from the Tycho project.
## Polyglot for Maven
We've done several releases of Polyglot for Maven. The JRuby folks are still working on switching over to Maven 3.3.1
Errors occurred during the build.
Errors running builder 'Java Builder' on project 's3s3mirror'.
Bad type on operand stack
Exception Details:
Location:
org/eclipse/jdt/internal/compiler/ast/MessageSend.resolveType(Lorg/eclipse/jdt/internal/compiler/lookup/BlockScope;)Lorg/eclipse/jdt/internal/compiler/lookup/TypeBinding; @630: putfield
Reason:
Type 'java/lang/Object' (current frame, stack[1]) is not assignable to 'org/eclipse/jdt/internal/compiler/lookup/MethodBinding'
Current Frame:
bci: @630
bash-3.2$ mvn clean package -Dmaven.repo.local=repo
Downloading: https://repo.maven.apache.org/maven2/io/takari/maven/takari-smart-builder/0.4.0/takari-smart-builder-0.4.0.pom
Downloaded: https://repo.maven.apache.org/maven2/io/takari/maven/takari-smart-builder/0.4.0/takari-smart-builder-0.4.0.pom (7 KB at 4.2 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/io/takari/takari/14/takari-14.pom
Downloaded: https://repo.maven.apache.org/maven2/io/takari/takari/14/takari-14.pom (14 KB at 68.9 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/io/takari/maven/takari-smart-builder/0.4.0/takari-smart-builder-0.4.0.jar
Downloaded: https://repo.maven.apache.org/maven2/io/takari/maven/takari-smart-builder/0.4.0/takari-smart-builder-0.4.0.jar (34 KB at 133.9 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/io/takari/aether/takari-concurrent-localrepo/0.0.7/takari-concurrent-localrepo-0.0.7.pom
Downloaded: https://repo.maven.apache.org/maven2/io/takari/aether/takari-concurrent-localrepo/0.0.7/taka
bash-3.2$ mvn clean package
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Groovy Maven Love 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ groovy-project ---
[INFO] Deleting /Users/jvanzyl/js/takari/polyglot-maven-examples/groovy/target
[INFO]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project maven: Error generating maven-javadoc-plugin:2.9.1:aggregate:
[ERROR] Exit code: 1 - javadoc: warning - Error fetching URL: http://junit.org/javadoc/4.10/
[ERROR] javadoc: warning - Error fetching URL: http://download.eclipse.org/aether/aether-core/1.0.2.v20150114/apidocs/
[ERROR] /Users/jvanzyl/js/tesla/maven/maven-model/target/generated-sources/modello/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java:543: warning: no description for @param
[ERROR] * @param reader
[ERROR] ^
[ERROR] /Users/jvanzyl/js/tesla/maven/maven-model/target/generated-sources/modello/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java:544: warning: no description for @param
[ERROR] * @param strict
[ERROR] ^
[ERROR] /Users/jvanzyl/js/tesla/maven/maven-model/target/generated-sources/modello/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java:545: warning: no description for @throws
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] JRuby .............................................. SUCCESS [ 0.391 s]
[INFO] JRuby Core ......................................... SUCCESS [ 37.593 s]
[INFO] JRuby Truffle ...................................... SUCCESS [ 37.574 s]
[INFO] JRuby Lib Setup .................................... SUCCESS [ 9.409 s]
[INFO] JRuby Artifacts .................................... SUCCESS [ 0.011 s]
[INFO] JRuby Stdlib ....................................... SUCCESS [ 3.054 s]
[INFO] JRuby Main Maven Artifact .......................... SUCCESS [ 0.234 s]
<assembly>
<artifactSet to="/">
<artifact id="org.apache.maven:apache-maven:tar.gz:bin:${mavenVersion}">
<unpack useRoot="false" excludes="LICENSE,NOTICE,README.txt,lib/slf4j-simple**,lib/wagon-file*,lib/wagon-http*,conf/logging/**,**/*.license"/>
*.license"/>
</artifact>
</artifactSet>
<!-- Additional libraries -->
<assembly>
<artifactSet to="/">
<artifact id="org.apache.maven:apache-maven:tar.gz:bin:${mavenVersion}">
<!--
<unpack useRoot="false" excludes="LICENSE,NOTICE,README.txt,lib/slf4j-simple**,lib/wagon-file*,lib/wagon-http*,conf/logging/**,**/*.license"/>
-->
<unpack useRoot="false" excludes="LICENSE,NOTICE,README.txt,lib/slf4j-simple**,lib/wagon-file*,conf/logging/**,**/*.license"/>
</artifact>
</artifactSet>
package io.provis.provision;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import com.google.common.io.ByteStreams;
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by maven-plugin-tools 3.2 on 2015-01-14 -->
<plugin>
<name>Apache Maven JAR Plugin</name>
<description>Builds a Java Archive (JAR) file from the compiled project classes and resources.</description>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.6-SNAPSHOT</version>