hey Aleksey

tried following command 

C:\sample2\jsf-app>mvn archetype:generate
-DarchetypeGroupId=org.richfaces.cdk -
DarchetypeArtifactId=maven-archetype-jsfwebapp
-DarchetypeVersion=3.3.3-SNAPSHOT
 -DgroupId=org.docs.richfaces -DartifactId=jsf-app

and it build it successfully

then i changed the whole dependency like follow

<dependencies>

    <dependency>

        <groupId>junit</groupId>

        <artifactId>junit</artifactId>

        <version>3.8.1</version>

        <scope>test</scope>

    </dependency>

    <dependency>

        <groupId>javax.servlet</groupId>

        <artifactId>servlet-api</artifactId>

        <version>2.4</version>

        <scope>provided</scope>

    </dependency>

    <dependency>

        <groupId>javax.servlet</groupId>

        <artifactId>jsp-api</artifactId>

        <version>2.0</version>

        <scope>provided</scope>

    </dependency>

    <dependency>

        <groupId>jstl</groupId>

        <artifactId>jstl</artifactId>

        <version>1.1.2</version>

    </dependency>

    <dependency>

        <groupId>javax.servlet.jsp</groupId>

        <artifactId>jsp-api</artifactId>

        <version>2.1</version>

        <scope>provided</scope>

    </dependency>

    <dependency>

        <groupId>javax.faces</groupId>

        <artifactId>jsf-api</artifactId>

        <version>1.2_12</version>

    </dependency>

    <dependency>

        <groupId>javax.faces</groupId>

        <artifactId>jsf-impl</artifactId>

        <version>1.2_12</version>

    </dependency>

    <dependency>

        <groupId>javax.el</groupId>

        <artifactId>el-api</artifactId>

        <version>1.0</version>

        <scope>provided</scope>

    </dependency>

    <dependency>

        <groupId>el-impl</groupId>

        <artifactId>el-impl</artifactId>

        <version>1.0</version>

        <scope>provided</scope>

    </dependency>

    <dependency>

        <groupId>javax.annotation</groupId>

        <artifactId>jsr250-api</artifactId>

        <version>1.0</version>

    </dependency>

    <!-- RichFaces libraries -->

    <dependency>

        <groupId>org.richfaces.framework</groupId>

        <artifactId>richfaces-api</artifactId>

        <version>3.3.3-SNAPSHOT</version>

    </dependency>

    <dependency>

        <groupId>org.richfaces.framework</groupId>

        <artifactId>richfaces-impl</artifactId>

        <version>3.3.3-SNAPSHOT</version>

    </dependency>

    <dependency>

        <groupId>org.richfaces.ui</groupId>

        <artifactId>richfaces-ui</artifactId>

        <version>3.3.3-SNAPSHOT</version>

    </dependency>

</dependencies>

then from command prompt i used command mvn -install 

then it shown me build error with following message

Missing:
----------
1) org.richfaces.framework:richfaces-api:jar:3.3.3-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.richfaces.framework
-DartifactId=ri
chfaces-api -Dversion=3.3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=org.richfaces.framework
-DartifactId=rich
faces-api -Dversion=3.3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
-Durl=[u
rl] -DrepositoryId=[id]

  Path to dependency:
        1) org.docs.richfaces:jsf-app:war:3.3.3
        2) org.richfaces.framework:richfaces-api:jar:3.3.3-SNAPSHOT

2) org.richfaces.framework:richfaces-impl:jar:3.3.3-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.richfaces.framework
-DartifactId=ri
chfaces-impl -Dversion=3.3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=org.richfaces.framework
-DartifactId=rich
faces-impl -Dversion=3.3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
-Durl=[
url] -DrepositoryId=[id]

  Path to dependency:
        1) org.docs.richfaces:jsf-app:war:3.3.3
        2) org.richfaces.framework:richfaces-impl:jar:3.3.3-SNAPSHOT

3) org.richfaces.ui:richfaces-ui:jar:3.3.3-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.richfaces.ui
-DartifactId=richfaces
-ui -Dversion=3.3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=org.richfaces.ui
-DartifactId=richfaces-u
i -Dversion=3.3.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-Dre
positoryId=[id]

  Path to dependency:
        1) org.docs.richfaces:jsf-app:war:3.3.3
        2) org.richfaces.ui:richfaces-ui:jar:3.3.3-SNAPSHOT

