On Thu, Feb 28, 2013 at 8:15 PM, Kasun Gajasinghe <[email protected]> wrote:

> Hi Sajith,
>
> The second error you have mentioned is already fixed. Can you please
> update the source and see?
> Anyway, the reason for this issue is that in the pom.xmls, when mentioning
> the Import-Package versions as a variable inside the bundle plugin, we need
> to quote those with " ".
>

After updating I got it build successfully.


> Eranda, please note that we've been using 4.1.0 orbit branch Not the orbit
> trunk during past weeks. Please use that for building. I have already added
> wadl-core to orbit 4.1.0 branch yesterday. Supun and I were working to get
> the build stabilized for the AS release today.
>
> Thanks,
> KasunG
>
> ~~--~~
> Sending this mail via my phone. Do excuse any typo or short replies.
>
> On 28-Feb-2013, at 3:57 PM, Sajith Kariyawasam <[email protected]> wrote:
>
> Thanks Eranda,
>
> Now that error is solved, but now im getting following error ..
>
> [ERROR] An internal error occurred
> java.util.regex.PatternSyntaxException: Unmatched closing ')' near index 6
> 3\.0\.0)
>       ^
> at java.util.regex.Pattern.error(Pattern.java:1713)
> at java.util.regex.Pattern.compile(Pattern.java:1464)
>  at java.util.regex.Pattern.<init>(Pattern.java:1133)
> at java.util.regex.Pattern.compile(Pattern.java:823)
>  at aQute.lib.osgi.Instruction.getMatcher(Instruction.java:76)
> at aQute.lib.osgi.Instruction.matches(Instruction.java:20)
>  at aQute.lib.osgi.Processor.merge(Processor.java:785)
> at aQute.lib.osgi.Analyzer.analyze(Analyzer.java:207)
>  at aQute.lib.osgi.Builder.analyze(Builder.java:304)
> at aQute.lib.osgi.Analyzer.calcManifest(Analyzer.java:295)
>  at aQute.lib.osgi.Builder.build(Builder.java:70)
> at
> org.apache.felix.bundleplugin.BundlePlugin.buildOSGiBundle(BundlePlugin.java:480)
>  at
> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:344)
> at
> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:261)
>  at
> org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:252)
> at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>  at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>  at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>  at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>  at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
>  at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>  at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] WSO2 Carbon - Governance - Registry Extensions .... FAILURE [7.488s]
>
>
>
> [ERROR] Failed to execute goal
> org.apache.felix:maven-bundle-plugin:2.3.5:bundle (default-bundle) on
> project org.wso2.carbon.governance.registry.extensions: Internal error in
> maven-bundle-plugin: Unmatched closing ')' near index 6
> [ERROR] 3\.0\.0)
> [ERROR] ^
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> <http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException>
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>
>
> What could be the reason?
>
>
>
> On Thu, Feb 28, 2013 at 2:03 PM, Eranda Sooriyabandara < <[email protected]>
> [email protected]> wrote:
>
>> Hi Sajith,
>> This was due to not merging wadl-core orbit branch to trunk. I did it
>> and committed.
>>
>> thanks
>> Eranda
>>
>>
>>
>>
>> On Thu, Feb 28, 2013 at 1:42 PM, Sajith Kariyawasam < <[email protected]>
>> [email protected]> wrote:
>>
>>> Hi,
>>>
>>> Im getting following error when doing a trunk build
>>>
>>>
>>> [ERROR] Failed to execute goal on project
>>> org.wso2.carbon.registry.extensions: Could not resolve dependencies for
>>> project
>>> org.wso2.carbon:org.wso2.carbon.registry.extensions:bundle:4.1.0-SNAPSHOT:
>>> Failure to find org.wso2.wadl.core.wso2:wadl-core:jar:1.1.3.wso2v1 in
>>> <http://maven.wso2.org/nexus/content/groups/wso2-public/>
>>> http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in
>>> the local repository, resolution will not be reattempted until the update
>>> interval of wso2-nexus has elapsed or updates are forced -> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>>
>>>
>>> Any idea?
>>>
>>> --
>>> Regards,
>>> *
>>> *
>>> *Sajith Kariyawasam*
>>> *Senior Software Engineer; WSO2, Inc.; <http://wso2.com>http://wso2.com*
>>>
>>> _______________________________________________
>>> Dev mailing list
>>>  <[email protected]>[email protected]
>>>  <http://wso2.org/cgi-bin/mailman/listinfo/dev>
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Eranda Sooriyabandara
>> *Software Engineer;
>> Integration Technologies Team;
>> WSO2 Inc.;  <http://wso2.com/>http://wso2.com
>>
>> *
>> *
>>
>
>
>
> --
> Regards,
> *
> *
> *Sajith Kariyawasam*
> *Senior Software Engineer; WSO2, Inc.; <http://wso2.com>http://wso2.com*
>
>


-- 
Regards,
*
*
*Sajith Kariyawasam*
*Senior Software Engineer; WSO2, Inc.; http://wso2.com*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to