continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "LAMY Olivier" <Olivier.L...@accor.com>
Subject RE: Continuum 1.1-beta-1 shell project does not run but runs from command line
Date Mon, 06 Aug 2007 23:28:53 GMT
Can you do :
- remove the SNAPSHOT version in the compiler (2.0.2 has been released)
- give os information
- the JAVA_HOME value in your system env (if a *n*x the value in the .profile )
- have you played with profile and attached a jdk to your build definition

Thanks,
--
Olivier

-----Message d'origine-----
De : L. J. [mailto:apache.maillist@gmail.com] 
Envoyé : mardi 7 août 2007 01:23
À : continuum-users@maven.apache.org
Objet : Re: Continuum 1.1-beta-1 shell project does not run but runs from command line

Sure,

<build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.0.1-SNAPSHOT</version>
                <configuration>
                    <target>1.3</target>
                    <source>1.3</source>
                </configuration>
                <inherited>true</inherited>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <archive>
                        <index>true</index>
                        <manifest>
                            <addClasspath>true</addClasspath>
                            <addExtensions />
                            <classpathPrefix />
                        </manifest>
                        <manifestEntries>
                            <Source-Control-Identifier>${ project.scm.connection} ${project.scm.tag}</Source-Control-Identifier>
                        </manifestEntries>
                    </archive>
                </configuration>
                <inherited>true</inherited>
            </plugin>
        </plugins>
    </build>

Thanks.

LJ


On 8/6/07, LAMY Olivier <Olivier.LAMY@accor.com> wrote:
>
> Could you show your maven-compiler-plugin configuration.
> What are you target/source values ?
>
>
>
> -----Message d'origine-----
> De : L. J. [mailto:apache.maillist@gmail.com]
> Envoyé : mardi 7 août 2007 01:06
> À : continuum-users
> Objet : Continuum 1.1-beta-1 shell project does not run but runs from 
> command line
>
> Using a shell script /usr/bin/sh build.sh (the script runs mvn -U - 
> Dmaven.test.skip clean install), it works fine from the command line, 
> but if I put in continuum beta-1 as a shell project, it fails. I tried 
> adding the profile but does not help.
>
> Any suggestion or idea?
>
> Compiling 65 source files to 
> /apps/build/continuum-1.1-beta-1/apps/continuum/webapp/WEB-INF/working
> -directory/2/checkoutAdmin/admintoolcontinuum/adminparentPOM/../AdminC
> ache/target/classes
> [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD FAILURE
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Compilation failure
>
> Failure executing javac, but could not parse the error:
> javac: target release 1.3 conflicts with default source release 1.5
>
>
> [INFO]
> ----------------------------------------------------------------------
> -- [INFO] For more information, run Maven with the -e switch [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Total time: 27 seconds
> [INFO] Finished at: Mon Aug 06 15:23:33 PDT 2007 [INFO] Final Memory:
> 10M/28M [INFO]
> ----------------------------------------------------------------------
> --
>
> Thanks.
>
> LJ
>
>
> This e-mail, any attachments and the information contained therein 
> ("this
> message") are confidential and intended solely for the use of the 
> addressee(s). If you have received this message in error please send 
> it back to the sender and delete it. Unauthorized publication, use, 
> dissemination or disclosure of this message, either in whole or in 
> part is strictly prohibited.
> **********************************************************************
> Ce message électronique et tous les fichiers joints ainsi que  les 
> informations contenues dans ce message ( ci après "le message" ), sont 
> confidentiels et destinés exclusivement à l'usage de la  personne à 
> laquelle ils sont adressés. Si vous avez reçu ce message par erreur, 
> merci  de le renvoyer à son émetteur et de le détruire. Toutes 
> diffusion, publication, totale ou partielle ou divulgation sous 
> quelque forme que se soit non expressément autorisées de ce message, sont interdites.
> **********************************************************************
>
>

Mime
View raw message