<dependencies> <dependency> <groupId>alice-commons</groupId>
> <artifactId>alice-commons</artifactId> > <version>1.2</version> > <scope>compile</scope> <--------------------- cause: no source but > compile!!!!!!!!!!!!!!! > </dependency> > </dependencies> On 10/28/05, Luca Gmail <[EMAIL PROTECTED]> wrote: > > C:\Documents and > Settings\lucarasconi\workspace\archetype\archetype\my-webapp>mvn > compiler:compile > ... > [INFO] [compiler:compile] > Compiling 2 source files to C:\Documents and > Settings\lucarasconi\workspace\arch > etype\archetype\my-webapp\target\classes > [INFO] > ------------------------------------------------------------------------- > --- > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] Compilation failure > > C:\Documents and > > Settings\lucarasconi\workspace\archetype\archetype\my-webapp\src\main\java\i > t\telecomitalia\rossoalice\SimpleServlet.java:[6,51] package > it.telecomitalia.rossoalice.commons.servlet does not exist > ... > Other error > > This is my pom.xml file: > > <project ...> > <modelVersion>4.0.0</modelVersion> > <groupId>it.telecomitalia.rossoalice.template</groupId> > <artifactId>simple-servlet</artifactId> > <packaging>war</packaging> > <version>1.0-SNAPSHOT</version> > <name>Rossoalice Webapp Template</name> > <url>http://www.rossoalice.it</url> > <repositories> > <repository> > ............. > </repository> > </repositories> > <dependencies> > <dependency> > <groupId>alice-commons</groupId> <-------------------------------- > <artifactId>alice-commons</artifactId> > <version>1.2</version> > <scope>source</scope> > </dependency> > </dependencies> > <build> > <plugins> > <plugin> > ........ > </plugin> > </plugins> > </build> > </project> > > And inside alice-commons-1.2.jar there is the package > it.telecomitalia.rossoalice.commons.servlet. why the compiler said the > package doen't exist? Or what could be the problem? > > Tnx, > Luca > >
