org.wso2.greg governance-parent 5.4.1-SNAPSHOT ../../pom.xml 4.0.0 wso2greg jar WSO2 Governance Registry - Distribution http://wso2.com/products/governance-registry WSO2 Governance Registry Distribution org.apache.ant ant 1.7.0 ant-contrib ant-contrib 1.0b2 org.wso2.carbon wso2carbon-core ${carbon.kernel.version} zip org.wso2.carbon.registry org.wso2.carbon.registry.admin.api ${carbon.registry.version} docs zip org.wso2.carbon.registry org.wso2.carbon.registry.ws.api ${carbon.registry.version} docs zip org.wso2.carbon.registry org.wso2.carbon.registry.social.api ${carbon.registry.version} docs zip org.wso2.carbon.governance org.wso2.carbon.governance.api ${carbon.governance.version} docs zip org.wso2.carbon.registry org.wso2.carbon.registry.jcr ${carbon.registry.version} org.wso2.greg checkin-client org.wso2.greg org.wso2.carbon.governance.samples.shutterbug org.wso2.greg org.wso2.carbon.governance.samples.shutterbug.ui org.wso2.greg org.wso2.carbon.registry.samples.custom.topics org.wso2.greg org.wso2.carbon.registry.samples.custom.topics.ui org.wso2.greg org.wso2.carbon.registry.samples.handler org.wso2.carbon.registry org.wso2.carbon.registry.handler ${carbon.registry.version} org.codehaus.woodstox wstx-asl 3.2.4 runtime org.wso2.carbon.governance org.wso2.carbon.governance.client ${carbon.governance.version} runtime org.wso2.carbon.registry org.wso2.carbon.registry.indexing.stub ${carbon.registry.version} runtime org.apache.juddi.scout scout 1.2.6 javax.xml jaxr-api 1.0_04 org.apache.juddi juddi-client 3.1.3 org.apache.juddi uddi-ws 3.1.3 commons-lang commons-lang 2.6 org.apache.velocity velocity 1.7 net.sf.ehcache ehcache-core 2.5.1 org.apache.httpcomponents httpasyncclient 4.0-beta3 org.apache.httpcomponents.wso2 httpclient 4.2.5.wso2v1 org.apache.httpcomponents.wso2 httpcore 4.3.0.wso2v1 org.apache.httpcomponents.wso2 httpcore-nio 4.3.0.wso2v1 javax.ws.rs javax.ws.rs-api 2.0-m10 com.sun.xml.bind jaxb-impl 2.1.13 com.sun.xml.bind jaxb-xjc 2.1.13 org.apache.neethi neethi 3.0.2 org.apache.ws.security wss4j 1.6.9 xml-resolver xml-resolver 1.2 org.apache.ws.xmlschema xmlschema-core 2.0.3 org.apache.santuario xmlsec 1.5.3 wsdl4j wsdl4j 1.6.3 commons-logging commons-logging 1.1.1 commons-collections commons-collections 3.2.1 org.apache.cxf.xjcplugins cxf-xjc-dv 2.6.1 commons-lang commons-lang 2.6 org.apache.cxf.xjc-utils cxf-xjc-runtime 2.6.1 org.apache.velocity velocity 1.7 org.apache.cxf.xjcplugins cxf-xjc-ts 2.6.1 org.apache.cxf.xjcplugins cxf-xjc-boolean 2.6.1 org.apache.cxf.xjcplugins cxf-xjc-bug671 2.6.1 aopalliance aopalliance 1.0 org.springframework spring-aop 3.0.7.RELEASE org.springframework spring-asm 3.0.7.RELEASE org.springframework spring-beans 3.0.7.RELEASE org.springframework spring-context 3.0.7.RELEASE org.springframework spring-core 3.0.7.RELEASE org.springframework spring-expression 3.0.7.RELEASE org.springframework spring-web 3.0.7.RELEASE org.wso2.greg juddi-listener com.h2database.wso2 h2-database-engine 1.2.140.wso2v3 scm:svn:http://svn.wso2.org/repos/wso2/trunk/carbon/products/greg scm:svn:https://svn.wso2.org/repos/wso2/trunk/carbon/products/greg HEAD org.apache.maven.plugins maven-dependency-plugin 2.0-alpha-4 false unpack-wso2carbon-core package unpack org.wso2.carbon wso2carbon-core ${carbon.kernel.version} zip true target org.wso2.carbon.governance org.wso2.carbon.governance.api docs ${carbon.governance.version} zip true target org.wso2.carbon.registry org.wso2.carbon.registry.admin.api docs ${carbon.registry.version} zip true target org.wso2.carbon.registry org.wso2.carbon.registry.ws.api docs ${carbon.registry.version} zip true target org.wso2.carbon.registry org.wso2.carbon.registry.social.api docs ${carbon.registry.version} zip true target copy-jaxb package copy com.sun.xml.bind.wso2 jaxb 2.1.7.wso2v2 jar true target jaxb_2.1.7.wso2v2.jar copy-resources package copy org.wso2.carbon.registry org.wso2.carbon.registry.rest.api ${carbon.registry.version} war true ../jaxwebapps resource.war org.wso2.carbon.governance org.wso2.carbon.governance.rest.api ${carbon.governance.version} war true ../jaxwebapps governance.war org.apache.maven.plugins maven-antrun-plugin 1.7 create-HT-database package run 2-identity-h2-table-gen package run extract-docs-from-components package run cleanup install run org.apache.maven.plugins maven-site-plugin 3.3 org.apache.maven.plugins maven-project-info-reports-plugin 2.4 index package site org.codehaus.groovy.maven gmaven-plugin 1.0-rc-5 validate execute import java.io.File import java.io.FileInputStream import java.io.FileOutputStream import java.util.Properties if (project.properties['build.qa'] != null) { def propFilePath if (project.properties['buildNumber.file.path'] == null) { propFilePath = new String(project.properties['local.home']) propFilePath = propFilePath.substring(0, propFilePath.lastIndexOf(File.separator)) propFilePath += File.separator + "carbon-platform-build-versions.xml" } else { propFilePath = new String(project.properties['buildNumber.file.path']) } def propFile = new File(propFilePath) def props = new Properties() if (propFile.exists()) { props.loadFromXML(new FileInputStream(propFile)) } else if (!propFile.getParentFile().exists()) { propFile.getParentFile().mkdirs() } def buildNumberStr = props.getProperty("greg.buildNumber") def buildNumber = (buildNumberStr != null) ? Integer.parseInt(buildNumberStr) + 1: 1 buildNumberStr = Integer.toString(buildNumber) props.setProperty("greg.buildNumber", buildNumberStr) props.storeToXML(new FileOutputStream(propFile), null) def revision = new String(project.properties['workingCopyDirectory.revision']) def parentVersion = (new String(project.properties['product.version'])).replace("-SNAPSHOT", "") project.properties['release.version'] = parentVersion + "-b" + String.format("%05d", buildNumber) + "-" + revision.substring(1) } def fakeArtifactPath = File.separator + "org" + File.separator + "wso2" + File.separator + "greg" + File.separator + "wso2greg" project.properties['fake.artifact.path'] = fakeArtifactPath org.codehaus.mojo buildnumber-maven-plugin 1.0-beta-3 copyright.year {0, date, yyyy} {0, date, dd MMMM yyyy} timestamp false false validate create org.codehaus.groovy.maven gmaven-plugin 1.0-rc-5 jaxb_hack package execute import java.io.File import java.io.FileInputStream import java.io.FileOutputStream import java.util.Properties def sep = System.getProperty('file.separator') def targetPath = project.build['directory'] targetPath += sep + 'wso2carbon-core-' + project.properties['carbon.kernel.version'] def bundlesInfoPath = targetPath + sep + 'repository' + sep + 'components' + sep + 'default' + sep + 'configuration' + sep + 'org.eclipse.equinox.simpleconfigurator' + sep + 'bundles.info' println "Removing jaxb 2.2.5 from bundles.info" new File(targetPath + sep + 'bundles.info').withWriter { out -> new File(bundlesInfoPath).eachLine { line -> if (!line.contains("plugins/jaxb_")) { out.writeLine(line) } else { out.writeLine("jaxb,2.1.7.wso2v2,plugins/jaxb_2.1.7.wso2v2.jar,4,true") } } } tempFile = new File(targetPath + sep + 'bundles.info'); file = new File(bundlesInfoPath); fileMoved = tempFile.renameTo(file); def jaxbFile = targetPath + sep + 'repository' + sep + 'components' + sep + 'plugins' + sep + 'jaxb_2.1.7.wso2v2.jar' println "copying jaxb_2.1.7.wso2v2.jar to plugins" tempFile = new File(targetPath + sep + '..' + sep + 'jaxb_2.1.7.wso2v2.jar'); file = new File(jaxbFile); fileMoved = tempFile.renameTo(file); org.apache.maven.plugins maven-assembly-plugin pre_dist test attached false ${basedir}/src/main/assembly/filter.properties src/main/assembly/dist.xml dist package attached false ${basedir}/src/main/assembly/filter.properties src/main/assembly/bin.xml docs package attached true ${basedir}/src/main/assembly/filter.properties src/main/assembly/docs.xml org.apache.maven.plugins maven-install-plugin 2.2 install-binary install install-file ${project.groupId} ${project.artifactId} ${build.version} zip target/${project.artifactId}-${build.version}.zip pom.xml install-docs install install-file ${project.groupId} ${project.artifactId} ${build.version} docs zip target/${project.artifactId}-${build.version}-docs.zip org.apache.maven.plugins maven-deploy-plugin true qa-build build.qa ${settings.localRepository} ${release.version} ${project.parent.version} default true ${project.parent.version} ${project.parent.version}