[
https://jira.codehaus.org/browse/MAPPASM-148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=293179#comment-293179
]
Michael Osipov commented on MAPPASM-148:
----------------------------------------
I am unable to build from trunk:
{noformat}
Test set:
org.codehaus.mojo.appassembler.daemon.generic.GenericDaemonGeneratorTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.844 sec <<<
FAILURE!
testGenerationWithSnapshotDependencies(org.codehaus.mojo.appassembler.daemon.generic.GenericDaemonGeneratorTest)
Time elapsed: 0.297 sec <<< ERROR!
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: Missing:
----------
1) org.codehaus.mojo.appassembler:appassembler-model:jar:1.3-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.codehaus.mojo.appassembler
-DartifactId=appassembler-model -Dversion=1.3-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=org.codehaus.mojo.appassembler
-DartifactId=appassembler-model -Dversion=1.3-SNAPSHOT -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.codehaus.mojo.appassembler:project-7:jar:1.0-SNAPSHOT
2) org.codehaus.mojo.appassembler:appassembler-model:jar:1.3-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.codehaus.mojo.appassembler:project-7:jar:1.0-SNAPSHOT
from the specified remote repositories:
codehaus.org (http://snapshots.repository.codehaus.org),
central (http://repo1.maven.org/maven2)
{noformat}
The file appassembler-maven-plugin/src/test/resources/project-7/pom.xml referts
to model 1.3-SNAPSHOT which cannot exist in the reactor nor in codehaus
snapshots.
Is this intended behavior? The test seems broken to me.
> Property 'basedir' misleading
> -----------------------------
>
> Key: MAPPASM-148
> URL: https://jira.codehaus.org/browse/MAPPASM-148
> Project: Mojo AppAssembler Plugin
> Issue Type: Improvement
> Affects Versions: 1.2
> Reporter: Michael Osipov
>
> When I used appasm for the first time I intuitively retrieved the system
> property 'app.home' but realized that there is no one but a 'basedir'
> property.
> This is an unfornuate naming. The basedir property has a different notion in
> the Java world as in Maven or Ant or Java itself basedir/userdir. I would
> rather prefer to see an 'app.home' (along w/ app.home, pid, etc.) just like
> Maven/Ant and many others do (e.g. Tomcat with CATALINA_HOME).
> Since this is a breaking change, it could happen in 1.3.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email