Maven team as release a new version of the archetype plugin (used to create new project)
The new plugin breaks compatibility with previous version (1.x -> 2.x) :(
It also add an interactive mode (requested by some of you).
We work on fixing the problem ASAP.
Regards
/davidB
/davidB
/lift/ committer (www.liftweb.net)
SGS member (Scala Group Sweden)
SEJUG member (Swedish Java User Group)
\_____________________________________/
An other workaround :
copy the attached file to $HOME/.m2/archetype-catalog.xml
run "mvn archetype:create -DarchetypeCatalog=local" when you want to create a new lift project
reply to every questions.
/davidB
<?xml version="1.0" encoding="UTF-8"?>
<archetype-catalog>
<archetypes>
<archetype>
<groupId>org.scala-tools.archetypes</groupId>
<artifactId>scala-archetype-simple</artifactId>
<version>1.0</version>
<repository>http://scala-tools.org/repo-releases</repository>
<description>A simple scala project</description>
</archetype>
<archetype>
<groupId>net.liftweb</groupId>
<artifactId>lift-archetype-blank</artifactId>
<version>0.5</version>
<repository>http://scala-tools.org/repo-releases</repository>
<description>A blank/empty liftweb project</description>
</archetype>
<archetype>
<groupId>net.liftweb</groupId>
<artifactId>lift-archetype-basic</artifactId>
<version>0.5</version>
<repository>http://scala-tools.org/repo-releases</repository>
<description>A basic liftweb project (with DB, css, ...)</description>
</archetype>
</archetypes>
</archetype-catalog>
which archetype did you use ?
Viktor Klang wrote:
> Some additional info:
>
> Also, I needed to add:
>
> <dependency>
> <groupId>org.scala-lang</groupId>
> <artifactId>scala-compiler</artifactId>
> <version>${scala.version}</version>
> </dependency>
>
> to the project-pom-file to be able to run mvn install on the newly
> created project.
>
> Cheers,
> -V
>
> On Feb 10, 2008 10:49 PM, David Bernard <david.be...@gmail.com
> /lift/ committer (www.liftweb.net <http://www.liftweb.net>)
normaly you don't.
which archetype did you use ?
/lift/ committer (www.liftweb.net)
FYI the correct fix is
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-compiler</artifactId>
<version>${scala.version}</version>
<scope>test</scope>
</dependency>
To avoid include compiler into your war
/davidB
Viktor Klang wrote:
> Some additional info:
>
> Also, I needed to add:
>
> <dependency>
> <groupId>org.scala-lang</groupId>
> <artifactId>scala-compiler</artifactId>
> <version>${scala.version}</version>
> </dependency>
>
> to the project-pom-file to be able to run mvn install on the newly
> created project.
>
> Cheers,
> -V
>
> On Feb 10, 2008 10:49 PM, David Bernard <david.be...@gmail.com
> /lift/ committer (www.liftweb.net <http://www.liftweb.net>)
The helper LiftConsole is the cause.
I'll fix the archetypes later this week
FYI the correct fix is<dependency><scope>test</scope>
<groupId>org.scala-lang</groupId>
<artifactId>scala-compiler</artifactId>
<version>${scala.version}</version>
</dependency>
To avoid include compiler into your war
/lift/ committer (www.liftweb.net)