This file contains 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
diff --git a/modello-plugins/modello-plugin-java/src/main/java/org/codehaus/modello/plugin/java/JavaModelloGenerator.java b/modello-plugins/modello-plugin-java/src/main/java/org/codehaus/modello/plugin/java/JavaModelloGenerator.java | |
index 02cd39e..6f2e81e 100644 | |
--- a/modello-plugins/modello-plugin-java/src/main/java/org/codehaus/modello/plugin/java/JavaModelloGenerator.java | |
+++ b/modello-plugins/modello-plugin-java/src/main/java/org/codehaus/modello/plugin/java/JavaModelloGenerator.java | |
@@ -1680,7 +1680,21 @@ public class JavaModelloGenerator | |
} | |
else | |
{ | |
- sc.add( "if ( ! get" + capitalise( modelAssociation.getName() ) + "().contains( " + uncapitalise( | |
+ JavaAssociationMetadata javaAssociationMetadata = |
This file contains 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
%YAML 1.1 | |
--- | |
"modelVersion": "4.0.0" | |
"parent": | |
"groupId": "org.codehaus.modello" | |
"artifactId": "modello" | |
"version": "1.8-SNAPSHOT" | |
"groupId": "org.codehaus.modello" | |
"artifactId": "bundles.model" | |
"version": "1.0.0-SNAPSHOT" |
This file contains 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
{ | |
"modelVersion" : "4.0.0", | |
"parent" : { | |
"groupId" : "org.codehaus.modello", | |
"artifactId" : "modello", | |
"version" : "1.8-SNAPSHOT" | |
}, | |
"groupId" : "org.codehaus.modello", | |
"artifactId" : "bundles.model", | |
"version" : "1.0.0-SNAPSHOT", |
This file contains 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
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Acme Content Package Maven Plugin 0.0.21-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ content-package-maven-plugin --- | |
[INFO] com.acme:content-package-maven-plugin:maven-plugin:0.0.21-SNAPSHOT | |
[INFO] +- org.apache.maven:maven-core:jar:3.0.5:compile | |
[INFO] | +- org.apache.maven:maven-model:jar:3.0.5:compile |
This file contains 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"?> | |
<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> | |
<parent> | |
<groupId>com.acme</groupId> | |
<artifactId>content-package-maven-plugin-parent</artifactId> | |
<version>0.0.21-SNAPSHOT</version> | |
</parent> | |
<!-- ====================================================================== --> | |
<!-- P R O J E C T D E S C R I P T I O N --> |
This file contains 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.apache.commons.digester3; | |
import static org.junit.Assert.assertFalse; | |
import static org.junit.Assert.assertTrue; | |
import java.io.StringReader; | |
import org.junit.Before; | |
import org.junit.Test; |
This file contains 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
$ ls /Users/stripodi/Downloads/sling/startup/0 | |
commons-collections-3.2.1.jar org.apache.sling.auth.selector-1.0.4.jar org.apache.sling.jcr.ocm-2.0.4-incubator.jar | |
commons-fileupload-1.2.2.jar org.apache.sling.bundleresource.impl-2.0.6.jar org.apache.sling.jcr.resource-2.0.10.jar | |
commons-io-1.4.jar org.apache.sling.commons.classloader-1.2.2.jar org.apache.sling.launchpad.content-2.0.6.jar | |
commons-lang-2.5.jar org.apache.sling.commons.mime-2.1.4.jar org.apache.sling.launchpad.installer-1.0.0.jar | |
groovy-all-1.7.4.jar org.apache.sling.commons.osgi-2.0.6.jar org.apache.sling.scripting.api-2.1.2.jar | |
org.apache.aries.jmx.api-0.3.jar org.apache.sling.commons.scheduler-2.2.0.jar org.apache.sling.scripting.core-2.0.16.jar | |
org.apache.aries.jmx.core-0.3.jar org.apache.sling.commons.threads-3.1.0.jar org.apache.sling.scripting.javascript-2.0.12.jar | |
org.apache.aries.jmx.whiteboard-0.3.jar org.apache.sling.engine-2.2.2.jar org.apache.sling.scripting.jsp-2.0.14.jar | |
org.apache.aries.util-0. |
This file contains 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
$ ls /Applications/eclipse/plugins | |
ch.qos.logback.classic_1.0.0.v20111214-2030.jar org.eclipse.jst.ejb.doc.user_1.1.301.v201105130956.jar | |
ch.qos.logback.core_1.0.0.v20111214-2030.jar org.eclipse.jst.ejb.ui.infopop_1.0.300.v2010022311013.jar | |
ch.qos.logback.slf4j_1.0.0.v20120123-1500.jar org.eclipse.jst.ejb.ui_1.1.700.v201201190500.jar | |
com.basistech.m2e.code.quality.checkstyle_1.0.0.201211052156.jar org.eclipse.jst.j2ee.core_1.2.200.v201205030130.jar | |
com.basistech.m2e.code.quality.shared_1.0.0.201211052156.jar org.eclipse.jst.j2ee.doc.user_1.1.400.v201008122303.jar | |
com.collabnet.subversion.merge_3.0.12.jar org.eclipse.jst.j2ee.ejb.annotation.model_1.1.300.v201003112036.jar | |
com.ibm.icu_4.4.2.v20110823.jar org.eclipse.jst.j2ee.ejb.annotations.emitter_1.1.200.v200909290826.jar | |
com.jcraft.jsch_0.1.46.v201205102330.jar org.eclipse.jst.j2ee.ejb.annotations.ui_1.1.200.v201004290730.jar | |
com.ning.async-http-client_1.6.5.20120903-0645.jar org.eclipse.jst.j2ee.ejb.annotat |
This file contains 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
$ git clone https://github.com/yahoo/omid.git | |
Cloning into omid... | |
remote: Counting objects: 782, done. | |
remote: Compressing objects: 100% (481/481), done. | |
remote: Total 782 (delta 337), reused 588 (delta 143) | |
Receiving objects: 100% (782/782), 425.58 KiB | 274 KiB/s, done. | |
Resolving deltas: 100% (337/337), done. | |
Simones-MacBook-Pro:tmp simonetripodi$ cd omid/ | |
Simones-MacBook-Pro:omid simonetripodi$ mvn package | |
[INFO] Scanning for projects... |
This file contains 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
final class MyResponseFilter | |
implements ResponseFilter | |
{ | |
@Override | |
public FilterContext filter( FilterContext ctx ) | |
throws FilterException | |
{ | |
if ( somethingMagicHappens ) | |
{ | |
RequestBuilder authRequestBuilder = new RequestBuilder( "POST" ) |