Hello again,
I watched the video at the link you sent to me. Now I understand how the
project has been built. I assume that if I participate to your project,
I will have to develop a module using the maven archetype.
However I want to use tomcat for my deployment or tcServer. For the
later I haven't managed to find out all the dependencies. It seems that
it the company that manufactures the plug-in hasn't put to the
repository all the jars. For tomcat I put the plug-in to the pom.xml,
the maven build command with goal tomcat:run starts the server but it
does not deploy the app. I haven't found much information for the
configuration of this plugin.
Hello,
I run Maven>Update Project Configuration... but it hasn't change anything.
I run mvn package from the root of the project in the workspace and I
got the following error:
However the project builds from maven build from the menu Run as ...
[INFO] [war:war {execution: default-war}]
[INFO] Packaging webapp
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] org.apache.maven.model.InputLocation :
org.apache.maven.model.InputLocation :
org.apache.maven.model.InputLocation :
org.apache.maven.model.InputLocation
---- Debugging information ----
message : org.apache.maven.model.InputLocation :
org.apache.maven.model.InputLocation
cause-exception :
com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : org.apache.maven.model.InputLocation :
org.apache.maven.model.InputLocation
class : org.apache.maven.plugin.war.util.WebappStructure
required-type : java.util.LinkedHashMap
path :
/webapp-structure/dependenciesInfo/org.apache.maven.plugin.war.util.DependencyInfo/dependency/locations/entry/org.apache.maven.model.InputLocation
line number : 1004
-------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Trace
com.thoughtworks.xstream.converters.ConversionException:
org.apache.maven.model.InputLocation :
org.apache.maven.model.InputLocation :
org.apache.maven.model.InputLocation :
org.apache.maven.model.InputLocation
---- Debugging information ----
message : org.apache.maven.model.InputLocation :
org.apache.maven.model.InputLocation
cause-exception :
com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : org.apache.maven.model.InputLocation :
org.apache.maven.model.InputLocation
class : org.apache.maven.plugin.war.util.WebappStructure
required-type : java.util.LinkedHashMap
path :
/webapp-structure/dependenciesInfo/org.apache.maven.plugin.war.util.DependencyInfo/dependency/locations/entry/org.apache.maven.model.InputLocation
line number : 1004
-------------------------------
at
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:89)
Στις 24/03/2012 04:54 πμ, ο/η Anuruddha Premalal έγραψε:
Hi P Neiros,
To get rid of those errors you can update the Project
Configurations.(Maven>Update Project Configuration...)
In the new version of eclipse Indigo you cannot see the option "maven
package".In that case try to run "mvn package" using command line as
Ben Wolfe suggested.There are couple of videos on the OpenMRS YouTube
channel which will be helpful.
http://www.youtube.com/OpenMRS
http://maven.apache.org/guides/getting-started/index.html
On Sat, Mar 24, 2012 at 3:10 AM, P Neiros <[email protected]
<mailto:[email protected]>> wrote:
I have produced succesfully the war file which works from the
maven build command in the run as sub-menu.
My question is why the eclipse shows errors in the webapp module
and particularly in the webapp/pom.xml?
how can i run "maven package"?
P.Neiros
Στις 22/03/2012 06:55 μμ, ο/η Ben Wolfe έγραψε:
Can you run "mavan package" successfully at hte top level using
either command line or inside of eclipse?
Why did the plugin fail to execute? Is there a stacktrace somewhere?
Ben
On Wed, Mar 21, 2012 at 7:56 PM, P Neiros <[email protected]
<mailto:[email protected]>> wrote:
Hello there,
I am interested in participating in your project as a
student in the framework of GSoC2012.
I have downloaded your app three times. Two in eclipse
indigo and one in STS 2.9.0.
In the first two installations (eclipse and STS) i got
errors on 2 or 3 subprojects (openmrs-tools, webapp, etc).
However the first eclipse installation (onwindows) had
managed to produce a war that works with the maven build
command in the run as menu.
In the last instalation (eclipse under ubuntu) i got errors
only in jsps and the pom of webdata. The pom file shows the
following error: Execution default-cli of goal
org.apache.maven.plugins:maven-resources-plugin:2.4:copy-resources
failed.
(org.apache.maven.plugins:maven-war-plugin:2.1-beta-1:war:default-war:package)
Have you got an idea what this error is? The plugins exist
at the maven repository.
Thank you,
P.Neiros.
_________________________________________
To unsubscribe from OpenMRS Developers' mailing list, send
an e-mail to [email protected]
<mailto:[email protected]> with "SIGNOFF
openmrs-devel-l" in the body (not the subject) of your e-mail.
[mailto:[email protected]
<mailto:[email protected]>?body=SIGNOFF%20openmrs-devel-l]
------------------------------------------------------------------------
Click here to unsubscribe
<mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l>
from OpenMRS Developers' mailing list
------------------------------------------------------------------------
Click here to unsubscribe
<mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l>
from OpenMRS Developers' mailing list
--
/Anuruddha Premalala(STMIEEE)
Department of Electronic and Telecommunication Engineering
University of Moratuwa
Sri Lanka./
------------------------------------------------------------------------
Click here to unsubscribe
<mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l>
from OpenMRS Developers' mailing list
_________________________________________
To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to
[email protected] with "SIGNOFF openmrs-devel-l" in the body (not
the subject) of your e-mail.
[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]