java - floreant POS : error in building jar file using maven -


i have downloaded source code of floreant pos official site, , tried built project using maven. requires 2 commands mvn clean & mvn pacakage , when tried use these gives me following error

    [error] failed execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.3:cr eate (default) on project floreantpos: cannot revision information scm repository : [error] exception while executing scm command. svn: e155007: 'e:\pos\floreantpos -code-452-trunk' not working copy [error] -> [help 1] org.apache.maven.lifecycle.lifecycleexecutionexception: failed execute goal o rg.codehaus.mojo:buildnumber-maven-plugin:1.3:create (default) on project florea ntpos: cannot revision information scm repository : exception while executing scm command.         @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor .java:216)         @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor .java:153)         @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor .java:145)         @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproje ct(lifecyclemodulebuilder.java:116)         @ org.apache.maven.lifecycle.internal.lifecyclemodulebuilder.buildproje ct(lifecyclemodulebuilder.java:80)         @ org.apache.maven.lifecycle.internal.builder.singlethreaded.singlethre adedbuilder.build(singlethreadedbuilder.java:51)         @ org.apache.maven.lifecycle.internal.lifecyclestarter.execute(lifecycl estarter.java:128)         @ org.apache.maven.defaultmaven.doexecute(defaultmaven.java:307)         @ org.apache.maven.defaultmaven.doexecute(defaultmaven.java:193)         @ org.apache.maven.defaultmaven.execute(defaultmaven.java:106)         @ org.apache.maven.cli.mavencli.execute(mavencli.java:862)         @ org.apache.maven.cli.mavencli.domain(mavencli.java:286)         @ org.apache.maven.cli.mavencli.main(mavencli.java:197)         @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)         @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl. java:62)         @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodacces sorimpl.java:43)         @ java.lang.reflect.method.invoke(method.java:483)         @ org.codehaus.plexus.classworlds.launcher.launcher.launchenhanced(laun cher.java:289)         @ org.codehaus.plexus.classworlds.launcher.launcher.launch(launcher.jav a:229)         @ org.codehaus.plexus.classworlds.launcher.launcher.mainwithexitcode(la uncher.java:415)         @ org.codehaus.plexus.classworlds.launcher.launcher.main(launcher.java: 356) caused by: org.apache.maven.plugin.mojoexecutionexception: cannot revisi on information scm repository : exception while executing scm command.         @ org.codehaus.mojo.build.createmojo.getrevision(createmojo.java:785)         @ org.codehaus.mojo.build.createmojo.execute(createmojo.java:465)         @ org.apache.maven.plugin.defaultbuildpluginmanager.executemojo(default buildpluginmanager.java:134)         @ org.apache.maven.lifecycle.internal.mojoexecutor.execute(mojoexecutor .java:208)         ... 20 more caused by: org.apache.maven.scm.scmexception: exception while executing scm comm and.         @ org.apache.maven.scm.command.abstractcommand.execute(abstractcommand. java:63)         @ org.apache.maven.scm.provider.svn.abstractsvnscmprovider.executecomma nd(abstractsvnscmprovider.java:388)         @ org.apache.maven.scm.provider.svn.abstractsvnscmprovider.info(abstrac tsvnscmprovider.java:411)         @ org.codehaus.mojo.build.createmojo.info(createmojo.java:818)         @ org.codehaus.mojo.build.createmojo.getrevision(createmojo.java:754)         ... 23 more caused by: org.apache.maven.scm.scmexception: svn: e155007: 'e:\pos\floreantpos- code-452-trunk' not working copy         @ org.apache.maven.scm.provider.svn.svnjava.command.info.svnjavainfocom mand.executesingleinfocommand(svnjavainfocommand.java:110)         @ org.apache.maven.scm.provider.svn.svnjava.command.info.svnjavainfocom mand.executeinfocommand(svnjavainfocommand.java:71)         @ org.apache.maven.scm.provider.svn.svnjava.command.info.svnjavainfocom mand.executecommand(svnjavainfocommand.java:48)         @ org.apache.maven.scm.command.abstractcommand.execute(abstractcommand. java:59)         ... 27 more caused by: org.tmatesoft.svn.core.svnexception: svn: e155007: 'e:\pos\floreantpo s-code-452-trunk' not working copy         @ org.tmatesoft.svn.core.internal.wc.svnerrormanager.error(svnerrormana ger.java:64)         @ org.tmatesoft.svn.core.internal.wc.svnerrormanager.error(svnerrormana ger.java:51)         @ org.tmatesoft.svn.core.internal.wc17.db.svnwcdb.parsedir(svnwcdb.java :1886)         @ org.tmatesoft.svn.core.internal.wc17.db.svnwcdb.parsedir(svnwcdb.java :1777)         @ org.tmatesoft.svn.core.internal.wc17.db.svnwcdb.readconflicts(svnwcdb .java:3308)         @ org.tmatesoft.svn.core.internal.wc17.db.svnwcdb.readconflicts(svnwcdb .java:3281)         @ org.tmatesoft.svn.core.internal.wc17.db.svnwcdb.opreadtreeconflict(sv nwcdb.java:2723)         @ org.tmatesoft.svn.core.internal.wc2.ng.svnnggetinfo.run(svnnggetinfo. java:72)         @ org.tmatesoft.svn.core.internal.wc2.ng.svnnggetinfo.run(svnnggetinfo. java:51)         @ org.tmatesoft.svn.core.internal.wc2.ng.svnngoperationrunner.run(svnng operationrunner.java:20)         @ org.tmatesoft.svn.core.internal.wc2.svnoperationrunner.run(svnoperati onrunner.java:20)         @ org.tmatesoft.svn.core.wc2.svnoperationfactory.run(svnoperationfactor y.java:1149)         @ org.tmatesoft.svn.core.wc2.svnoperation.run(svnoperation.java:294)         @ org.tmatesoft.svn.core.wc.svnwcclient.doinfo(svnwcclient.java:2485)         @ org.apache.maven.scm.provider.svn.svnjava.command.info.svnjavainfocom mand.executesingleinfocommand(svnjavainfocommand.java:88)         ... 30 more [error] [error] [error] more information errors , possible solutions, please rea d following articles: [error] [help 1] http://cwiki.apache.org/confluence/display/maven/mojoexecutione xception 

