archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qian, Yi" <yq...@ku.edu>
Subject build archiva from source code
Date Fri, 18 Feb 2011 17:28:55 GMT
Hello, Brent

Per you suggestion, I applied REDBACK-266 patch onto archiva source code
checked out from svn repository and imported to my eclipse as existing
maven project, and run maven packaging inside MyEclipse, I got following
error

Compilation failure
/home/yqian/Workspaces/MyEclipse
8.6/archiva-all/archiva/archiva-modules/archiva-base/archiva-configuration/
target/generated-sources/modello/org/apache/maven/archiva/configuration/Con
figuration.java:[713,33] cannot access ProxyConnectorConfiguration
class file for ProxyConnectorConfiguration not found
            java.util.Collections.sort( connectors,



I also tried to check out archiva 1.3.3 tag version and manually applied
patch, but maven packaging got me unit test failure

Tests in error: 
  
testCloneProjectModelWithParent(org.apache.maven.archiva.model.ArchivaModel
ClonerTest)
  
testArtifactModelProcessed(org.apache.maven.archiva.model.ArchivaArtifactTe
st)

Tests run: 11, Failures: 0, Errors: 2, Skipped: 0

[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] There are test failures.



Regards,

Yi

On 2/15/11 11:07 AM, "Brent Atkinson" <batkinson@apache.org> wrote:

>An admin user is required to exist in whatever authentication source
>you've
>configured. If there isn't such a user, archiva will ask you to create
>one.
>Setting it to your account satisfies this admin user check. I developed a
>patch for redback that allows you to create hardwired utility accounts
>when
>you can't or don't want to pollute the LDAP tree. It hasn't been
>integrated
>yet, mostly because I wanted to get feedback on it and because it affects
>both archiva and continuum configurations. The issue is REDBACK-266 if
>you're interested in trying it out. Any feedback you can give will be
>appreciated. Just comment on the issue.


Mime
View raw message