You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elly Yeung (JIRA)" <ji...@codehaus.org> on 2006/12/04 03:38:41 UTC

[jira] Created: (MAVEN-1820) Maven 1.0.2 installlation

Maven 1.0.2 installlation
-------------------------

                 Key: MAVEN-1820
                 URL: http://jira.codehaus.org/browse/MAVEN-1820
             Project: Maven 1.x
          Issue Type: Bug
         Environment: SUSE Linux 10
            Reporter: Elly Yeung


After installed maven and have encountered the following MavenException.

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

org.apache.maven.MavenException: Parent POM is equal to the current POM
        at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:236)
        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(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)

Any helps would be appreciated.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MAVEN-1820) Maven 1.0.2 installlation

Posted by "Elly Yeung (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MAVEN-1820?page=comments#action_81690 ] 
            
Elly Yeung commented on MAVEN-1820:
-----------------------------------

I will try to give as much as information as I can, becasue I just take over this project not long ago. 

Our Linux server team installed the sakai demo version(v 2.2.2) in the Linux SUSE 10 server, and I installed Melete(v 2.3) and Marven(v1.0.2),  and modified the projext.xml as follow, the porject.xml is located in /opt/sakai-demo/sakai/melete_os_release2.3/.

<?xml version="1.0" encoding="UTF-8"?>
<project>
	<extend>../melete_os_release2.3/project.xml</extend>
    <pomVersion>3</pomVersion>
    <name>Sakai Melete</name>
    <groupId>sakai-melete</groupId>
    <organization>
        <name>Sakai Project</name>
        <url>http://sakaiproject.org/</url>
    </organization>
    <inceptionYear>2003</inceptionYear>
 
    <dependencies>
        <!-- sakai plugin -->
        <dependency>
            <groupId>sakaiproject</groupId>
            <artifactId>sakai</artifactId>
            <version>${sakai.plugin.version}</version>
            <type>plugin</type>
        </dependency>
    </dependencies>
    <build/>
</project>
######################################
I also modified the build.properites file as below , and put the build.properties file under the /opt/maven-1.0.2/.

maven.repo.remote=http://source.sakaiproject.org/maven/
maven.tomcat.home=/opt/sakai-demo/conf

###########################################
The sakai is located in /opt/sakai-demo
The melete is located in /opt/sakai-demo/
The maven is located in /opt/maven-1.0.2/

Hope this information might help.
Thank you for your kind attention.

> Maven 1.0.2 installlation
> -------------------------
>
>                 Key: MAVEN-1820
>                 URL: http://jira.codehaus.org/browse/MAVEN-1820
>             Project: Maven 1.x
>          Issue Type: Bug
>         Environment: SUSE Linux 10
>            Reporter: Elly Yeung
>
> After installed maven and have encountered the following MavenException.
> #maven -e
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> org.apache.maven.MavenException: Parent POM is equal to the current POM
>         at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:236)
>         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(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at com.werken.forehead.Forehead.run(Forehead.java:551)
>         at com.werken.forehead.Forehead.main(Forehead.java:581)
> Any helps would be appreciated.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MAVEN-1820) Maven 1.0.2 installlation

Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MAVEN-1820?page=comments#action_81686 ] 
            
Arnaud Heritier commented on MAVEN-1820:
----------------------------------------

Please give us more information.
How is your POM which produce this error ?

> Maven 1.0.2 installlation
> -------------------------
>
>                 Key: MAVEN-1820
>                 URL: http://jira.codehaus.org/browse/MAVEN-1820
>             Project: Maven 1.x
>          Issue Type: Bug
>         Environment: SUSE Linux 10
>            Reporter: Elly Yeung
>
> After installed maven and have encountered the following MavenException.
> #maven -e
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> org.apache.maven.MavenException: Parent POM is equal to the current POM
>         at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:236)
>         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(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at com.werken.forehead.Forehead.run(Forehead.java:551)
>         at com.werken.forehead.Forehead.main(Forehead.java:581)
> Any helps would be appreciated.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MAVEN-1820) Maven 1.0.2 installlation

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MAVEN-1820?page=all ]

Carlos Sanchez closed MAVEN-1820.
---------------------------------

      Assignee: Carlos Sanchez
    Resolution: Won't Fix

the porject.xml is located in /opt/sakai-demo/sakai/melete_os_release2.3/.

and you are extending 

<extend>../melete_os_release2.3/project.xml</extend>

which as maven shows in the output, they are the same

> Maven 1.0.2 installlation
> -------------------------
>
>                 Key: MAVEN-1820
>                 URL: http://jira.codehaus.org/browse/MAVEN-1820
>             Project: Maven 1.x
>          Issue Type: Bug
>         Environment: SUSE Linux 10
>            Reporter: Elly Yeung
>         Assigned To: Carlos Sanchez
>
> After installed maven and have encountered the following MavenException.
> #maven -e
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> org.apache.maven.MavenException: Parent POM is equal to the current POM
>         at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:236)
>         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(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at com.werken.forehead.Forehead.run(Forehead.java:551)
>         at com.werken.forehead.Forehead.main(Forehead.java:581)
> Any helps would be appreciated.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MAVEN-1820) Maven 1.0.2 installlation

Posted by "Elly Yeung (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MAVEN-1820?page=comments#action_81691 ] 
            
Elly Yeung commented on MAVEN-1820:
-----------------------------------

Sorry I forgot to attach this info after I run the maven --info command. Many thanks


sakai:/opt/maven-1.0.2 # maven --info
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

#---- BEGIN: Which report
Which.version=Which.java:($Revision: 1.2 $) WhichJar.java:($Revision: 1.2 $)
java.version=1.4.2_11
file.encoding=UTF-8
java.ext.dirs=/usr/lib/jvm/java-1_4_2-sun-1.4.2.11/jre/lib/ext
java.class.path=/opt/maven-1.0.2//lib/forehead-1.0-beta-5.jar
os.name=Linux
java.vendor=Sun Microsystems Inc.
sun.boot.class.path=/opt/maven-1.0.2//lib/endorsed/xml-apis-1.0.b2.jar:/opt/maven-1.0.2//lib/endorsed/xerces-2.4.0.jar:/usr/lib/jvm/java-1_4_2-sun-1.4.2.11/jre/lib/rt.jar:/usr/lib/jvm/java-1_4_2-sun-1.4.2.11/jre/lib/i18n.jar:/usr/lib/jvm/java-1_4_2-sun-1.4.2.11/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1_4_2-sun-1.4.2.11/jre/lib/jsse.jar:/usr/lib/jvm/java-1_4_2-sun-1.4.2.11/jre/lib/jce.jar:/usr/lib/jvm/java-1_4_2-sun-1.4.2.11/jre/lib/charsets.jar:/usr/lib/jvm/java-1_4_2-sun-1.4.2.11/jre/classes
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
#----   END: Which report

Installed plugins:
  maven-abbot-plugin-1.1
  maven-announcement-plugin-1.3
  maven-ant-plugin-1.8.1
  maven-antlr-plugin-1.2.1
  maven-appserver-plugin-2.0
  maven-artifact-plugin-1.4.1
  maven-ashkelon-plugin-1.2
  maven-aspectj-plugin-3.2
  maven-aspectwerkz-plugin-1.2
  maven-caller-plugin-1.1
  maven-castor-plugin-1.2
  maven-changelog-plugin-1.7.1
  maven-changes-plugin-1.5.1
  maven-checkstyle-plugin-2.5
  maven-clean-plugin-1.3
  maven-clover-plugin-1.6
  maven-console-plugin-1.1
  maven-cruisecontrol-plugin-1.6
  maven-dashboard-plugin-1.6
  maven-developer-activity-plugin-1.5.1
  maven-dist-plugin-1.6.1
  maven-docbook-plugin-1.2
  maven-ear-plugin-1.6
  maven-eclipse-plugin-1.9
  maven-ejb-plugin-1.5
  maven-faq-plugin-1.4
  maven-file-activity-plugin-1.5.1
  maven-genapp-plugin-2.2
  maven-gump-plugin-1.4
  maven-hibernate-plugin-1.2
  maven-html2xdoc-plugin-1.3.1
  maven-idea-plugin-1.5
  maven-j2ee-plugin-1.5.1
  maven-jalopy-plugin-1.3.1
  maven-jar-plugin-1.6.1
  maven-java-plugin-1.5
  maven-javacc-plugin-1.1
  maven-javadoc-plugin-1.7
  maven-jboss-plugin-1.5
  maven-jbuilder-plugin-1.5
  maven-jcoverage-plugin-1.0.9
  maven-jdee-plugin-1.1
  maven-jdepend-plugin-1.5
  maven-jdeveloper-plugin-1.4
  maven-jdiff-plugin-1.4
  maven-jellydoc-plugin-1.3.1
  maven-jetty-plugin-1.1
  maven-jira-plugin-1.1.2
  maven-jnlp-plugin-1.4.1
  maven-junit-doclet-plugin-1.2
  maven-junit-report-plugin-1.5
  maven-jxr-plugin-1.4.2
  maven-latex-plugin-1.4.1
  maven-latka-plugin-1.4.1
  maven-license-plugin-1.2
  maven-linkcheck-plugin-1.3.4
  maven-multichanges-plugin-1.1
  maven-multiproject-plugin-1.3.1
  maven-native-plugin-1.1
  maven-nsis-plugin-1.1
  maven-pdf-plugin-2.2.1
  maven-plugin-plugin-1.5.2
  maven-pmd-plugin-1.6
  maven-pom-plugin-1.4.1
  maven-rar-plugin-1.0
  maven-release-plugin-1.4.1
  maven-repository-plugin-1.2
  maven-scm-plugin-1.4.1
  maven-shell-plugin-1.1
  maven-simian-plugin-1.4
  maven-site-plugin-1.5.2
  maven-struts-plugin-1.3
  maven-tasklist-plugin-2.3
  maven-test-plugin-1.6.2
  maven-tjdo-plugin-1.0.0
  maven-uberjar-plugin-1.2
  maven-vdoclet-plugin-1.2
  maven-war-plugin-1.6.1
  maven-webserver-plugin-2.0
  maven-wizard-plugin-1.1
  maven-xdoc-plugin-1.8
Exception reading build.properties: /root/build.properties (No such file or directory)
Home Build properties: {}


> Maven 1.0.2 installlation
> -------------------------
>
>                 Key: MAVEN-1820
>                 URL: http://jira.codehaus.org/browse/MAVEN-1820
>             Project: Maven 1.x
>          Issue Type: Bug
>         Environment: SUSE Linux 10
>            Reporter: Elly Yeung
>
> After installed maven and have encountered the following MavenException.
> #maven -e
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> org.apache.maven.MavenException: Parent POM is equal to the current POM
>         at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:236)
>         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(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at com.werken.forehead.Forehead.run(Forehead.java:551)
>         at com.werken.forehead.Forehead.main(Forehead.java:581)
> Any helps would be appreciated.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MAVEN-1820) Maven 1.0.2 installlation

Posted by "Carlos Sanchez (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MAVEN-1820?page=comments#action_81755 ] 
            
Carlos Sanchez commented on MAVEN-1820:
---------------------------------------

use the user mailing list for questions http://maven.apache.org/mail-lists.html

> Maven 1.0.2 installlation
> -------------------------
>
>                 Key: MAVEN-1820
>                 URL: http://jira.codehaus.org/browse/MAVEN-1820
>             Project: Maven 1.x
>          Issue Type: Bug
>         Environment: SUSE Linux 10
>            Reporter: Elly Yeung
>         Assigned To: Carlos Sanchez
>
> After installed maven and have encountered the following MavenException.
> #maven -e
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> org.apache.maven.MavenException: Parent POM is equal to the current POM
>         at org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:236)
>         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(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at com.werken.forehead.Forehead.run(Forehead.java:551)
>         at com.werken.forehead.Forehead.main(Forehead.java:581)
> Any helps would be appreciated.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira