You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Andreas Bulling <sp...@phoenix.hadiko.de> on 2006/06/02 23:58:08 UTC

Tapernate-example and the former jars

Hi James,

so that also other people are able to read your answer I'm asking on the list...

In the old tapernate-example the different jars had been included but
they seem to have gone in the current one. :( Do I have to install maven
and build them on my own? If not where can I find them?

Is there still a tapernate jar available (that can be dropped in
and used right out of the box)?

Thanks!
  Andreas

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


Re: Tapernate-example and the former jars

Posted by Andreas Bulling <sp...@phoenix.hadiko.de>.
Hi James,

thanks for your explanations! That means I have to install maven in any case...
What about the idea of putting the jars into your repository as it had been before?
Seems to be a bit too difficult to have to use maven just to get them.

Kind regards,
  Andreas

On 03. Jun 2006 - 07:19:45, James Carman wrote:
| I sent this last night, but I'm having trouble with Norton Internet Security
| and out-going emails.  So, here it is again:
| 
| Andreas,
| 
| Sorry for the confusion.  Tapernate has been moved to the tapestry-javaforge
| project and I'm maintaining a deployed version of it in my own maven2
| repository (until I can figure out how to get it published into other
| repositories).  So, in your applications (maven2 of course) you can declare
| a dependency as follows:
| 
| <dependency>
|   <groupId>com.javaforge.tapestry</groupId>
|   <artifactId>tapernate</artifactId>
|   <version>0.1-SNAPSHOT</version>
| </dependency>
| 
| If you just want to download it from my repo and not worry about building it
| into your own you have to define my repo in your pom.xml as follows:
| 
| <repositories>
|   <repository>
|     <id>cc-repo</id>
|     <name>Carman Consulting</name>
|     <url>http://www.carmanconsulting.com/repository</url>
|   </repository>
| </repositories>
| 
| The tapernate-example application (downloadable via SVN at
| http://www.carmanconsulting.com/svn/public/tapernate-example/trunk/) has
| been "mavenized" to reflect the dependencies.  You can download it and copy
| all the jars that it copies into the war (run mvn war:war) in your own
| application.
|  
| James

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


Re: Tapernate-example and the former jars

Posted by Andreas Bulling <sp...@phoenix.hadiko.de>.
On 03. Jun 2006 - 12:22:16, James Carman wrote:
| Okay, that's weird.  I apologize for all the confusion.  But, getting used
| to Maven2 is not quite as easy as I had hoped.  It's tough to figure out
| exactly where everything is going during the build.

No problem, it's weekend and I have enough time to convert my application
to the new Tapernate version... ;)

|  Anyway, the war that's
| out there in my maven repo works on my machine by just dropping it in a
| Tomcat installation's webapps directory.  Let me know if it works for you.

Nope, I just installed the war in my local Tomcat installation but I get
the following exception:

root cause:
org.apache.hivemind.ApplicationRuntimeException: Unable to construct service hivemind.hibernate3.SessionFactory: Hibernate Dialect must be explicitly set [jar:file:/home/andreas/apache-tomcat/webapps/tapernate-example-0.1/WEB-INF/lib/hivemind-hibernate3-0.1-20060603.130015-5.jar!/META-INF/hivemodule.xml, line 46, column 61]
	org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructNewServiceImplementation(AbstractServiceModelImpl.java:166)
	org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constructServiceImplementation(AbstractServiceModelImpl.java:140)
	org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getActualServiceImplementation(SingletonServiceModel.java:69)
	$SessionFactory_10b9abe4d86._service($SessionFactory_10b9abe4d86.java)
	$SessionFactory_10b9abe4d86.openSession($SessionFactory_10b9abe4d86.java)
	$SessionFactory_10b9abe4d85.openSession($SessionFactory_10b9abe4d85.java)

Probably this is because I didn't provide any hivemind configuration?
Anyway: As my application works again this doesn't matter anymore ;)

| As for your error below, do you have two service points that support the
| SessionFactory interface?  If so, then HiveMind can't autowire it in, since
| it doesn't know which one to choose.  That's the only way I can think of
| that you might not have a SessionFactory with all of the jars from the
| example war file in your WEB-INF/lib directory.

Sorry for the excitement: I removed everything from the hivemodule.xml file but I forgot
to also remove the old libraries (spring-hibernate3 and spring-transaction) *slap*
Now everything works as expected ;)