4) javax.faces:jsf-api:jar:1.2_12

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=javax.faces -DartifactId=jsf-api
-Dvers
ion=1.2_12 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=javax.faces -DartifactId=jsf-api
-Dversio
n=1.2_12 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
        1) org.docs.richfaces:jsf-app:war:3.3.3
        2) javax.faces:jsf-api:jar:1.2_12

5) javax.faces:jsf-impl:jar:1.2_12

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=javax.faces -DartifactId=jsf-impl
-Dver
sion=1.2_12 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=javax.faces -DartifactId=jsf-impl
-Dversi
on=1.2_12 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
        1) org.docs.richfaces:jsf-app:war:3.3.3
        2) javax.faces:jsf-impl:jar:1.2_12

6) el-impl:el-impl:jar:1.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=el-impl -DartifactId=el-impl
-Dversion=
1.0 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=el-impl -DartifactId=el-impl
-Dversion=1.
0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.docs.richfaces:jsf-app:war:3.3.3
        2) el-impl:el-impl:jar:1.0

----------
6 required artifacts are missing.

for artifact:
  org.docs.richfaces:jsf-app:war:3.3.3

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)



[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Fri Apr 23 18:29:09 IST 2010
[INFO] Final Memory: 7M/18M
[INFO]
------------------------------------------------------------------------
C:\sample2\jsf-app>


please tell me what would be the problem for above 



Aleksey Didik wrote:
> 
> Ok, I have capitulated.
> 
> Sorry pankjajain, but it's much difficult to start maven project then 5 
> minute install.
> Maven environment need to be configured. Different repositories must be 
> added to your configuration.
> Try to read what Maven is. It will lead your to the right way.
> 
> By the way, try to change archetype version in command to earlier, like
> 
> 3.3.1.GA
> 3.3.0.GA
> 3.2.2.GA
> 3.3.1.GA
> 
> May be the luck will be with you in one moment and this version of
> archetype will use only releases...
> 
> Aleksey.
> 
> 
> 
> 
> 23.04.2010 16:34, pankjajain15 пишет:
>> till it is asking for snapshot version
>>
>>
>>
>> Aleksey Didik wrote:
>>    
>>> Ok, I undertsand.
>>>
>>> Looks like this archetype is quite difficult as I think before.
>>> You need to add JBoss Snapshot repo to you maven settings.xml.
>>>
>>> Try to change previously added<profiles>  section to listed below and
>>> try again with command.
>>>
>>> <profiles>
>>> <profile>
>>> <id>jboss-repo</id>
>>> <repositories>
>>> <repository>
>>> <id>jboss</id>
>>> <url>http://repository.jboss.org/maven2</url>
>>> <releases><enabled>true</enabled></releases>
>>> <snapshots><enabled>false</enabled></snapshots>
>>> </repository>
>>> </repositories>
>>> </profile>
>>>
>>> <profile>
>>> <id>jboss-repo-snapshots</id>
>>> <repositories>
>>> <repository>
>>> <id>jboss-snapshots</id>
>>> <url>http://snapshots.jboss.org/maven2/</url>
>>> <releases><enabled>false</enabled></releases>
>>> <snapshots><enabled>true</enabled></snapshots>
>>> </repository>
>>> </repositories>
>>> </profile>
>>> </profiles>
>>> <activeProfiles>
>>> <activeProfile>jboss-repo</activeProfile>
>>> <activeProfile>jboss-repo-snapshots</activeProfile>
>>> </activeProfiles>
>>>
>>>
>>>
>>>
>>> 23.04.2010 16:11, pankjajain15 пишет:
>>>      
>>>> i used same command as u told me
>>>>
>>>> the command is as follow
>>>> C:\sample2>mvn archetype:generate -DarchetypeGroupId=org.richfaces.cdk
>>>> -Darchety
>>>> peArtifactId=maven-archetype-jsfwebapp -DarchetypeVersion=3.3.2.GA
>>>> -DgroupId=org
>>>> .docs.richfaces -DartifactId=jsf-app
>>>> -DarchetypeRepository=http://repository.jbo
>>>> ss.org/maven2
>>>>
>>>>        
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>>> For additional commands, e-mail: users-h...@maven.apache.org
>>>
>>>
>>>
>>>      
>>    
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/integration-problem-tp28337509p28341185.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to