For the moment, we remove the site plugin usage in registry.api, user.core.api, registry.core bundles. That works. I suggest this as a temporary workaround
Thanks Sameera On Wed, Feb 2, 2011 at 4:52 PM, Sameera Jayasoma <[email protected]> wrote: > I removed core/docs folder completely, because we've moved the core > documentation to the products/carbon. I am also looking into this issue. > > Thanks > Sameera > > > On Wed, Feb 2, 2011 at 4:51 PM, Amila Maha Arachchi <[email protected]>wrote: > >> Hi Heshan, >> >> It is in the core/docs folder. I added the suggested section to the >> site.xml and executed "mvn site" command. But it still gives the same error. >> >> Pradeep or Senaka, >> >> Were you successful with the suggested workaround. This has now hit the >> builder too. Although the error says it is looking for the version RELEASE, >> there is only 1.0 in the maven2 repo. >> >> Any insight to resolve this? >> >> Thanks, >> AmilaM. >> >> >> On Wed, Feb 2, 2011 at 2:36 PM, Heshan Suriyaarachchi <[email protected]>wrote: >> >>> Hi, >>> >>> I am getting the following build error when building trunk. >>> >>> The workarounds suggested above mentions of editing the site.xml file but >>> in carbon-core (trunk) there aren't any site.xml files. >>> >>> What should I do to get it working? >>> >>> >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Building WSO2 Carbon - Registry API >>> [INFO] task-segment: [clean, install] >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] [clean:clean] >>> [INFO] Deleting directory >>> /home/heshan/Dev/trunk/carbon/core/org.wso2.carbon.registry.api/target >>> [INFO] [resources:resources] >>> [INFO] Using 'UTF-8' encoding to copy filtered resources. >>> [INFO] skip non existing resourceDirectory >>> /home/heshan/Dev/trunk/carbon/core/org.wso2.carbon.registry.api/src/main/resources >>> [INFO] [compiler:compile] >>> [INFO] Compiling 11 source files to >>> /home/heshan/Dev/trunk/carbon/core/org.wso2.carbon.registry.api/target/classes >>> [INFO] [scr:scr {execution: generate-scr-scrdescriptor}] >>> [INFO] [resources:testResources] >>> [INFO] Using 'UTF-8' encoding to copy filtered resources. >>> [INFO] Copying 0 resource >>> [INFO] Copying 0 resource >>> [INFO] skip non existing resourceDirectory >>> /home/heshan/Dev/trunk/carbon/core/org.wso2.carbon.registry.api/src/test/resources >>> [INFO] [compiler:testCompile] >>> [INFO] Not compiling test sources >>> [INFO] [surefire:test] >>> [INFO] Tests are skipped. >>> [INFO] [bundle:bundle] >>> [WARNING] Warning building bundle >>> org.wso2.carbon:org.wso2.carbon.registry.api:bundle:3.2.0-SNAPSHOT : >>> Instructions for Export-Package that are never used: javax\.servlet\.http, >>> org\.apache\.lucene\..*|org\.apache\.lucene, javax\.servlet >>> [INFO] Setting property: classpath.resource.loader.class => >>> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. >>> [INFO] Setting property: velocimacro.messages.on => 'false'. >>> [INFO] Setting property: resource.loader => 'classpath'. >>> [INFO] Setting property: resource.manager.logwhenfound => 'false'. >>> [INFO] ************************************************************** >>> [INFO] Starting Jakarta Velocity v1.4 >>> [INFO] RuntimeInstance initializing. >>> [INFO] Default Properties File: >>> org/apache/velocity/runtime/defaults/velocity.properties >>> [INFO] Default ResourceManager initializing. (class >>> org.apache.velocity.runtime.resource.ResourceManagerImpl) >>> [INFO] Resource Loader Instantiated: >>> org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader >>> [INFO] ClasspathResourceLoader : initialization starting. >>> [INFO] ClasspathResourceLoader : initialization complete. >>> [INFO] ResourceCache : initialized. (class >>> org.apache.velocity.runtime.resource.ResourceCacheImpl) >>> [INFO] Default ResourceManager initialization complete. >>> [INFO] Loaded System Directive: >>> org.apache.velocity.runtime.directive.Literal >>> [INFO] Loaded System Directive: >>> org.apache.velocity.runtime.directive.Macro >>> [INFO] Loaded System Directive: >>> org.apache.velocity.runtime.directive.Parse >>> [INFO] Loaded System Directive: >>> org.apache.velocity.runtime.directive.Include >>> [INFO] Loaded System Directive: >>> org.apache.velocity.runtime.directive.Foreach >>> [INFO] Created: 20 parsers. >>> [INFO] Velocimacro : initialization starting. >>> [INFO] Velocimacro : adding VMs from VM library template : >>> VM_global_library.vm >>> [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' >>> in any resource loader. >>> [INFO] Velocimacro : error using VM library template >>> VM_global_library.vm : >>> org.apache.velocity.exception.ResourceNotFoundException: Unable to find >>> resource 'VM_global_library.vm' >>> [INFO] Velocimacro : VM library template macro registration complete. >>> [INFO] Velocimacro : allowInline = true : VMs can be defined inline in >>> templates >>> [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline >>> may NOT replace previous VM definitions >>> [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will >>> be global in scope if allowed. >>> [INFO] Velocimacro : initialization complete. >>> [INFO] Velocity successfully started. >>> [INFO] [site:site {execution: default}] >>> [INFO] >>> ------------------------------------------------------------------------ >>> >>> [ERROR] BUILD ERROR >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] SiteToolException: ArtifactNotFoundException: The skin does not >>> exist: Unable to determine the release version >>> >>> Try downloading the file manually from the project website. >>> >>> Then, install it using the command: >>> mvn install:install-file -DgroupId=org.apache.maven.skins >>> -DartifactId=maven-default-skin -Dversion=RELEASE -Dpackaging=jar >>> -Dfile=/path/to/file >>> >>> Alternatively, if you host your own repository you can deploy the file >>> there: >>> mvn deploy:deploy-file -DgroupId=org.apache.maven.skins >>> -DartifactId=maven-default-skin -Dversion=RELEASE -Dpackaging=jar >>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >>> >>> >>> org.apache.maven.skins:maven-default-skin:jar:RELEASE >>> >>> >>> >>> >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] For more information, run Maven with the -e switch >>> [INFO] >>> ------------------------------------------------------------------------ >>> [INFO] Total time: 6 seconds >>> [INFO] Finished at: Wed Feb 02 14:01:04 IST 2011 >>> [INFO] Final Memory: 76M/479M >>> [INFO] >>> ------------------------------------------------------------------------ >>> >>> >>> -- >>> Regards, >>> Heshan Suriyaarachchi >>> >>> Software Engineer >>> WSO2 Inc.; http://wso2.com/ >>> >>> Blog: http://heshans.blogspot.com/ >>> >>> >>> >>> On Wed, Feb 2, 2011 at 10:04 AM, Pradeep Fernando <[email protected]>wrote: >>> >>>> On Wed, Feb 2, 2011 at 8:10 AM, Sumedha Rubasinghe <[email protected]> >>>> wrote: >>>> > >>>> > >>>> > On Tue, Feb 1, 2011 at 11:22 PM, Senaka Fernando <[email protected]> >>>> wrote: >>>> >> >>>> >> Hi Sumedha, >>>> >> >>>> >> Did you check on that site.xml in core/docs? Can you add the >>>> following >>>> >> into that and try again. Not sure, but I think that not having this >>>> is the >>>> >> cause. >>>> >> >>>> >> <skin> >>>> >> <groupId>org.apache.maven.skins</groupId> >>>> >> <artifactId>maven-default-skin</artifactId> >>>> >> <version>1.0</version> >>>> >> </skin> >>>> >>>> as sumedha has mentioned, this is not local to us. people have >>>> encountered this. specifying the version is the suggested workaround. >>>> >>>> >>>> > >>>> > Ok will try that. But if this is the case, why don't we have this >>>> committed >>>> > to SVN. And why isn't builder machine catching this? Are we not >>>> cleaning up >>>> > the repo? >>>> > /sumedha >>>> > >>>> >> >>>> >> Thanks, >>>> >> Senaka. >>>> >> >>>> >> On Tue, Feb 1, 2011 at 10:54 PM, Sumedha Rubasinghe < >>>> [email protected]> >>>> >> wrote: >>>> >>> >>>> >>> >>>> >>> On Tue, Feb 1, 2011 at 6:34 PM, Pradeep Fernando <[email protected]> >>>> >>> wrote: >>>> >>>> >>>> >>>> On Tue, Feb 1, 2011 at 5:28 PM, Sumedha Rubasinghe < >>>> [email protected]> >>>> >>>> wrote: >>>> >>>> > >>>> >>>> > >>>> >>>> > On Tue, Feb 1, 2011 at 5:19 PM, Sameera Jayasoma < >>>> [email protected]> >>>> >>>> > wrote: >>>> >>>> >> >>>> >>>> >> Sumedha, >>>> >>>> >> >>>> >>>> >> I haven't seen this error before. Are you building Carbon in a >>>> fresh >>>> >>>> >> M2 >>>> >>>> >> repo? >>>> >>>> > >>>> >>>> > Nope. >>>> >>>> > /sumedha >>>> >>>> > >>>> >>>> >> >>>> >>>> >> Thanks, >>>> >>>> >> Sameera >>>> >>>> >> >>>> >>>> >> On Tue, Feb 1, 2011 at 5:11 PM, Sumedha Rubasinghe < >>>> [email protected]> >>>> >>>> >> wrote: >>>> >>>> >>> >>>> >>>> >>> Anyone else getting this when building latest carbon core on >>>> trunk? >>>> >>>> >>> /sumedha >>>> >>>> >>>> >>>> >>>> >>>> i'm getting this error. building carbon 3.1.0 on windows xp / clean >>>> repo >>>> >>> >>>> >>> I also tried on a clean repo. There also getting the same problem. I >>>> >>> tried this on Supun's machine & yet to know the results. >>>> >>> But, I think some pom file coming from a transitive dependency is >>>> having >>>> >>> 'RELEASE' as the version number. This is what is causing the >>>> problem. >>>> >>> /sumedha >>>> >>> >>>> >>> >>>> >>>> >>>> >>>> --Pradeep >>>> >>>> >>>> >>>> >>>> >>>> >>> >>>> >>>> >>> ---------- Forwarded message ---------- >>>> >>>> >>> From: Sumedha Rubasinghe <[email protected]> >>>> >>>> >>> Date: Tue, Feb 1, 2011 at 1:22 PM >>>> >>>> >>> Subject: Carbon Core build Error - >>>> >>>> >>> org.apache.maven.skins:maven-default-skin:jar:RELEASE >>>> >>>> >>> To: carbon-dev <[email protected]> >>>> >>>> >>> >>>> >>>> >>> >>>> >>>> >>> [ERROR] BUILD ERROR >>>> >>>> >>> [INFO] >>>> >>>> >>> >>>> >>>> >>> >>>> ------------------------------------------------------------------------ >>>> >>>> >>> [INFO] SiteToolException: ArtifactNotFoundException: The skin >>>> does >>>> >>>> >>> not >>>> >>>> >>> exist: Unable to determine the release version >>>> >>>> >>> Try downloading the file manually from the project website. >>>> >>>> >>> Then, install it using the command: >>>> >>>> >>> mvn install:install-file -DgroupId=org.apache.maven.skins >>>> >>>> >>> -DartifactId=maven-default-skin -Dversion=RELEASE >>>> -Dpackaging=jar >>>> >>>> >>> -Dfile=/path/to/file >>>> >>>> >>> Alternatively, if you host your own repository you can deploy >>>> the >>>> >>>> >>> file >>>> >>>> >>> there: >>>> >>>> >>> mvn deploy:deploy-file -DgroupId=org.apache.maven.skins >>>> >>>> >>> -DartifactId=maven-default-skin -Dversion=RELEASE >>>> -Dpackaging=jar >>>> >>>> >>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >>>> >>>> >>> >>>> >>>> >>> org.apache.maven.skins:maven-default-skin:jar:RELEASE >>>> >>>> >>> >>>> >>>> >>> >>>> >>>> >>> _______________________________________________ >>>> >>>> >>> Carbon-dev mailing list >>>> >>>> >>> [email protected] >>>> >>>> >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>>> >>> >>>> >>>> >> >>>> >>>> >> >>>> >>>> >> >>>> >>>> >> -- >>>> >>>> >> Sameera Jayasoma >>>> >>>> >> Technical Lead and Product Manager, WSO2 Carbon >>>> >>>> >> >>>> >>>> >> WSO2, Inc. (http://wso2.com) >>>> >>>> >> email: [email protected] >>>> >>>> >> blog: http://tech.jayasoma.org >>>> >>>> >> >>>> >>>> >> Lean . Enterprise . Middleware >>>> >>>> >> >>>> >>>> >> _______________________________________________ >>>> >>>> >> 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 >>>> >>>> > >>>> >>>> > >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> >>>> Pradeep Fernando >>>> >>>> Software Engineer >>>> >>>> WSO2 Inc; http://wso2.com/ >>>> >>>> >>>> >>>> blog: http://pradeepfernando.blogspot.com/ >>>> >>>> m: +94776603662 >>>> >>>> _______________________________________________ >>>> >>>> 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 >>>> >>> >>>> >> >>>> >> >>>> >> >>>> >> -- >>>> >> Senaka Fernando >>>> >> Product Manager - WSO2 Governance Registry; >>>> >> Associate Technical Lead; WSO2, Inc.; http://wso2.com >>>> >> Member; Apache Software Foundation; http://apache.org >>>> >> >>>> >> E-mail: senaka AT wso2.com >>>> >> P: <tel:+14087547388>+1 408 754 7388 <tel:+14087547388>; ext: 51736; >>>> M: <tel:+94773221818>+94 77 322 1818 <tel:+94773221818> >>>> >> Linked-In: http://www.linkedin.com/in/senakafernando >>>> >> >>>> >> Lean . Enterprise . Middleware >>>> >> >>>> >> >>>> >> _______________________________________________ >>>> >> 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 >>>> > >>>> > >>>> >>>> >>>> >>>> -- >>>> Pradeep Fernando >>>> Software Engineer >>>> WSO2 Inc; http://wso2.com/ >>>> >>>> blog: http://pradeepfernando.blogspot.com/ >>>> m: +94776603662 >>>> _______________________________________________ >>>> Carbon-dev mailing list >>>> [email protected] >>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>> >>> >>> >>> -- >>> Regards, >>> Heshan Suriyaarachchi >>> >>> Software Engineer >>> WSO2 Inc.; http://wso2.com/ >>> >>> Blog: http://heshans.blogspot.com/ >>> >>> _______________________________________________ >>> 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 >> >> > > > -- > Sameera Jayasoma > Technical Lead and Product Manager, WSO2 Carbon > > WSO2, Inc. (http://wso2.com) > email: [email protected] > blog: http://tech.jayasoma.org > > Lean . Enterprise . Middleware > -- Sameera Jayasoma Technical Lead and Product Manager, WSO2 Carbon WSO2, Inc. (http://wso2.com) email: [email protected] blog: http://tech.jayasoma.org Lean . Enterprise . Middleware
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
