Hi all,

As we haven't mentioned this in our doc, I came up with the same error.

Resolved it by adding the maven-assembly-plugin version number in the pom,
without downgrading maven.

<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-2</version>


Thanks,
Thejan

On Sat, Jul 8, 2017 at 9:45 AM, Rajkumar Rajaratnam <[email protected]>
wrote:

> Yeah, but it doesn't give an impression that it won't work with maven >
> 3.0.5. So better to reword it.
>
> On Sat, Jul 8, 2017 at 12:10 AM, Rajjaz Mohammed <[email protected]> wrote:
>
>> Hi Rajkumar,
>>
>> In the doc[1] we mentioned that it's tested with Maven 3.0.5.
>>
>> [1] https://docs.wso2.com/display/ESBCONNECTORS/Writing+a+Connec
>> tor#WritingaConnector-CreatetheMavenprojecttemplate
>>
>> On Sat, Jul 8, 2017 at 9:20 AM, Rajkumar Rajaratnam <[email protected]>
>> wrote:
>>
>>> Thanks Hasitha.
>>>
>>> I was using maven 3.3.9. Downgraded it to 3.0.5 and it builds now.
>>>
>>> So we need to mention in the doc [1] that this won't build with maven
>>> version > 3.0.5
>>>
>>> [1] https://docs.wso2.com/display/ESBCONNECTORS/Writing+a+Connector
>>>
>>> Thanks,
>>> Raj.
>>>
>>>
>>> On Fri, Jul 7, 2017 at 11:37 PM, Hasitha Jayasundara <
>>> [email protected]> wrote:
>>>
>>>> Hi Rajkumar,
>>>>
>>>> Works fine with
>>>>
>>>> Apache Maven 3.0.5
>>>> Java version: 1.8.0_131, vendor: Oracle Corporation
>>>>
>>>> Thanks
>>>>
>>>> On Sat, Jul 8, 2017 at 8:52 AM, Rajkumar Rajaratnam <[email protected]
>>>> > wrote:
>>>>
>>>>> I'm trying to build this connector https://github.com/w
>>>>> so2-extensions/esb-connector-gmail
>>>>>
>>>>> It's failing - see below. Do we need to do anything special to build
>>>>> this other than doing mvn clean install?
>>>>>
>>>>>
>>>>> [INFO] Building WSO2 Carbon - Mediation Library Connector For Gmail
>>>>> 3.0.6-SNAPSHOT
>>>>> [INFO] ------------------------------------------------------------
>>>>> ------------
>>>>> [WARNING] The POM for org.apache.bsf:bsf-all:jar:3.0 is missing, no
>>>>> dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.http.servlet:jar:1.0.200.v20090520-1800 is missing, no
>>>>> dependency information available
>>>>> [WARNING] The POM for org.eclipse.osgi:org.eclipse.o
>>>>> sgi.services:jar:3.2.0.v20090520-1800 is missing, no dependency
>>>>> information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.simpleconfigurator:jar:1.0.100.v20090520-1905 is missing,
>>>>> no dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.util:jar:1.0.100.v20090520-1800 is missing, no dependency
>>>>> information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.ds:jar:1.1.0.v20090520-1800 is missing, no dependency
>>>>> information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.jsp.jasper:jar:1.0.200.v20090520-1800 is missing, no
>>>>> dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:javax.serv
>>>>> let.jsp:jar:2.0.0.v200806031607 is missing, no dependency information
>>>>> available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.apache
>>>>> .jasper:jar:5.5.17.v200806031609 is missing, no dependency
>>>>> information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.apache
>>>>> .commons.el:jar:1.0.0.v200806031608 is missing, no dependency
>>>>> information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.app:jar:1.2.0.v20090520-1800 is missing, no dependency
>>>>> information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.concurrent:jar:1.0.0.v20090520-1800 is missing, no
>>>>> dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.frameworkadmin:jar:1.0.100.v20090520-1905 is missing, no
>>>>> dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.frameworkadmin.equinox:jar:1.0.100.v20090520-1905 is
>>>>> missing, no dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.p2.artifact.repository:jar:1.0.100.v20090520-1905 is
>>>>> missing, no dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.p2.core:jar:1.0.100.v20090520-1905 is missing, no
>>>>> dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.p2.director:jar:1.0.100.v20090520-1905 is missing, no
>>>>> dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.p2.director.app:jar:1.0.100.v20090521-1912 is missing, no
>>>>> dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.p2.directorywatcher:jar:1.0.100.v20090520-1905 is missing,
>>>>> no dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.p2.engine:jar:1.0.100.v20090520-1905 is missing, no
>>>>> dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.p2.exemplarysetup:jar:1.0.100.v20090520-1905 is missing, no
>>>>> dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.p2.extensionlocation:jar:1.0.100.v20090520-1905 is missing,
>>>>> no dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.p2.jarprocessor:jar:1.0.100.v20090520-1905 is missing, no
>>>>> dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.p2.metadata.generator:jar:1.0.100.v20090520-1905 is
>>>>> missing, no dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.p2.metadata:jar:1.0.100.v20090520-1905 is missing, no
>>>>> dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.p2.metadata.repository:jar:1.0.100.v20090520-1905 is
>>>>> missing, no dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.p2.reconciler.dropins:jar:1.0.100.v20090520-1905 is
>>>>> missing, no dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.p2.publisher:jar:1.0.0.v20090521-1912 is missing, no
>>>>> dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.p2.repository.tools:jar:1.0.0.v20090520-1905 is missing, no
>>>>> dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.p2.repository:jar:1.0.0.v20090520-1905 is missing, no
>>>>> dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.p2.touchpoint.natives:jar:1.0.100.v20090520-1905 is
>>>>> missing, no dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.p2.updatechecker:jar:1.1.0.v20090520-1905 is missing, no
>>>>> dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.preferences:jar:3.2.300.v20090520-1800 is missing, no
>>>>> dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.security:jar:1.0.100.v20090520-1800 is missing, no
>>>>> dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.simpleconfigurator.manipulator:jar:1.0.100.v20090520-1905
>>>>> is missing, no dependency information available
>>>>> [WARNING] The POM for org.eclipse.equinox:org.eclips
>>>>> e.equinox.p2.updatesite:jar:1.0.100.v20090520-1905 is missing, no
>>>>> dependency information available
>>>>> [WARNING] The POM for org.eclipse.core:org.eclipse.c
>>>>> ore.commands:jar:3.5.0.I20090429-1800 is missing, no dependency
>>>>> information available
>>>>> [WARNING] The POM for org.eclipse.core:org.eclipse.c
>>>>> ore.contenttype:jar:3.4.0.v20090429-1800 is missing, no dependency
>>>>> information available
>>>>> [WARNING] The POM for org.eclipse.core:org.eclipse.c
>>>>> ore.expressions:jar:3.4.100.v20090429-1800 is missing, no dependency
>>>>> information available
>>>>> [WARNING] The POM for org.eclipse.core:org.eclipse.core.net:
>>>>> jar:1.2.0.I20090522-1010 is missing, no dependency information
>>>>> available
>>>>> [WARNING] The POM for org.eclipse.core:org.eclipse.c
>>>>> ore.runtime.compatibility.auth:jar:3.2.100.v20090413 is missing, no
>>>>> dependency information available
>>>>> [WARNING] The POM for 
>>>>> org.eclipse.ecf:org.eclipse.ecf:jar:3.0.0.v20090520-0800
>>>>> is missing, no dependency information available
>>>>> [WARNING] The POM for org.eclipse.ecf:org.eclipse.ec
>>>>> f.filetransfer:jar:3.0.0.v20090520-0800 is missing, no dependency
>>>>> information available
>>>>> [WARNING] The POM for org.eclipse.ecf:org.eclipse.ec
>>>>> f.identity:jar:3.0.0.v20090520-0800 is missing, no dependency
>>>>> information available
>>>>> [WARNING] The POM for org.eclipse.ecf:org.eclipse.ec
>>>>> f.provider.filetransfer:jar:3.0.0.v20090520-0800 is missing, no
>>>>> dependency information available
>>>>> [WARNING] The POM for org.eclipse:org.sat4j.core:jar:2.1.0.v20090520
>>>>> is missing, no dependency information available
>>>>> [WARNING] The POM for org.eclipse:org.sat4j.pb:jar:2.1.0.v20090520 is
>>>>> missing, no dependency information available
>>>>> [WARNING] The POM for org.eclipse:com.ibm.icu:jar:4.0.1.v20090415 is
>>>>> missing, no dependency information available
>>>>> [INFO]
>>>>> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
>>>>> org.wso2.carbon.connector.gmail ---
>>>>> [INFO]
>>>>> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
>>>>> org.wso2.carbon.connector.gmail ---
>>>>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>>>>> resources, i.e. build is platform dependent!
>>>>> [INFO] Copying 98 resources
>>>>> [INFO]
>>>>> [INFO] --- maven-compiler-plugin:2.0:compile (default-compile) @
>>>>> org.wso2.carbon.connector.gmail ---
>>>>> Compiling 16 source files to /home/raj/projects/raj/connect
>>>>> ors/tmp/esb-connector-gmail/target/classes
>>>>> [INFO]
>>>>> [INFO] --- maven-dependency-plugin:2.8:copy-dependencies
>>>>> (copy-emma-dependencies) @ org.wso2.carbon.connector.gmail ---
>>>>> [INFO] Copying emma-2.1.5320.jar to /home/raj/projects/raj/connect
>>>>> ors/tmp/esb-connector-gmail/target/emma/emma-2.1.5320.jar
>>>>> [INFO] Copying org.wso2.carbon.automation.core-4.2.0.jar to
>>>>> /home/raj/projects/raj/connectors/tmp/esb-connector-gmail/ta
>>>>> rget/emma/org.wso2.carbon.automation.core-4.2.0.jar
>>>>> [INFO]
>>>>> [INFO] --- maven-assembly-plugin:2.4.1:attached (email-library) @
>>>>> org.wso2.carbon.connector.gmail ---
>>>>> [INFO] Reading assembly descriptor: src/main/assembly/assemble-con
>>>>> nector.xml
>>>>> [INFO] ------------------------------------------------------------
>>>>> ------------
>>>>> [INFO] BUILD FAILURE
>>>>> [INFO] ------------------------------------------------------------
>>>>> ------------
>>>>> [INFO] Total time: 3.735 s
>>>>> [INFO] Finished at: 2017-07-07T23:18:01-04:00
>>>>> [INFO] Final Memory: 77M/663M
>>>>> [INFO] ------------------------------------------------------------
>>>>> ------------
>>>>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven
>>>>> -assembly-plugin:2.4.1:attached (email-library) on project
>>>>> org.wso2.carbon.connector.gmail: 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.
>>>>> [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/conflu
>>>>> ence/display/MAVEN/MojoFailureException
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *D.M.Hasitha Nadishan Jayasundara*
>>>> *Department of Electronic and Telecommunication Engineering*
>>>> University of Moratuwa
>>>> *mobile:* *+94711959266 <+94%2071%20195%209266>*
>>>> *blogspot*: learnjavawithisla.blogspot.com/  *email:*
>>>> [email protected]
>>>> <https://www.facebook.com/hasitha.nadishan.3>
>>>> <https://twitter.com/HNadishan>
>>>> <https://lk.linkedin.com/in/hasithajayasundara>
>>>>
>>>
>>>
>>>
>>> --
>>> Rajkumar Rajaratnam
>>> Committer & PMC Member, Apache Stratos
>>> Senior Software Engineer, WSO2
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thank you
>> Best Regards
>>
>> *Rajjaz HM*
>> Software Engineer
>> Platform Extension Team
>> WSO2 Inc. <http://wso2.com/>
>> lean | enterprise | middleware
>> Mobile | +94752833834 <+94%2075%20283%203834>|+94777226874
>> <+94%2077%20722%206874>
>> Email   | [email protected]
>> LinkedIn <https://lk.linkedin.com/in/hmohammedrajjaz> | Blogger
>> <http://rajjazhm.blogspot.com/> | WSO2 Profile
>> <http://wso2.com/about/team/mohammer-rajjaz/>
>> [image: https://wso2.com/signature] <https://wso2.com/signature>
>>
>
>
>
> --
> Rajkumar Rajaratnam
> Committer & PMC Member, Apache Stratos
> Senior Software Engineer, WSO2
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Thejan Rupasinghe*

*Intern - Software EngineeringWSO2*

*Mobile : +94 77-9020962*
<https://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to