Re: integration problem

2010-04-23 Thread Wayne Fay
Please ask the Richfaces people who created this archetype. Or the
Jboss folks who are hosting it.

This list can't help with bad/broken archetypes.

Wayne

On Fri, Apr 23, 2010 at 8:12 AM, pankjajain15  wrote:
>
> 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
>
>
> please tell me what would be the problem for above

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



Re: integration problem

2010-04-23 Thread pankjajain15

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





junit

junit

3.8.1

test





javax.servlet

servlet-api

2.4

provided





javax.servlet

jsp-api

2.0

provided





jstl

jstl

1.1.2





javax.servlet.jsp

jsp-api

2.1

provided





javax.faces

jsf-api

1.2_12





javax.faces

jsf-impl

1.2_12





javax.el

el-api

1.0

provided





el-impl

el-impl

1.0

provided





javax.annotation

jsr250-api

1.0







org.richfaces.framework

richfaces-api

3.3.3-SNAPSHOT





org.richfaces.framework

richfaces-impl

3.3.3-SNAPSHOT





org.richfaces.ui

richfaces-ui

3.3.3-SNAPSHOT





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

Re: integration problem

2010-04-23 Thread Aleksey Didik

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  section to listed below and
try again with command.



jboss-repo


jboss
http://repository.jboss.org/maven2
true
false





jboss-repo-snapshots


jboss-snapshots
http://snapshots.jboss.org/maven2/
false
true





jboss-repo
jboss-repo-snapshots





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



Re: integration problem

2010-04-23 Thread 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  section to listed below and 
> try again with command.
> 
> 
> 
> jboss-repo
> 
> 
> jboss
> http://repository.jboss.org/maven2
> true
> false
> 
> 
> 
> 
> 
> jboss-repo-snapshots
> 
> 
> jboss-snapshots
> http://snapshots.jboss.org/maven2/
> false
> true
> 
> 
> 
> 
> 
> jboss-repo
> jboss-repo-snapshots
> 
> 
> 
> 
> 
> 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
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/integration-problem-tp28337509p28340758.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



Re: integration problem

2010-04-23 Thread Aleksey Didik

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  section to listed below and 
try again with command.




jboss-repo


jboss
http://repository.jboss.org/maven2
true
false





jboss-repo-snapshots


jboss-snapshots
http://snapshots.jboss.org/maven2/
false
true





jboss-repo
jboss-repo-snapshots





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



Re: integration problem

2010-04-23 Thread 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
-- 
View this message in context: 
http://old.nabble.com/integration-problem-tp28337509p28340531.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



Re: integration problem

2010-04-23 Thread Aleksey Didik

Please, send to me a command from console?
Maven try to use SNAPSHOT versions. It's strange.

23.04.2010 15:39, pankjajain15 пишет:


ya i tried your command, but again foung following error

--
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.2.GA

   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.2.GA -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.2.GA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-Dreposito
ryId=[id]

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

4) 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

5) 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

6) 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 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: 12 seconds
[INFO] Finished at: Fri Apr 23 16:39:44 IST 2010
[INFO] Final Memory: 7M/18M
[INFO]

C:\sample\jsf-app>


   



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

Re: integration problem

2010-04-23 Thread pankjajain15

ya i tried your command, but again foung following error

--
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.2.GA

  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.2.GA -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.2.GA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-Dreposito
ryId=[id]

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

4) 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

5) 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

6) 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 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: 12 seconds
[INFO] Finished at: Fri Apr 23 16:39:44 IST 2010
[INFO] Final Memory: 7M/18M
[INFO]

C:\sample\jsf-app>


-- 
View this message in context: 
http://old.nabble.com/integration-problem-tp28337509p28340212.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


Re: integration problem

2010-04-22 Thread Aleksey Didik

Ah, my fault.

Try to use.

mvn archetype:generate -DarchetypeGroupId=org.richfaces.cdk
-DarchetypeArtifactId=maven-archetype-jsfwebapp
-DarchetypeVersion=3.3.2.GA -DgroupId=org.docs.richfaces
-DartifactId=jsf-app 
-DarchetypeRepository=http://repository.jboss.org/maven2


Aleksey.