Kind regards,
  Andreas

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


RE: Tapernate-example and the former jars

Posted by James Carman <ja...@carmanconsulting.com>.
Okay, that's weird.  I apologize for all the confusion.  But, getting used
to Maven2 is not quite as easy as I had hoped.  It's tough to figure out
exactly where everything is going during the build.  Anyway, the war that's
out there in my maven repo works on my machine by just dropping it in a
Tomcat installation's webapps directory.  Let me know if it works for you.
Again, sorry for the mixups.

As for your error below, do you have two service points that support the
SessionFactory interface?  If so, then HiveMind can't autowire it in, since
it doesn't know which one to choose.  That's the only way I can think of
that you might not have a SessionFactory with all of the jars from the
example war file in your WEB-INF/lib directory.

-----Original Message-----
From: Andreas Bulling [mailto:andreas@phoenix.hadiko.de] On Behalf Of
Andreas Bulling
Sent: Saturday, June 03, 2006 11:36 AM
To: Tapestry users
Subject: Re: Tapernate-example and the former jars

OK, thanks! ;)

What I did was to remove all the old configuration stuff (Tapernate version:
Even
before the split of the different persistence strategies...) from my
hivemodule.xml
file and dropped the new tapernate/hivemind jars in.
This should be enough and work, shouldn't it?

I get the following exception:

17:26:51,219 ERROR [plattform]:253 - Servlet.service() for servlet
meet-europeans threw exception
java.lang.IllegalArgumentException: No SessionFactory specified
        at org.springframework.util.Assert.notNull(Assert.java:116)
        at
org.springframework.orm.hibernate3.SessionFactoryUtils.doGetSession(SessionF
actoryUtils.java:294)
        at
org.springframework.orm.hibernate3.SessionFactoryUtils.getSession(SessionFac
toryUtils.java:195)
        at
com.javaforge.tapestry.tapernate.filter.TapernateFilter.createNewSession(Tap
ernateFilter.java:176)
        at
com.javaforge.tapestry.tapernate.filter.TapernateFilter.createSession(Tapern
ateFilter.java:171)
        at
com.javaforge.tapestry.tapernate.filter.TapernateFilter.service(TapernateFil
ter.java:70)
        at
$WebRequestServicerFilter_10b9a7fb168.service($WebRequestServicerFilter_10b9
a7fb168.java)
        at
$WebRequestServicerFilter_10b9a7fb167.service($WebRequestServicerFilter_10b9
a7fb167.java):

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



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


Re: Tapernate-example and the former jars

Posted by Andreas Bulling <sp...@phoenix.hadiko.de>.
OK, thanks! ;)

What I did was to remove all the old configuration stuff (Tapernate version: Even
before the split of the different persistence strategies...) from my hivemodule.xml
file and dropped the new tapernate/hivemind jars in.
This should be enough and work, shouldn't it?

I get the following exception:

17:26:51,219 ERROR [plattform]:253 - Servlet.service() for servlet meet-europeans threw exception
java.lang.IllegalArgumentException: No SessionFactory specified
        at org.springframework.util.Assert.notNull(Assert.java:116)
        at org.springframework.orm.hibernate3.SessionFactoryUtils.doGetSession(SessionFactoryUtils.java:294)
        at org.springframework.orm.hibernate3.SessionFactoryUtils.getSession(SessionFactoryUtils.java:195)
        at com.javaforge.tapestry.tapernate.filter.TapernateFilter.createNewSession(TapernateFilter.java:176)
        at com.javaforge.tapestry.tapernate.filter.TapernateFilter.createSession(TapernateFilter.java:171)
        at com.javaforge.tapestry.tapernate.filter.TapernateFilter.service(TapernateFilter.java:70)
        at $WebRequestServicerFilter_10b9a7fb168.service($WebRequestServicerFilter_10b9a7fb168.java)
        at $WebRequestServicerFilter_10b9a7fb167.service($WebRequestServicerFilter_10b9a7fb167.java):

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


RE: Tapernate-example and the former jars

Posted by James Carman <ja...@carmanconsulting.com>.
1.  The DataClasses configuration point doesn't exist anymore.  With the
"squeezer pipeline", this is unnecessary.  The EntitySqueezerFilter checks
to see if it can squeeze the object.  If it can't it just sends it on down
the line (the regular squeezer framework picks it up).

2.  The transaction interceptors aren't really needed in
transaction-per-request mode.



-----Original Message-----
From: Andreas Bulling [mailto:andreas@phoenix.hadiko.de] On Behalf Of
Andreas Bulling
Sent: Saturday, June 03, 2006 11:23 AM
To: Tapestry users
Subject: Re: Tapernate-example and the former jars

On 03. Jun 2006 - 10:54:22, James Carman wrote:
| Well, you can just download the war file if you want...
| 
| www.carmanconsulting.com/mvn/com/carmanconsulting/tapernate-example/0.1
| 
| Just unzip that and it will contain all dependencies you need. 

Thanks a lot, that's what I wanted! :-)

Without having testet it just two short questions
(as I know the different Tapernate hivemodule.xml files quite well
in the meanwhile *g):

1) Is the <contribution configuration-id="DataClasses"> not needed anymore?

2) Are the
 <interceptor service-id="spring.transaction.TransactionInterceptor">
	<method name="find*" attribute="PROPAGATION_REQUIRED,readOnly"/>
	<method name="insert*" attribute="PROPAGATION_REQUIRED"/>
	<method name="update*" attribute="PROPAGATION_REQUIRED"/>
	<method name="delete*" attribute="PROPAGATION_REQUIRED"/>
	<method name="get*" attribute="PROPAGATION_REQUIRED,readOnly"/>
</interceptor>
not needed or not available anymore?

Thanks and kind regards,
  Andreas

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



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


Re: Tapernate-example and the former jars

Posted by Andreas Bulling <sp...@phoenix.hadiko.de>.
On 03. Jun 2006 - 10:54:22, James Carman wrote:
| Well, you can just download the war file if you want...
| 
| www.carmanconsulting.com/mvn/com/carmanconsulting/tapernate-example/0.1
| 
| Just unzip that and it will contain all dependencies you need. 

Thanks a lot, that's what I wanted! :-)

Without having testet it just two short questions
(as I know the different Tapernate hivemodule.xml files quite well
in the meanwhile *g):

1) Is the <contribution configuration-id="DataClasses"> not needed anymore?

2) Are the
 <interceptor service-id="spring.transaction.TransactionInterceptor">
	<method name="find*" attribute="PROPAGATION_REQUIRED,readOnly"/>
	<method name="insert*" attribute="PROPAGATION_REQUIRED"/>
	<method name="update*" attribute="PROPAGATION_REQUIRED"/>
	<method name="delete*" attribute="PROPAGATION_REQUIRED"/>
	<method name="get*" attribute="PROPAGATION_REQUIRED,readOnly"/>
</interceptor>
not needed or not available anymore?

Thanks and kind regards,
  Andreas

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


RE: Tapernate-example and the former jars

Posted by James Carman <ja...@carmanconsulting.com>.
Well, you can just download the war file if you want...

www.carmanconsulting.com/mvn/com/carmanconsulting/tapernate-example/0.1

Just unzip that and it will contain all dependencies you need. 


-----Original Message-----
From: Andreas Bulling [mailto:andreas@phoenix.hadiko.de] On Behalf Of
Andreas Bulling
Sent: Saturday, June 03, 2006 10:50 AM
To: Tapestry users
Subject: Re: Tapernate-example and the former jars

I'm sorry but I'm totally confused now...
Where do I have to download/checkout/maven what to get the
precompiled jars?

Thanks!
  Andreas

On 03. Jun 2006 - 10:41:19, James Carman wrote:
| Well, I've committed all my changes and published everything to my mvn
| repository that is needed that you can't find on the "public" ones.  Let
me
| know if it doesn't work for you?  FYI, I changed the build to look for
| ant-apt.jar at "${ant.home}/lib/ant-apt.jar".  So, if you want to build
the
| example application, you just have to drop the ant-apt.jar file into your
| ant.home/lib dir.

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


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


Re: Tapernate-example and the former jars

Posted by Andreas Bulling <sp...@phoenix.hadiko.de>.
I'm sorry but I'm totally confused now...
Where do I have to download/checkout/maven what to get the
precompiled jars?

Thanks!
  Andreas

