This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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>test</groupId> | |
<artifactId>test</artifactId> | |
<version>0.0.0-SNAPSHOT</version> | |
<dependencies> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.annotation.Resource; | |
import javax.ejb.SessionContext; | |
import javax.ejb.Stateless; | |
@Stateless | |
public class MyBean { | |
@Resource | |
private SessionContext ctx; | |
public void doSomething() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(dependencies *) [carlo@palantir metadata]$ mvn -Dverbose=true dependency:tree | |
/usr/lib/jvm/java | |
[INFO] Scanning for projects... | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Reactor Build Order: | |
[INFO] | |
[INFO] JBoss Application Server: Metadata Aggregator | |
[INFO] JBoss Metadata Common | |
[INFO] JBoss Metadata EAR | |
[INFO] JBoss Metadata EJB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<metadata> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-plugins</artifactId> | |
<versioning> | |
<latest>17</latest> | |
<release>17</release> | |
</versioning> | |
</metadata> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ FMVN_REPO=file:/tmp/repo1 ~/work/maven/fedora-maven/tmp/bin/fmvn -X package|head -20 | |
/usr/lib/jvm/java | |
Apache Maven 3.0.3 (rNON-CANONICAL_2011-10-11_11-56_mockbuild; 2011-10-11 13:56:36+0200) | |
Maven home: /usr/share/maven | |
Java version: 1.7.0_b147-icedtea, vendor: Oracle Corporation | |
Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.1.x86_64/jre | |
Default locale: en_US, platform encoding: UTF-8 | |
OS name: "linux", version: "3.2.1-3.fc16.x86_64", arch: "amd64", family: "unix" | |
[INFO] Error stacktraces are turned on. | |
[DEBUG] Reading global settings from /usr/share/maven/conf/settings.xml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.jboss.noxius.bootstrap; | |
import javax.tools.DiagnosticCollector; | |
import javax.tools.JavaCompiler; | |
import javax.tools.JavaFileObject; | |
import javax.tools.StandardJavaFileManager; | |
import javax.tools.ToolProvider; | |
import java.io.Writer; | |
import java.net.URISyntaxException; | |
import java.net.URL; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.File; | |
import java.lang.RuntimeException; | |
import java.lang.String; | |
import java.util.ArrayList; | |
import java.util.Collection; | |
import java.util.Collections; | |
import java.util.List; | |
public class build { | |
private static void compile(final Collection<String> options) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.jboss.noxius.Noxius; | |
import javax.tools.ToolProvider; | |
public class bootstrap { | |
public static void main(final String[] args) throws Exception { | |
Noxius.with(ToolProvider.getSystemToolClassLoader()).execute("build.java", "build", args); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11:52:34,554 INFO [org.jboss.ejb3.deployers.JBossASKernel] installing bean: jboss.j2ee:jar=ejblite_appexception_stateless_annotated_ejbliteservlet_vehicle_web.war,name=AppExceptionBean,service=EJB3 | |
11:52:34,555 INFO [org.jboss.ejb3.deployers.JBossASKernel] with dependencies: | |
11:52:34,555 INFO [org.jboss.ejb3.deployers.JBossASKernel] and demands: | |
11:52:34,555 INFO [org.jboss.ejb3.deployers.JBossASKernel] jboss.ejb:service=EJBTimerService; Required: Described | |
11:52:34,555 INFO [org.jboss.ejb3.deployers.JBossASKernel] and supplies: | |
11:52:34,555 INFO [org.jboss.ejb3.deployers.JBossASKernel] jndi:cts/ejblite_appexception_stateless_annotated_ejbliteservlet_vehicle_web.war/AppExceptionBean!local | |
11:52:34,556 INFO [org.jboss.ejb3.deployers.JBossASKernel] jndi:cts/ejblite_appexception_stateless_annotated_ejbliteservlet_vehicle_web.war/AppExceptionBean!com.sun.ts.tests.ejb30.common.appexception.AppExceptionLocalIF | |
11:52:34,556 INFO [org.jboss.ejb3.deployers.JBossASKernel] Class:com.sun.ts.tests.ejb30. |