23.04.2010 10:21, pankjajain15 пишет:

i did it as you said but now  it showing me following errors

C:\project>mvn archetype:generate -DarchetypeGroupId=org.richfaces.cdk
-Darchetyp
eArtifactId=maven-archetype-jsfwebapp -DarchetypeVersion=3.3.2-GA
-DgroupId=org.
docs.richfaces -DartifactId=jsf-app
-DarchetypeRepository=http://repository.jbos
s.org/maven2
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]

[INFO] Building Maven Default Project
[INFO]task-segment: [archetype:generate] (aggregator-style)
[INFO]

[INFO] Preparing archetype:generate
[INFO] No goals needed for project - skipping
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on =>  'false'.
[INFO] Setting property: resource.loader =>  'classpath'.
[INFO] Setting property: resource.manager.logwhenfound =>  'false'.
[INFO] [archetype:generate {execution: default-cli}]
[INFO] Generating project in Interactive mode
[INFO] Archetype defined by properties
Downloading:
http://repository.jboss.org/maven2/org/richfaces/cdk/maven-archetyp
e-jsfwebapp/3.3.2-GA/maven-archetype-jsfwebapp-3.3.2-GA.jar
[INFO] Unable to find resource
'org.richfaces.cdk:maven-archetype-jsfwebapp:jar:
3.3.2-GA' in repository maven-archetype-jsfwebapp-repo
(http://repository.jboss.
org/maven2)
Downloading:
http://repo1.maven.org/maven2/org/richfaces/cdk/maven-archetype-jsf
webapp/3.3.2-GA/maven-archetype-jsfwebapp-3.3.2-GA.jar
[INFO] Unable to find resource
'org.richfaces.cdk:maven-archetype-jsfwebapp:jar:
3.3.2-GA' in repository central (http://repo1.maven.org/maven2)
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] The desired archetype does not exist
(org.richfaces.cdk:maven-archetype-j
sfwebapp:3.3.2-GA)
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 6 seconds
[INFO] Finished at: Fri Apr 23 11:47:50 IST 2010
[INFO] Final Memory: 8M/21M
[INFO]

C:\project>
   



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



Re: integration problem

2010-04-22 Thread pankjajain15

i did it as you said but now  it showing me following errors

C:\project>mvn archetype:generate -DarchetypeGroupId=org.richfaces.cdk
-Darchetyp
eArtifactId=maven-archetype-jsfwebapp -DarchetypeVersion=3.3.2-GA
-DgroupId=org.
docs.richfaces -DartifactId=jsf-app
-DarchetypeRepository=http://repository.jbos
s.org/maven2
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]

[INFO] Building Maven Default Project
[INFO]task-segment: [archetype:generate] (aggregator-style)
[INFO]

[INFO] Preparing archetype:generate
[INFO] No goals needed for project - skipping
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [archetype:generate {execution: default-cli}]
[INFO] Generating project in Interactive mode
[INFO] Archetype defined by properties
Downloading:
http://repository.jboss.org/maven2/org/richfaces/cdk/maven-archetyp
e-jsfwebapp/3.3.2-GA/maven-archetype-jsfwebapp-3.3.2-GA.jar
[INFO] Unable to find resource
'org.richfaces.cdk:maven-archetype-jsfwebapp:jar:
3.3.2-GA' in repository maven-archetype-jsfwebapp-repo
(http://repository.jboss.
org/maven2)
Downloading:
http://repo1.maven.org/maven2/org/richfaces/cdk/maven-archetype-jsf
webapp/3.3.2-GA/maven-archetype-jsfwebapp-3.3.2-GA.jar
[INFO] Unable to find resource
'org.richfaces.cdk:maven-archetype-jsfwebapp:jar:
3.3.2-GA' in repository central (http://repo1.maven.org/maven2)
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] The desired archetype does not exist
(org.richfaces.cdk:maven-archetype-j
sfwebapp:3.3.2-GA)
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 6 seconds
[INFO] Finished at: Fri Apr 23 11:47:50 IST 2010
[INFO] Final Memory: 8M/21M
[INFO]

C:\project>
-- 
View this message in context: 
http://old.nabble.com/integration-problem-tp28337509p28337627.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