On 03. Jun 2006 - 10:41:19, James Carman wrote:
| Well, I've committed all my changes and published everything to my mvn
| repository that is needed that you can't find on the "public" ones.  Let me
| know if it doesn't work for you?  FYI, I changed the build to look for
| ant-apt.jar at "${ant.home}/lib/ant-apt.jar".  So, if you want to build the
| example application, you just have to drop the ant-apt.jar file into your
| ant.home/lib dir.

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


RE: Tapernate-example and the former jars

Posted by James Carman <ja...@carmanconsulting.com>.
Well, I've committed all my changes and published everything to my mvn
repository that is needed that you can't find on the "public" ones.  Let me
know if it doesn't work for you?  FYI, I changed the build to look for
ant-apt.jar at "${ant.home}/lib/ant-apt.jar".  So, if you want to build the
example application, you just have to drop the ant-apt.jar file into your
ant.home/lib dir.

-----Original Message-----
From: James Carman [mailto:james@carmanconsulting.com] 
Sent: Saturday, June 03, 2006 9:35 AM
To: 'Tapestry users'
Subject: RE: Tapernate-example and the former jars

Andreas,

I am in the process of moving stuff around on my server.  The new poms will
reflect the changes.  Sorry for the inconvenience.  I need to test in a
clean local repository to assure that we're good to go.  More in a bit...

James

-----Original Message-----
From: Andreas Bulling [mailto:andreas@phoenix.hadiko.de] On Behalf Of
Andreas Bulling
Sent: Saturday, June 03, 2006 9:29 AM
To: Tapestry users
Subject: Re: Tapernate-example and the former jars

| The tapernate-example application (downloadable via SVN at
| http://www.carmanconsulting.com/svn/public/tapernate-example/trunk/) has
| been "mavenized" to reflect the dependencies.  You can download it and
copy
| all the jars that it copies into the war (run mvn war:war) in your own
| application.

OK, so I checked tapernate-example out with subversion and changed to
the "trunk" subdirectory. Running mvn war:war returns:

mvn -e war:war
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'war'.
[INFO] org.apache.maven.plugins: checking for updates from cc-repo
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be
retrieved from repository: cc-repo due to an error: Error transferring file
[INFO] Repository 'cc-repo' will be blacklisted
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be
retrieved from repository: central due to an error: Error transferring file
[INFO] Repository 'central' will be blacklisted
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-compiler-plugin' does not
exist or no valid version could be found
[INFO]
----------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.maven.plugins:maven-compiler-plugin' does not exist or no valid
version could be found
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLife
cycleExecutor.java:1247)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(Defaul
tLifecycleExecutor.java:1430)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggrega
tionNeeds(DefaultLifecycleExecutor.java:378)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
Executor.java:134)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException:
The plugin 'org.apache.maven.plugins:maven-compiler-plugin' does not exist
or no valid version could be found
        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVer
sion(DefaultPluginVersionManager.java:225)
        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVer
sion(DefaultPluginVersionManager.java:87)
        at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManag
er.java:160)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLife
cycleExecutor.java:1218)
        ... 14 more
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Sat Jun 03 13:28:35 GMT 2006
[INFO] Final Memory: 1M/2M
[INFO]
----------------------------------------------------------------------------

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


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


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


RE: Tapernate-example and the former jars

Posted by James Carman <ja...@carmanconsulting.com>.
Andreas,

I am in the process of moving stuff around on my server.  The new poms will
reflect the changes.  Sorry for the inconvenience.  I need to test in a
clean local repository to assure that we're good to go.  More in a bit...

James

-----Original Message-----
From: Andreas Bulling [mailto:andreas@phoenix.hadiko.de] On Behalf Of
Andreas Bulling
Sent: Saturday, June 03, 2006 9:29 AM
To: Tapestry users
Subject: Re: Tapernate-example and the former jars

