You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Subhash Chandran <su...@gmail.com> on 2007/01/19 04:24:04 UTC
APT Images With URL
The APT format guide here:
http://maven.apache.org/guides/mini/guide-apt-format.html
speaks only of image display. This is done like: [path/to/image.ext]
Is there any possibility of having a link on the image?
Is there a possibility of somehow having HTML code rendered from
inside APT? This would ease most of my frustrations with APT.
--
Regards,
Subhash Chandran S
http://wizcrypt.wiztools.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: APT Images With URL
Posted by Dennis Lundberg <de...@apache.org>.
Subhash Chandran wrote:
> The APT format guide here:
>
> http://maven.apache.org/guides/mini/guide-apt-format.html
>
> speaks only of image display. This is done like: [path/to/image.ext]
>
> Is there any possibility of having a link on the image?
>
> Is there a possibility of somehow having HTML code rendered from
> inside APT? This would ease most of my frustrations with APT.
>
The full guide to the apt format can be found on the Doxia site:
http://maven.apache.org/doxia/format.html
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Error creating from archetype
Posted by evi <ev...@evi.pri.ee>.
So I tried to create different archetupes (sipmple project, web) and these
seem to work, only portlet archetype is out of order. What would be the best
way to proceed with trying to build portlets with Maven? Should I create a
simple web project and add some needed files and folders manually?
Evi
-----Original Message-----
From: evi [mailto:evi@evi.pri.ee]
Sent: Sunday, January 21, 2007 10:54 PM
To: 'Maven Users List'
Subject: RE: Error creating from archetype
This jira issue seems to be very old, June-September 2006...
Evi
-----Original Message-----
From: Wendy Smoak [mailto:wsmoak@gmail.com]
Sent: Sunday, January 21, 2007 10:29 PM
To: Maven Users List
Subject: Re: Error creating from archetype
On 1/21/07, evi <ev...@evi.pri.ee> wrote:
> Thanks for response. I tried to run 'mvn archetype:create' from
> elsewhere but had the same result.
>
> And yes, the eviart/pom.xml has many <project> elements in it, mine
> has six <project> elements...
It seems to be like that in svn:
http://svn.apache.org/repos/asf/maven/archetype/trunk/maven-archetype-bundle
s/maven-archetype-portlet/src/main/resources/archetype-resources/pom.xml
... and there's already an issue open:
http://jira.codehaus.org/browse/ARCHETYPE-40
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Error creating from archetype
Posted by evi <ev...@evi.pri.ee>.
This jira issue seems to be very old, June-September 2006...
Evi
-----Original Message-----
From: Wendy Smoak [mailto:wsmoak@gmail.com]
Sent: Sunday, January 21, 2007 10:29 PM
To: Maven Users List
Subject: Re: Error creating from archetype
On 1/21/07, evi <ev...@evi.pri.ee> wrote:
> Thanks for response. I tried to run 'mvn archetype:create' from
> elsewhere but had the same result.
>
> And yes, the eviart/pom.xml has many <project> elements in it, mine
> has six <project> elements...
It seems to be like that in svn:
http://svn.apache.org/repos/asf/maven/archetype/trunk/maven-archetype-bundle
s/maven-archetype-portlet/src/main/resources/archetype-resources/pom.xml
... and there's already an issue open:
http://jira.codehaus.org/browse/ARCHETYPE-40
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Error creating from archetype
Posted by Wendy Smoak <ws...@gmail.com>.
On 1/21/07, evi <ev...@evi.pri.ee> wrote:
> Thanks for response. I tried to run 'mvn archetype:create' from elsewhere
> but had the same result.
>
> And yes, the eviart/pom.xml has many <project> elements in it, mine has six
> <project> elements...
It seems to be like that in svn:
http://svn.apache.org/repos/asf/maven/archetype/trunk/maven-archetype-bundles/maven-archetype-portlet/src/main/resources/archetype-resources/pom.xml
... and there's already an issue open:
http://jira.codehaus.org/browse/ARCHETYPE-40
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Error creating from archetype
Posted by evi <ev...@evi.pri.ee>.
Thanks for response. I tried to run 'mvn archetype:create' from elsewhere
but had the same result.
And yes, the eviart/pom.xml has many <project> elements in it, mine has six
<project> elements...
Evi
Will be more patient in future:-)
-----Original Message-----
From: Wendy Smoak [mailto:wsmoak@gmail.com]
Sent: Sunday, January 21, 2007 7:11 PM
To: Maven Users List
Subject: Re: Error creating from archetype
On 1/20/07, evi <ev...@evi.pri.ee> wrote:
> When executing C:\Documents and
> Settings\Administrator\Desktop\Installid\maven-2.0.4-bin\maven-2.0.4\b
> in>mvn archetype:create -DgroupId=evigr -DartifactId=eviart
> -DarchetypeArtifactId=maven-archetype-portlet -e
>
> I get an error:
> [INFO] Error creating from archetype
>
> Embedded error: Error reading POM
> start tag not allowed in epilog but got p (position: END_TAG seen
> ...</dependencies>\n</project>\n<p... @46:3)
>
> What is going wrong?
Please don't re-post the same question. Sometimes it will take more than a
day for someone to have time to respond, especially on the weekend.
I see the same thing. After this happens, look at eviart/pom.xml.
Mine seems to have three <project> elements in it. There may be something
wrong with the portlet archetype in the repository.
I haven't yet had time to investigate, which is why I had not yet answered.
(This is not the cause of your problem, but I'd suggest running 'mvn
archetype:create' from a directory other than where you've installed
Maven.)
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Error creating from archetype
Posted by Wendy Smoak <ws...@gmail.com>.
On 1/20/07, evi <ev...@evi.pri.ee> wrote:
> When executing C:\Documents and
> Settings\Administrator\Desktop\Installid\maven-2.0.4-bin\maven-2.0.4\bin>mvn
> archetype:create -DgroupId=evigr -DartifactId=eviart
> -DarchetypeArtifactId=maven-archetype-portlet -e
>
> I get an error:
> [INFO] Error creating from archetype
>
> Embedded error: Error reading POM
> start tag not allowed in epilog but got p (position: END_TAG seen
> ...</dependencies>\n</project>\n<p... @46:3)
>
> What is going wrong?
Please don't re-post the same question. Sometimes it will take more
than a day for someone to have time to respond, especially on the
weekend.
I see the same thing. After this happens, look at eviart/pom.xml.
Mine seems to have three <project> elements in it. There may be
something wrong with the portlet archetype in the repository.
I haven't yet had time to investigate, which is why I had not yet answered.
(This is not the cause of your problem, but I'd suggest running 'mvn
archetype:create' from a directory other than where you've installed
Maven.)
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Error creating from archetype, can somebody help?
Posted by allan ramirez <aq...@gmail.com>.
Hi,
Just an additional info.
You could set your %M2_HOME%\bin to your path variable so that you won't
have to cd to M2_HOME everytime when executing the batch file..
Cheers,
-allan
On 1/22/07, Wayne Fay <wa...@gmail.com> wrote:
>
> Looks like you have a bad pom.xml file somewhere. Your file seems to have:
>
> </dependencies>
> </project>
> <p...
>
> Wayne
>
> On 1/21/07, evi <ev...@evi.pri.ee> wrote:
> > Hello!
> >
> > When executing C:\Documents and
> > Settings\Administrator\Desktop\Installid\maven-2.0.4-bin\maven-2.0.4\bin
> >mvn
> > archetype:create -DgroupId=evigr -DartifactId=eviart
> > -DarchetypeArtifactId=maven-archetype-portlet -e
> >
> > I get an error:
> > [INFO] Error creating from archetype
> >
> > Embedded error: Error reading POM
> > start tag not allowed in epilog but got p (position: END_TAG seen
> > ...</dependencies>\n</project>\n<p... @46:3)
> >
> > What is going wrong?
> > Evi
> >
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Trace
> > org.apache.maven.lifecycle.LifecycleExecutionException: Error creating
> from
> > arch
> > etype
> > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> > ultLifecycleExecutor.java:559)
> > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
> > Goal(DefaultLifecycleExecutor.java:488)
> > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> > ltLifecycleExecutor.java:458)
> > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> > dleFailures(DefaultLifecycleExecutor.java:306)
> > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> > ts(DefaultLifecycleExecutor.java:219)
> > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> > fecycleExecutor.java:140)
> > 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:256)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> > java:39)
> > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> > sorImpl.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.MojoExecutionException: Error
> creating
> > from a
> > rchetype
> > at
> > org.apache.maven.plugin.archetype.MavenArchetypeMojo.execute(MavenArc
> > hetypeMojo.java:201)
> > at
> > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> > nManager.java:412)
> > at
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> > ultLifecycleExecutor.java:534)
> > ... 16 more
> > Caused by:
> org.apache.maven.archetype.ArchetypeTemplateProcessingException:
> > Erro
> > r reading POM
> > at
> > org.apache.maven.archetype.DefaultArchetype.processTemplates(DefaultA
> > rchetype.java:498)
> > at
> > org.apache.maven.archetype.DefaultArchetype.createArchetype(DefaultAr
> > chetype.java:329)
> > at
> > org.apache.maven.plugin.archetype.MavenArchetypeMojo.execute(MavenArc
> > hetypeMojo.java:188)
> > ... 18 more
> > Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException:
> start
> > tag n
> > ot allowed in epilog but got p (position: END_TAG seen
> > ...</dependencies>\n</pro
> > ject>\n<p... @46:3)
> > at
> > org.codehaus.plexus.util.xml.pull.MXParser.parseEpilog(MXParser.java:
> > 1585)
> > at
> > org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:139
> > 0)
> > at
> > org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1090)
> > at
> > org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseModel(MavenXpp3Re
> > ader.java:2394)
> > at
> > org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.j
> > ava:4422)
> > at
> > org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.j
> > ava:4433)
> > at
> > org.apache.maven.archetype.DefaultArchetype.processTemplates(DefaultA
> > rchetype.java:490)
> > ... 20 more
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 6 seconds
> > [INFO] Finished at: Sat Jan 20 16:25:16 EET 2007
> > [INFO] Final Memory: 4M/8M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
==========================================================
- alramirez
Re: Error creating from archetype, can somebody help?
Posted by Wendy Smoak <ws...@gmail.com>.
On 1/21/07, Wayne Fay <wa...@gmail.com> wrote:
> Looks like you have a bad pom.xml file somewhere. ...
No, (well, yes, but...) The portlet archetype is broken.
http://www.nabble.com/APT-Images-With-URL-t3038137s177.html#a8478899
(evi: start a new thread next time, don't reply to an unrelated message...)
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Error creating from archetype, can somebody help?
Posted by Wayne Fay <wa...@gmail.com>.
Looks like you have a bad pom.xml file somewhere. Your file seems to have:
</dependencies>
</project>
<p...
Wayne
On 1/21/07, evi <ev...@evi.pri.ee> wrote:
> Hello!
>
> When executing C:\Documents and
> Settings\Administrator\Desktop\Installid\maven-2.0.4-bin\maven-2.0.4\bin>mvn
> archetype:create -DgroupId=evigr -DartifactId=eviart
> -DarchetypeArtifactId=maven-archetype-portlet -e
>
> I get an error:
> [INFO] Error creating from archetype
>
> Embedded error: Error reading POM
> start tag not allowed in epilog but got p (position: END_TAG seen
> ...</dependencies>\n</project>\n<p... @46:3)
>
> What is going wrong?
> Evi
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error creating from
> arch
> etype
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:559)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
> Goal(DefaultLifecycleExecutor.java:488)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:458)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:306)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:219)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:140)
> 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:256)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.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.MojoExecutionException: Error creating
> from a
> rchetype
> at
> org.apache.maven.plugin.archetype.MavenArchetypeMojo.execute(MavenArc
> hetypeMojo.java:201)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:412)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:534)
> ... 16 more
> Caused by: org.apache.maven.archetype.ArchetypeTemplateProcessingException:
> Erro
> r reading POM
> at
> org.apache.maven.archetype.DefaultArchetype.processTemplates(DefaultA
> rchetype.java:498)
> at
> org.apache.maven.archetype.DefaultArchetype.createArchetype(DefaultAr
> chetype.java:329)
> at
> org.apache.maven.plugin.archetype.MavenArchetypeMojo.execute(MavenArc
> hetypeMojo.java:188)
> ... 18 more
> Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: start
> tag n
> ot allowed in epilog but got p (position: END_TAG seen
> ...</dependencies>\n</pro
> ject>\n<p... @46:3)
> at
> org.codehaus.plexus.util.xml.pull.MXParser.parseEpilog(MXParser.java:
> 1585)
> at
> org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:139
> 0)
> at
> org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1090)
> at
> org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseModel(MavenXpp3Re
> ader.java:2394)
> at
> org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.j
> ava:4422)
> at
> org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.j
> ava:4433)
> at
> org.apache.maven.archetype.DefaultArchetype.processTemplates(DefaultA
> rchetype.java:490)
> ... 20 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Sat Jan 20 16:25:16 EET 2007
> [INFO] Final Memory: 4M/8M
> [INFO]
> ------------------------------------------------------------------------
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Error creating from archetype
Posted by evi <ev...@evi.pri.ee>.
Hello!
When executing C:\Documents and
Settings\Administrator\Desktop\Installid\maven-2.0.4-bin\maven-2.0.4\bin>mvn
archetype:create -DgroupId=evigr -DartifactId=eviart
-DarchetypeArtifactId=maven-archetype-portlet -e
I get an error:
[INFO] Error creating from archetype
Embedded error: Error reading POM
start tag not allowed in epilog but got p (position: END_TAG seen
...</dependencies>\n</project>\n<p... @46:3)
What is going wrong?
Evi
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error creating from
arch
etype
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:559)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:488)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:458)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:219)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
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:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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.MojoExecutionException: Error creating
from a
rchetype
at
org.apache.maven.plugin.archetype.MavenArchetypeMojo.execute(MavenArc
hetypeMojo.java:201)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
... 16 more
Caused by: org.apache.maven.archetype.ArchetypeTemplateProcessingException:
Erro
r reading POM
at
org.apache.maven.archetype.DefaultArchetype.processTemplates(DefaultA
rchetype.java:498)
at
org.apache.maven.archetype.DefaultArchetype.createArchetype(DefaultAr
chetype.java:329)
at
org.apache.maven.plugin.archetype.MavenArchetypeMojo.execute(MavenArc
hetypeMojo.java:188)
... 18 more
Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: start
tag n
ot allowed in epilog but got p (position: END_TAG seen
...</dependencies>\n</pro
ject>\n<p... @46:3)
at
org.codehaus.plexus.util.xml.pull.MXParser.parseEpilog(MXParser.java:
1585)
at
org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:139
0)
at
org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1090)
at
org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseModel(MavenXpp3Re
ader.java:2394)
at
org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.j
ava:4422)
at
org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.j
ava:4433)
at
org.apache.maven.archetype.DefaultArchetype.processTemplates(DefaultA
rchetype.java:490)
... 20 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Sat Jan 20 16:25:16 EET 2007
[INFO] Final Memory: 4M/8M
[INFO]
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Error creating from archetype, can somebody help?
Posted by evi <ev...@evi.pri.ee>.
Hello!
When executing C:\Documents and
Settings\Administrator\Desktop\Installid\maven-2.0.4-bin\maven-2.0.4\bin>mvn
archetype:create -DgroupId=evigr -DartifactId=eviart
-DarchetypeArtifactId=maven-archetype-portlet -e
I get an error:
[INFO] Error creating from archetype
Embedded error: Error reading POM
start tag not allowed in epilog but got p (position: END_TAG seen
...</dependencies>\n</project>\n<p... @46:3)
What is going wrong?
Evi
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error creating from
arch
etype
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:559)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:488)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:458)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:219)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
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:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.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.MojoExecutionException: Error creating
from a
rchetype
at
org.apache.maven.plugin.archetype.MavenArchetypeMojo.execute(MavenArc
hetypeMojo.java:201)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
... 16 more
Caused by: org.apache.maven.archetype.ArchetypeTemplateProcessingException:
Erro
r reading POM
at
org.apache.maven.archetype.DefaultArchetype.processTemplates(DefaultA
rchetype.java:498)
at
org.apache.maven.archetype.DefaultArchetype.createArchetype(DefaultAr
chetype.java:329)
at
org.apache.maven.plugin.archetype.MavenArchetypeMojo.execute(MavenArc
hetypeMojo.java:188)
... 18 more
Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: start
tag n
ot allowed in epilog but got p (position: END_TAG seen
...</dependencies>\n</pro
ject>\n<p... @46:3)
at
org.codehaus.plexus.util.xml.pull.MXParser.parseEpilog(MXParser.java:
1585)
at
org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:139
0)
at
org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1090)
at
org.apache.maven.model.io.xpp3.MavenXpp3Reader.parseModel(MavenXpp3Re
ader.java:2394)
at
org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.j
ava:4422)
at
org.apache.maven.model.io.xpp3.MavenXpp3Reader.read(MavenXpp3Reader.j
ava:4433)
at
org.apache.maven.archetype.DefaultArchetype.processTemplates(DefaultA
rchetype.java:490)
... 20 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Sat Jan 20 16:25:16 EET 2007
[INFO] Final Memory: 4M/8M
[INFO]
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: APT Images With URL
Posted by Vincent Siveton <vi...@gmail.com>.
Hi,
2007/1/18, Subhash Chandran <su...@gmail.com>:
> The APT format guide here:
>
> http://maven.apache.org/guides/mini/guide-apt-format.html
>
> speaks only of image display. This is done like: [path/to/image.ext]
>
> Is there any possibility of having a link on the image?
Not actually see DOXIA-71 but contributions are always welcome.
Cheers,
Vincent
>
> Is there a possibility of somehow having HTML code rendered from
> inside APT? This would ease most of my frustrations with APT.
>
> --
> Regards,
> Subhash Chandran S
>
> http://wizcrypt.wiztools.org/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org