Try adding -DgeneratePom=true to your installation command.

On Thu, Sep 3, 2009 at 2:31 PM, Diane J <jewettdi...@gmail.com> wrote:

>
> I added the following resource to my local repository:
> mvn install:install-file -DgroupId=org.w3c.tidy -DartifactId=tidy
> -Dversion=1.0 -Dpackaging=jar -Dfile=C:\tools\tidy\Tidy.jar
>
> I see it in my repository.
>
> But it keeps giving the following error on startup and throws an exception
> when I try to use Tidy.
> Why is it looking for a pom?
>
> [INFO] Unable to find resource 'org.w3c.tidy:tidy:pom:1.0' in repository
> central
>  (http://repo1.maven.org/maven2)
> Downloading:
> http://static.appfuse.org/repository/org/w3c/tidy/tidy/1.0/tidy-1.0
> .pom
> [INFO] Unable to find resource 'org.w3c.tidy:tidy:pom:1.0' in repository
> appfuse
>  (http://static.appfuse.org/repository)
>
> pom.xml:
>                <dependency>
>                        <groupId>org.w3c.tidy</groupId>
>                        <artifactId>tidy</artifactId>
>                        <version>${tidy.version}</version>
>                        <scope>provided</scope>
>                </dependency>
>
> --
> View this message in context:
> http://www.nabble.com/How-to-add-resource-to-maven-repository-tp25283572s2369p25283572.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>

Reply via email to