| The tapernate-example application (downloadable via SVN at
| http://www.carmanconsulting.com/svn/public/tapernate-example/trunk/) has
| been "mavenized" to reflect the dependencies.  You can download it and
copy
| all the jars that it copies into the war (run mvn war:war) in your own
| application.

OK, so I checked tapernate-example out with subversion and changed to
the "trunk" subdirectory. Running mvn war:war returns:

mvn -e war:war
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'war'.
[INFO] org.apache.maven.plugins: checking for updates from cc-repo
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be
retrieved from repository: cc-repo due to an error: Error transferring file
[INFO] Repository 'cc-repo' will be blacklisted
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be
retrieved from repository: central due to an error: Error transferring file
[INFO] Repository 'central' will be blacklisted
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-compiler-plugin' does not
exist or no valid version could be found
[INFO]
----------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.maven.plugins:maven-compiler-plugin' does not exist or no valid
version could be found
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLife
cycleExecutor.java:1247)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(Defaul
tLifecycleExecutor.java:1430)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggrega
tionNeeds(DefaultLifecycleExecutor.java:378)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
Executor.java:134)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException:
The plugin 'org.apache.maven.plugins:maven-compiler-plugin' does not exist
or no valid version could be found
        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVer
sion(DefaultPluginVersionManager.java:225)
        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVer
sion(DefaultPluginVersionManager.java:87)
        at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManag
er.java:160)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLife
cycleExecutor.java:1218)
        ... 14 more
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Sat Jun 03 13:28:35 GMT 2006
[INFO] Final Memory: 1M/2M
[INFO]
----------------------------------------------------------------------------

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


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


Re: Tapernate-example and the former jars

Posted by Andreas Bulling <sp...@phoenix.hadiko.de>.
| The tapernate-example application (downloadable via SVN at
| http://www.carmanconsulting.com/svn/public/tapernate-example/trunk/) has
| been "mavenized" to reflect the dependencies.  You can download it and copy
| all the jars that it copies into the war (run mvn war:war) in your own
| application.

OK, so I checked tapernate-example out with subversion and changed to
the "trunk" subdirectory. Running mvn war:war returns:

mvn -e war:war
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'war'.
[INFO] org.apache.maven.plugins: checking for updates from cc-repo
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: cc-repo due to an error: Error transferring file
[INFO] Repository 'cc-repo' will be blacklisted
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: central due to an error: Error transferring file
[INFO] Repository 'central' will be blacklisted
[INFO] ----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ----------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-compiler-plugin' does not exist or no valid version could be found
[INFO] ----------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-compiler-plugin' does not exist or no valid version could be found
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1247)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1430)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds(DefaultLifecycleExecutor.java:378)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:134)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The plugin 'org.apache.maven.plugins:maven-compiler-plugin' does not exist or no valid version could be found
        at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:225)
        at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:87)
        at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:160)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1218)
        ... 14 more
[INFO] ----------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Sat Jun 03 13:28:35 GMT 2006
[INFO] Final Memory: 1M/2M
[INFO] ----------------------------------------------------------------------------

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


RE: Tapernate-example and the former jars

Posted by James Carman <ja...@carmanconsulting.com>.
I sent this last night, but I'm having trouble with Norton Internet Security
and out-going emails.  So, here it is again:

Andreas,

Sorry for the confusion.  Tapernate has been moved to the tapestry-javaforge
project and I'm maintaining a deployed version of it in my own maven2
repository (until I can figure out how to get it published into other
repositories).  So, in your applications (maven2 of course) you can declare
a dependency as follows:

<dependency>
  <groupId>com.javaforge.tapestry</groupId>
  <artifactId>tapernate</artifactId>
  <version>0.1-SNAPSHOT</version>
</dependency>

If you just want to download it from my repo and not worry about building it
into your own you have to define my repo in your pom.xml as follows:

<repositories>
  <repository>
    <id>cc-repo</id>
    <name>Carman Consulting</name>
    <url>http://www.carmanconsulting.com/repository</url>
  </repository>
</repositories>

The tapernate-example application (downloadable via SVN at
http://www.carmanconsulting.com/svn/public/tapernate-example/trunk/) has
been "mavenized" to reflect the dependencies.  You can download it and copy
all the jars that it copies into the war (run mvn war:war) in your own
application.
 
James

-----Original Message-----
From: Andreas Bulling [mailto:andreas@phoenix.hadiko.de] On Behalf Of
Andreas Bulling
Sent: Friday, June 02, 2006 5:58 PM
To: Tapestry users
Subject: Tapernate-example and the former jars

Hi James,

so that also other people are able to read your answer I'm asking on the
list...

In the old tapernate-example the different jars had been included but
they seem to have gone in the current one. :( Do I have to install maven
and build them on my own? If not where can I find them?

Is there still a tapernate jar available (that can be dropped in
and used right out of the box)?

Thanks!
  Andreas

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


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