Hi Harshana,
It's nice to hear from you after a long time.

Hi All,
I got it now. Just created a project completely using DevS as a MMMP, now
it's working as expected. Thanks for all the help.

On Mon, May 4, 2015 at 3:16 PM, Harshana Eranga Martin <[email protected]
> wrote:

> Hi Manu,
>
> This is not an issue but the way it is designed. The way you have
> organised your project is incorrect, Composite project is the distribution
> module but not an aggregator module. It is similar to EAR file. So when you
> try to build an EAR with maven, if the WAR file you include in your EAR is
> not present, Maven will throw an compilation issue for the missing
> artifact. Similarly Composite project is collecting the artifacts from the
> Maven repository. It should not depend on the file system paths in any sort.
>
> So the solution is to use the Maven Multi Module Project, which is the
> aggregator module as the parent project and put the composite project and
> ESB project as children of that as Viraj has rightly mentioned.
>
>
> Thanks and Regards,
> Harshana
> --
> Harshana Eranga Martin
> Senior Software Engineer
> Asian Mobile Banking
> Web: https://www.commbank.com.au/ <http://wso2.com>
>
> ECF Committer: http://www.eclipse.org/ecf/
> Blog: http://harshana05.blogspot.com
> Profile: https://www.google.com/profiles/harshana05
>
> On 2 May 2015 at 20:31, Manuranga Perera <[email protected]> wrote:
>
>> I have created a composite project and ESB configure project in
>> Dev-Studio. Deployment via Dev-Studio works. But I can't do maven built
>> form the top.
>>
>> The issue is that,
>>
>> 1) config project creates files in <proj>/target/artifacts but composite
>> project looks in <proj>/target/capp/artifacts .
>> 2) composite looks at <proj>/target/capp/artifacts/sequence/MySequence
>> /target/MySequence-1.0.0.xml but real path is
>> <proj>/target/artifacts/sequence/MySequence/MySequence.xml
>>
>> is this a know issue? please share any ideas on how to resolve.
>>
>> version info:
>> maven-eclipse-plugin:2.9
>> wso2-esb-proxy-plugin:2.0.10
>> wso2-esb-sequence-plugin:2.0.10
>> maven-car-plugin:2.0.10
>>
>>
>> --
>> With regards,
>> *Manu*ranga Perera.
>>
>> phone : 071 7 70 20 50
>> mail : [email protected]
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : [email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to