Hi Hasitha, What is the mvn version you are using. Is seems to be working for me when working with following.
Apache Maven 3.0.5 Java version: 1.8.0_40, vendor: Oracle Corporation On Tue, Jun 27, 2017 at 10:23 AM, Hasitha Jayasundara < [email protected]> wrote: > Hi, > > I used maven archetype to generate the Maven project template and sample > connector code following tutorial at [1]. > > mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate > -DarchetypeGroupId=org.wso2.carbon.extension.archetype > -DarchetypeArtifactId=org.wso2.carbon.extension.esb.connector-archetype > -DarchetypeVersion=2.0.0 -DgroupId=org.wso2.carbon.esb.connector > -DartifactId=org.wso2.carbon.esb.connector.helloworld -Dversion=1.0.0 > -DarchetypeRepository=http://maven.wso2.org/nexus/content/ > repositories/wso2-public/ > > But when I mvn clean install the project it gives me following error.Any > comments on how to solve this? > > Failed to execute goal org.apache.maven.plugins: > maven-assembly-plugin:2.4.1:attached (email-library) on project > org.wso2.carbon.esb.connector.helloworld: Assembly is incorrectly > configured: null: Assembly is incorrectly configured: null: > [ERROR] Assembly: null is not configured correctly: Assembly ID must be > present and non-empty. > > [1].https://docs.wso2.com/display/ESBCONNECTORS/Writing+a+Connector > > -- > *D.M.Hasitha Nadishan Jayasundara* > *Department of Electronic and Telecommunication Engineering* > University of Moratuwa > *mobile:* *+94711959266 <071%20195%209266>* > *blogspot*: learnjavawithisla.blogspot.com/ *email:* hasithajayasundar > [email protected] > <https://www.facebook.com/hasitha.nadishan.3> > <https://twitter.com/HNadishan> > <https://lk.linkedin.com/in/hasithajayasundara> > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Best Regards, Malaka Silva Associate Director / Architect M: +94 777 219 791 Tel : 94 11 214 5345 Fax :94 11 2145300 Skype : malaka.sampath.silva LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77 Blog : http://mrmalakasilva.blogspot.com/ WSO2, Inc. lean . enterprise . middleware https://wso2.com/signature http://www.wso2.com/about/team/malaka-silva/ <http://wso2.com/about/team/malaka-silva/> https://store.wso2.com/store/ Don't make Trees rare, we should keep them with care
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
