thanks a lot Firzhan.. Will try this..

On Wed, Sep 17, 2014 at 12:47 PM, Firzhan Naqash <[email protected]> wrote:

>
> Hi Lahiru,
>
> I think you haven't mentioned the repository and plugin-repository
> proplerly in your pom.xml file.
>
> Try to add nexus-repo in your pom.xml file
>
> <repositories>
>         <repository>
>             <id>wso2-nexus</id>
>             <name>WSO2 internal Repository</name>
>             <url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
>             <releases>
>                 <enabled>true</enabled>
>                 <updatePolicy>daily</updatePolicy>
>                 <checksumPolicy>fail</checksumPolicy>
>             </releases>
>         </repository>
>
> </repositories>
>
> And try to add plugin-repository in your pom file.
>
>     <pluginRepositories>
>         <pluginRepository>
>             <id>wso2-maven2-repository-1</id>
>             <url>http://dist.wso2.org/maven2</url>
>         </pluginRepository>
>         <pluginRepository>
>             <id>wso2-maven2-repository-2</id>
>             <url>http://dist.wso2.org/snapshots/maven2</url>
>         </pluginRepository>
>         <pluginRepository>
>             <id>repository.dev.java.net-maven2</id>
>             <name>Java.net Repository for Maven</name>
>             <url>http://download.java.net/maven/2/</url>
>             <layout>default</layout>
>         </pluginRepository>
>     </pluginRepositories>
>
>
> Do a clean mvn build. This may solve your problem
>
>
> Regards,
> Firzhan
>
> On Wed, Sep 17, 2014 at 12:44 PM, Lahiru Cooray <[email protected]> wrote:
>
>> Hi,
>>
>> I'm following these tutorials to write a Carbon component (and a Feature).
>> [1]
>> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>> [2]
>> http://wso2.com/library/tutorials/2014/03/how-to-create-a-feature-from-wso2-carbon-component/
>>
>> I have successfully completed the tutorial [1].
>> But when I follow all the steps in tutorial [2] , I get the below error.
>> please help..
>>
>>
>> *************************************Error
>> stack*****************************
>>
>>  SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
>>
>> SLF4J: Defaulting to no-operation (NOP) logger implementation
>>
>> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
>> further details.
>>
>> [INFO] Scanning for projects...
>>
>> [WARNING]
>>
>> [WARNING] Some problems were encountered while building the effective
>> model for org.wso2.carbon:org.wso2.carbon.student.mgt:bundle:4.2.0
>>
>> [WARNING] 'build.plugins.plugin.version' for
>> org.apache.felix:maven-bundle-plugin is missing. @ line 19, column 21
>>
>> [WARNING] The expression ${pom.artifactId} is deprecated. Please use
>> ${project.artifactId} instead.
>>
>> [WARNING] The expression ${pom.artifactId} is deprecated. Please use
>> ${project.artifactId} instead.
>>
>> [WARNING]
>>
>> [WARNING] Some problems were encountered while building the effective
>> model for org.wso2.carbon:org.wso2.carbon.student.mgt.stub:bundle:4.2.0
>>
>> [WARNING] 'build.plugins.plugin.version' for
>> org.apache.felix:maven-bundle-plugin is missing. @ line 133, column 21
>>
>> [WARNING] 'build.plugins.plugin.version' for
>> org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 114, column
>> 21
>>
>> [WARNING]
>>
>> [WARNING] Some problems were encountered while building the effective
>> model for org.wso2.carbon:org.wso2.carbon.student.mgt.ui:bundle:4.2.0
>>
>> [WARNING] 'build.plugins.plugin.version' for
>> org.apache.felix:maven-bundle-plugin is missing. @ line 25, column 21
>>
>> [WARNING] The expression ${pom.artifactId} is deprecated. Please use
>> ${project.artifactId} instead.
>>
>> [WARNING]
>>
>> [WARNING] It is highly recommended to fix these problems because they
>> threaten the stability of your build.
>>
>> [WARNING]
>>
>> [WARNING] For this reason, future Maven versions might no longer support
>> building such malformed projects.
>>
>> [WARNING]
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO] Reactor Build Order:
>>
>> [INFO]
>>
>> [INFO] WSO2 Carbon - Student Manager
>>
>> [INFO] WSO2 Carbon - Student Manager Components
>>
>> [INFO] WSO2 Carbon - Student Manager Server Component
>>
>> [INFO] WSO2 Carbon - Student Manager Stub
>>
>> [INFO] WSO2 Carbon - Student Manager UI Component
>>
>> [INFO] WSO2 Carbon - Student Manager Features
>>
>> [INFO] WSO2 Carbon - Student Manager UI Feature
>>
>> [INFO] WSO2 Carbon - Student Manager Aggregate Feature
>>
>> [INFO] WSO2 Carbon - Student Manager Feature Repository
>>
>> [INFO]
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO] Building WSO2 Carbon - Student Manager 4.2.0
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO]
>>
>> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
>> student-manager ---
>>
>> [INFO] Installing
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/pom.xml
>> to
>> /Users/lahiruC/.m2/repository/org/wso2/carbon/student-manager/4.2.0/student-manager-4.2.0.pom
>>
>> [INFO]
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO] Building WSO2 Carbon - Student Manager Components 4.2.0
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO]
>>
>> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
>> student-manager-components ---
>>
>> [INFO] Installing
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-components/pom.xml
>> to
>> /Users/lahiruC/.m2/repository/org/wso2/carbon/student-manager-components/4.2.0/student-manager-components-4.2.0.pom
>>
>> [INFO]
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO] Building WSO2 Carbon - Student Manager Server Component 4.2.0
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO]
>>
>> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
>> org.wso2.carbon.student.mgt ---
>>
>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>> resources, i.e. build is platform dependent!
>>
>> [INFO] Copying 1 resource
>>
>> [INFO]
>>
>> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
>> org.wso2.carbon.student.mgt ---
>>
>> [INFO] Changes detected - recompiling the module!
>>
>> [WARNING] File encoding has not been set, using platform encoding UTF-8,
>> i.e. build is platform dependent!
>>
>> [INFO] Compiling 3 source files to
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-components/org.wso2.carbon.student.mgt/target/classes
>>
>> [INFO]
>>
>> [INFO] --- maven-resources-plugin:2.6:testResources
>> (default-testResources) @ org.wso2.carbon.student.mgt ---
>>
>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>> resources, i.e. build is platform dependent!
>>
>> [INFO] skip non existing resourceDirectory
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-components/org.wso2.carbon.student.mgt/src/test/resources
>>
>> [INFO]
>>
>> [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @
>> org.wso2.carbon.student.mgt ---
>>
>> [INFO] No sources to compile
>>
>> [INFO]
>>
>> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @
>> org.wso2.carbon.student.mgt ---
>>
>> [INFO] No tests to run.
>>
>> [INFO]
>>
>> [INFO] --- maven-bundle-plugin:2.5.3:bundle (default-bundle) @
>> org.wso2.carbon.student.mgt ---
>>
>> [INFO]
>>
>> [INFO] --- maven-install-plugin:2.5.2:install (default-install) @
>> org.wso2.carbon.student.mgt ---
>>
>> [INFO] Installing
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-components/org.wso2.carbon.student.mgt/target/org.wso2.carbon.student.mgt-4.2.0.jar
>> to
>> /Users/lahiruC/.m2/repository/org/wso2/carbon/org.wso2.carbon.student.mgt/4.2.0/org.wso2.carbon.student.mgt-4.2.0.jar
>>
>> [INFO] Installing
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-components/org.wso2.carbon.student.mgt/pom.xml
>> to
>> /Users/lahiruC/.m2/repository/org/wso2/carbon/org.wso2.carbon.student.mgt/4.2.0/org.wso2.carbon.student.mgt-4.2.0.pom
>>
>> [INFO]
>>
>> [INFO] --- maven-bundle-plugin:2.5.3:install (default-install) @
>> org.wso2.carbon.student.mgt ---
>>
>> [INFO] Installing
>> org/wso2/carbon/org.wso2.carbon.student.mgt/4.2.0/org.wso2.carbon.student.mgt-4.2.0.jar
>>
>> [INFO] Writing OBR metadata
>>
>> [INFO]
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO] Building WSO2 Carbon - Student Manager Stub 4.2.0
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO]
>>
>> [INFO] --- build-helper-maven-plugin:1.9.1:add-source (add-source) @
>> org.wso2.carbon.student.mgt.stub ---
>>
>> [INFO] Source directory:
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-components/org.wso2.carbon.student.mgt.stub/target/generated-code/src
>> added.
>>
>> [INFO]
>>
>> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
>> org.wso2.carbon.student.mgt.stub ---
>>
>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>> resources, i.e. build is platform dependent!
>>
>> [INFO] Copying 1 resource
>>
>> [INFO]
>>
>> [INFO] --- maven-antrun-plugin:1.1:run (source-code-generation) @
>> org.wso2.carbon.student.mgt.stub ---
>>
>> [INFO] Executing tasks
>>
>>      [java] Retrieving document at
>> 'src/main/resources/StudentManager.wsdl'.
>>
>>      [java] Sep 17, 2014 12:29:25 PM
>> org.apache.axis2.schema.SchemaCompiler compile
>>
>>      [java] WARNING: No schemaLocation for import of
>> http://data.mgt.student.carbon.wso2.org/xsd; compilation may fail
>>
>> [INFO] Executed tasks
>>
>> [INFO]
>>
>> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
>> org.wso2.carbon.student.mgt.stub ---
>>
>> [INFO] Changes detected - recompiling the module!
>>
>> [WARNING] File encoding has not been set, using platform encoding UTF-8,
>> i.e. build is platform dependent!
>>
>> [INFO] Compiling 7 source files to
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-components/org.wso2.carbon.student.mgt.stub/target/classes
>>
>> [WARNING]
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-components/org.wso2.carbon.student.mgt.stub/target/generated-code/src/org/wso2/carbon/student/mgt/stub/StudentManagerStub.java:
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-components/org.wso2.carbon.student.mgt.stub/target/generated-code/src/org/wso2/carbon/student/mgt/stub/StudentManagerStub.java
>> uses unchecked or unsafe operations.
>>
>> [WARNING]
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-components/org.wso2.carbon.student.mgt.stub/target/generated-code/src/org/wso2/carbon/student/mgt/stub/StudentManagerStub.java:
>> Recompile with -Xlint:unchecked for details.
>>
>> [INFO]
>>
>> [INFO] --- maven-resources-plugin:2.6:testResources
>> (default-testResources) @ org.wso2.carbon.student.mgt.stub ---
>>
>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>> resources, i.e. build is platform dependent!
>>
>> [INFO] skip non existing resourceDirectory
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-components/org.wso2.carbon.student.mgt.stub/src/test/resources
>>
>> [INFO]
>>
>> [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @
>> org.wso2.carbon.student.mgt.stub ---
>>
>> [INFO] No sources to compile
>>
>> [INFO]
>>
>> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @
>> org.wso2.carbon.student.mgt.stub ---
>>
>> [INFO] No tests to run.
>>
>> [INFO]
>>
>> [INFO] --- maven-bundle-plugin:2.5.3:bundle (default-bundle) @
>> org.wso2.carbon.student.mgt.stub ---
>>
>> [INFO]
>>
>> [INFO] --- maven-install-plugin:2.5.2:install (default-install) @
>> org.wso2.carbon.student.mgt.stub ---
>>
>> [INFO] Installing
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-components/org.wso2.carbon.student.mgt.stub/target/org.wso2.carbon.student.mgt.stub-4.2.0.jar
>> to
>> /Users/lahiruC/.m2/repository/org/wso2/carbon/org.wso2.carbon.student.mgt.stub/4.2.0/org.wso2.carbon.student.mgt.stub-4.2.0.jar
>>
>> [INFO] Installing
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-components/org.wso2.carbon.student.mgt.stub/pom.xml
>> to
>> /Users/lahiruC/.m2/repository/org/wso2/carbon/org.wso2.carbon.student.mgt.stub/4.2.0/org.wso2.carbon.student.mgt.stub-4.2.0.pom
>>
>> [INFO]
>>
>> [INFO] --- maven-bundle-plugin:2.5.3:install (default-install) @
>> org.wso2.carbon.student.mgt.stub ---
>>
>> [INFO] Installing
>> org/wso2/carbon/org.wso2.carbon.student.mgt.stub/4.2.0/org.wso2.carbon.student.mgt.stub-4.2.0.jar
>>
>> [INFO] Writing OBR metadata
>>
>> [INFO]
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO] Building WSO2 Carbon - Student Manager UI Component 4.2.0
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO]
>>
>> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
>> org.wso2.carbon.student.mgt.ui ---
>>
>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>> resources, i.e. build is platform dependent!
>>
>> [INFO] Copying 4 resources
>>
>> [INFO]
>>
>> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @
>> org.wso2.carbon.student.mgt.ui ---
>>
>> [INFO] Changes detected - recompiling the module!
>>
>> [WARNING] File encoding has not been set, using platform encoding UTF-8,
>> i.e. build is platform dependent!
>>
>> [INFO] Compiling 1 source file to
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-components/org.wso2.carbon.student.mgt.ui/target/classes
>>
>> [INFO]
>>
>> [INFO] --- maven-resources-plugin:2.6:testResources
>> (default-testResources) @ org.wso2.carbon.student.mgt.ui ---
>>
>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>> resources, i.e. build is platform dependent!
>>
>> [INFO] skip non existing resourceDirectory
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-components/org.wso2.carbon.student.mgt.ui/src/test/resources
>>
>> [INFO]
>>
>> [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @
>> org.wso2.carbon.student.mgt.ui ---
>>
>> [INFO] Changes detected - recompiling the module!
>>
>> [WARNING] File encoding has not been set, using platform encoding UTF-8,
>> i.e. build is platform dependent!
>>
>> [INFO] Compiling 1 source file to
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-components/org.wso2.carbon.student.mgt.ui/target/test-classes
>>
>> [INFO]
>>
>> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @
>> org.wso2.carbon.student.mgt.ui ---
>>
>> [INFO] Surefire report directory:
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-components/org.wso2.carbon.student.mgt.ui/target/surefire-reports
>>
>>
>> -------------------------------------------------------
>>
>>  T E S T S
>>
>> -------------------------------------------------------
>>
>> Running org.wso2.carbon.student.mgt.ui.AppTest
>>
>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
>> - in org.wso2.carbon.student.mgt.ui.AppTest
>>
>>
>> Results :
>>
>>
>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
>>
>>
>> [INFO]
>>
>> [INFO] --- maven-bundle-plugin:2.5.3:bundle (default-bundle) @
>> org.wso2.carbon.student.mgt.ui ---
>>
>> [INFO]
>>
>> [INFO] --- maven-install-plugin:2.5.2:install (default-install) @
>> org.wso2.carbon.student.mgt.ui ---
>>
>> [INFO] Installing
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-components/org.wso2.carbon.student.mgt.ui/target/org.wso2.carbon.student.mgt.ui-4.2.0.jar
>> to
>> /Users/lahiruC/.m2/repository/org/wso2/carbon/org.wso2.carbon.student.mgt.ui/4.2.0/org.wso2.carbon.student.mgt.ui-4.2.0.jar
>>
>> [INFO] Installing
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-components/org.wso2.carbon.student.mgt.ui/pom.xml
>> to
>> /Users/lahiruC/.m2/repository/org/wso2/carbon/org.wso2.carbon.student.mgt.ui/4.2.0/org.wso2.carbon.student.mgt.ui-4.2.0.pom
>>
>> [INFO]
>>
>> [INFO] --- maven-bundle-plugin:2.5.3:install (default-install) @
>> org.wso2.carbon.student.mgt.ui ---
>>
>> [INFO] Installing
>> org/wso2/carbon/org.wso2.carbon.student.mgt.ui/4.2.0/org.wso2.carbon.student.mgt.ui-4.2.0.jar
>>
>> [INFO] Writing OBR metadata
>>
>> [INFO]
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO] Building WSO2 Carbon - Student Manager Features 4.2.0
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO]
>>
>> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
>> student-manager-features ---
>>
>> [INFO] Installing
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-features/pom.xml
>> to
>> /Users/lahiruC/.m2/repository/org/wso2/carbon/student-manager-features/4.2.0/student-manager-features-4.2.0.pom
>>
>> [INFO]
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO] Building WSO2 Carbon - Student Manager UI Feature 4.2.0
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO]
>>
>> [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
>> org.wso2.carbon.student.mgt.ui.feature ---
>>
>> [debug] execute contextualize
>>
>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>> resources, i.e. build is platform dependent!
>>
>> [INFO] skip non existing resourceDirectory
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-features/org.wso2.carbon.student.mgt.ui.feature/src/main/resources
>>
>> [INFO]
>>
>> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
>> org.wso2.carbon.student.mgt.ui.feature ---
>>
>> [INFO] No sources to compile
>>
>> [INFO]
>>
>> [INFO] --- maven-resources-plugin:2.5:testResources
>> (default-testResources) @ org.wso2.carbon.student.mgt.ui.feature ---
>>
>> [debug] execute contextualize
>>
>> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
>> resources, i.e. build is platform dependent!
>>
>> [INFO] skip non existing resourceDirectory
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-features/org.wso2.carbon.student.mgt.ui.feature/src/test/resources
>>
>> [INFO]
>>
>> [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile)
>> @ org.wso2.carbon.student.mgt.ui.feature ---
>>
>> [INFO] No sources to compile
>>
>> [INFO]
>>
>> [INFO] --- maven-surefire-plugin:2.10:test (default-test) @
>> org.wso2.carbon.student.mgt.ui.feature ---
>>
>> [INFO] No tests to run.
>>
>> [INFO] Surefire report directory:
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-features/org.wso2.carbon.student.mgt.ui.feature/target/surefire-reports
>>
>>
>> -------------------------------------------------------
>>
>>  T E S T S
>>
>> -------------------------------------------------------
>>
>>
>> Results :
>>
>>
>> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>>
>>
>> [INFO]
>>
>> [INFO] --- maven-jar-plugin:2.3.2:jar (default-jar) @
>> org.wso2.carbon.student.mgt.ui.feature ---
>>
>> [INFO] Building jar:
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-features/org.wso2.carbon.student.mgt.ui.feature/target/org.wso2.carbon.student.mgt.ui.feature-4.2.0.jar
>>
>> [INFO]
>> META-INF/maven/org.wso2.carbon/org.wso2.carbon.student.mgt.ui.feature/pom.xml
>> already added, skipping
>>
>> [INFO]
>> META-INF/maven/org.wso2.carbon/org.wso2.carbon.student.mgt.ui.feature/pom.properties
>> already added, skipping
>>
>> [INFO]
>>
>> [INFO] --- carbon-p2-plugin:1.5.3:p2-feature-gen (p2-feature-generation)
>> @ org.wso2.carbon.student.mgt.ui.feature ---
>>
>> [INFO] Generating feature manifest
>>
>> [INFO] Generating feature properties
>>
>> [INFO] Generating MANIFEST.MF
>>
>> [INFO] Generating Advice file (p2.inf)
>>
>> [INFO] Copying bundle dependencies
>>
>> [INFO]    org.wso2.carbon.student.mgt.stub:4.2.0
>>
>> [INFO]    org.wso2.carbon.student.mgt.ui:4.2.0
>>
>> [INFO] Generating feature archive:
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-features/org.wso2.carbon.student.mgt.ui.feature/target/org.wso2.carbon.student.mgt.ui.feature-4.2.0.zip
>>
>> [INFO]
>>
>> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
>> org.wso2.carbon.student.mgt.ui.feature ---
>>
>> [INFO] Installing
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-features/org.wso2.carbon.student.mgt.ui.feature/target/org.wso2.carbon.student.mgt.ui.feature-4.2.0.zip
>> to
>> /Users/lahiruC/.m2/repository/org/wso2/carbon/org.wso2.carbon.student.mgt.ui.feature/4.2.0/org.wso2.carbon.student.mgt.ui.feature-4.2.0.jar
>>
>> [INFO] Installing
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-features/org.wso2.carbon.student.mgt.ui.feature/pom.xml
>> to
>> /Users/lahiruC/.m2/repository/org/wso2/carbon/org.wso2.carbon.student.mgt.ui.feature/4.2.0/org.wso2.carbon.student.mgt.ui.feature-4.2.0.pom
>>
>> [INFO] Installing
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-features/org.wso2.carbon.student.mgt.ui.feature/target/org.wso2.carbon.student.mgt.ui.feature-4.2.0.zip
>> to
>> /Users/lahiruC/.m2/repository/org/wso2/carbon/org.wso2.carbon.student.mgt.ui.feature/4.2.0/org.wso2.carbon.student.mgt.ui.feature-4.2.0.zip
>>
>> [INFO]
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO] Building WSO2 Carbon - Student Manager Aggregate Feature 4.2.0
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO]
>>
>> [INFO] --- carbon-p2-plugin:1.5.3:p2-feature-gen (p2-feature-generation)
>> @ org.wso2.carbon.student.mgt.feature ---
>>
>> [INFO] Generating feature manifest
>>
>> [INFO] Generating feature properties
>>
>> [INFO] Generating MANIFEST.MF
>>
>> [INFO] Generating Advice file (p2.inf)
>>
>> [INFO] Extracting feature
>> org.wso2.carbon:org.wso2.carbon.student.mgt.server.feature
>>
>> [INFO] Extracting feature
>> org.wso2.carbon:org.wso2.carbon.student.mgt.ui.feature
>>
>> [INFO] Generating feature archive:
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-features/org.wso2.carbon.student.mgt.feature/target/org.wso2.carbon.student.mgt.feature-4.2.0.zip
>>
>> [INFO]
>>
>> [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
>> org.wso2.carbon.student.mgt.feature ---
>>
>> [INFO] Installing
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-features/org.wso2.carbon.student.mgt.feature/pom.xml
>> to
>> /Users/lahiruC/.m2/repository/org/wso2/carbon/org.wso2.carbon.student.mgt.feature/4.2.0/org.wso2.carbon.student.mgt.feature-4.2.0.pom
>>
>> [INFO] Installing
>> /Users/lahiruC/Documents/FastTrackerProgram/7-Carbon/StudentMgtEx/student-manager/student-manager-features/org.wso2.carbon.student.mgt.feature/target/org.wso2.carbon.student.mgt.feature-4.2.0.zip
>> to
>> /Users/lahiruC/.m2/repository/org/wso2/carbon/org.wso2.carbon.student.mgt.feature/4.2.0/org.wso2.carbon.student.mgt.feature-4.2.0.zip
>>
>> [INFO]
>>
>> [INFO] --- maven-antrun-plugin:1.3:run (clean_target) @
>> org.wso2.carbon.student.mgt.feature ---
>>
>> [INFO] Executing tasks
>>
>> [INFO] Executed tasks
>>
>> [INFO]
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO] Building WSO2 Carbon - Student Manager Feature Repository 4.2.0
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO]
>>
>> [INFO] --- carbon-p2-plugin:1.5.3:p2-repo-gen (2-p2-repo-generation) @
>> wso2carbon-student-mgt-repository ---
>>
>> [INFO] Extracting feature
>> org.wso2.carbon:org.wso2.carbon.student.mgt.feature
>>
>> [INFO] Copying resources
>>
>> [INFO] Running Equinox P2 Publisher Application for Repository Generation
>>
>> [WARNING] Exception reading bundle manifest of
>> /Users/lahiruC/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.osgi_3.8.0.v20110726-1606.jar
>>
>> java.util.zip.ZipException: error in opening zip file
>>
>> at java.util.zip.ZipFile.open(Native Method)
>>
>> at java.util.zip.ZipFile.<init>(ZipFile.java:215)
>>
>> at java.util.zip.ZipFile.<init>(ZipFile.java:145)
>>
>> at org.eclipse.tycho.core.osgitools.DefaultBundleReader.doLoadManifest(
>> DefaultBundleReader.java:88)
>>
>> at org.eclipse.tycho.core.osgitools.DefaultBundleReader.loadManifest(
>> DefaultBundleReader.java:57)
>>
>> at org.eclipse.tycho.core.osgitools.OsgiBundleProject.readArtifactKey(
>> OsgiBundleProject.java:132)
>>
>> at org.eclipse.tycho.p2.facade.internal.P2ApplicationLauncher.addBundle(
>> P2ApplicationLauncher.java:137)
>>
>> at org.eclipse.tycho.p2.facade.internal.P2ApplicationLauncher.execute(
>> P2ApplicationLauncher.java:96)
>>
>> at org.wso2.maven.p2.RepositoryGenMojo.generateRepository(
>> RepositoryGenMojo.java:253)
>>
>> at org.wso2.maven.p2.RepositoryGenMojo.createRepo(
>> RepositoryGenMojo.java:204)
>>
>> at org.wso2.maven.p2.RepositoryGenMojo.execute(RepositoryGenMojo.java:191
>> )
>>
>> 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:57)
>>
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> DelegatingMethodAccessorImpl.java:43)
>>
>> at java.lang.reflect.Method.invoke(Method.java:606)
>>
>> 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)
>>
>> [ERROR] java.lang.NullPointerException
>>
>> java.lang.RuntimeException: java.lang.NullPointerException
>>
>> at org.eclipse.tycho.p2.facade.internal.P2ApplicationLauncher.execute(
>> P2ApplicationLauncher.java:132)
>>
>> at org.wso2.maven.p2.RepositoryGenMojo.generateRepository(
>> RepositoryGenMojo.java:253)
>>
>> at org.wso2.maven.p2.RepositoryGenMojo.createRepo(
>> RepositoryGenMojo.java:204)
>>
>> at org.wso2.maven.p2.RepositoryGenMojo.execute(RepositoryGenMojo.java:191
>> )
>>
>> 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:57)
>>
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> DelegatingMethodAccessorImpl.java:43)
>>
>> at java.lang.reflect.Method.invoke(Method.java:606)
>>
>> 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)
>>
>> Caused by: java.lang.NullPointerException
>>
>> at org.eclipse.tycho.core.osgitools.DefaultBundleReader.toProperties(
>> DefaultBundleReader.java:165)
>>
>> at org.eclipse.tycho.core.osgitools.DefaultBundleReader.parseHeader(
>> DefaultBundleReader.java:176)
>>
>> at org.eclipse.tycho.core.osgitools.OsgiBundleProject.readArtifactKey(
>> OsgiBundleProject.java:134)
>>
>> at org.eclipse.tycho.p2.facade.internal.P2ApplicationLauncher.addBundle(
>> P2ApplicationLauncher.java:137)
>>
>> at org.eclipse.tycho.p2.facade.internal.P2ApplicationLauncher.execute(
>> P2ApplicationLauncher.java:96)
>>
>> ... 24 more
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO] Reactor Summary:
>>
>> [INFO]
>>
>> [INFO] WSO2 Carbon - Student Manager ..................... SUCCESS
>> [0.098s]
>>
>> [INFO] WSO2 Carbon - Student Manager Components .......... SUCCESS
>> [0.003s]
>>
>> [INFO] WSO2 Carbon - Student Manager Server Component .... SUCCESS
>> [1.347s]
>>
>> [INFO] WSO2 Carbon - Student Manager Stub ................ SUCCESS
>> [3.073s]
>>
>> [INFO] WSO2 Carbon - Student Manager UI Component ........ SUCCESS
>> [0.826s]
>>
>> [INFO] WSO2 Carbon - Student Manager Features ............ SUCCESS
>> [0.003s]
>>
>> [INFO] WSO2 Carbon - Student Manager UI Feature .......... SUCCESS
>> [0.860s]
>>
>> [INFO] WSO2 Carbon - Student Manager Aggregate Feature ... SUCCESS
>> [0.187s]
>>
>> [INFO] WSO2 Carbon - Student Manager Feature Repository .. FAILURE
>> [0.048s]
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO] BUILD FAILURE
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO] Total time: 7.358s
>>
>> [INFO] Finished at: Wed Sep 17 12:29:29 IST 2014
>>
>> [INFO] Final Memory: 36M/519M
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [ERROR] Failed to execute goal
>> org.wso2.maven:carbon-p2-plugin:1.5.3:p2-repo-gen (2-p2-repo-generation) on
>> project wso2carbon-student-mgt-repository: java.lang.NullPointerException
>> -> [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
>>
>> [ERROR]
>>
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>>
>> [ERROR]   mvn <goals> -rf :wso2carbon-student-mgt-repository
>>
>> JDWP exit error JVMTI_ERROR_WRONG_PHASE(112): on getting class status
>> [../../../src/share/back/util.c:1283]
>>
>> JDWP exit error JVMTI_ERROR_INVALID_ENVIRONMENT(116): on raw monitor
>> enter [../../../src/share/back/util.c:1052]
>>
>> ************************************************************************
>>
>>
>> --
>> *Lahiru Cooray*
>> Software Engineer
>> WSO2, Inc.;http://wso2.com/
>> lean.enterprise.middleware
>>
>> Mobile: +94 715 654154
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
*Lahiru Cooray*
Software Engineer
WSO2, Inc.;http://wso2.com/
lean.enterprise.middleware

Mobile: +94 715 654154
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to