Hi and thanks for suggestions for readung:-)) I am trying to make build a
portal and unfortunately it's my first try...


So, I changed Maven2 to Maven1 but got the following errors:

C:\0portaal\Allalaetud tarkvara\jetspeed-1.6-war\jetspeed-1.6>maven
dist:install

 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

org.apache.maven.MavenException: Error parsing project.xml
'C:\0portaal\Allalaet
ud tarkvara\jetspeed-1.6-war\jetspeed-1.6\project.xml'
        at
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:207)
        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143)
        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
        at
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java
:232)
        at org.apache.maven.MavenSession.initialize(MavenSession.java:172)
        at org.apache.maven.cli.App.doMain(App.java:475)
        at org.apache.maven.cli.App.main(App.java:1239)
        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 com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
--- Nested Exception ---
java.io.FileNotFoundException: locator.ent (The system cannot find the file
spec
ified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection
.java:70)
        at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon
nection.java:161)
        at java.net.URL.openStream(URL.java:1007)
        at
org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown So
urce)
        at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
Source)
        at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
Source)
        at org.apache.xerces.impl.XMLDTDScannerImpl.startPE(Unknown Source)
        at org.apache.xerces.impl.XMLDTDScannerImpl.skipSeparator(Unknown
Source
)
        at org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(Unknown
Source)
        at
org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDInternalSubset(Unknow
n Source)
        at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(
Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.commons.digester.Digester.parse(Digester.java:1527)
        at
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:203)
        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143)
        at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
        at
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java
:232)
        at org.apache.maven.MavenSession.initialize(MavenSession.java:172)
        at org.apache.maven.cli.App.doMain(App.java:475)
        at org.apache.maven.cli.App.main(App.java:1239)
        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 com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)

You have encountered an unknown error running Maven. Please help us to
correct
this problem by following these simple steps:
- read the Maven FAQ at http://maven.apache.org/faq.html
- run the same command again with the '-e' parameter, eg maven -e jar
- search the maven-user archives for the error at
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
.org

- post the output of maven -e to JIRA at
http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you must sign up
first)
- run 'maven --info' and post the output as the environment to the bug above


Total time: 1 seconds
Finished at: Thu May 18 15:46:50 EEST 2006

>-----Original Message-----
>From: Tim Kettler [mailto:[EMAIL PROTECTED] 
>Sent: Thursday, May 18, 2006 12:38 PM
>To: Maven Users List
>Subject: Re: Build error
>
>Hi,
>
>the error says that maven can't find the 'maven-dist-plugin'. 
>This is correct because a plugin with this name doesn't exist 
>(at least for maven 2, for maven 1 I don't know).
>
>What are you trying to do? Just build the project? then you 
>need to execute 'mvn package' 
>for example. If you want to install the project to your local 
>repository try 'mvn install'.
>
>Have you read the getting started guide and other maven 
>documentation at http://maven.apache.org/guides/index.html ? 
>Also the free book at 
>http://www.mergere.com/m2book_download.jsp is a good starting 
>point to get you up and running.
>
>Hope this helps
>-Tim
>
>Evi schrieb:
>> Hi!
>> 
>> I am just beginning with Maven and while building Jetspeed got the 
>> following build error:
>> 
>> 
>> C:\0portaal\Allalaetud tarkvara\jetspeed-1.6-war\jetspeed-1.6>mvn
>> dist:install
>> [INFO] Scanning for projects...
>> [INFO] Searching repository for plugin with prefix: 'dist'.
>> [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-dist-plugin: checking for 
>> updates  from central [INFO]
>> 
>----------------------------------------------------------------------
>> --
>> [ERROR] BUILD ERROR
>> [INFO]
>> 
>----------------------------------------------------------------------
>> -- [INFO] The plugin 
>'org.apache.maven.plugins:maven-dist-plugin' does 
>> not exist or  no valid version could be found [INFO]
>> 
>----------------------------------------------------------------------
>> -- [INFO] For more information, run Maven with the -e switch [INFO]
>> 
>----------------------------------------------------------------------
>> --
>> [INFO] Total time: 4 seconds
>> [INFO] Finished at: Thu May 18 12:01:11 EEST 2006 [INFO] 
>Final Memory: 
>> 1M/2M [INFO]
>> 
>----------------------------------------------------------------------
>> --
>> 
>> Please advise how to proceed.
>> 
>> Rgds,
>> Evi
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to