|
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"> <modelVersion>4.0.0</modelVersion> <artifactId>BpelConexions</artifactId> <groupId>BpelConexions</groupId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <build> <plugins> <!-- DISABLE COMPILER PLUGIN AS ANT RUN WOUDL COMPILE THE CODE --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <skip>true</skip> <source>1.5</source> <target>1.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> <artifactId>maven-surefire-plugin</artifactId> <version>2.1.3</version> <inherited>true</inherited> <configuration> <skip>true</skip> <excludes> <exclude>**/enginetest/*.java</exclude> </excludes> </configuration> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.1</version> <executions> <execution> <id>jbicomp-build-package</id> <phase>package</phase> <goals><goal>run</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.dir">Must set src.dir</fail> <fail unless="build.dir">Must set build.dir</fail> <fail unless="dist.dir">Must set dist.dir</fail> <fail unless="dist.jar">Must set dist.jar</fail> </target> <target name="init-taskdefs" if="from.commandline"> <path id="ant.task.classpath"> <pathelement location="${esb.netbeans.platform}/../ide10/modules/ext/resolver-1.2.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-apache-xml-resolver.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-project-ant.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-project-libraries.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-projectapi.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-projectuiapi.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-catalog.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-xam.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-schema-model.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-wsdl-model.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-retriever.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/core/core.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/core/org-openide-filesystems.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/lib/boot.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/lib/org-openide-modules.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/lib/org-openide-util.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-openide-dialogs.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-openide-loaders.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-openide-nodes.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-openide-text.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-netbeans-modules-masterfs.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-netbeans-modules-queries.jar"/> <pathelement location="${esb.netbeans.platform}/../soa2/ant/nblib/org-netbeans-modules-bpel-project.jar"/> <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-bpel-debugger-api.jar"/> <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-bpel-model.jar"/> <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-bpel-project.jar"/> <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-bpel-validation.jar"/> <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-soa-ui.jar"/> <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-soa-validation.jar"/> <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-compapp-projects-base.jar"/> <pathelement location="${esb.netbeans.platform}/../xml2/modules/ext/jxpath/jxpath1.1.jar"/> <pathelement location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-catalogsupport.jar"/> <pathelement location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-search.jar"/> <pathelement location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-wsdl-extensions.jar"/> <pathelement location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-xpath.jar"/> <pathelement location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-xpath-ext.jar"/> </path> <taskdef name="validate-project" classname="org.netbeans.modules.bpel.project.anttasks.cli.CliValidateBpelProjectTask"> <classpath refid="ant.task.classpath"/> </taskdef> <taskdef name="generate-catalog-xml" classname="org.netbeans.modules.bpel.project.anttasks.cli.CliGenerateCatalogTask"> <classpath refid="ant.task.classpath"/> </taskdef> <taskdef name="generate-jbi-xml" classname="org.netbeans.modules.bpel.project.anttasks.cli.CliGenerateJbiDescriptorTask"> <classpath refid="ant.task.classpath"/> </taskdef> </target> <target name="init" depends="pre-init,init-private,init-userdir,init-user,init-project,do-init,post-init,init-check,init-taskdefs"/> <!-- DIST BUILDING SECTION --> <target name="pre-dist"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <target name="deps-jar-dist" depends="init" unless="${no.dependencies}"/> <target name="do-dist" depends="init,pre-dist"> <mkdir dir="${build.dir}"/> <validate-project buildDirectory="${basedir}/${build.dir}" sourceDirectory="${basedir}/${src.dir}" projectClassPath="${javac.classpath}" buildDependentProjectDir="${basedir}/${build.dir}/dependentProjectFiles" classpathRef="ant.task.classpath" allowBuildWithError="${allow.build.with.error}" validation="${validation}"/> <copy todir="${build.dir}" preservelastmodified="true"> <fileset includes="**/*.bpel,**/*.wsdl,**/*.xsd, **/*.xsl, **/*.xslt, **/*.jar" dir="${src.dir}"/> </copy> <generate-catalog-xml buildDirectory="${basedir}/${build.dir}" sourceDirectory="${basedir}/${src.dir}" projectClassPath="${javac.classpath}" classpathRef="ant.task.classpath"/> <generate-jbi-xml buildDirectory="${basedir}/${build.dir}" sourceDirectory="${basedir}/${src.dir}" projectClassPath="${javac.classpath}" classpathRef="ant.task.classpath"/> <jar compress="${jar.compress}" jarfile="${build.dir}/SEDeployment.jar"> <fileset includes="**/*.bpel,**/*.wsdl,**/*.xsd, **/*.xsl, **/*.xslt, **/*.jar" excludes="SEDeployment.jar" dir="${basedir}/${build.dir}"/> <fileset dir="${basedir}/${build.dir}"> <include name="**/jbi.xml"/> <include name="**/catalog.xml"/> </fileset> </jar> </target> <target name="post-dist"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <target name="dist_se" depends="init,pre-dist,deps-jar-dist,do-dist,post-dist"/> <!-- CLEANUP SECTION --> <target name="pre-clean"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <target name="deps-clean" depends="init" unless="${no.dependencies}"/> <target name="do-clean" depends="init,pre-clean"> <delete dir="${build.dir}"/> <delete dir="${dist.dir}"/> </target> <target name="post-clean"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <target name="clean" depends="init,pre-clean,deps-clean,do-clean,post-clean"/> </project> |
|
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 <[hidden email]> 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 > "> > <modelVersion>4.0.0</modelVersion> > <artifactId>BpelConexions</artifactId> > <groupId>BpelConexions</groupId> > <packaging>jar</packaging> > <version>1.0-SNAPSHOT</version> > <build> > <plugins> > <!-- DISABLE COMPILER PLUGIN AS ANT RUN WOUDL COMPILE THE CODE > --> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <configuration> > <skip>true</skip> > <source>1.5</source> > <target>1.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> > <artifactId>maven-surefire-plugin</artifactId> > <version>2.1.3</version> > <inherited>true</inherited> > <configuration> > <skip>true</skip> > <excludes> > <exclude>**/enginetest/*.java</exclude> > </excludes> > </configuration> > </plugin> > <plugin> > <artifactId>maven-antrun-plugin</artifactId> > <version>1.1</version> > <executions> > <execution> > <id>jbicomp-build-package</id> > <phase>package</phase> > <goals><goal>run</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.dir">Must set src.dir</fail> > <fail unless="build.dir">Must set build.dir</fail> > <fail unless="dist.dir">Must set dist.dir</fail> > <fail unless="dist.jar">Must set dist.jar</fail> > </target> > <target name="init-taskdefs" if="from.commandline"> > <path id="ant.task.classpath"> > <pathelement > location="${esb.netbeans.platform}/../ide10/modules/ext/resolver-1.2.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../ide10/modules/org-apache-xml-resolver.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-project-ant.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-project-libraries.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-projectapi.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-projectuiapi.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-catalog.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-xam.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-schema-model.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-wsdl-model.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-retriever.jar"/> > <pathelement > location="${esb.netbeans.platform}/../platform9/core/core.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../platform9/core/org-openide-filesystems.jar"/> > <pathelement > location="${esb.netbeans.platform}/../platform9/lib/boot.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../platform9/lib/org-openide-modules.jar"/> > <pathelement > location="${esb.netbeans.platform}/../platform9/lib/org-openide-util.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../platform9/modules/org-openide-dialogs.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../platform9/modules/org-openide-loaders.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../platform9/modules/org-openide-nodes.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../platform9/modules/org-openide-text.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../platform9/modules/org-netbeans-modules-masterfs.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../platform9/modules/org-netbeans-modules-queries.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../soa2/ant/nblib/org-netbeans-modules-bpel-project.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-bpel-debugger-api.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-bpel-model.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-bpel-project.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-bpel-validation.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-soa-ui.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-soa-validation.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-compapp-projects-base.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../xml2/modules/ext/jxpath/jxpath1.1.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-catalogsupport.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-search.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-wsdl-extensions.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-xpath.jar"/> > <pathelement > > location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-xpath-ext.jar"/> > </path> > <taskdef name="validate-project" > > classname="org.netbeans.modules.bpel.project.anttasks.cli.CliValidateBpelProjectTask"> > <classpath refid="ant.task.classpath"/> > </taskdef> > <taskdef name="generate-catalog-xml" > > classname="org.netbeans.modules.bpel.project.anttasks.cli.CliGenerateCatalogTask"> > <classpath refid="ant.task.classpath"/> > </taskdef> > <taskdef name="generate-jbi-xml" > > classname="org.netbeans.modules.bpel.project.anttasks.cli.CliGenerateJbiDescriptorTask"> > <classpath refid="ant.task.classpath"/> > </taskdef> > </target> > <target name="init" > > depends="pre-init,init-private,init-userdir,init-user,init-project,do-init,post-init,init-check,init-taskdefs"/> > <!-- > DIST BUILDING SECTION > --> > <target name="pre-dist"> > <!-- Empty placeholder for easier customization. --> > <!-- You can override this target in the ../build.xml file. --> > </target> > <target name="deps-jar-dist" depends="init" > unless="${no.dependencies}"/> > <target name="do-dist" depends="init,pre-dist"> > <mkdir dir="${build.dir}"/> > <validate-project buildDirectory="${basedir}/${build.dir}" > sourceDirectory="${basedir}/${src.dir}" > projectClassPath="${javac.classpath}" > buildDependentProjectDir="${basedir}/${build.dir}/dependentProjectFiles" > classpathRef="ant.task.classpath" > allowBuildWithError="${allow.build.with.error}" > validation="${validation}"/> > <copy todir="${build.dir}" preservelastmodified="true"> > <fileset includes="**/*.bpel,**/*.wsdl,**/*.xsd, **/*.xsl, > **/*.xslt, **/*.jar" dir="${src.dir}"/> > </copy> > <generate-catalog-xml buildDirectory="${basedir}/${build.dir}" > sourceDirectory="${basedir}/${src.dir}" > projectClassPath="${javac.classpath}" classpathRef="ant.task.classpath"/> > <generate-jbi-xml buildDirectory="${basedir}/${build.dir}" > sourceDirectory="${basedir}/${src.dir}" > projectClassPath="${javac.classpath}" classpathRef="ant.task.classpath"/> > <jar compress="${jar.compress}" > jarfile="${build.dir}/SEDeployment.jar"> > <fileset includes="**/*.bpel,**/*.wsdl,**/*.xsd, **/*.xsl, > **/*.xslt, **/*.jar" excludes="SEDeployment.jar" > dir="${basedir}/${build.dir}"/> > <fileset dir="${basedir}/${build.dir}"> > <include name="**/jbi.xml"/> > <include name="**/catalog.xml"/> > </fileset> > </jar> > </target> > <target name="post-dist"> > <!-- Empty placeholder for easier customization. --> > <!-- You can override this target in the ../build.xml file. --> > </target> > <target name="dist_se" > depends="init,pre-dist,deps-jar-dist,do-dist,post-dist"/> > <!-- > CLEANUP SECTION > --> > <target name="pre-clean"> > <!-- Empty placeholder for easier customization. --> > <!-- You can override this target in the ../build.xml file. --> > </target> > <target name="deps-clean" depends="init" unless="${no.dependencies}"/> > <target name="do-clean" depends="init,pre-clean"> > <delete dir="${build.dir}"/> > <delete dir="${dist.dir}"/> > </target> > <target name="post-clean"> > <!-- Empty placeholder for easier customization. --> > <!-- You can override this target in the ../build.xml file. --> > </target> > <target name="clean" > depends="init,pre-clean,deps-clean,do-clean,post-clean"/> > </project> > |
|
In reply to this post by José Vicente
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 AT&T -----Original Message----- From: José Vicente [mailto:[hidden email]] Sent: Thursday, October 14, 2010 11:08 AM To: [hidden email] 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"> <modelVersion>4.0.0</modelVersion> <artifactId>BpelConexions</artifactId> <groupId>BpelConexions</groupId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <build> <plugins> <!-- DISABLE COMPILER PLUGIN AS ANT RUN WOUDL COMPILE THE CODE --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <skip>true</skip> <source>1.5</source> <target>1.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> <artifactId>maven-surefire-plugin</artifactId> <version>2.1.3</version> <inherited>true</inherited> <configuration> <skip>true</skip> <excludes> <exclude>**/enginetest/*.java</exclude> </excludes> </configuration> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.1</version> <executions> <execution> <id>jbicomp-build-package</id> <phase>package</phase> <goals><goal>run</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.dir">Must set src.dir</fail> <fail unless="build.dir">Must set build.dir</fail> <fail unless="dist.dir">Must set dist.dir</fail> <fail unless="dist.jar">Must set dist.jar</fail> </target> <target name="init-taskdefs" if="from.commandline"> <path id="ant.task.classpath"> <pathelement location="${esb.netbeans.platform}/../ide10/modules/ext/resolver-1.2.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-apache-xml-resolver.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-project-ant.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-project-libraries.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-projectapi.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-projectuiapi.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-catalog.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-xam.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-schema-model.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-wsdl-model.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-retriever.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/core/core.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/core/org-openide-filesystems.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/lib/boot.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/lib/org-openide-modules.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/lib/org-openide-util.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-openide-dialogs.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-openide-loaders.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-openide-nodes.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-openide-text.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-netbeans-modules-masterfs.jar"/> <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-netbeans-modules-queries.jar"/> <pathelement location="${esb.netbeans.platform}/../soa2/ant/nblib/org-netbeans-modules-bpel-project.jar"/> <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-bpel-debugger-api.jar"/> <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-bpel-model.jar"/> <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-bpel-project.jar"/> <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-bpel-validation.jar"/> <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-soa-ui.jar"/> <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-soa-validation.jar"/> <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-compapp-projects-base.jar"/> <pathelement location="${esb.netbeans.platform}/../xml2/modules/ext/jxpath/jxpath1.1.jar"/> <pathelement location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-catalogsupport.jar"/> <pathelement location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-search.jar"/> <pathelement location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-wsdl-extensions.jar"/> <pathelement location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-xpath.jar"/> <pathelement location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-xpath-ext.jar"/> </path> <taskdef name="validate-project" classname="org.netbeans.modules.bpel.project.anttasks.cli.CliValidateBpelProjectTask"> <classpath refid="ant.task.classpath"/> </taskdef> <taskdef name="generate-catalog-xml" classname="org.netbeans.modules.bpel.project.anttasks.cli.CliGenerateCatalogTask"> <classpath refid="ant.task.classpath"/> </taskdef> <taskdef name="generate-jbi-xml" classname="org.netbeans.modules.bpel.project.anttasks.cli.CliGenerateJbiDescriptorTask"> <classpath refid="ant.task.classpath"/> </taskdef> </target> <target name="init" depends="pre-init,init-private,init-userdir,init-user,init-project,do-init,post-init,init-check,init-taskdefs"/> <!-- DIST BUILDING SECTION --> <target name="pre-dist"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <target name="deps-jar-dist" depends="init" unless="${no.dependencies}"/> <target name="do-dist" depends="init,pre-dist"> <mkdir dir="${build.dir}"/> <validate-project buildDirectory="${basedir}/${build.dir}" sourceDirectory="${basedir}/${src.dir}" projectClassPath="${javac.classpath}" buildDependentProjectDir="${basedir}/${build.dir}/dependentProjectFiles" classpathRef="ant.task.classpath" allowBuildWithError="${allow.build.with.error}" validation="${validation}"/> <copy todir="${build.dir}" preservelastmodified="true"> <fileset includes="**/*.bpel,**/*.wsdl,**/*.xsd, **/*.xsl, **/*.xslt, **/*.jar" dir="${src.dir}"/> </copy> <generate-catalog-xml buildDirectory="${basedir}/${build.dir}" sourceDirectory="${basedir}/${src.dir}" projectClassPath="${javac.classpath}" classpathRef="ant.task.classpath"/> <generate-jbi-xml buildDirectory="${basedir}/${build.dir}" sourceDirectory="${basedir}/${src.dir}" projectClassPath="${javac.classpath}" classpathRef="ant.task.classpath"/> <jar compress="${jar.compress}" jarfile="${build.dir}/SEDeployment.jar"> <fileset includes="**/*.bpel,**/*.wsdl,**/*.xsd, **/*.xsl, **/*.xslt, **/*.jar" excludes="SEDeployment.jar" dir="${basedir}/${build.dir}"/> <fileset dir="${basedir}/${build.dir}"> <include name="**/jbi.xml"/> <include name="**/catalog.xml"/> </fileset> </jar> </target> <target name="post-dist"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <target name="dist_se" depends="init,pre-dist,deps-jar-dist,do-dist,post-dist"/> <!-- CLEANUP SECTION --> <target name="pre-clean"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <target name="deps-clean" depends="init" unless="${no.dependencies}"/> <target name="do-clean" depends="init,pre-clean"> <delete dir="${build.dir}"/> <delete dir="${dist.dir}"/> </target> <target name="post-clean"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> <target name="clean" depends="init,pre-clean,deps-clean,do-clean,post-clean"/> </project> --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
| Powered by Nabble | Edit this page |
