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
/* | |
* JBoss, Home of Professional Open Source | |
* Copyright (c) 2010, Red Hat Middleware LLC, and individual contributors | |
* as indicated by the @authors tag. See the copyright.txt in the | |
* distribution for a full listing of individual contributors. | |
* | |
* This is free software; you can redistribute it and/or modify it | |
* under the terms of the GNU Lesser General Public License as | |
* published by the Free Software Foundation; either version 2.1 of | |
* the License, or (at your option) any later version. |
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
interface ResourceProvider<D, R> { | |
Resource provide(D deployment, R ref); | |
} | |
interface Resource { | |
Object getDependency(); | |
Object getTarget(); | |
} |
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
interface Node { | |
D getDescriptor(Class<D> type); | |
String getName(); | |
} | |
interface DescribedJavaEEServer extends Node { | |
Collection<DescribedJavaEEApplication> getApplications(); | |
} | |
interface DescribedJavaEEApplication extends Node { |
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. |
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
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
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
$ 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
<?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> |