Hi JB,
Thank you very clear!! 
But when i try your suggestions i have the same problem!! I post you the new
pom. In this case i have tried to dowload a single feature "naming" that has
only one bundle but when it downloads i see many [INFO] unable to dowload...
When i control if the url are correct i found the pom so the url are
correct.What is the problem now? Is there a more simple machanism to create
a local Maven repository to use servicemix without internet access?

New pom

<project>
        <modelVersion>4.0.0</modelVersion>
        <groupId>it.vitrociset.app</groupId>
        <artifactId>my-app</artifactId>
        <version>1.0-SNAPSHOT</version>
        
        
        
        <pluginRepositories>
                
                <pluginRepository>
                        <id>releases</id>
                        <name>Releases</name>
                        
                        <url>
                                
http://repo.fusesource.com/nexus/content/repositories/releases
                        </url>
                </pluginRepository>
        </pluginRepositories>
        
        <repositories>
                
                <repository>
                        <id>sourceforge</id>
                        <name>Sourceforge</name>
                        <url>http://repo.fusesource.com/maven2</url>
                </repository>
                <!--
                <repository>
                        <id>sourceforgerepo</id>
                        <name>SourceforgeRepo</name>
                        
                        <url>
                                
http://repo.fusesource.com/nexus/content/repositories/releases
                        </url>
                </repository>
                
                
                    <repository>
                            <id>ops4j</id>
                            <name>Ops4j</name>
                            <url>http://repository.ops4j.org/maven2</url>
                    </repository>
                    <repository>
                            <id>apache</id>
                            <name>Apache</name>
                            
<url>http://svn.apache.org/repos/asf/servicemix/m2-repo</url>
                    </repository>
                    <repository>
                            <id>springsourcerelease</id>
                            <name>SpringSourceRelease</name>
                            
<url>http://repository.springsource.com/maven/bundles/release</url>
                    </repository>
                    <repository>
                            <id>springsourceexternal</id>
                            <name>SpringSourceExternal</name>
                            
<url>http://repository.springsource.com/maven/bundles/external</url>
                    </repository> 
                    -->
            </repositories>
            
        <dependencies>
                
                <dependency>
                        <groupId>org.apache.servicemix.naming</groupId>
                        <artifactId>org.apache.servicemix.naming</artifactId>
                        <version>1.3.0-fuse-01-00</version>
                </dependency>
                
        </dependencies>    
            
        <build>
                    
                    <plugins>
                            
                            <plugin>
                                    <groupId>org.apache.karaf.tooling</groupId>
                                    
<artifactId>features-maven-plugin</artifactId>
                                    <version>2.0.0-fuse-02-00</version>
                                    
                                    <executions>
                                            
                                            <execution>
                                                    
<id>add-features-to-repo</id>
                                                    
<phase>generate-resources</phase>
                                                    
                                                    <goals>
                                                            
<goal>add-features-to-repo</goal>
                                                    </goals>
                                                    
                                                    <configuration>
                                                            
                                                            <descriptors>
                                                                    
                                                                    <descriptor>
                                                                           
mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.3.0-fuse-01-00/xml/features
                                                                    
</descriptor>
                                                            </descriptors>
                                                            
                                                            <features>
                                                                    
<feature>naming</feature>
                                                            </features>
                                                            
<repository>${project.build.directory}/features-repo</repository>
                                                    </configuration>
                                            </execution>
                                    </executions>
                            </plugin>
                    </plugins>
            </build>
</project>
                    
Regards
Massimiliano 
-- 
View this message in context: 
http://servicemix.396122.n5.nabble.com/features-maven-plugin-Error-populating-repository-tp3284232p3284512.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to