Re: mavenicing bpel module
I don't know what the actual problem you are facing is, but you might want to consider starting with maven from scratch and only add tasks (or better convert tasks to plugins) as the need arises. Milos On Thu, Oct 14, 2010 at 5:08 PM, José Vicente jvia...@gmail.com wrote: Hi: I’m mavenicing a BPEL Module but i has this error: Embedded error: The following error occurred while executing this line: C:\caps\NETBEA~1\EchoDeAfirma\BpelConexions\nbproject\build-impl.xml:79: taskdef class org.netbeans.modules.bpel.project.anttasks.cli.CliValidateBpelProjectTask cannot be found do you have any idea ? pom.xml: ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd modelVersion4.0.0/modelVersion artifactIdBpelConexions/artifactId groupIdBpelConexions/groupId packagingjar/packaging version1.0-SNAPSHOT/version build plugins !-- DISABLE COMPILER PLUGIN AS ANT RUN WOUDL COMPILE THE CODE -- plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration skiptrue/skip source1.5/source target1.5/target excludes exclude**/*.java/exclude /excludes /configuration /plugin !-- DISABLE the test code run as a junit test as this test is integration test code.-- plugin artifactIdmaven-surefire-plugin/artifactId version2.1.3/version inheritedtrue/inherited configuration skiptrue/skip excludes exclude**/enginetest/*.java/exclude /excludes /configuration /plugin plugin artifactIdmaven-antrun-plugin/artifactId version1.1/version executions execution idjbicomp-build-package/id phasepackage/phase goalsgoalrun/goal/goals configuration tasks ant antfile=build.xml inheritAll=false target=dist_se /ant copy overwrite=true file=dist/${ jbi.component.name}.jar toFile=${project.build.directory}/${project.artifactId}-${project.version}.jar / !-- dist/EJBWSAfirma.jar -- /tasks /configuration /execution /executions /plugin /plugins /build properties jbi.component.name${project.artifactId}/jbi.component.name /properties /project build-impl.xml : ?xml version=1.0 encoding=UTF-8? !-- *** GENERATED FROM project.xml - DO NOT EDIT *** *** EDIT ../build.xml INSTEAD *** -- project name=BpelConexions-impl default=default basedir=.. target name=default depends=dist_se/ !-- INITIALIZATION SECTION -- target name=pre-init !-- Empty placeholder for easier customization. -- !-- You can override this target in the ../build.xml file. -- /target target name=init-private depends=pre-init property file=nbproject/private/private.properties/ /target target name=init-userdir depends=pre-init,init-private property name=user.properties.file location=${netbeans.user}/build.properties/ /target target name=init-user depends=pre-init,init-private,init-userdir property file=${user.properties.file}/ /target target name=init-project depends=pre-init,init-private,init-userdir,init-user property file=nbproject/project.properties/ /target target name=do-init depends=pre-init,init-private,init-userdir,init-user,init-project available file=${src.dir}/../retrieved property=retrieved.exists/ /target target name=post-init !-- Empty placeholder for easier customization. -- !-- You can override this target in the ../build.xml file. -- /target target name=init-check depends=pre-init,init-private,init-userdir,init-user,init-project,do-init fail unless=src.dirMust set src.dir/fail fail unless=build.dirMust set build.dir/fail fail unless=dist.dirMust set dist.dir/fail fail unless=dist.jarMust set dist.jar/fail /target target name=init-taskdefs if=from.commandline path id=ant.task.classpath pathelement
RE: mavenicing bpel module
Two suggestions, 1) Use a more recent version of the antrun plugin. Version 1.1 is kind of out dated. 1.6 was recently released. 2) Read the documentation on Using tasks not included in Ant's default jar [1] [1] http://maven.apache.org/plugins/maven-antrun-plugin/examples/customTasks.html Ron Gallagher ATT -Original Message- From: José Vicente [mailto:jvia...@gmail.com] Sent: Thursday, October 14, 2010 11:08 AM To: users@maven.apache.org Subject: mavenicing bpel module Hi: I'm mavenicing a BPEL Module but i has this error: Embedded error: The following error occurred while executing this line: C:\caps\NETBEA~1\EchoDeAfirma\BpelConexions\nbproject\build-impl.xml:79: taskdef class org.netbeans.modules.bpel.project.anttasks.cli.CliValidateBpelProjectTask cannot be found do you have any idea ? pom.xml: ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion artifactIdBpelConexions/artifactId groupIdBpelConexions/groupId packagingjar/packaging version1.0-SNAPSHOT/version build plugins !-- DISABLE COMPILER PLUGIN AS ANT RUN WOUDL COMPILE THE CODE -- plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration skiptrue/skip source1.5/source target1.5/target excludes exclude**/*.java/exclude /excludes /configuration /plugin !-- DISABLE the test code run as a junit test as this test is integration test code.-- plugin artifactIdmaven-surefire-plugin/artifactId version2.1.3/version inheritedtrue/inherited configuration skiptrue/skip excludes exclude**/enginetest/*.java/exclude /excludes /configuration /plugin plugin artifactIdmaven-antrun-plugin/artifactId version1.1/version executions execution idjbicomp-build-package/id phasepackage/phase goalsgoalrun/goal/goals configuration tasks ant antfile=build.xml inheritAll=false target=dist_se /ant copy overwrite=true file=dist/${ jbi.component.name}.jar toFile=${project.build.directory}/${project.artifactId}-${project.version}.jar / !-- dist/EJBWSAfirma.jar -- /tasks /configuration /execution /executions /plugin /plugins /build properties jbi.component.name${project.artifactId}/jbi.component.name /properties /project build-impl.xml : ?xml version=1.0 encoding=UTF-8? !-- *** GENERATED FROM project.xml - DO NOT EDIT *** *** EDIT ../build.xml INSTEAD *** -- project name=BpelConexions-impl default=default basedir=.. target name=default depends=dist_se/ !-- INITIALIZATION SECTION -- target name=pre-init !-- Empty placeholder for easier customization. -- !-- You can override this target in the ../build.xml file. -- /target target name=init-private depends=pre-init property file=nbproject/private/private.properties/ /target target name=init-userdir depends=pre-init,init-private property name=user.properties.file location=${netbeans.user}/build.properties/ /target target name=init-user depends=pre-init,init-private,init-userdir property file=${user.properties.file}/ /target target name=init-project depends=pre-init,init-private,init-userdir,init-user property file=nbproject/project.properties/ /target target name=do-init depends=pre-init,init-private,init-userdir,init-user,init-project available file=${src.dir}/../retrieved property=retrieved.exists/ /target target name=post-init !-- Empty placeholder for easier customization. -- !-- You can override this target in the ../build.xml file. -- /target target name=init-check depends=pre-init,init-private,init-userdir,init-user,init-project,do-init fail unless=src.dirMust set src.dir/fail fail unless=build.dirMust set build.dir/fail fail unless=dist.dirMust set dist.dir/fail fail