Did you try any of the latest recommended versions of Maven, like 2.2.1? Maven 2.1.0 is generally a version to stay away from as it has issues...
/Anders On Thu, Mar 4, 2010 at 07:03, Thunder Farmer <thunder.far...@gmail.com>wrote: > Hi, > > Thanks for your quick response. > Here I provide more information. > I can reproduce the issue by creating a simple project and adding a > dependency with classifier to it. > I create the project by "mvn archetype:create" command. > In the pom, I add a dependency: > > <dependency> > <groupId>com.informix</groupId> > <artifactId>ifxjdbc</artifactId> <version>3.50</version> > <classifier>JC3</classifier> > <scope>compile</scope> > </dependency> > The informix JDBC jar and it's pom file are already in our local repo, and > I have local repo in my setting.xml > > Every time when I run "mvn compile", I get below output in the console > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > Downloading: > http://repo1.maven.org/maven2/com/informix/ifxjdbc/3.50/ifxjdbc-3.50.pom > [INFO] [compiler:compile] > > Seems it always tries to download the artifact. > Though it doesn't really download the jar file, it consume significant time > to connect remote repo for a large project. > > Is it expected behavior of Maven? > > The project is attached. > > Thanks, > Thunder > > > > On Thu, Mar 4, 2010 at 10:51 AM, Wendy Smoak <wsm...@gmail.com> wrote: > >> On Wed, Mar 3, 2010 at 9:44 PM, Thunder Farmer <thunder.far...@gmail.com> >> wrote: >> > My problems is that seems Maven always download dependencies with >> classifier >> > even I specify the version. >> > Is it the expected behavior or some thing goes wrong? >> > >> > Maven version: 2.1.0-M1 >> > Java version: 1.5.0_06 >> >> This is the right place, but we need more information. Can you post a >> snippet of the build output or error message that you're seeing, and >> maybe the relevant portion of your pom.xml file (the problematic >> <dependency>)? >> >> You might also try the build with the latest recommended stable Maven >> version from http://maven.apache.org/download.html and see if it's >> still a problem. >> >> -- >> Wendy >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> > > > -- > Listen to Your Heart > Follow Your Heart > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org >