Thanks but it is not working either with the above groupId...
J.

2007/8/27, Dennis Lundberg <[EMAIL PROTECTED]>:
>
> Julien Martin wrote:
> > Hello,
> >
> > I am trying to add a POI (http://poi.apache.org) dependency and I am
> running
> > into the following problems:
> >
> > C:\dev\calyonfinancial\ProtideWeb>mvn install
> > [INFO] Scanning for projects...
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] Building ProtideWeb
> > [INFO]    task-segment: [install]
> > [INFO]
> >
> ----------------------------------------------------------------------------
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > [WARNING]
> >         Artifact junit:junit:jar:3.8.1:test retains local scope 'test'
> > overriding broader scope 'compile'
> >         given by a dependency. If this is not intended, modify or remove
> the
> > local scope.
> >
> > Downloading:
> http://cvs/repository/poi/poi/3.0.1-FINAL/poi-3.0.1-FINAL.pom
> > [WARNING] Unable to get resource from repository calyonRepository (
> > http://cvs/repository)
> > Downloading:
> > http://repo1.maven.org/maven2/poi/poi/3.0.1-FINAL/poi-3.0.1-FINAL.pom
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Error building POM (may not be this project's POM).
> >
> >
> > Project ID: poi:poi
> >
> > Reason: Error getting POM for 'poi:poi' from the repository: Error
> > transferring file
> >   poi:poi:pom:3.0.1-FINAL
>
> It seems that this is a "relocation" pom. If you have a look at the pom
> in the central repo you will see that.
>
> >
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2),
> >   calyonRepository (http://cvs/repository),
> >   jboss repo (http://repository.jboss.com/maven2),
> >   maven2 repo (http://repo1.maven.org/maven2)
> >
> >
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 27 seconds
> > [INFO] Finished at: Mon Aug 27 18:57:25 CEST 2007
> > [INFO] Final Memory: 5M/10M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> >
> > Here is the dependency I am trying to add:
> >
> >
> >         <dependency>
> >             <groupId>poi</groupId>
> >             <artifactId>poi</artifactId>
> >             <version>3.0.1-FINAL</version>
> >         </dependency>
>
> You should use
>                <groupId>org.apache.poi</groupId>
> instead.
>
> >
> > And the settings file:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <settings>
> >     <profiles>
> >         <profile>
> >             <id>calyonprofile</id>
> >             <repositories>
> >                 <repository>
> >                     <id>calyonRepository</id>
> >                     <name>calyon default repository</name>
> >                     <url>http://cvs/repository</url>
> >                 </repository>
> >                 <repository>
> >                     <id>maven2 repo</id>
> >                     <name>maven2 repo</name>
> >                     <url>http://repo1.maven.org/maven2</url>
> >                 </repository>
> >                 <repository>
> >                     <id>jboss repo</id>
> >                     <name>jboss repo</name>
> >                     <url>http://repository.jboss.com/maven2</url>
> >                 </repository>
> >             </repositories>
> >         </profile>
> >     </profiles>
> >     <activeProfiles>
> >         <activeProfile>calyonprofile</activeProfile>
> >     </activeProfiles>
> > </settings>
> >
> >
> > Can anyone help please?
> >
> > Thanks in advance,
> >
> > Julien Martin.
> >
>
>
> --
> Dennis Lundberg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to