Dear Indrajit,

i have a lot better luck with this way of testing before plunging if i
change my archetype generation script to use  -DarchetypeVersion=2.0-M1.

Best wishes,

--greg

On Fri, Jan 29, 2010 at 10:37 AM, Meredith Gregory <[email protected]
> wrote:

> Dear Indrajit,
>
> Thanks for your diligence on this effort! However, i'm not having a lot of
> luck. Here's my methodology.
>
>    - i would like to test using an archetype generated project before i
>    test with my project code -- which is likely to be so stupid and
>    error-ridden as to cause all kinds of problems. i've got a feeling that the
>    archetype i'm getting is out of sync (please see the script i use and the
>    trace it generates).
>    - After generating the project from the archetype i change the lift
>    version as you indicate and the lift jars cannot be resolved. This may have
>    to do with the problem above.
>
> Best wishes,
>
> --greg
>
>
>    - Script
>
> #! /bin/sh
> mvn archetype:generate -U                                   \
>  -DarchetypeGroupId=net.liftweb                             \
>  -DarchetypeArtifactId=lift-archetype-basic                 \
>  -DarchetypeVersion=1.0                                     \
>  -DremoteRepositories=http://scala-tools.org/repo-releases  \
>  -DgroupId=$1 -DartifactId=$2
>
>
>
>    - Trace
>
> bash-3.2$ bin/mklift.sh com.biosimilarity.identity testLift280
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [INFO] org.codehaus.mojo: checking for updates from central
> [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking
> for updates from central
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [archetype:generate] (aggregator-style)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Preparing archetype:generate
> [INFO] No goals needed for project - skipping
> [INFO] Setting property: classpath.resource.loader.class =>
> 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [archetype:generate]
> [INFO] Generating project in Interactive mode
> [INFO] Archetype repository missing. Using the one from
> [net.liftweb:lift-archetype-basic:RELEASE ->
> http://scala-tools.org/repo-releases] found in catalog internal
> Downloading:
> http://scala-tools.org/repo-releases/net/liftweb/lift-archetype-basic/1.0/lift-archetype-basic-1.0.jar
> 15K downloaded
> Define value for version:  1.0-SNAPSHOT: :
> Confirm properties configuration:
> groupId: com.biosimilarity.identity
> artifactId: testLift280
> version: 1.0-SNAPSHOT
> package: com.biosimilarity.identity
>  Y: :
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Using following parameters for creating OldArchetype:
> lift-archetype-basic:1.0
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Parameter: groupId, Value: com.biosimilarity.identity
> [INFO] Parameter: packageName, Value: com.biosimilarity.identity
> [INFO] Parameter: basedir, Value: /Users/lgm/work/src/projex/biosimilarity
> [INFO] Parameter: package, Value: com.biosimilarity.identity
> [INFO] Parameter: version, Value: 1.0-SNAPSHOT
> [INFO] Parameter: artifactId, Value: testLift280
> [INFO] ********************* End of debug info from resources from
> generated POM ***********************
> [INFO] OldArchetype created in dir:
> /Users/lgm/work/src/projex/biosimilarity/testLift280
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 12 seconds
> [INFO] Finished at: Fri Jan 29 10:28:16 PST 2010
> [INFO] Final Memory: 8M/15M
> [INFO]
> ------------------------------------------------------------------------
> bash-3.2$ cd testLift280/
> bash-3.2$ mvn -U clean compile
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building testLift280
> [INFO]    task-segment: [clean, compile]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] artifact org.scala-tools:maven-scala-plugin: checking for updates
> from scala-tools.org
> [INFO] artifact org.scala-tools:maven-scala-plugin: checking for updates
> from central
> [INFO] artifact org.mortbay.jetty:maven-jetty-plugin: checking for updates
> from scala-tools.org
> [INFO] artifact org.mortbay.jetty:maven-jetty-plugin: checking for updates
> from central
> [INFO] artifact net.sf.alchim:yuicompressor-maven-plugin: checking for
> updates from scala-tools.org
> [INFO] artifact net.sf.alchim:yuicompressor-maven-plugin: checking for
> updates from central
> [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for
> updates from scala-tools.org
> [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for
> updates from central
> [INFO] [clean:clean]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [yuicompressor:compress {execution: default}]
> [INFO] nb warnings: 0, nb errors: 0
> [INFO] snapshot net.liftweb:lift-core:2.0-scala280-SNAPSHOT: checking for
> updates from scala-tools.org
> Downloading:
> http://scala-tools.org/repo-releases/net/liftweb/lift-core/2.0-scala280-SNAPSHOT/lift-core-2.0-scala280-SNAPSHOT.pom
> [INFO] artifact org.mortbay.jetty:jetty: checking for updates from
> scala-tools.org
> [INFO] artifact org.mortbay.jetty:jetty: checking for updates from central
> Downloading:
> http://scala-tools.org/repo-releases/net/liftweb/lift-core/2.0-scala280-SNAPSHOT/lift-core-2.0-scala280-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) net.liftweb:lift-core:jar:2.0-scala280-SNAPSHOT
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=net.liftweb -DartifactId=lift-core
> -Dversion=2.0-scala280-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
>   Alternatively, if you host your own repository you can deploy the file
> there:
>       mvn deploy:deploy-file -DgroupId=net.liftweb -DartifactId=lift-core
> -Dversion=2.0-scala280-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
> -Durl=[url] -DrepositoryId=[id]
>
>   Path to dependency:
>    1) com.biosimilarity.identity:testLift280:war:1.0-SNAPSHOT
>    2) net.liftweb:lift-core:jar:2.0-scala280-SNAPSHOT
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>   com.biosimilarity.identity:testLift280:war:1.0-SNAPSHOT
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   scala-tools.org (http://scala-tools.org/repo-releases)
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 9 seconds
> [INFO] Finished at: Fri Jan 29 10:30:24 PST 2010
> [INFO] Final Memory: 8M/15M
> [INFO]
> ------------------------------------------------------------------------
> bash-3.2$
>
>
> On Thu, Jan 28, 2010 at 9:04 PM, Indrajit Raychaudhuri <
> [email protected]> wrote:
>
>> The Lift 2.0 snapshot jars for Scala 2.8 are now available on scala-tools
>> Maven repository. Feel free to try your Lift application against
>> 2.0-scala280-SNAPSHOT jars.
>>
>> You can change Lift artifact dependencies version to 2.0-scala280-SNAPSHOT
>> in you application pom and proceed to build as usual.
>>
>> Cheers, Indrajit
>>
>>
>> On 28/01/10 2:31 AM, David Pollak wrote:
>>
>>> Folks,
>>>
>>> Lift is currently building against Scala 2.8 Beta1 and currently runs
>>> the examples/example app (the app that's at http://demo.liftweb.net).
>>> We have disabled many of the tests during the automated build because as
>>> of last night, not all the test frameworks (ScalaTest, Specs, and
>>> ScalaCheck) were compiled against 2.8 Beta1.
>>>
>>> We are doing continuous builds of Lift against the 280_port_refresh
>>> branch at http://hudson.scala-tools.org/job/lift-scala280/  And will be
>>> publishing to the scala-tools.org <http://scala-tools.org> Maven
>>>
>>> repository very soon now (today or tomorrow).
>>>
>>> Once we get the JAR files publishing to the Scala-tools.org Maven
>>> repository, we will open up the Lift list to report of problems running
>>> Lift apps against 2.8 Beta 1.  Please do not file tickets until there's
>>> been a discussion on the Lift list.
>>>
>>> Thanks,
>>>
>>> David
>>>
>>> --
>>> Lift, the simply functional web framework http://liftweb.net
>>> Beginning Scala http://www.apress.com/book/view/1430219890
>>> Follow me: http://twitter.com/dpp
>>> Surf the harmonics
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Lift" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected]<liftweb%[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/liftweb?hl=en.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Lift" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<liftweb%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/liftweb?hl=en.
>>
>>
>
>
> --
> L.G. Meredith
> Managing Partner
> Biosimilarity LLC
> 1219 NW 83rd St
> Seattle, WA 98117
>
> +1 206.650.3740
>
> http://biosimilarity.blogspot.com
>



-- 
L.G. Meredith
Managing Partner
Biosimilarity LLC
1219 NW 83rd St
Seattle, WA 98117

+1 206.650.3740

http://biosimilarity.blogspot.com

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to