Uploaded image for project: 'Maven Install Plugin'
  1. Maven Install Plugin
  2. MINSTALL-152

Maven Install Plugin Version 3.0.0-M1 unable to build POMs with packaging set "feature"

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments


    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0-M1
    • Fix Version/s: None
    • Component/s: install:install
    • Labels:
    • Environment:
      Solaris 11.3
    • Flags:


      I've received the following error executing the command mvn clean deploy:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install (default-install) on project sis-gradaid-features-pprd: NoFileAssignedException: The packaging plugin for this project did not assign a main file to the project but it has attachments. Change packaging to 'pom'. -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install (default-install) on project sis-gradaid-features-pprd: NoFileAssignedException

      The packaging in the POM that failed is set to "feature", which is managed by the plugin karaf-maven-plugin. 

      Maven versions 3.0.4 and 3.2.3 have been used to build our project.

      Here's the POM that failed:


      <?xml version="1.0" encoding="UTF-8"?>
      <project xmlns="http://maven.apache.org/POM/4.0.0"
               xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
              Licensed to the Apache Software Foundation (ASF) under one or more
              contributor license agreements.  See the NOTICE file distributed with
              this work for additional information regarding copyright ownership.
              The ASF licenses this file to You under the Apache License, Version 2.0
              (the "License"); you may not use this file except in compliance with
              the License.  You may obtain a copy of the License at
              Unless required by applicable law or agreed to in writing, software
              distributed under the License is distributed on an "AS IS" BASIS,
              WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
              See the License for the specific language governing permissions and
              limitations under the License.
        <name>SIS :: Grad Aid :: Features</name>
        <description>SIS Grad Aid Features</description>
          <!-- add the artifact that should be in the feature in the dependencies set -->
                The Maven phase for karaf-maven-plugin is defined in the plugin's
                component.xml file.  the features generation happens during the compile


      Here's the summary:

      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] SIS :: Grad Aid :: PPRD ........................... SUCCESS [9.100s]
      [INFO] SIS :: Grad Aid :: Student Info :: PPRD ........... SUCCESS [21.268s]
      [INFO] SIS :: Grad Aid :: Features :: PPRD ............... FAILURE [2.040s]
      [INFO] SIS :: Grad Aid :: Hibernate :: Fragment :: PPRD .. SKIPPED
      [INFO] ------------------------------------------------------------------------

      Thanks for your help.



        Issue Links



            • Assignee:
              traffic Stan Brown


              • Created:

                Issue deployment