Thread View: pl.comp.lang.java
1 messages
1 total messages
Started by J-23
Wed, 10 Oct 2012 22:42
XML Formatter plugin Maven
Author: J-23
Date: Wed, 10 Oct 2012 22:42
Date: Wed, 10 Oct 2012 22:42
108 lines
4172 bytes
4172 bytes
Witam
Próbuje sobie dodać do Maven http://code.google.com/p/xml-formatter/
Pobrałem plik jar z w/w strony dodałem go do Maven następującym poleceniem
mvn install:install-file
-DgroupId=org.technicalsoftwareconfigurationmanagement.maven-plugin
-DartifactId=org.technicalsoftwareconfigurationmanagement.maven-plugin
-Dpackaging=jar -Dversion=2.1-SNAPSHOT -Dfile=xml-formatter-1.0.jar
-DgeneratePom=true
zakończone zostało sukcesem
w pojo mam
<plugin>
<groupId>org.technicalsoftwareconfigurationmanagement.maven-plugin</groupId>
<artifactId>tscm-maven-plugin</artifactId>
<version>2.1-SNAPSHOT</version>
<configuration>
<includes>
<include>**/*.xml</include>
</includes>
<excludes>
<exclude>**/target/**</exclude>
</excludes>
</configuration>
</plugin>
po wykonaniu polecenia
mvn
org.technicalsoftwareconfigurationmanagement.maven-plugin:tscm-maven-plugin:2.1-SNAPSHOT:xmlFormatter
dostaje
C:\Users\�ukasz\workspace\NaviSoft>mvn
org.technicalsoftwareconfigurationmanagem
ent.maven-plugin:tscm-maven-plugin:2.1-SNAPSHOT:xmlFormatter
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for
NaviSoft:NaviSoft:war:0.0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.mojo:tomcat-maven-plug
in is missing. @ line 60, column 11
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-war-
plugin is missing. @ line 46, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten t
he stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
buildin
g such malformed projects.
[WARNING]
[WARNING] The POM for
org.technicalsoftwareconfigurationmanagement.maven-plugin:
tscm-maven-plugin:jar:2.1-SNAPSHOT is missing, no dependency information
availab
le
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2.078s
[INFO] Finished at: Wed Oct 10 23:58:42 CEST 2012
[INFO] Final Memory: 2M/61M
[INFO]
------------------------------------------------------------------------
[ERROR] Plugin
org.technicalsoftwareconfigurationmanagement.maven-plugin:tscm-ma
ven-plugin:2.1-SNAPSHOT or one of its dependencies could not be
resolved: Failed
to read artifact descriptor for
org.technicalsoftwareconfigurationmanagement.ma
ven-plugin:tscm-maven-plugin:jar:2.1-SNAPSHOT: Could not find artifact
org.techn
icalsoftwareconfigurationmanagement.maven-plugin:tscm-maven-plugin:pom:2.1-SNAPS
HOT -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti
onException
C:\Users\�ukasz\workspace\NaviSoft>
Bede zobowiązany za pomoc
Mam Eclipse Indigo i jave 1.6
Pozdrawiam
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads