Re: Maven Issues

2010-10-26 Thread Norman Franke
Turns out the "Maven Dependencies" under "Java EE Module  
Dependencies" (under project properties) got unchecked. Very strange.  
Then Eclipse also decided it had some error building the project, but  
a F5 seems to have cleared that up, too. Thanks!


Norman Franke
Answering Service for Directors, Inc.
www.myasd.com



On Oct 25, 2010, at 7:32 PM, Norman Franke wrote:

I had a working Tapestry 5.1 project. I restarted Eclipse, and now  
Maven won't include the tapestry JARs when running my app using the  
jetty plugin. Everything compiles fine, but running it leads to a  
class not found for org.apache.tapestry5.TapestryFilter. I'm running  
it in Tomcat from Eclipse. My old Tapestry 4 app works (non-Maven).


Exporting the app to a .WAR file fails to include any maven  
dependency. Any ideas on what could have happened? I've tried  
updating dependencies, purging the .m2 cache of tapestry JARs, and  
clearing the tomcat directory. No difference. How can it compile and  
not run? It's compiling from the Maven dependencies.


I haven't edited my pom.xml in like a year. I also have plenty of  
disk space (>100GB). I'm rather baffled.


Norman Franke
Answering Service for Directors, Inc.
www.myasd.com







Re: Maven Issues

2010-10-26 Thread 9902468

Start by doing command line mvn clean install and verify the resulting jar.
If everything is ok I suspect that something is off with your eclipse.
(Perhaps it was updated?)

 - Ville
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Maven-Issues-tp3236369p3237152.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Maven Issues

2010-10-25 Thread Mark
You might try changing the version of tapestry (maybe to 5.1.0.4) and see if
it magically starts working.  It also might be worth trying to rename the
whole .m2 directory and letting Maven create a new one to see if that helps.

Also try running "maven clean".

I'm not sure if any of those will help, but they are worth a try.

mark

On Mon, Oct 25, 2010 at 6:32 PM, Norman Franke  wrote:

> I had a working Tapestry 5.1 project. I restarted Eclipse, and now Maven
> won't include the tapestry JARs when running my app using the jetty plugin.
> Everything compiles fine, but running it leads to a class not found for
> org.apache.tapestry5.TapestryFilter. I'm running it in Tomcat from Eclipse.
> My old Tapestry 4 app works (non-Maven).
>
> Exporting the app to a .WAR file fails to include any maven dependency. Any
> ideas on what could have happened? I've tried updating dependencies, purging
> the .m2 cache of tapestry JARs, and clearing the tomcat directory. No
> difference. How can it compile and not run? It's compiling from the Maven
> dependencies.
>
> I haven't edited my pom.xml in like a year. I also have plenty of disk
> space (>100GB). I'm rather baffled.
>
> Norman Franke
> Answering Service for Directors, Inc.
> www.myasd.com
>
>
>
>


Re: Maven Issues

2010-10-25 Thread Norman Franke

Here is my pom.xml:

	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd 
"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://maven.apache.org/POM/4.0.0 
">

4.0.0
com.myasd
sales
0.0.1-SNAPSHOT
war
sales Tapestry 5 Application


org.testng
testng
5.8
jdk15
test


org.easymock
easymock
2.4
test


javax.servlet
servlet-api
2.5
provided


org.apache.tapestry
tapestry-hibernate
5.1.0.5


nu.localhost.tapestry
tapestry-spring-security
2.1.0


org.springframework
spring
2.5.6.SEC01


log4j
log4j
1.2.14


hsqldb
hsqldb
1.8.0.7


spring
spring-webmvc
1.0.2


spring
spring-web
1.0.2


org.apache.tapestry
tapestry-core
5.1.0.5


commons-configuration
commons-configuration
1.6


ognl
ognl
2.7.3


org.hibernate
hibernate-tools
3.2.3.GA


joda-time
joda-time
1.6




sales


org.apache.maven.plugins
maven-compiler-plugin

1.5
1.5
true





org.mortbay.jetty
maven-jetty-plugin
6.1.9




true









org.apache.tapestry

tapestry-component-report
${tapestry-release-version}


com.myasd.sales







codehaus.snapshots
http://snapshots.repository.codehaus.org


OpenQA_Release
OpenQA Release Repository

http://archiva.openqa.org/repository/releases/



localhost.nu
http://www.localhost.nu/java/mvn







5.1.0.5



Norman Franke
Answering Service for Directors, Inc.
www.myasd.com



On Oct 25, 2010, at 7:32 PM, Norman Franke wrote:

I had a working Tapestry 5.1 project. I restarted Eclipse, and now  
Maven won't include the tapestry JARs when running my app using the  
jetty plugin. Everything compiles fine, but running it leads to a  
class not found for org.apache.tapestry5.TapestryFilter. I'm running  
it in Tomcat from Eclipse. My old Tapestry 4 app works (non-Maven).


Exporting the app to a .WAR file fails to include any maven  
dependency. Any ideas on what coul

Maven Issues

2010-10-25 Thread Norman Franke
I had a working Tapestry 5.1 project. I restarted Eclipse, and now  
Maven won't include the tapestry JARs when running my app using the  
jetty plugin. Everything compiles fine, but running it leads to a  
class not found for org.apache.tapestry5.TapestryFilter. I'm running  
it in Tomcat from Eclipse. My old Tapestry 4 app works (non-Maven).


Exporting the app to a .WAR file fails to include any maven  
dependency. Any ideas on what could have happened? I've tried updating  
dependencies, purging the .m2 cache of tapestry JARs, and clearing the  
tomcat directory. No difference. How can it compile and not run? It's  
compiling from the Maven dependencies.


I haven't edited my pom.xml in like a year. I also have plenty of disk  
space (>100GB). I'm rather baffled.


Norman Franke
Answering Service for Directors, Inc.
www.myasd.com