]
It download some packages, but the archetype plugin does not, why ?
CCadete
The plugins are there of course...
--
View this message in context:
http://www.nabble.com/Overriding-Central-Repository-tf2540428s177.html#a7077660
Sent from the Maven - Users
I notice that it creates the directory tree and maven-metadata-central.xml
files of the plugin.
But with no jar!! How can it be ?
CCadete
--
View this message in context:
http://www.nabble.com/Overriding-Central-Repository-tf2540428s177.html#a7077933
Sent from the Maven - Users mailing
to create a java source with the same name of
the artifact ?
ccadete
--
View this message in context:
http://www.nabble.com/-M2--Archetype-File-Name-Genration-tf2207247.html#a6113174
Sent from the Maven - Users forum at Nabble.com
I am using the archetype.xml
archetype
idApp/id
sources
sourcesrc/main/java/App.java/source
/sources
resources
resourcesrc/main/webapp/WEB-INF/web.xml/resource
resourcesrc/main/webapp/index.jsp/resource
/resources
/archetype
to create an archetype.
I installed a new my archetype, created by me, in a repository, with the
groupId=My-Archetype, but when I choose to use it, using the
-DarchetypeGroupID=My-Archetype in the command line, maven will try to
download it from org.apache.maven.archetypes ( that is the default
archetypes location ),
I am using:
groupId:myarchetype
artifactId:myarchetype
First, I install the project in the repository,and I see it in the directory
m2/repository/myarchetype that is the groupId directory and it is ok.
Now I try to create a new project using my archetype:
mvn archetype:create
Yes, it was that, now it is working :) thanks.
ccadete
--
View this message in context:
http://www.nabble.com/-M2--Creating-archetypes-tf2193156.html#a6070383
Sent from the Maven - Users forum at Nabble.com
I create an artifact with the following archetype.xml:
archetype
idsimple/id
sources
sourcesrc/main/java/App.java/source
/sources
/archetype
And now and I using it to create a new project,
mvn archetype:create
-DarchetypeGroupId=myarchetype
outputDirectorytarget/javadoc/outputDirectory
stylesheetfilejavadocsStyle.css/stylesheetfile
/configuration
/plugin
and it does override the default javadoc stylesheet with my own.
ccadete
--
View this message in context:
http://www.nabble.com/-M2--maven-javadoc-plugin
--
View this message in context:
http://www.nabble.com/-M2--Maven-Assembly-Error-tf2172774.html#a6007640
Sent from the Maven - Users forum at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
includeNOTICE*/include
includepom.xml/include
/includes
/fileSet
fileSet
directorysrc/directory
/fileSet
/fileSets
/assembly
ccadete
--
View this message in context:
http://www.nabble.com/-M2--Maven-Assembly-Error-tf2172791.html#a6007683
Sent from the Maven
When I execute the following command:
mvn help:describe -DgroupId=org.apache.maven.archetypes
-DartifactId=maven-archetype-webapp
The response is an error message, with a null pointer exception.
I known that this artifact is not a plugin, is an archetype.
I guess, is that maven is not cheking
context, I thing it would be
better if we can specified the version tag, like this, for example:
activation
jdk
version[1.5,)/version
/jdk
/activation
or
activation
jdk[1.5,)/jdk
/activation
ccadete
--
View this message in context:
http://www.nabble.com
13 matches
Mail list logo