[ 
https://issues.apache.org/jira/browse/MINSTALL-152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965997#comment-17965997
 ] 

Olivier Lamy commented on MINSTALL-152:
---------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-install-plugin#258|https://github.com/apache/maven-install-plugin/issues/258].
 

> Maven Install Plugin Version 3.0.0-M1 unable to build POMs with packaging set 
> "feature"
> ---------------------------------------------------------------------------------------
>
>                 Key: MINSTALL-152
>                 URL: https://issues.apache.org/jira/browse/MINSTALL-152
>             Project: Maven Install Plugin (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: install:install
>    Affects Versions: 3.0.0-M1
>         Environment: Solaris 11.3
>            Reporter: Stan Brown
>            Priority: Major
>              Labels: deploy, install, maven
>
> 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:
>  
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0";
>          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
> http://maven.apache.org/xsd/maven-4.0.0.xsd";>
>   <parent>
>     <artifactId>sis</artifactId>
>     <groupId>edu.uci.oit.sis</groupId>
>     <version>0.5.33-SNAPSHOT</version>
>   </parent>
>   <!--
>         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
>             http://www.apache.org/licenses/LICENSE-2.0
>         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.
>     -->
>   <modelVersion>4.0.0</modelVersion>
>   <artifactId>sis-gradaid-features</artifactId>
>   <packaging>feature</packaging>
>   <name>SIS :: Grad Aid :: Features</name>
>   <description>SIS Grad Aid Features</description>
>   <properties>
>     <fabric8.ignoreProject>true</fabric8.ignoreProject>
>   </properties>
>   <dependencies>
>     <!-- add the artifact that should be in the feature in the dependencies 
> set -->
>   </dependencies>
>   <build>
>     <pluginManagement>
>       <plugins>
>         <plugin>
>           <groupId>org.apache.karaf.tooling</groupId>
>           <artifactId>karaf-maven-plugin</artifactId>
>           <version>4.0.0</version>
>           <extensions>true</extensions>
>         </plugin>
>       </plugins>
>     </pluginManagement>
>     <plugins>
>       <plugin>
>         <!--
>           The Maven phase for karaf-maven-plugin is defined in the plugin's
>           component.xml file.  the features generation happens during the 
> compile
>           phase.
>         -->
>         <groupId>org.apache.karaf.tooling</groupId>
>         <artifactId>karaf-maven-plugin</artifactId>
>         <configuration>
>           <startLevel>50</startLevel>
>           <aggregateFeatures>true</aggregateFeatures>
>           <resolver>(obr)</resolver>
>           <checkDependencyChange>true</checkDependencyChange>
>           <failOnDependencyChange>false</failOnDependencyChange>
>           <logDependencyChanges>true</logDependencyChanges>
>           <overwriteChangedDependencies>true</overwriteChangedDependencies>
>         </configuration>
>       </plugin>
>     </plugins>
>   </build>
> </project>
> {code}
>  
> Here's the summary:
> {noformat}
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [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] 
> ------------------------------------------------------------------------{noformat}
> Thanks for your help.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to