ok, plz ve a back up copy of ur main pom file & let ur main pom file contain
d followin,

Note : change ur <groupId> & <artifactId> acc to ur requirements...

<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/maven-v4_0_0.xsd";>
        <modelVersion>4.0.0</modelVersion>
        <groupId>com.cts.ServiceMixDMSPOC</groupId>
        <artifactId>DMS</artifactId>
        <packaging>pom</packaging>
        <version>1.0-SNAPSHOT</version>
        <name>DMS</name>
        <url>http://maven.apache.org</url>
        <dependencies>
                <dependency>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                        <version>3.8.1</version>
                        <scope>test</scope>
                </dependency>
        </dependencies>
        <pluginRepositories>
                <pluginRepository>
                        <id>apache.snapshots</id>
                        <name>Apache Snapshots Repository</name>
                        
<url>http://people.apache.org/repo/m2-snapshot-repository</url>
                        <snapshots>
                                <enabled>true</enabled>
                        </snapshots>
                        <releases>
                                <enabled>false</enabled>
                        </releases>
                </pluginRepository>
                <pluginRepository>
                        <id>apache</id>
                        <name>Apache Incubating Repository</name>
                        
<url>http://people.apache.org/repo/m2-incubating-repository</url>
                        <snapshots>
                                <enabled>false</enabled>
                        </snapshots>
                        <releases>
                                <enabled>true</enabled>
                        </releases>
                </pluginRepository>
        </pluginRepositories>
        <repositories>
                <repository>
                        <id>apache.snapshots</id>
                        <name>Apache Snapshots Repository</name>
                        
<url>http://people.apache.org/repo/m2-snapshot-repository</url>
                        <snapshots>
                                <enabled>true</enabled>
                        </snapshots>
                        <releases>
                                <enabled>false</enabled>
                        </releases>
                </repository>
                <repository>
                        <id>apache</id>
                        <name>Apache Incubating Repository</name>
                        
<url>http://people.apache.org/repo/m2-incubating-repository</url>
                        <snapshots>
                                <enabled>false</enabled>
                        </snapshots>
                        <releases>
                                <enabled>true</enabled>
                        </releases>
                </repository>
        </repositories>
</project>


Hi 

Thank you 

But this is first step of creating my first own proj. So I created just one
main pom once it runs successful then I could create su and sa pom.

Here is the main pom

<?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/maven-v4_0_0.xsd";>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.servicemix.tutorial</groupId>
  <artifactId>parent</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>pom</packaging>
  <name>tutorial</name>
  <url>http://servicemix.org</url>
</project>

Thank you once again for your help

Regards
Priya


IMF wrote:
> 
> 
> HI, cud u plz send me d main pom file & service engine pom file....i shall
> look into it....
> 
> Btw, try addin d below d code (under the <dependencies> tag) in d pom file
> of the serivce engine u use n check if its workin..
> 
> <dependency>
>     <groupId>org.apache.servicemix</groupId>
>     <artifactId>servicemix-core</artifactId>
>     <version>${servicemix-version}</version>
> </dependency>
> 
> if u r in chennai, try to give ur contact no.
> 
> 



shamuat wrote:
> 
> I am trying to create a Maven project (while running the command > mvn
> install), I am getting the following error –
> 
> D:\apache-servicemix-3.2.1\tutorial>mvn install
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does
> not exi
> st or no valid version could be found
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Thu Feb 21 14:49:01 IST 2008
> [INFO] Final Memory: 1M/2M
> 
> Could someone please give me some idea regarding this error, as I am new
> to this Maven.
> 
> Thanks 
> Priya
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Plz-help-tp15607223s12049p15607275.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to