Re: integration problem

2010-04-22 Thread Aleksey Didik

Hello pankjajain15.

Look like you need to add jboss repository to your settings.xml.
On the start Maven knows only about 'central' repository which can not 
contains necessary archetype.

This archetype contains in JBoss repository.

Try to do next:

1) Add to /conf/settings.xml next xml in  section:



jboss-repo


jboss
http://repository.jboss.org/maven2
true
false





jboss-repo


2) Try to use this command

mvn archetype:generate -DarchetypeGroupId=org.richfaces.cdk
-DarchetypeArtifactId=maven-archetype-jsfwebapp
-DarchetypeVersion=3.3.2-GA -DgroupId=org.docs.richfaces
-DartifactId=jsf-app -DarchetypeRepository=http://repository.jboss.org/maven2


Write me about results.

Hope this help,

Aleksey.


23.04.2010 9:34, pankjajain15 пишет:

Hi, i want to integrate maven with richfaces ,

i have followed section 3.3 from this
http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/GettingStarted.html
link.

i have installed maven on c drive on windows machine .

as per instruction mentioned in above link , i created a folder "project" on
c drive and run a command line from it as mentioned in above link

the command is

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


after executing above code , it shows me following error on command prompt

C:\project>mvn -e archetype:generate -DarchetypeGroupId=org.richfaces.cdk
-Darche
typeArtifactId=maven-archetype-jsfwebapp -DarchetypeVersion=3.3.3-SNAPSHOT
-Dgro
upId=org.docs.richfaces -DartifactId=jsf-app
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] [INFO] Building Maven Default Project
[INFO] task-segment: [archetype:generate] (aggregator-style)
[INFO] [INFO] Preparing archetype:generate
[INFO] No goals needed for project - skipping
[INFO] Setting property: classpath.resource.loader.class =>
'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on =>  'false'.
[INFO] Setting property: resource.loader =>  'classpath'.
[INFO] Setting property: resource.manager.logwhenfound =>  'false'.
[INFO] [archetype:generate {execution: default-cli}]
[INFO] Generating project in Interactive mode
[WARNING] No archetype repository found. Falling back to central repository
(htt
p://repo1.maven.org/maven2).
[WARNING] Use -DarchetypeRepository=  if archetype's
repository
is elsewhere.
[INFO] snapshot org.richfaces.cdk:maven-archetype-jsfwebapp:3.3.3-SNAPSHOT:
chec
king for updates from maven-archetype-jsfwebapp-repo
Downloading:
http://repo1.maven.org/maven2/org/richfaces/cdk/maven-archetype-jsf
webapp/3.3.3-SNAPSHOT/maven-archetype-jsfwebapp-3.3.3-SNAPSHOT.jar
[INFO] Unable to find resource
'org.richfaces.cdk:maven-archetype-jsfwebapp:jar:
3.3.3-SNAPSHOT' in repository maven-archetype-jsfwebapp-repo
(http://repo1.maven
.org/maven2)
[INFO] [ERROR] BUILD FAILURE
[INFO] [INFO] The desired archetype does not exist
(org.richfaces.cdk:maven-archetype-j
sfwebapp:3.3.3-SNAPSHOT)
[INFO] [INFO] Trace
org.apache.maven.BuildFailureException: The desired archetype does not exist
(or
g.richfaces.cdk:maven-archetype-jsfwebapp:3.3.3-SNAPSHOT)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:715)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:569)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:539)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:284)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6
0)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: The desired
archetype d
oes not exist (org.richfaces.cdk:maven-archetype-jsfwebapp:3.3.3-SNAPSHOT)
at org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMoj

RE: integration problem

2010-04-22 Thread subir.sasikumar
>[INFO] [archetype:generate {execution: default-cli}] [INFO] Generating
project in Interactive mode [WARNING] No archetype repository found.
Falling back to central repository (htt p://repo1.maven.org/maven2).
>[WARNING] Use -DarchetypeRepository= if archetype's
repository is elsewhere.

You are trying to find a snapshot version in Maven central repoI
doubt you will find any.
Configure your repositories appropriately.

Subir

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

www.wipro.com

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