enter image description here

and here pom.xml file

<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/xsd/maven-4.0.0.xsd">     <modelversion>4.0.0</modelversion>     <groupid>org.floreantpos</groupid>     <artifactid>floreantpos</artifactid>     <version>1.4-snapshot</version>      <properties>         <project.build.sourceencoding>utf-8</project.build.sourceencoding>     </properties>      <scm>         <connection>scm:svn:http://svn.code.sf.net/p/floreantpos/code/trunk</connection>     </scm>      <build>         <sourcedirectory>src</sourcedirectory>         <finalname>floreantpos</finalname>         <resources>             <resource>                 <directory>src</directory>                 <excludes>                     <exclude>**/*.java</exclude>                 </excludes>             </resource>             <resource>                 <directory>resources</directory>             </resource>             <resource>                 <directory>filters</directory>                 <filtering>true</filtering>                 <includes>                     <include>*.properties</include>                 </includes>             </resource>         </resources>         <plugins>             <plugin>                 <groupid>org.codehaus.mojo</groupid>                 <artifactid>buildnumber-maven-plugin</artifactid>                 <version>1.3</version>                 <executions>                     <execution>                         <phase>validate</phase>                         <goals>                             <goal>create</goal>                         </goals>                     </execution>                 </executions>                 <configuration>                     <docheck>false</docheck>                     <doupdate>false</doupdate>                     <providerimplementations>                         <svn>javasvn</svn>                     </providerimplementations>                 </configuration>                 <dependencies>                     <dependency>                         <groupid>com.google.code.maven-scm-provider-svnjava</groupid>                         <artifactid>maven-scm-provider-svnjava</artifactid>                         <version>2.1.1</version>                     </dependency>                     <dependency>                         <groupid>org.tmatesoft.svnkit</groupid>                         <artifactid>svnkit</artifactid>                         <version>1.8.5</version>                     </dependency>                 </dependencies>             </plugin>              <plugin>                 <groupid>org.apache.maven.plugins</groupid>                 <artifactid>maven-compiler-plugin</artifactid>                 <version>3.1</version>                 <configuration>                     <source>1.6</source>                     <target>1.6</target>                     <encoding>utf-8</encoding>                 </configuration>             </plugin>             <plugin>                 <artifactid>maven-resources-plugin</artifactid>                 <version>2.4</version>                 <configuration>                     <encoding>utf-8</encoding>                 </configuration>             </plugin>             <plugin>                 <groupid>org.apache.maven.plugins</groupid>                 <artifactid>maven-jar-plugin</artifactid>                 <version>2.3.1</version>                 <configuration>                     <archive>                         <manifest>                             <addclasspath>true</addclasspath>                             <classpathprefix>lib/</classpathprefix>                             <mainclass>com.floreantpos.main.main</mainclass>                         </manifest>                         <manifestentries>                             <class-path>config/ i18n/</class-path>                         </manifestentries>                     </archive>                 </configuration>             </plugin>              <plugin>                 <groupid>org.apache.maven.plugins</groupid>                 <artifactid>maven-assembly-plugin</artifactid>                 <version>2.4</version>                 <executions>                     <execution>                         <phase>package</phase>                         <goals>                             <goal>single</goal>                         </goals>                     </execution>                 </executions>                 <configuration>                     <descriptor>resources/meta-inf/mvn-assembly.xml</descriptor>                 </configuration>             </plugin>              <plugin>                 <groupid>org.apache.maven.plugins</groupid>                 <artifactid>maven-antrun-plugin</artifactid>                 <version>1.6</version>                 <executions>                     <execution>                         <id>prepare</id>                         <phase>validate</phase>                         <configuration>                             <target>                                 <echo message="prepare phase" />                                 <unzip src="database/derby-server/posdb.zip" dest="${project.build.directory}" />                             </target>                         </configuration>                         <goals>                             <goal>run</goal>                         </goals>                     </execution>                     <execution>                         <phase>package</phase>                         <configuration>                             <target>                                 <zip destfile="${project.build.directory}/${project.build.finalname}-1.4-build${buildnumber}.zip" basedir="${project.build.directory}/${project.build.finalname}-bin/${project.build.finalname}"></zip>                             </target>                         </configuration>                         <goals>                             <goal>run</goal>                         </goals>                     </execution>                 </executions>             </plugin>         </plugins>         <pluginmanagement>             <plugins>                 <!--this plugin's configuration used store eclipse m2e settings only. has no influence on maven build itself. -->                 <plugin>                     <groupid>org.eclipse.m2e</groupid>                     <artifactid>lifecycle-mapping</artifactid>                     <version>1.0.0</version>                     <configuration>                         <lifecyclemappingmetadata>                             <pluginexecutions>                                 <pluginexecution>                                     <pluginexecutionfilter>                                         <groupid>                                             org.apache.maven.plugins                                         </groupid>                                         <artifactid>                                             maven-antrun-plugin                                         </artifactid>                                         <versionrange>                                             [1.6,)                                         </versionrange>                                         <goals>                                             <goal>run</goal>                                         </goals>                                     </pluginexecutionfilter>                                     <action>                                         <ignore></ignore>                                     </action>                                 </pluginexecution>                             </pluginexecutions>                         </lifecyclemappingmetadata>                     </configuration>                 </plugin>             </plugins>         </pluginmanagement>     </build>      <dependencies>         <dependency>             <groupid>org.hibernate</groupid>             <artifactid>hibernate</artifactid>             <version>3.2.6.ga</version>             <exclusions>                 <exclusion>                     <groupid>javax.transaction</groupid>                     <artifactid>jta</artifactid>                 </exclusion>                 <exclusion>                     <artifactid>commons-collections</artifactid>                     <groupid>commons-collections</groupid>                 </exclusion>             </exclusions>         </dependency>          <dependency>             <groupid>javax.transaction</groupid>             <artifactid>jta</artifactid>             <version>1.1</version>         </dependency>          <dependency>             <groupid>org.hibernate</groupid>             <artifactid>hibernate-annotations</artifactid>             <version>3.3.1.ga</version>         </dependency>          <dependency>             <groupid>com.miglayout</groupid>             <artifactid>miglayout</artifactid>             <version>2.0</version>         </dependency>          <dependency>             <groupid>ecs</groupid>             <artifactid>ecs</artifactid>             <version>1.4.2</version>         </dependency>          <dependency>             <groupid>xerces</groupid>             <artifactid>xerces</artifactid>             <version>2.4.0</version>         </dependency>          <dependency>             <groupid>com.jgoodies</groupid>             <artifactid>forms</artifactid>             <version>1.2.1</version>         </dependency>          <dependency>             <groupid>org.swinglabs</groupid>             <artifactid>swingx-core</artifactid>             <version>1.6.2-2</version>         </dependency>          <dependency>             <groupid>org.apache.derby</groupid>             <artifactid>derby</artifactid>             <version>10.8.1.2</version>         </dependency>          <dependency>             <groupid>org.apache.derby</groupid>             <artifactid>derbynet</artifactid>             <version>10.8.1.2</version>         </dependency>          <dependency>             <groupid>org.apache.derby</groupid>             <artifactid>derbyclient</artifactid>             <version>10.8.1.2</version>         </dependency>          <dependency>             <groupid>com.jgoodies</groupid>             <artifactid>looks</artifactid>             <version>2.2.2</version>         </dependency>          <dependency>             <groupid>com.intellij</groupid>             <artifactid>forms_rt</artifactid>             <version>7.0.3</version>         </dependency>          <dependency>             <groupid>net.sf.jasperreports</groupid>             <artifactid>jasperreports</artifactid>             <version>4.0.1</version>             <exclusions>                 <exclusion>                     <artifactid>itext</artifactid>                     <groupid>com.lowagie</groupid>                 </exclusion>                 <exclusion>                     <artifactid>commons-collections</artifactid>                     <groupid>commons-collections</groupid>                 </exclusion>                 <exclusion>                     <artifactid>xml-apis</artifactid>                     <groupid>xml-apis</groupid>                 </exclusion>             </exclusions>         </dependency>          <dependency>             <groupid>foxtrot</groupid>             <artifactid>foxtrot</artifactid>             <version>2.0</version>         </dependency>          <dependency>             <groupid>org.swinglabs</groupid>             <artifactid>swing-layout</artifactid>             <version>1.0.3</version>         </dependency>          <dependency>             <groupid>commons-lang</groupid>             <artifactid>commons-lang</artifactid>             <version>2.6</version>         </dependency>          <dependency>             <groupid>commons-configuration</groupid>             <artifactid>commons-configuration</artifactid>             <version>1.2</version>             <exclusions>                 <exclusion>                     <artifactid>servlet-api</artifactid>                     <groupid>javax.servlet</groupid>                 </exclusion>                 <exclusion>                     <artifactid>xml-apis</artifactid>                     <groupid>xml-apis</groupid>                 </exclusion>             </exclusions>         </dependency>          <dependency>             <groupid>log4j</groupid>             <artifactid>log4j</artifactid>             <version>1.2.15</version>             <exclusions>                 <exclusion>                     <artifactid>mail</artifactid>                     <groupid>javax.mail</groupid>                 </exclusion>                 <exclusion>                     <artifactid>jms</artifactid>                     <groupid>javax.jms</groupid>                 </exclusion>                 <exclusion>                     <artifactid>jmxtools</artifactid>                     <groupid>com.sun.jdmk</groupid>                 </exclusion>                 <exclusion>                     <artifactid>jmxri</artifactid>                     <groupid>com.sun.jmx</groupid>                 </exclusion>             </exclusions>         </dependency>          <dependency>             <groupid>jpos</groupid>             <artifactid>jpos</artifactid>             <version>110</version>             <scope>compile</scope>         </dependency>         <dependency>             <groupid>jpos</groupid>             <artifactid>jpos-controls</artifactid>             <version>110</version>             <scope>compile</scope>         </dependency>         <dependency>             <groupid>mysql</groupid>             <artifactid>mysql-connector-java</artifactid>             <version>5.1.30</version>         </dependency>         <dependency>             <groupid>commons-codec</groupid>             <artifactid>commons-codec</artifactid>             <version>1.9</version>         </dependency>         <dependency>             <groupid>commons-io</groupid>             <artifactid>commons-io</artifactid>             <version>2.4</version>         </dependency>         <dependency>             <groupid>org.metawidget.modules</groupid>             <artifactid>metawidget-all</artifactid>             <version>3.9</version>         </dependency>         <dependency>             <groupid>net.xeoh</groupid>             <artifactid>jspf.core</artifactid>             <version>1.0.2</version>         </dependency>         <dependency>             <groupid>commons-cli</groupid>             <artifactid>commons-cli</artifactid>             <version>1.2</version>         </dependency>          <dependency>             <groupid>net.authorize</groupid>             <artifactid>anet-java-sdk</artifactid>             <version>1.8.1</version>         </dependency>          <dependency>             <groupid>org.apache.httpcomponents</groupid>             <artifactid>httpclient</artifactid>             <version>4.0.1</version>         </dependency>         <dependency>             <groupid>org.apache.httpcomponents</groupid>             <artifactid>httpcore</artifactid>             <version>4.0.1</version>         </dependency>         <dependency>             <groupid>commons-validator</groupid>             <artifactid>commons-validator</artifactid>             <version>1.4.0</version>         </dependency>          <dependency>             <groupid>com.jidesoft</groupid>             <artifactid>jide-oss</artifactid>             <version>3.6.1</version>         </dependency>          <dependency>             <groupid>javax.json</groupid>             <artifactid>javax.json-api</artifactid>             <version>1.0</version>         </dependency>          <dependency>             <groupid>org.glassfish</groupid>             <artifactid>javax.json</artifactid>             <version>1.0.4</version>         </dependency>         <dependency>             <groupid>net.sourceforge.barbecue</groupid>             <artifactid>barbecue</artifactid>             <version>1.5-beta1</version>         </dependency>          <dependency>             <groupid>xerces</groupid>             <artifactid>xercesimpl</artifactid>             <version>2.11.0</version>         </dependency>          <dependency>             <groupid>us.fatehi</groupid>             <artifactid>magnetictrackparser</artifactid>             <version>1.0</version>         </dependency>          <dependency>             <groupid>org.jdom</groupid>             <artifactid>jdom2</artifactid>             <version>2.0.5</version>         </dependency>         <dependency>             <groupid>jaxen</groupid>             <artifactid>jaxen</artifactid>             <version>1.1.4</version>         </dependency>         <dependency>             <groupid>c3p0</groupid>             <artifactid>c3p0</artifactid>             <version>0.9.1.2</version>         </dependency>     </dependencies>      <repositories>         <repository>             <id>local-repo</id>             <url>file://${project.basedir}/local-lib</url>         </repository>     </repositories>  </project> 

i not sure either plugin dependency error or code error

thanks in advance

you did download of sources, not checkout tag. reason buildnumber-maven-plugin can't detect revision number. in case should enough skip adding -dmaven.buildnumber.skip commandline arguments, based of skip docs.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -