Instantly share code, notes, and snippets.

Embed
What would you like to do?
Normal Factory Json
{
"project": {
"name": "eXoEmptyExtensionAddOn",
"visibility": "public",
"type": "maven",
"builders":{
"default":"maven"
},
"runners":{
"configs":{
"project:/docker/exo-empty-extension":{
"ram":4096,
"variables":{
},
"options":{
}
}
},
"default":"project:/docker/exo-empty-extension"
},
"description":"eXo Platform 4.1 with an empty addon skeleton.",
"attributes": {}
},
"source": {
"project": {
"location": "https://github.com/teknologist/exo-empty-extension.git",
"type": "git",
"parameters": {
"commitId": "1c8d67612df4c2d388f82c18d3f22a0e5d96d5ca"
}
},
"runners": {
"/docker/exo-empty-extension" : {
"location" : "https://gist.githubusercontent.com/teknologist/ff5ae3149acbe0dab1b7/raw/2958a761771a4dee5625d07812fa297dd4743514/exo-empty-extension-docker-runner"
}
}
},
"actions": {
"findReplace" : [
{
"files" : [
"pom.xml"
],
"entries" : [
{
"find":"<modelVersion>4.0.0<\/modelVersion>",
"replace" : "<modelVersion>4.0.0</modelVersion> <repositories><repository><id>exo-public-repository-group</id><name>eXo Public Maven Repository Group</name><url>http://repository.exoplatform.org/public</url><layout>default</layout><releases><enabled>true</enabled><updatePolicy>never</updatePolicy></releases><snapshots><enabled>true</enabled><updatePolicy>never</updatePolicy></snapshots></repository></repositories>",
"replacemode" : "text_multipass"
}
]
}
]
},
"variables": [],
"v": "2.0"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment