Hi,
Found the reason for this. This error occurs when building the p2-repo. This
is done after building the products. Found following properties in the
features/repository/pom.xml.
<properties>
<carbon.version>3.2.0-SNAPSHOT</carbon.version>
<synapse.version>2.1.0-SNAPSHOT</synapse.version>
<wsas.version>3.2.0-SNAPSHOT</wsas.version>
<esb.version>3.2.0-SNAPSHOT</esb.version>
<!--<dataservices.version></dataservices.version>
<bps.version></esb.version>-->
<governance.version>3.6.0-SNAPSHOT</governance.version>
<identity.version>3.2.0-SNAPSHOT</identity.version>
<gs.version>1.1.0-SNAPSHOT</gs.version>
<mashup.version>2.1.0-SNAPSHOT</mashup.version>
</properties>
But the correct ones should be,
<properties>
<carbon.version>3.2.0-SNAPSHOT</carbon.version>
<synapse.version>2.1.0-SNAPSHOT</synapse.version>
<wsas.version>*4.1.0-SNAPSHOT*</wsas.version>
<esb.version>*4.0.0-SNAPSHOT*</esb.version>
<!--<dataservices.version></dataservices.version>
<bps.version></esb.version>-->
<governance.version>3.6.0-SNAPSHOT</governance.version>
<identity.version>3.2.0-SNAPSHOT</identity.version>
<gs.version>*2.0.0-SNAPSHOT*</gs.version>
<mashup.version>*2.3.0-SNAPSHOT*</mashup.version>
</properties>
I committed the above changes (r86851), please correct me if the above
versions are wrong.
Thanks,
AmilaM.
On Sun, Feb 6, 2011 at 10:08 PM, WSO2 Builder <[email protected]> wrote:
> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
> System is offline.
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.wso2.esb
> -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT
> -Dpackaging=zip -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file
> there:
> mvn deploy:deploy-file -DgroupId=org.wso2.esb
> -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT
> -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>
> org.wso2.esb:org.wso2.esb.styles.feature:zip:3.2.0-SNAPSHOT
>
>
>
> at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:203)
> at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90)
> at
> org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:39)
> ... 21 more
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] ERROR
>
> System is offline.
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.wso2.esb
> -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT
> -Dpackaging=zip -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file
> there:
> mvn deploy:deploy-file -DgroupId=org.wso2.esb
> -DartifactId=org.wso2.esb.styles.feature -Dversion=3.2.0-SNAPSHOT
> -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>
> org.wso2.esb:org.wso2.esb.styles.feature:zip:3.2.0-SNAPSHOT
>
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 12 seconds
> [INFO] Finished at: Sun Feb 06 22:08:10 IST 2011
> [INFO] Final Memory: 21M/981M
> [INFO]
> ------------------------------------------------------------------------
> cp: cannot stat `target/p2-repo': No such file or directory
> 2011-02-06_22-07-00
> Carbon packs are available at :
> http://10.100.1.43/~carbon/releases/carbon/3.2.0/latest/
> tail -n50 $STRATOS_SRC_HOME/build.log
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev