Code: Select all
Buildfile: /home/developer/Documentos/eclipse-workspace/DemoSite/site/build.xml
jetty-demo-no-db:
[artifact:mvn] Listening for transport dt_socket at address: 8000
[artifact:mvn] -Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match.
[artifact:mvn] Java Result: 1
BUILD SUCCESSFUL
Total time: 1 second
These are my environment variables
File: /etc/bash.bashrc
Code: Select all
# Set PATH Maven
export M2_HOME=/usr/share/maven
export PATH=${M2_HOME}/bin:$PATH
# Set PATH Java
export JAVA_HOME=/usr/lib/jvm/jdk1.7.0_75/
export PATH=${JAVA_HOME}bin:$PATH
and this is my build.properties
Code: Select all
########
#The following file is used to define runtime properties that will read by ant tasks.
#if you need to override any of them,
#then create a file in your home directory called .build.properties that contains only the override properties.
#########
#required
maven.home=/usr/share/maven
#optional
jrebel.path=/usr/lib/jrebel/jrebel.jar
#optional for build-create-sql and build-update-sql ant tasks
ant.hibernate.sql.ddl.dialect=org.hibernate.dialect.HSQLDialect
#The following allow the build-update-sql ant task to connect to a database and generate DDL to
#update the schema
ant.blPU.url=jdbc:hsqldb:hsql://localhost/broadleaf
ant.blPU.userName=sa
ant.blPU.password=null
ant.blPU.driverClassName=org.hsqldb.jdbcDriver
ant.blSecurePU.url=jdbc:hsqldb:hsql://localhost/broadleaf
ant.blSecurePU.userName=sa
ant.blSecurePU.password=null
ant.blSecurePU.driverClassName=org.hsqldb.jdbcDriver
ant.blCMSStorage.url=jdbc:hsqldb:hsql://localhost/broadleaf
ant.blCMSStorage.userName=sa
ant.blCMSStorage.password=null
ant.blCMSStorage.driverClassName=org.hsqldb.jdbcDriver
#Required for correct operation of some 3rd party modules
#Relative paths are from the ant build.xml files, so site/build.xml and admin/build.xml.
spring.instrument.path=../lib/spring-instrument-3.2.12.RELEASE.jar
#End build-*-sql Ant Task Properties
S.O: Debian 8
jdk1.7.0_75 above it is
eclipse Luna with maven integration
I hope you can help me : )
Thanks in advance