You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Pedro Viegas <vi...@gmail.com> on 2007/02/07 03:43:21 UTC

How to get Tap4.1.2 SNAPSHOOT? Need help with pom.xml

I there.
I'm not a Maven guy, so I don't really now how to set up a pom.xml do get
the Tap 4.1.2 snapshoot.
I have seen the instructions page...

http://tapestry.apache.org/tapestry4.1/download.html

But some more is needed to get the files right?

I set up the pom.xml like this...

<project>
   <modelVersion>4.0.0</modelVersion>
   <groupId>my.group</groupId>
   <artifactId>my-project</artifactId>
   <packaging>war</packaging>
   <version>0.1.1-SNAPSHOT</version>
   <description>My description</description>
   <name>My project name</name>

   <dependencies>
       <dependency>
           <groupId>org.apache.tapestry</groupId>
           <artifactId>tapestry-framework</artifactId>
           <version>4.1.2-SNAPSHOT</version>
       </dependency>
       <dependency>
           <groupId>org.apache.tapestry</groupId>
           <artifactId>tapestry-annotations</artifactId>
           <version>4.1.2-SNAPSHOT</version>
       </dependency>
       <dependency>
           <groupId>org.apache.tapestry</groupId>
           <artifactId>tapestry-contrib</artifactId>
           <version>4.1.2-SNAPSHOT</version>
       </dependency>
   </dependencies>
</project>

And I get...

$ mvn install
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building My project name
[INFO]    task-segment: [install]
[INFO]
----------------------------------------------------------------------------
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
1K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/1/maven-plugins-1.pom
3K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/maven-parent/1/maven-parent-1.pom
6K downloaded
Downloading: http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
3K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.jar
13K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-compiler-plugin-2.0.1.pom
1K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-compiler-plugin-2.0.1.jar
14K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.2/maven-surefire-plugin-2.2.pom
1K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.2/maven-surefire-plugin-2.2.jar
14K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.1/maven-install-plugin-2.1.pom
981b downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom
6K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.1/maven-install-plugin-2.1.jar
8K downloaded
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.tapestry:tapestry-annotations:jar:4.1.2-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file
-DgroupId=org.apache.tapestry-DartifactId=tapestry-annotations \
          -Dversion=4.1.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) my.group:my-project:war:0.1.1-SNAPSHOT
        2) org.apache.tapestry:tapestry-annotations:jar:4.1.2-SNAPSHOT

2) org.apache.tapestry:tapestry-framework:jar:4.1.2-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file
-DgroupId=org.apache.tapestry-DartifactId=tapestry-framework \
          -Dversion=4.1.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) my.group:my-project:war:0.1.1-SNAPSHOT
        2) org.apache.tapestry:tapestry-framework:jar:4.1.2-SNAPSHOT

3) org.apache.tapestry:tapestry-contrib:jar:4.1.2-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file
-DgroupId=org.apache.tapestry-DartifactId=tapestry-contrib \
          -Dversion=4.1.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
        1) my.group:my-project:war:0.1.1-SNAPSHOT
        2) org.apache.tapestry:tapestry-contrib:jar:4.1.2-SNAPSHOT

----------
3 required artifacts are missing.

for artifact:
  my.group:my-project:war:0.1.1-SNAPSHOT

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: 34 seconds
[INFO] Finished at: Wed Feb 07 02:25:40 WET 2007
[INFO] Final Memory: 3M/6M
[INFO]
------------------------------------------------------------------------

Help!

Regards,


---
Pedro Viegas

Re: How to get Tap4.1.2 SNAPSHOOT? Need help with pom.xml

Posted by Pedro Viegas <vi...@gmail.com>.
Thanks!
Works like a charm!

Regards,

On 2/7/07, Shing Hing Man <ma...@yahoo.com> wrote:
>
>
> Add the following after </dependencies>
>
> <repositories>
>         <repository>
>         <id>apache.snapshots</id>
>
> <url>http://people.apache.org/repo/m2-snapshot-repository</url>
>     </repository>
> </repositories>
>
> Shing
>
>
> --- Pedro Viegas <vi...@gmail.com> wrote:
>
> > I there.
> > I'm not a Maven guy, so I don't really now how to
> > set up a pom.xml do get
> > the Tap 4.1.2 snapshoot.
> > I have seen the instructions page...
> >
> > http://tapestry.apache.org/tapestry4.1/download.html
> >
> > But some more is needed to get the files right?
> >
> > I set up the pom.xml like this...
> >
> > <project>
> >    <modelVersion>4.0.0</modelVersion>
> >    <groupId>my.group</groupId>
> >    <artifactId>my-project</artifactId>
> >    <packaging>war</packaging>
> >    <version>0.1.1-SNAPSHOT</version>
> >    <description>My description</description>
> >    <name>My project name</name>
> >
> >    <dependencies>
> >        <dependency>
> >            <groupId>org.apache.tapestry</groupId>
> >
> > <artifactId>tapestry-framework</artifactId>
> >            <version>4.1.2-SNAPSHOT</version>
> >        </dependency>
> >        <dependency>
> >            <groupId>org.apache.tapestry</groupId>
> >
> > <artifactId>tapestry-annotations</artifactId>
> >            <version>4.1.2-SNAPSHOT</version>
> >        </dependency>
> >        <dependency>
> >            <groupId>org.apache.tapestry</groupId>
> >            <artifactId>tapestry-contrib</artifactId>
> >            <version>4.1.2-SNAPSHOT</version>
> >        </dependency>
> >    </dependencies>
> > </project>
> >
> > And I get...
> >
> > $ mvn install
> > [INFO] Scanning for projects...
> > [INFO]
> >
>
> ----------------------------------------------------------------------------
> > [INFO] Building My project name
> > [INFO]    task-segment: [install]
> > [INFO]
> >
>
> ----------------------------------------------------------------------------
> > Downloading:
> >
>
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
> > 1K downloaded
> > Downloading:
> >
>
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/1/maven-plugins-1.pom
> > 3K downloaded
> > Downloading:
> >
>
> http://repo1.maven.org/maven2/org/apache/maven/maven-parent/1/maven-parent-1.pom
> > 6K downloaded
> > Downloading:
> >
> http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
> > 3K downloaded
> > Downloading:
> >
>
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.jar
> > 13K downloaded
> > Downloading:
> >
>
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-compiler-plugin-2.0.1.pom
> > 1K downloaded
> > Downloading:
> >
>
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-compiler-plugin-2.0.1.jar
> > 14K downloaded
> > Downloading:
> >
>
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.2/maven-surefire-plugin-2.2.pom
> > 1K downloaded
> > Downloading:
> >
>
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.2/maven-surefire-plugin-2.2.jar
> > 14K downloaded
> > Downloading:
> >
>
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.1/maven-install-plugin-2.1.pom
> > 981b downloaded
> > Downloading:
> >
>
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom
> > 6K downloaded
> > Downloading:
> >
>
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.1/maven-install-plugin-2.1.jar
> > 8K downloaded
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered
> > resources.
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > Missing:
> > ----------
> > 1)
> >
> org.apache.tapestry:tapestry-annotations:jar:4.1.2-SNAPSHOT
> >
> >   Try downloading the file manually from the project
> > website.
> >
> >   Then, install it using the command:
> >       mvn install:install-file
> >
> -DgroupId=org.apache.tapestry-DartifactId=tapestry-annotations
> > \
> >           -Dversion=4.1.2-SNAPSHOT -Dpackaging=jar
> > -Dfile=/path/to/file
> >
> >   Path to dependency:
> >         1) my.group:my-project:war:0.1.1-SNAPSHOT
> >         2)
> >
> org.apache.tapestry:tapestry-annotations:jar:4.1.2-SNAPSHOT
> >
> > 2)
> >
> org.apache.tapestry:tapestry-framework:jar:4.1.2-SNAPSHOT
> >
> >   Try downloading the file manually from the project
> > website.
> >
> >   Then, install it using the command:
> >       mvn install:install-file
> >
> -DgroupId=org.apache.tapestry-DartifactId=tapestry-framework
> > \
> >           -Dversion=4.1.2-SNAPSHOT -Dpackaging=jar
> > -Dfile=/path/to/file
> >
> >   Path to dependency:
> >         1) my.group:my-project:war:0.1.1-SNAPSHOT
> >         2)
> >
> org.apache.tapestry:tapestry-framework:jar:4.1.2-SNAPSHOT
> >
> > 3)
> >
> org.apache.tapestry:tapestry-contrib:jar:4.1.2-SNAPSHOT
> >
> >   Try downloading the file manually from the project
> > website.
> >
> >   Then, install it using the command:
> >       mvn install:install-file
> >
> -DgroupId=org.apache.tapestry-DartifactId=tapestry-contrib
> > \
> >           -Dversion=4.1.2-SNAPSHOT -Dpackaging=jar
> > -Dfile=/path/to/file
> >
> >   Path to dependency:
> >         1) my.group:my-project:war:0.1.1-SNAPSHOT
> >         2)
> >
> org.apache.tapestry:tapestry-contrib:jar:4.1.2-SNAPSHOT
> >
> > ----------
> > 3 required artifacts are missing.
> >
> > for artifact:
> >   my.group:my-project:war:0.1.1-SNAPSHOT
> >
> > 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: 34 seconds
> > [INFO] Finished at: Wed Feb 07 02:25:40 WET 2007
> > [INFO] Final Memory: 3M/6M
> > [INFO]
> >
> ------------------------------------------------------------------------
> >
> > Help!
> >
> > Regards,
> >
> >
> > ---
> > Pedro Viegas
> >
>
>
> Home page :
>   http://uk.geocities.com/matmsh/index.html
>
>
>
> ___________________________________________________________
> Now you can scan emails quickly with a reading pane. Get the new Yahoo!
> Mail. http://uk.docs.yahoo.com/nowyoucan.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 


---
Pedro Viegas

Re: How to get Tap4.1.2 SNAPSHOOT? Need help with pom.xml

Posted by Shing Hing Man <ma...@yahoo.com>.
Add the following after </dependencies>

<repositories>
        <repository>
        <id>apache.snapshots</id>
       
<url>http://people.apache.org/repo/m2-snapshot-repository</url>
    </repository>
 </repositories>

Shing


--- Pedro Viegas <vi...@gmail.com> wrote:

> I there.
> I'm not a Maven guy, so I don't really now how to
> set up a pom.xml do get
> the Tap 4.1.2 snapshoot.
> I have seen the instructions page...
> 
> http://tapestry.apache.org/tapestry4.1/download.html
> 
> But some more is needed to get the files right?
> 
> I set up the pom.xml like this...
> 
> <project>
>    <modelVersion>4.0.0</modelVersion>
>    <groupId>my.group</groupId>
>    <artifactId>my-project</artifactId>
>    <packaging>war</packaging>
>    <version>0.1.1-SNAPSHOT</version>
>    <description>My description</description>
>    <name>My project name</name>
> 
>    <dependencies>
>        <dependency>
>            <groupId>org.apache.tapestry</groupId>
>           
> <artifactId>tapestry-framework</artifactId>
>            <version>4.1.2-SNAPSHOT</version>
>        </dependency>
>        <dependency>
>            <groupId>org.apache.tapestry</groupId>
>           
> <artifactId>tapestry-annotations</artifactId>
>            <version>4.1.2-SNAPSHOT</version>
>        </dependency>
>        <dependency>
>            <groupId>org.apache.tapestry</groupId>
>            <artifactId>tapestry-contrib</artifactId>
>            <version>4.1.2-SNAPSHOT</version>
>        </dependency>
>    </dependencies>
> </project>
> 
> And I get...
> 
> $ mvn install
> [INFO] Scanning for projects...
> [INFO]
>
----------------------------------------------------------------------------
> [INFO] Building My project name
> [INFO]    task-segment: [install]
> [INFO]
>
----------------------------------------------------------------------------
> Downloading:
>
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.pom
> 1K downloaded
> Downloading:
>
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/1/maven-plugins-1.pom
> 3K downloaded
> Downloading:
>
http://repo1.maven.org/maven2/org/apache/maven/maven-parent/1/maven-parent-1.pom
> 6K downloaded
> Downloading:
>
http://repo1.maven.org/maven2/org/apache/apache/1/apache-1.pom
> 3K downloaded
> Downloading:
>
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.2/maven-resources-plugin-2.2.jar
> 13K downloaded
> Downloading:
>
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-compiler-plugin-2.0.1.pom
> 1K downloaded
> Downloading:
>
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-compiler-plugin-2.0.1.jar
> 14K downloaded
> Downloading:
>
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.2/maven-surefire-plugin-2.2.pom
> 1K downloaded
> Downloading:
>
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.2/maven-surefire-plugin-2.2.jar
> 14K downloaded
> Downloading:
>
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.1/maven-install-plugin-2.1.pom
> 981b downloaded
> Downloading:
>
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom
> 6K downloaded
> Downloading:
>
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.1/maven-install-plugin-2.1.jar
> 8K downloaded
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered
> resources.
> [INFO]
>
------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1)
>
org.apache.tapestry:tapestry-annotations:jar:4.1.2-SNAPSHOT
> 
>   Try downloading the file manually from the project
> website.
> 
>   Then, install it using the command:
>       mvn install:install-file
>
-DgroupId=org.apache.tapestry-DartifactId=tapestry-annotations
> \
>           -Dversion=4.1.2-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file
> 
>   Path to dependency:
>         1) my.group:my-project:war:0.1.1-SNAPSHOT
>         2)
>
org.apache.tapestry:tapestry-annotations:jar:4.1.2-SNAPSHOT
> 
> 2)
>
org.apache.tapestry:tapestry-framework:jar:4.1.2-SNAPSHOT
> 
>   Try downloading the file manually from the project
> website.
> 
>   Then, install it using the command:
>       mvn install:install-file
>
-DgroupId=org.apache.tapestry-DartifactId=tapestry-framework
> \
>           -Dversion=4.1.2-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file
> 
>   Path to dependency:
>         1) my.group:my-project:war:0.1.1-SNAPSHOT
>         2)
>
org.apache.tapestry:tapestry-framework:jar:4.1.2-SNAPSHOT
> 
> 3)
>
org.apache.tapestry:tapestry-contrib:jar:4.1.2-SNAPSHOT
> 
>   Try downloading the file manually from the project
> website.
> 
>   Then, install it using the command:
>       mvn install:install-file
>
-DgroupId=org.apache.tapestry-DartifactId=tapestry-contrib
> \
>           -Dversion=4.1.2-SNAPSHOT -Dpackaging=jar
> -Dfile=/path/to/file
> 
>   Path to dependency:
>         1) my.group:my-project:war:0.1.1-SNAPSHOT
>         2)
>
org.apache.tapestry:tapestry-contrib:jar:4.1.2-SNAPSHOT
> 
> ----------
> 3 required artifacts are missing.
> 
> for artifact:
>   my.group:my-project:war:0.1.1-SNAPSHOT
> 
> 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: 34 seconds
> [INFO] Finished at: Wed Feb 07 02:25:40 WET 2007
> [INFO] Final Memory: 3M/6M
> [INFO]
>
------------------------------------------------------------------------
> 
> Help!
> 
> Regards,
> 
> 
> ---
> Pedro Viegas
> 


Home page :
  http://uk.geocities.com/matmsh/index.html


		
___________________________________________________________ 
Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org